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 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_char swig_types[0]
2467 #define SWIGTYPE_p_form_ops_t swig_types[1]
2468 #define SWIGTYPE_p_int swig_types[2]
2469 #define SWIGTYPE_p_unsigned_char swig_types[3]
2470 #define SWIGTYPE_p_unsigned_int swig_types[4]
2471 #define SWIGTYPE_p_unsigned_long swig_types[5]
2472 #define SWIGTYPE_p_void swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayString swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBitmapDataObject swig_types[13]
2480 #define SWIGTYPE_p_wxBoxSizer swig_types[14]
2481 #define SWIGTYPE_p_wxBusyCursor swig_types[15]
2482 #define SWIGTYPE_p_wxBusyInfo swig_types[16]
2483 #define SWIGTYPE_p_wxCURHandler swig_types[17]
2484 #define SWIGTYPE_p_wxCaret swig_types[18]
2485 #define SWIGTYPE_p_wxChar swig_types[19]
2486 #define SWIGTYPE_p_wxChildFocusEvent swig_types[20]
2487 #define SWIGTYPE_p_wxClipboard swig_types[21]
2488 #define SWIGTYPE_p_wxClipboardLocker swig_types[22]
2489 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[23]
2490 #define SWIGTYPE_p_wxCloseEvent swig_types[24]
2491 #define SWIGTYPE_p_wxColour swig_types[25]
2492 #define SWIGTYPE_p_wxCommandEvent swig_types[26]
2493 #define SWIGTYPE_p_wxConfig swig_types[27]
2494 #define SWIGTYPE_p_wxConfigBase swig_types[28]
2495 #define SWIGTYPE_p_wxConfigPathChanger swig_types[29]
2496 #define SWIGTYPE_p_wxContextMenuEvent swig_types[30]
2497 #define SWIGTYPE_p_wxControl swig_types[31]
2498 #define SWIGTYPE_p_wxControlWithItems swig_types[32]
2499 #define SWIGTYPE_p_wxCursor swig_types[33]
2500 #define SWIGTYPE_p_wxCustomDataObject swig_types[34]
2501 #define SWIGTYPE_p_wxDC swig_types[35]
2502 #define SWIGTYPE_p_wxDataFormat swig_types[36]
2503 #define SWIGTYPE_p_wxDataObject swig_types[37]
2504 #define SWIGTYPE_p_wxDataObjectComposite swig_types[38]
2505 #define SWIGTYPE_p_wxDataObjectSimple swig_types[39]
2506 #define SWIGTYPE_p_wxDateEvent swig_types[40]
2507 #define SWIGTYPE_p_wxDateSpan swig_types[41]
2508 #define SWIGTYPE_p_wxDateTime swig_types[42]
2509 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[43]
2510 #define SWIGTYPE_p_wxDisplay swig_types[44]
2511 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[45]
2512 #define SWIGTYPE_p_wxDropFilesEvent swig_types[46]
2513 #define SWIGTYPE_p_wxDuplexMode swig_types[47]
2514 #define SWIGTYPE_p_wxEraseEvent swig_types[48]
2515 #define SWIGTYPE_p_wxEvent swig_types[49]
2516 #define SWIGTYPE_p_wxEvtHandler swig_types[50]
2517 #define SWIGTYPE_p_wxFSFile swig_types[51]
2518 #define SWIGTYPE_p_wxFileConfig swig_types[52]
2519 #define SWIGTYPE_p_wxFileDataObject swig_types[53]
2520 #define SWIGTYPE_p_wxFileHistory swig_types[54]
2521 #define SWIGTYPE_p_wxFileSystem swig_types[55]
2522 #define SWIGTYPE_p_wxFileType swig_types[56]
2523 #define SWIGTYPE_p_wxFileTypeInfo swig_types[57]
2524 #define SWIGTYPE_p_wxFlexGridSizer swig_types[58]
2525 #define SWIGTYPE_p_wxFocusEvent swig_types[59]
2526 #define SWIGTYPE_p_wxFont swig_types[60]
2527 #define SWIGTYPE_p_wxFrame swig_types[61]
2528 #define SWIGTYPE_p_wxGBSizerItem swig_types[62]
2529 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2530 #define SWIGTYPE_p_wxGridBagSizer swig_types[64]
2531 #define SWIGTYPE_p_wxGridSizer swig_types[65]
2532 #define SWIGTYPE_p_wxICOHandler swig_types[66]
2533 #define SWIGTYPE_p_wxIcon swig_types[67]
2534 #define SWIGTYPE_p_wxIconizeEvent swig_types[68]
2535 #define SWIGTYPE_p_wxIdleEvent swig_types[69]
2536 #define SWIGTYPE_p_wxImage swig_types[70]
2537 #define SWIGTYPE_p_wxImageHandler swig_types[71]
2538 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[72]
2539 #define SWIGTYPE_p_wxInitDialogEvent swig_types[73]
2540 #define SWIGTYPE_p_wxJPEGHandler swig_types[74]
2541 #define SWIGTYPE_p_wxJoystick swig_types[75]
2542 #define SWIGTYPE_p_wxJoystickEvent swig_types[76]
2543 #define SWIGTYPE_p_wxKeyEvent swig_types[77]
2544 #define SWIGTYPE_p_wxKillError swig_types[78]
2545 #define SWIGTYPE_p_wxLayoutConstraints swig_types[79]
2546 #define SWIGTYPE_p_wxLog swig_types[80]
2547 #define SWIGTYPE_p_wxLogBuffer swig_types[81]
2548 #define SWIGTYPE_p_wxLogChain swig_types[82]
2549 #define SWIGTYPE_p_wxLogGui swig_types[83]
2550 #define SWIGTYPE_p_wxLogNull swig_types[84]
2551 #define SWIGTYPE_p_wxLogStderr swig_types[85]
2552 #define SWIGTYPE_p_wxLogTextCtrl swig_types[86]
2553 #define SWIGTYPE_p_wxLogWindow swig_types[87]
2554 #define SWIGTYPE_p_wxMaximizeEvent swig_types[88]
2555 #define SWIGTYPE_p_wxMemorySize swig_types[89]
2556 #define SWIGTYPE_p_wxMenu swig_types[90]
2557 #define SWIGTYPE_p_wxMenuBar swig_types[91]
2558 #define SWIGTYPE_p_wxMenuEvent swig_types[92]
2559 #define SWIGTYPE_p_wxMenuItem swig_types[93]
2560 #define SWIGTYPE_p_wxMetafileDataObject swig_types[94]
2561 #define SWIGTYPE_p_wxMimeTypesManager swig_types[95]
2562 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[96]
2563 #define SWIGTYPE_p_wxMouseEvent swig_types[97]
2564 #define SWIGTYPE_p_wxMouseState swig_types[98]
2565 #define SWIGTYPE_p_wxMoveEvent swig_types[99]
2566 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[100]
2567 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[101]
2568 #define SWIGTYPE_p_wxNcPaintEvent swig_types[102]
2569 #define SWIGTYPE_p_wxNotifyEvent swig_types[103]
2570 #define SWIGTYPE_p_wxObject swig_types[104]
2571 #define SWIGTYPE_p_wxOutputStream swig_types[105]
2572 #define SWIGTYPE_p_wxPCXHandler swig_types[106]
2573 #define SWIGTYPE_p_wxPNGHandler swig_types[107]
2574 #define SWIGTYPE_p_wxPNMHandler swig_types[108]
2575 #define SWIGTYPE_p_wxPaintEvent swig_types[109]
2576 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[110]
2577 #define SWIGTYPE_p_wxPaperSize swig_types[111]
2578 #define SWIGTYPE_p_wxPoint swig_types[112]
2579 #define SWIGTYPE_p_wxPowerEvent swig_types[113]
2580 #define SWIGTYPE_p_wxProcessEvent swig_types[114]
2581 #define SWIGTYPE_p_wxPyApp swig_types[115]
2582 #define SWIGTYPE_p_wxPyArtProvider swig_types[116]
2583 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[117]
2584 #define SWIGTYPE_p_wxPyCommandEvent swig_types[118]
2585 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[119]
2586 #define SWIGTYPE_p_wxPyDropSource swig_types[120]
2587 #define SWIGTYPE_p_wxPyDropTarget swig_types[121]
2588 #define SWIGTYPE_p_wxPyEvent swig_types[122]
2589 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[123]
2590 #define SWIGTYPE_p_wxPyImageHandler swig_types[124]
2591 #define SWIGTYPE_p_wxPyLog swig_types[125]
2592 #define SWIGTYPE_p_wxPyProcess swig_types[126]
2593 #define SWIGTYPE_p_wxPySizer swig_types[127]
2594 #define SWIGTYPE_p_wxPyTextDataObject swig_types[128]
2595 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[129]
2596 #define SWIGTYPE_p_wxPyTimer swig_types[130]
2597 #define SWIGTYPE_p_wxPyTipProvider swig_types[131]
2598 #define SWIGTYPE_p_wxPyValidator swig_types[132]
2599 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[133]
2600 #define SWIGTYPE_p_wxRect swig_types[134]
2601 #define SWIGTYPE_p_wxScrollEvent swig_types[135]
2602 #define SWIGTYPE_p_wxScrollWinEvent swig_types[136]
2603 #define SWIGTYPE_p_wxSetCursorEvent swig_types[137]
2604 #define SWIGTYPE_p_wxShowEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[139]
2606 #define SWIGTYPE_p_wxSize swig_types[140]
2607 #define SWIGTYPE_p_wxSizeEvent swig_types[141]
2608 #define SWIGTYPE_p_wxSizer swig_types[142]
2609 #define SWIGTYPE_p_wxSizerItem swig_types[143]
2610 #define SWIGTYPE_p_wxSound swig_types[144]
2611 #define SWIGTYPE_p_wxStandardPaths swig_types[145]
2612 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[146]
2613 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[147]
2614 #define SWIGTYPE_p_wxStopWatch swig_types[148]
2615 #define SWIGTYPE_p_wxString swig_types[149]
2616 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[150]
2617 #define SWIGTYPE_p_wxSystemOptions swig_types[151]
2618 #define SWIGTYPE_p_wxSystemSettings swig_types[152]
2619 #define SWIGTYPE_p_wxTIFFHandler swig_types[153]
2620 #define SWIGTYPE_p_wxTextCtrl swig_types[154]
2621 #define SWIGTYPE_p_wxTextDataObject swig_types[155]
2622 #define SWIGTYPE_p_wxTimeSpan swig_types[156]
2623 #define SWIGTYPE_p_wxTimer swig_types[157]
2624 #define SWIGTYPE_p_wxTimerEvent swig_types[158]
2625 #define SWIGTYPE_p_wxTimerRunner swig_types[159]
2626 #define SWIGTYPE_p_wxTipProvider swig_types[160]
2627 #define SWIGTYPE_p_wxToolTip swig_types[161]
2628 #define SWIGTYPE_p_wxURLDataObject swig_types[162]
2629 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[163]
2630 #define SWIGTYPE_p_wxValidator swig_types[164]
2631 #define SWIGTYPE_p_wxVideoMode swig_types[165]
2632 #define SWIGTYPE_p_wxWindow swig_types[166]
2633 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[167]
2634 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[168]
2635 #define SWIGTYPE_p_wxWindowDisabler swig_types[169]
2636 #define SWIGTYPE_p_wxXPMHandler swig_types[170]
2637 static swig_type_info
*swig_types
[172];
2638 static swig_module_info swig_module
= {swig_types
, 171, 0, 0, 0, 0};
2639 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2640 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2642 /* -------- TYPES TABLE (END) -------- */
2644 #if (PY_VERSION_HEX <= 0x02000000)
2645 # if !defined(SWIG_PYTHON_CLASSIC)
2646 # error "This python version requires to use swig with the '-classic' option"
2649 #if (PY_VERSION_HEX <= 0x02020000)
2650 # error "This python version requires to use swig with the '-nomodern' option"
2652 #if (PY_VERSION_HEX <= 0x02020000)
2653 # error "This python version requires to use swig with the '-nomodernargs' option"
2656 # error "This python version requires to use swig with the '-nofastunpack' option"
2659 /*-----------------------------------------------
2660 @(target):= _misc_.so
2661 ------------------------------------------------*/
2662 #define SWIG_init init_misc_
2664 #define SWIG_name "_misc_"
2666 #define SWIGVERSION 0x010329
2669 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2670 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2673 #include <stdexcept>
2677 class PyObject_ptr
{
2682 PyObject_ptr() :_obj(0)
2686 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2691 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2693 if (initial_ref
) Py_XINCREF(_obj
);
2696 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2698 Py_XINCREF(item
._obj
);
2709 operator PyObject
*() const
2714 PyObject
*operator->() const
2723 struct PyObject_var
: PyObject_ptr
{
2724 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2726 PyObject_var
& operator = (PyObject
* obj
)
2736 #include "wx/wxPython/wxPython.h"
2737 #include "wx/wxPython/pyclasses.h"
2738 #include "wx/wxPython/pyistream.h"
2740 static const wxString
wxPyEmptyString(wxEmptyString
);
2744 #define SWIG_From_long PyInt_FromLong
2747 SWIGINTERNINLINE PyObject
*
2748 SWIG_From_int (int value
)
2750 return SWIG_From_long (value
);
2756 # define LLONG_MIN LONG_LONG_MIN
2759 # define LLONG_MAX LONG_LONG_MAX
2762 # define ULLONG_MAX ULONG_LONG_MAX
2767 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2769 if (PyNumber_Check(obj
)) {
2770 if (val
) *val
= PyInt_AsLong(obj
);
2773 return SWIG_TypeError
;
2778 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2781 int res
= SWIG_AsVal_long (obj
, &v
);
2782 if (SWIG_IsOK(res
)) {
2783 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2784 return SWIG_OverflowError
;
2786 if (val
) *val
= static_cast< int >(v
);
2792 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
2794 #include <wx/stockitem.h>
2796 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
2797 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
2798 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
2801 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2803 if (obj
== Py_True
) {
2804 if (val
) *val
= true;
2806 } else if (obj
== Py_False
) {
2807 if (val
) *val
= false;
2811 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2812 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2818 wxMemorySize
wxGetFreeMemory()
2819 { wxPyRaiseNotImplemented(); return 0; }
2823 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2826 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2827 return SWIG_TypeError
;
2830 *val
= (unsigned long)v
;
2835 SWIGINTERNINLINE PyObject
*
2836 SWIG_From_unsigned_SS_long (unsigned long value
)
2838 return (value
> LONG_MAX
) ?
2839 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2843 void* wxGetXDisplay()
2846 return wxGetDisplay();
2853 wxWindow
* FindWindowAtPointer() {
2855 return wxFindWindowAtPointer(unused
);
2859 void wxWakeUpMainThread() {}
2862 bool wxThread_IsMain() {
2863 #ifdef WXP_WITH_THREAD
2864 return wxThread::IsMain();
2870 SWIGINTERN
void wxCaret_Destroy(wxCaret
*self
){
2874 #include <wx/snglinst.h>
2878 #include <wx/msw/private.h>
2879 #include <wx/dynload.h>
2884 bool wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
2895 // This one only partially works. Appears to be an undocumented
2896 // "standard" convention that not all widgets adhear to. For
2897 // example, for some widgets backgrounds or non-client areas may
2899 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
2904 // This one works much better, nearly all widgets and their
2905 // children are captured correctly[**]. Prior to the big
2906 // background erase changes that Vadim did in 2004-2005 this
2907 // method failed badly on XP with Themes activated, most native
2908 // widgets draw only partially, if at all. Without themes it
2909 // worked just like on Win2k. After those changes this method
2912 // ** For example the radio buttons in a wxRadioBox are not its
2913 // children by default, but you can capture it via the panel
2914 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
2915 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
2916 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
2917 PRF_ERASEBKGND
| PRF_OWNED
);
2923 // This one is only defined in the latest SDK and is only
2924 // available on XP. MSDN says it is similar to sending WM_PRINT
2925 // so I expect that it will work similar to the above. Since it
2926 // is avaialble only on XP, it can't be compiled like this and
2927 // will have to be loaded dynamically.
2928 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
2933 // Use PrintWindow if available, or fallback to WM_PRINT
2934 // otherwise. Unfortunately using PrintWindow is even worse than
2935 // WM_PRINT. For most native widgets nothing is drawn to the dc
2936 // at all, with or without Themes.
2937 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
2938 static bool s_triedToLoad
= false;
2939 static PrintWindow_t pfnPrintWindow
= NULL
;
2940 if ( !s_triedToLoad
)
2943 s_triedToLoad
= true;
2944 wxDynamicLibrary
dllUser32(_T("user32.dll"));
2945 if ( dllUser32
.IsLoaded() )
2947 wxLogNull nolog
; // Don't report errors here
2948 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
2953 //printf("Using PrintWindow\n");
2954 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
2958 //printf("Using WM_PRINT\n");
2959 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
2960 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
2961 PRF_ERASEBKGND
| PRF_OWNED
);
2972 #include <wx/tipdlg.h>
2975 SWIGINTERNINLINE PyObject
*
2976 SWIG_From_size_t (size_t value
)
2978 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2982 class wxPyTipProvider
: public wxTipProvider
{
2984 wxPyTipProvider(size_t currentTip
)
2985 : wxTipProvider(currentTip
) {}
2987 DEC_PYCALLBACK_STRING__pure(GetTip
);
2988 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
2992 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
2993 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
2996 SWIGINTERNINLINE
int
2997 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3000 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3001 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3006 IMP_PYCALLBACK__(wxPyTimer
, wxTimer
, Notify
);
3008 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
3010 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
3011 : wxTimer(owner
, id
)
3018 SWIGINTERN swig_type_info
*
3019 SWIG_pchar_descriptor()
3021 static int init
= 0;
3022 static swig_type_info
* info
= 0;
3024 info
= SWIG_TypeQuery("_p_char");
3031 SWIGINTERNINLINE PyObject
*
3032 SWIG_FromCharPtrAndSize(const char* carray
, size_t size
)
3035 if (size
> INT_MAX
) {
3036 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3037 return pchar_descriptor
?
3038 SWIG_NewPointerObj(const_cast< char * >(carray
), pchar_descriptor
, 0) : SWIG_Py_Void();
3040 return PyString_FromStringAndSize(carray
, static_cast< int >(size
));
3043 return SWIG_Py_Void();
3048 SWIGINTERNINLINE PyObject
*
3049 SWIG_FromCharPtr(const char *cptr
)
3051 return SWIG_FromCharPtrAndSize(cptr
, (cptr
? strlen(cptr
) : 0));
3056 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
3059 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
3060 if (SWIG_IsOK(res
)) {
3061 if ((v
> UINT_MAX
)) {
3062 return SWIG_OverflowError
;
3064 if (val
) *val
= static_cast< unsigned int >(v
);
3070 SWIGINTERN wxString
wxLog_TimeStamp(){
3072 wxLog::TimeStamp(&msg
);
3075 SWIGINTERN
void wxLog_Destroy(wxLog
*self
){ delete self
; }
3076 // Make some wrappers that double any % signs so they are 'escaped'
3077 void wxPyLogFatalError(const wxString
& msg
)
3080 m
.Replace(wxT("%"), wxT("%%"));
3084 void wxPyLogError(const wxString
& msg
)
3087 m
.Replace(wxT("%"), wxT("%%"));
3091 void wxPyLogWarning(const wxString
& msg
)
3094 m
.Replace(wxT("%"), wxT("%%"));
3098 void wxPyLogMessage(const wxString
& msg
)
3101 m
.Replace(wxT("%"), wxT("%%"));
3105 void wxPyLogInfo(const wxString
& msg
)
3108 m
.Replace(wxT("%"), wxT("%%"));
3112 void wxPyLogDebug(const wxString
& msg
)
3115 m
.Replace(wxT("%"), wxT("%%"));
3119 void wxPyLogVerbose(const wxString
& msg
)
3122 m
.Replace(wxT("%"), wxT("%%"));
3126 void wxPyLogStatus(const wxString
& msg
)
3129 m
.Replace(wxT("%"), wxT("%%"));
3133 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
3136 m
.Replace(wxT("%"), wxT("%%"));
3137 wxLogStatus(pFrame
, m
);
3140 void wxPyLogSysError(const wxString
& msg
)
3143 m
.Replace(wxT("%"), wxT("%%"));
3147 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
3150 m
.Replace(wxT("%"), wxT("%%"));
3151 wxLogGeneric(level
, m
);
3154 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
3157 m
.Replace(wxT("%"), wxT("%%"));
3158 wxLogTrace(mask
, m
);
3161 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
3164 m
.Replace(wxT("%"), wxT("%%"));
3165 wxLogTrace(mask
, m
);
3170 // A wxLog class that can be derived from in wxPython
3171 class wxPyLog
: public wxLog
{
3173 wxPyLog() : wxLog() {}
3175 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
3177 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3178 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
3179 PyObject
* s
= wx2PyString(szString
);
3180 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
3183 wxPyEndBlockThreads(blocked
);
3185 wxLog::DoLog(level
, szString
, t
);
3188 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
3190 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3191 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
3192 PyObject
* s
= wx2PyString(szString
);
3193 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
3196 wxPyEndBlockThreads(blocked
);
3198 wxLog::DoLogString(szString
, t
);
3201 DEC_PYCALLBACK_VOID_(Flush
);
3204 IMP_PYCALLBACK_VOID_(wxPyLog
, wxLog
, Flush
);
3209 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
3212 #include <wx/joystick.h>
3215 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
3216 // A C++ stub class for wxJoystick for platforms that don't have it.
3217 class wxJoystick
: public wxObject
{
3219 wxJoystick(int joystick
= wxJOYSTICK1
) {
3220 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3221 PyErr_SetString(PyExc_NotImplementedError
,
3222 "wxJoystick is not available on this platform.");
3223 wxPyEndBlockThreads(blocked
);
3225 wxPoint
GetPosition() { return wxPoint(-1,-1); }
3226 int GetZPosition() { return -1; }
3227 int GetButtonState() { return -1; }
3228 int GetPOVPosition() { return -1; }
3229 int GetPOVCTSPosition() { return -1; }
3230 int GetRudderPosition() { return -1; }
3231 int GetUPosition() { return -1; }
3232 int GetVPosition() { return -1; }
3233 int GetMovementThreshold() { return -1; }
3234 void SetMovementThreshold(int threshold
) {}
3236 bool IsOk(void) { return false; }
3237 int GetNumberJoysticks() { return -1; }
3238 int GetManufacturerId() { return -1; }
3239 int GetProductId() { return -1; }
3240 wxString
GetProductName() { return wxEmptyString
; }
3241 int GetXMin() { return -1; }
3242 int GetYMin() { return -1; }
3243 int GetZMin() { return -1; }
3244 int GetXMax() { return -1; }
3245 int GetYMax() { return -1; }
3246 int GetZMax() { return -1; }
3247 int GetNumberButtons() { return -1; }
3248 int GetNumberAxes() { return -1; }
3249 int GetMaxButtons() { return -1; }
3250 int GetMaxAxes() { return -1; }
3251 int GetPollingMin() { return -1; }
3252 int GetPollingMax() { return -1; }
3253 int GetRudderMin() { return -1; }
3254 int GetRudderMax() { return -1; }
3255 int GetUMin() { return -1; }
3256 int GetUMax() { return -1; }
3257 int GetVMin() { return -1; }
3258 int GetVMax() { return -1; }
3260 bool HasRudder() { return false; }
3261 bool HasZ() { return false; }
3262 bool HasU() { return false; }
3263 bool HasV() { return false; }
3264 bool HasPOV() { return false; }
3265 bool HasPOV4Dir() { return false; }
3266 bool HasPOVCTS() { return false; }
3268 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
3269 bool ReleaseCapture() { return false; }
3274 #include <wx/sound.h>
3278 // A C++ stub class for wxWave for platforms that don't have it.
3279 class wxSound
: public wxObject
3283 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3284 PyErr_SetString(PyExc_NotImplementedError
,
3285 "wxSound is not available on this platform.");
3286 wxPyEndBlockThreads(blocked
);
3288 wxSound(const wxString
&/*, bool*/) {
3289 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3290 PyErr_SetString(PyExc_NotImplementedError
,
3291 "wxSound is not available on this platform.");
3292 wxPyEndBlockThreads(blocked
);
3294 wxSound(int, const wxByte
*) {
3295 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3296 PyErr_SetString(PyExc_NotImplementedError
,
3297 "wxSound is not available on this platform.");
3298 wxPyEndBlockThreads(blocked
);
3303 bool Create(const wxString
&/*, bool*/) { return false; }
3304 bool Create(int, const wxByte
*) { return false; };
3305 bool IsOk() { return false; };
3306 bool Play(unsigned) const { return false; }
3307 static bool Play(const wxString
&, unsigned) { return false; }
3308 static void Stop() {}
3313 SWIGINTERN wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
3314 if (fileName
.Length() == 0)
3317 return new wxSound(fileName
);
3319 SWIGINTERN wxSound
*new_wxSound(PyObject
*data
){
3320 unsigned char* buffer
; int size
;
3321 wxSound
*sound
= NULL
;
3323 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3324 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
3326 sound
= new wxSound(size
, buffer
);
3328 wxPyEndBlockThreads(blocked
);
3331 SWIGINTERN
bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
3333 unsigned char* buffer
;
3337 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3338 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
3340 rv
= self
->Create(size
, buffer
);
3342 wxPyEndBlockThreads(blocked
);
3345 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3346 PyErr_SetString(PyExc_NotImplementedError
,
3347 "Create from data is not available on this platform.");
3348 wxPyEndBlockThreads(blocked
);
3353 #include <wx/mimetype.h>
3355 SWIGINTERN PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
3357 if (self
->GetMimeType(&str
))
3358 return wx2PyString(str
);
3362 SWIGINTERN PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
3364 if (self
->GetMimeTypes(arr
))
3365 return wxArrayString2PyList_helper(arr
);
3369 SWIGINTERN PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
3371 if (self
->GetExtensions(arr
))
3372 return wxArrayString2PyList_helper(arr
);
3376 SWIGINTERN wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
3378 if (self
->GetIcon(&loc
))
3379 return new wxIcon(loc
);
3383 SWIGINTERN PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
3385 if (self
->GetIcon(&loc
)) {
3386 wxString iconFile
= loc
.GetFileName();
3391 // Make a tuple and put the values in it
3392 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3393 PyObject
* tuple
= PyTuple_New(3);
3394 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
3395 wxT("wxIcon"), true));
3396 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
3397 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
3398 wxPyEndBlockThreads(blocked
);
3404 SWIGINTERN PyObject
*wxFileType_GetDescription(wxFileType
*self
){
3406 if (self
->GetDescription(&str
))
3407 return wx2PyString(str
);
3411 SWIGINTERN PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3413 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
3414 return wx2PyString(str
);
3418 SWIGINTERN PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3420 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
3421 return wx2PyString(str
);
3425 SWIGINTERN PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3426 wxArrayString verbs
;
3427 wxArrayString commands
;
3428 if (self
->GetAllCommands(&verbs
, &commands
,
3429 wxFileType::MessageParameters(filename
, mimetype
))) {
3430 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3431 PyObject
* tuple
= PyTuple_New(2);
3432 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
3433 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
3434 wxPyEndBlockThreads(blocked
);
3440 SWIGINTERN wxString
wxFileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3441 return wxFileType::ExpandCommand(command
,
3442 wxFileType::MessageParameters(filename
, mimetype
));
3444 SWIGINTERN PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
3446 self
->EnumAllFileTypes(arr
);
3447 return wxArrayString2PyList_helper(arr
);
3450 #include <wx/artprov.h>
3452 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
3453 static const wxString
wxPyART_MENU(wxART_MENU
);
3454 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
3455 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
3456 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
3457 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
3458 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
3459 static const wxString
wxPyART_OTHER(wxART_OTHER
);
3460 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
3461 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
3462 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
3463 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
3464 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
3465 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
3466 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
3467 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
3468 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
3469 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
3470 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
3471 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
3472 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
3473 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
3474 static const wxString
wxPyART_FILE_SAVE(wxART_FILE_SAVE
);
3475 static const wxString
wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS
);
3476 static const wxString
wxPyART_PRINT(wxART_PRINT
);
3477 static const wxString
wxPyART_HELP(wxART_HELP
);
3478 static const wxString
wxPyART_TIP(wxART_TIP
);
3479 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
3480 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
3481 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
3482 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
3483 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
3484 static const wxString
wxPyART_CDROM(wxART_CDROM
);
3485 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
3486 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
3487 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
3488 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
3489 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
3490 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
3491 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
3492 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
3493 static const wxString
wxPyART_ERROR(wxART_ERROR
);
3494 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
3495 static const wxString
wxPyART_WARNING(wxART_WARNING
);
3496 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
3497 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
3498 static const wxString
wxPyART_COPY(wxART_COPY
);
3499 static const wxString
wxPyART_CUT(wxART_CUT
);
3500 static const wxString
wxPyART_PASTE(wxART_PASTE
);
3501 static const wxString
wxPyART_DELETE(wxART_DELETE
);
3502 static const wxString
wxPyART_NEW(wxART_NEW
);
3503 static const wxString
wxPyART_UNDO(wxART_UNDO
);
3504 static const wxString
wxPyART_REDO(wxART_REDO
);
3505 static const wxString
wxPyART_QUIT(wxART_QUIT
);
3506 static const wxString
wxPyART_FIND(wxART_FIND
);
3507 static const wxString
wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE
);
3508 // Python aware wxArtProvider
3509 class wxPyArtProvider
: public wxArtProvider
{
3512 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
3513 const wxArtClient
& client
,
3514 const wxSize
& size
) {
3515 wxBitmap rval
= wxNullBitmap
;
3516 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3517 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
3518 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
3522 s1
= wx2PyString(id
);
3523 s2
= wx2PyString(client
);
3524 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
3529 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
3534 wxPyEndBlockThreads(blocked
);
3541 SWIGINTERN
void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
3545 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
3546 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3547 PyObject
* ret
= PyTuple_New(3);
3549 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
3550 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
3551 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
3553 wxPyEndBlockThreads(blocked
);
3557 SWIGINTERN PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
3562 cont
= self
->GetFirstGroup(value
, index
);
3563 return __EnumerationHelper(cont
, value
, index
);
3565 SWIGINTERN PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
3569 cont
= self
->GetNextGroup(value
, index
);
3570 return __EnumerationHelper(cont
, value
, index
);
3572 SWIGINTERN PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
3577 cont
= self
->GetFirstEntry(value
, index
);
3578 return __EnumerationHelper(cont
, value
, index
);
3580 SWIGINTERN PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
3584 cont
= self
->GetNextEntry(value
, index
);
3585 return __EnumerationHelper(cont
, value
, index
);
3587 SWIGINTERN
long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
3589 self
->Read(key
, &rv
, defaultVal
);
3594 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3596 if (PyNumber_Check(obj
)) {
3597 if (val
) *val
= PyFloat_AsDouble(obj
);
3600 return SWIG_TypeError
;
3603 SWIGINTERN
double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
3605 self
->Read(key
, &rv
, defaultVal
);
3609 #define SWIG_From_double PyFloat_FromDouble
3611 SWIGINTERN
bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
3613 self
->Read(key
, &rv
, defaultVal
);
3617 #include <wx/datetime.h>
3619 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
3620 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
3622 #define LOCAL_TZ wxDateTime::Local
3624 SWIGINTERN PyObject
*wxDateTime_GetAmPmStrings(){
3627 wxDateTime::GetAmPmStrings(&am
, &pm
);
3628 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3629 PyObject
* tup
= PyTuple_New(2);
3630 PyTuple_SET_ITEM(tup
, 0, wx2PyString(am
));
3631 PyTuple_SET_ITEM(tup
, 1, wx2PyString(pm
));
3632 wxPyEndBlockThreads(blocked
);
3636 SWIGINTERNINLINE PyObject
*
3637 SWIG_From_unsigned_SS_int (unsigned int value
)
3639 return SWIG_From_unsigned_SS_long (value
);
3642 SWIGINTERN wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
3643 SWIGINTERN wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
3644 SWIGINTERN wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
3645 SWIGINTERN wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
3646 SWIGINTERN wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
3647 SWIGINTERN
bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
3648 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
3649 return (*self
< *other
);
3651 SWIGINTERN
bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
3652 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
3653 return (*self
<= *other
);
3655 SWIGINTERN
bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
3656 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
3657 return (*self
> *other
);
3659 SWIGINTERN
bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
3660 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
3661 return (*self
>= *other
);
3663 SWIGINTERN
bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
3664 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
3665 return (*self
== *other
);
3667 SWIGINTERN
bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
3668 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
3669 return (*self
!= *other
);
3671 SWIGINTERN
int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
3673 const wxChar
* _date
= date
;
3674 rv
= self
->ParseRfc822Date(_date
);
3675 if (rv
== NULL
) return -1;
3678 SWIGINTERN
int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
3680 const wxChar
* _date
= date
;
3681 rv
= self
->ParseFormat(_date
, format
, dateDef
);
3682 if (rv
== NULL
) return -1;
3685 SWIGINTERN
int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
3687 const wxChar
* _datetime
= datetime
;
3688 rv
= self
->ParseDateTime(_datetime
);
3689 if (rv
== NULL
) return -1;
3690 return rv
- _datetime
;
3692 SWIGINTERN
int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
3694 const wxChar
* _date
= date
;
3695 rv
= self
->ParseDate(_date
);
3696 if (rv
== NULL
) return -1;
3699 SWIGINTERN
int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
3701 const wxChar
* _time
= time
;
3702 rv
= self
->ParseTime(_time
);
3703 if (rv
== NULL
) return -1;
3706 SWIGINTERN wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
3707 SWIGINTERN wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
3708 SWIGINTERN wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
3709 SWIGINTERN wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
3710 SWIGINTERN
bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
3711 SWIGINTERN
bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
3712 SWIGINTERN
bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
3713 SWIGINTERN
bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
3714 SWIGINTERN
bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
3715 SWIGINTERN
bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
3716 SWIGINTERN wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
3717 SWIGINTERN wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
3718 SWIGINTERN wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
3719 SWIGINTERN wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
3720 SWIGINTERN
bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
3721 SWIGINTERN
bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
3723 #include <wx/dataobj.h>
3725 SWIGINTERN PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
3726 size_t count
= self
->GetFormatCount(dir
);
3727 wxDataFormat
* formats
= new wxDataFormat
[count
];
3728 self
->GetAllFormats(formats
, dir
);
3730 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3731 PyObject
* list
= PyList_New(count
);
3732 for (size_t i
=0; i
<count
; i
++) {
3733 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
3734 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
3735 PyList_SET_ITEM(list
, i
, obj
); // PyList_SET_ITEM steals a reference
3737 wxPyEndBlockThreads(blocked
);
3741 SWIGINTERN PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
3742 PyObject
* rval
= NULL
;
3743 size_t size
= self
->GetDataSize(format
);
3744 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3746 char* buf
= new char[size
];
3747 if (self
->GetDataHere(format
, buf
))
3748 rval
= PyString_FromStringAndSize(buf
, size
);
3755 wxPyEndBlockThreads(blocked
);
3758 SWIGINTERN
bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
3760 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3761 if (PyString_Check(data
)) {
3762 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
3765 // raise a TypeError if not a string
3766 PyErr_SetString(PyExc_TypeError
, "String expected.");
3769 wxPyEndBlockThreads(blocked
);
3772 SWIGINTERN PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
3773 PyObject
* rval
= NULL
;
3774 size_t size
= self
->GetDataSize();
3775 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3777 char* buf
= new char[size
];
3778 if (self
->GetDataHere(buf
))
3779 rval
= PyString_FromStringAndSize(buf
, size
);
3786 wxPyEndBlockThreads(blocked
);
3789 SWIGINTERN
bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
3791 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3792 if (PyString_Check(data
)) {
3793 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3796 // raise a TypeError if not a string
3797 PyErr_SetString(PyExc_TypeError
, "String expected.");
3800 wxPyEndBlockThreads(blocked
);
3803 // Create a new class for wxPython to use
3804 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
3806 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
3807 : wxDataObjectSimple(format
) {}
3809 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
3810 bool GetDataHere(void *buf
) const;
3811 bool SetData(size_t len
, const void *buf
) const;
3815 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
3817 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
3818 // We need to get the data for this object and write it to buf. I think
3819 // the best way to do this for wxPython is to have the Python method
3820 // return either a string or None and then act appropriately with the
3824 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3825 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
3827 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3829 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
3831 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
3835 wxPyEndBlockThreads(blocked
);
3839 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
3840 // For this one we simply need to make a string from buf and len
3841 // and send it to the Python method.
3843 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3844 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
3845 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
3846 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
3849 wxPyEndBlockThreads(blocked
);
3853 // Create a new class for wxPython to use
3854 class wxPyTextDataObject
: public wxTextDataObject
{
3856 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
3857 : wxTextDataObject(text
) {}
3859 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
3860 DEC_PYCALLBACK_STRING__const(GetText
);
3861 DEC_PYCALLBACK__STRING(SetText
);
3865 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
3866 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
3867 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
3870 // Create a new class for wxPython to use
3871 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
3873 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
3874 : wxBitmapDataObject(bitmap
) {}
3876 wxBitmap
GetBitmap() const;
3877 void SetBitmap(const wxBitmap
& bitmap
);
3881 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
3882 wxBitmap
* rval
= &wxNullBitmap
;
3883 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3884 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
3887 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3889 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
3894 wxPyEndBlockThreads(blocked
);
3898 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
3899 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3900 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
3901 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
3902 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
3905 wxPyEndBlockThreads(blocked
);
3908 SWIGINTERN wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
3909 return new wxCustomDataObject(wxDataFormat(formatName
));
3911 SWIGINTERN
bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
3913 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3914 if (PyString_Check(data
)) {
3915 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3918 // raise a TypeError if not a string
3919 PyErr_SetString(PyExc_TypeError
, "String expected.");
3922 wxPyEndBlockThreads(blocked
);
3925 SWIGINTERN PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
3927 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3928 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
3929 wxPyEndBlockThreads(blocked
);
3933 class wxMetafileDataObject
: public wxDataObjectSimple
3936 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
3940 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
3943 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
3944 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
3945 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
3946 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
3947 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
3950 class wxPyTextDropTarget
: public wxTextDropTarget
{
3952 wxPyTextDropTarget() {}
3954 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
3956 DEC_PYCALLBACK__(OnLeave
);
3957 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3958 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3959 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3960 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3965 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
3966 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
3967 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
3968 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
3969 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
3970 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
3974 class wxPyFileDropTarget
: public wxFileDropTarget
{
3976 wxPyFileDropTarget() {}
3978 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
3980 DEC_PYCALLBACK__(OnLeave
);
3981 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3982 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3983 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3984 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3989 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
3990 const wxArrayString
& filenames
) {
3992 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3993 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
3994 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
3995 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
3998 wxPyEndBlockThreads(blocked
);
4004 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
4005 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
4006 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
4007 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
4008 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
4013 SWIGINTERN
bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
4015 #include <wx/display.h>
4017 SWIGINTERN
bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
4018 SWIGINTERN
bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
4021 const wxVideoMode wxDefaultVideoMode
;
4024 SWIGINTERN PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
4026 PyObject
* pyList
= NULL
;
4027 wxArrayVideoModes arr
= self
->GetModes(mode
);
4028 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4029 pyList
= PyList_New(0);
4030 for (size_t i
=0; i
< arr
.GetCount(); i
++)
4032 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
4033 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
4034 PyList_Append(pyList
, pyObj
);
4037 wxPyEndBlockThreads(blocked
);
4040 wxPyRaiseNotImplemented();
4044 SWIGINTERN wxVideoMode
wxDisplay_GetCurrentMode(wxDisplay
const *self
){
4046 return self
->GetCurrentMode();
4048 wxPyRaiseNotImplemented();
4049 return wxDefaultVideoMode
;
4052 SWIGINTERN
bool wxDisplay_ChangeMode(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
4054 return self
->ChangeMode(mode
);
4056 wxPyRaiseNotImplemented();
4060 SWIGINTERN
void wxDisplay_ResetMode(wxDisplay
*self
){
4064 wxPyRaiseNotImplemented();
4068 #include <wx/stdpaths.h>
4070 SWIGINTERN wxStandardPaths
*wxStandardPaths_Get(){
4071 return (wxStandardPaths
*) &wxStandardPaths::Get();
4074 #ifndef wxHAS_POWER_EVENTS
4075 // Dummy class and other definitions for platforms that don't have them
4077 // See wxPython_int.h for wxPowerEvent
4080 wxEVT_POWER_SUSPENDING
,
4081 wxEVT_POWER_SUSPENDED
,
4082 wxEVT_POWER_SUSPEND_CANCEL
,
4086 wxPowerType
wxGetPowerType() { return wxPOWER_UNKNOWN
; }
4087 wxBatteryState
wxGetBatteryState() { return wxBATTERY_UNKNOWN_STATE
; }
4094 SWIGINTERN PyObject
*_wrap_SystemSettings_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4095 PyObject
*resultobj
= 0;
4096 wxSystemColour arg1
;
4100 PyObject
* obj0
= 0 ;
4101 char * kwnames
[] = {
4102 (char *) "index", NULL
4105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) SWIG_fail
;
4106 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4107 if (!SWIG_IsOK(ecode1
)) {
4108 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetColour" "', expected argument " "1"" of type '" "wxSystemColour""'");
4110 arg1
= static_cast< wxSystemColour
>(val1
);
4112 if (!wxPyCheckForApp()) SWIG_fail
;
4113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4114 result
= wxSystemSettings::GetColour(arg1
);
4115 wxPyEndAllowThreads(__tstate
);
4116 if (PyErr_Occurred()) SWIG_fail
;
4118 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4125 SWIGINTERN PyObject
*_wrap_SystemSettings_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4126 PyObject
*resultobj
= 0;
4131 PyObject
* obj0
= 0 ;
4132 char * kwnames
[] = {
4133 (char *) "index", NULL
4136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) SWIG_fail
;
4137 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4138 if (!SWIG_IsOK(ecode1
)) {
4139 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetFont" "', expected argument " "1"" of type '" "wxSystemFont""'");
4141 arg1
= static_cast< wxSystemFont
>(val1
);
4143 if (!wxPyCheckForApp()) SWIG_fail
;
4144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4145 result
= wxSystemSettings::GetFont(arg1
);
4146 wxPyEndAllowThreads(__tstate
);
4147 if (PyErr_Occurred()) SWIG_fail
;
4149 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
4156 SWIGINTERN PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4157 PyObject
*resultobj
= 0;
4158 wxSystemMetric arg1
;
4159 wxWindow
*arg2
= (wxWindow
*) NULL
;
4165 PyObject
* obj0
= 0 ;
4166 PyObject
* obj1
= 0 ;
4167 char * kwnames
[] = {
4168 (char *) "index",(char *) "win", NULL
4171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SystemSettings_GetMetric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4172 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4173 if (!SWIG_IsOK(ecode1
)) {
4174 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetMetric" "', expected argument " "1"" of type '" "wxSystemMetric""'");
4176 arg1
= static_cast< wxSystemMetric
>(val1
);
4178 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4179 if (!SWIG_IsOK(res2
)) {
4180 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SystemSettings_GetMetric" "', expected argument " "2"" of type '" "wxWindow *""'");
4182 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4185 if (!wxPyCheckForApp()) SWIG_fail
;
4186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4187 result
= (int)wxSystemSettings::GetMetric(arg1
,arg2
);
4188 wxPyEndAllowThreads(__tstate
);
4189 if (PyErr_Occurred()) SWIG_fail
;
4191 resultobj
= SWIG_From_int(static_cast< int >(result
));
4198 SWIGINTERN PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4199 PyObject
*resultobj
= 0;
4200 wxSystemFeature arg1
;
4204 PyObject
* obj0
= 0 ;
4205 char * kwnames
[] = {
4206 (char *) "index", NULL
4209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) SWIG_fail
;
4210 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4211 if (!SWIG_IsOK(ecode1
)) {
4212 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_HasFeature" "', expected argument " "1"" of type '" "wxSystemFeature""'");
4214 arg1
= static_cast< wxSystemFeature
>(val1
);
4216 if (!wxPyCheckForApp()) SWIG_fail
;
4217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4218 result
= (bool)wxSystemSettings::HasFeature(arg1
);
4219 wxPyEndAllowThreads(__tstate
);
4220 if (PyErr_Occurred()) SWIG_fail
;
4223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4231 SWIGINTERN PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4232 PyObject
*resultobj
= 0;
4233 wxSystemScreenType result
;
4235 if (!SWIG_Python_UnpackTuple(args
,"SystemSettings_GetScreenType",0,0,0)) SWIG_fail
;
4237 if (!wxPyCheckForApp()) SWIG_fail
;
4238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4239 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
4240 wxPyEndAllowThreads(__tstate
);
4241 if (PyErr_Occurred()) SWIG_fail
;
4243 resultobj
= SWIG_From_int(static_cast< int >(result
));
4250 SWIGINTERN PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4251 PyObject
*resultobj
= 0;
4252 wxSystemScreenType arg1
;
4255 PyObject
* obj0
= 0 ;
4256 char * kwnames
[] = {
4257 (char *) "screen", NULL
4260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) SWIG_fail
;
4261 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4262 if (!SWIG_IsOK(ecode1
)) {
4263 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_SetScreenType" "', expected argument " "1"" of type '" "wxSystemScreenType""'");
4265 arg1
= static_cast< wxSystemScreenType
>(val1
);
4267 if (!wxPyCheckForApp()) SWIG_fail
;
4268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4269 wxSystemSettings::SetScreenType(arg1
);
4270 wxPyEndAllowThreads(__tstate
);
4271 if (PyErr_Occurred()) SWIG_fail
;
4273 resultobj
= SWIG_Py_Void();
4280 SWIGINTERN PyObject
*SystemSettings_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4282 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4283 SWIG_TypeNewClientData(SWIGTYPE_p_wxSystemSettings
, SWIG_NewClientData(obj
));
4284 return SWIG_Py_Void();
4287 SWIGINTERN
int WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
4288 SWIG_Error(SWIG_AttributeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
4293 SWIGINTERN PyObject
*WINDOW_DEFAULT_VARIANT_get(void) {
4294 PyObject
*pyobj
= 0;
4298 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
4300 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
4307 SWIGINTERN PyObject
*_wrap_new_SystemOptions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4308 PyObject
*resultobj
= 0;
4309 wxSystemOptions
*result
= 0 ;
4311 if (!SWIG_Python_UnpackTuple(args
,"new_SystemOptions",0,0,0)) SWIG_fail
;
4313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4314 result
= (wxSystemOptions
*)new wxSystemOptions();
4315 wxPyEndAllowThreads(__tstate
);
4316 if (PyErr_Occurred()) SWIG_fail
;
4318 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSystemOptions
, SWIG_POINTER_NEW
| 0 );
4325 SWIGINTERN PyObject
*_wrap_SystemOptions_SetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4326 PyObject
*resultobj
= 0;
4327 wxString
*arg1
= 0 ;
4328 wxString
*arg2
= 0 ;
4329 bool temp1
= false ;
4330 bool temp2
= false ;
4331 PyObject
* obj0
= 0 ;
4332 PyObject
* obj1
= 0 ;
4333 char * kwnames
[] = {
4334 (char *) "name",(char *) "value", NULL
4337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4339 arg1
= wxString_in_helper(obj0
);
4340 if (arg1
== NULL
) SWIG_fail
;
4344 arg2
= wxString_in_helper(obj1
);
4345 if (arg2
== NULL
) SWIG_fail
;
4349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4350 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
4351 wxPyEndAllowThreads(__tstate
);
4352 if (PyErr_Occurred()) SWIG_fail
;
4354 resultobj
= SWIG_Py_Void();
4377 SWIGINTERN PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4378 PyObject
*resultobj
= 0;
4379 wxString
*arg1
= 0 ;
4381 bool temp1
= false ;
4384 PyObject
* obj0
= 0 ;
4385 PyObject
* obj1
= 0 ;
4386 char * kwnames
[] = {
4387 (char *) "name",(char *) "value", NULL
4390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4392 arg1
= wxString_in_helper(obj0
);
4393 if (arg1
== NULL
) SWIG_fail
;
4396 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4397 if (!SWIG_IsOK(ecode2
)) {
4398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SystemOptions_SetOptionInt" "', expected argument " "2"" of type '" "int""'");
4400 arg2
= static_cast< int >(val2
);
4402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4403 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
4404 wxPyEndAllowThreads(__tstate
);
4405 if (PyErr_Occurred()) SWIG_fail
;
4407 resultobj
= SWIG_Py_Void();
4422 SWIGINTERN PyObject
*_wrap_SystemOptions_GetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4423 PyObject
*resultobj
= 0;
4424 wxString
*arg1
= 0 ;
4426 bool temp1
= false ;
4427 PyObject
* obj0
= 0 ;
4428 char * kwnames
[] = {
4429 (char *) "name", NULL
4432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) SWIG_fail
;
4434 arg1
= wxString_in_helper(obj0
);
4435 if (arg1
== NULL
) SWIG_fail
;
4439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4440 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
4441 wxPyEndAllowThreads(__tstate
);
4442 if (PyErr_Occurred()) SWIG_fail
;
4446 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4448 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4465 SWIGINTERN PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4466 PyObject
*resultobj
= 0;
4467 wxString
*arg1
= 0 ;
4469 bool temp1
= false ;
4470 PyObject
* obj0
= 0 ;
4471 char * kwnames
[] = {
4472 (char *) "name", NULL
4475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) SWIG_fail
;
4477 arg1
= wxString_in_helper(obj0
);
4478 if (arg1
== NULL
) SWIG_fail
;
4482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4483 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
4484 wxPyEndAllowThreads(__tstate
);
4485 if (PyErr_Occurred()) SWIG_fail
;
4487 resultobj
= SWIG_From_int(static_cast< int >(result
));
4502 SWIGINTERN PyObject
*_wrap_SystemOptions_HasOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4503 PyObject
*resultobj
= 0;
4504 wxString
*arg1
= 0 ;
4506 bool temp1
= false ;
4507 PyObject
* obj0
= 0 ;
4508 char * kwnames
[] = {
4509 (char *) "name", NULL
4512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) SWIG_fail
;
4514 arg1
= wxString_in_helper(obj0
);
4515 if (arg1
== NULL
) SWIG_fail
;
4519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4520 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
4521 wxPyEndAllowThreads(__tstate
);
4522 if (PyErr_Occurred()) SWIG_fail
;
4525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4541 SWIGINTERN PyObject
*_wrap_SystemOptions_IsFalse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4542 PyObject
*resultobj
= 0;
4543 wxString
*arg1
= 0 ;
4545 bool temp1
= false ;
4546 PyObject
* obj0
= 0 ;
4547 char * kwnames
[] = {
4548 (char *) "name", NULL
4551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_IsFalse",kwnames
,&obj0
)) SWIG_fail
;
4553 arg1
= wxString_in_helper(obj0
);
4554 if (arg1
== NULL
) SWIG_fail
;
4558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4559 result
= (bool)wxSystemOptions::IsFalse((wxString
const &)*arg1
);
4560 wxPyEndAllowThreads(__tstate
);
4561 if (PyErr_Occurred()) SWIG_fail
;
4564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4580 SWIGINTERN PyObject
*SystemOptions_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4582 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4583 SWIG_TypeNewClientData(SWIGTYPE_p_wxSystemOptions
, SWIG_NewClientData(obj
));
4584 return SWIG_Py_Void();
4587 SWIGINTERN PyObject
*SystemOptions_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4588 return SWIG_Python_InitShadowInstance(args
);
4591 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
4592 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
4597 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
4598 PyObject
*pyobj
= 0;
4602 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
4604 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
4611 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
4612 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
4617 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
4618 PyObject
*pyobj
= 0;
4622 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
4624 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
4631 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
4632 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
4637 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
4638 PyObject
*pyobj
= 0;
4642 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
4644 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
4651 SWIGINTERN PyObject
*_wrap_NewId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4652 PyObject
*resultobj
= 0;
4655 if (!SWIG_Python_UnpackTuple(args
,"NewId",0,0,0)) SWIG_fail
;
4657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4658 result
= (long)wxNewId();
4659 wxPyEndAllowThreads(__tstate
);
4660 if (PyErr_Occurred()) SWIG_fail
;
4662 resultobj
= SWIG_From_long(static_cast< long >(result
));
4669 SWIGINTERN PyObject
*_wrap_RegisterId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4670 PyObject
*resultobj
= 0;
4674 PyObject
* obj0
= 0 ;
4675 char * kwnames
[] = {
4679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) SWIG_fail
;
4680 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
4681 if (!SWIG_IsOK(ecode1
)) {
4682 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RegisterId" "', expected argument " "1"" of type '" "long""'");
4684 arg1
= static_cast< long >(val1
);
4686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4688 wxPyEndAllowThreads(__tstate
);
4689 if (PyErr_Occurred()) SWIG_fail
;
4691 resultobj
= SWIG_Py_Void();
4698 SWIGINTERN PyObject
*_wrap_GetCurrentId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4699 PyObject
*resultobj
= 0;
4702 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentId",0,0,0)) SWIG_fail
;
4704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4705 result
= (long)wxGetCurrentId();
4706 wxPyEndAllowThreads(__tstate
);
4707 if (PyErr_Occurred()) SWIG_fail
;
4709 resultobj
= SWIG_From_long(static_cast< long >(result
));
4716 SWIGINTERN PyObject
*_wrap_IsStockID(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4717 PyObject
*resultobj
= 0;
4722 PyObject
* obj0
= 0 ;
4723 char * kwnames
[] = {
4727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) SWIG_fail
;
4728 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4729 if (!SWIG_IsOK(ecode1
)) {
4730 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsStockID" "', expected argument " "1"" of type '" "int""'");
4732 arg1
= static_cast< int >(val1
);
4734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4735 result
= (bool)wxIsStockID(arg1
);
4736 wxPyEndAllowThreads(__tstate
);
4737 if (PyErr_Occurred()) SWIG_fail
;
4740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4748 SWIGINTERN PyObject
*_wrap_IsStockLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4749 PyObject
*resultobj
= 0;
4751 wxString
*arg2
= 0 ;
4755 bool temp2
= false ;
4756 PyObject
* obj0
= 0 ;
4757 PyObject
* obj1
= 0 ;
4758 char * kwnames
[] = {
4759 (char *) "id",(char *) "label", NULL
4762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4763 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4764 if (!SWIG_IsOK(ecode1
)) {
4765 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsStockLabel" "', expected argument " "1"" of type '" "int""'");
4767 arg1
= static_cast< int >(val1
);
4769 arg2
= wxString_in_helper(obj1
);
4770 if (arg2
== NULL
) SWIG_fail
;
4774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4775 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
4776 wxPyEndAllowThreads(__tstate
);
4777 if (PyErr_Occurred()) SWIG_fail
;
4780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4796 SWIGINTERN PyObject
*_wrap_GetStockLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4797 PyObject
*resultobj
= 0;
4799 bool arg2
= (bool) true ;
4800 wxString arg3
= (wxString
) wxPyEmptyString
;
4806 PyObject
* obj0
= 0 ;
4807 PyObject
* obj1
= 0 ;
4808 PyObject
* obj2
= 0 ;
4809 char * kwnames
[] = {
4810 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
4813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GetStockLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4814 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4815 if (!SWIG_IsOK(ecode1
)) {
4816 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetStockLabel" "', expected argument " "1"" of type '" "int""'");
4818 arg1
= static_cast< int >(val1
);
4820 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4821 if (!SWIG_IsOK(ecode2
)) {
4822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GetStockLabel" "', expected argument " "2"" of type '" "bool""'");
4824 arg2
= static_cast< bool >(val2
);
4828 wxString
* sptr
= wxString_in_helper(obj2
);
4829 if (sptr
== NULL
) SWIG_fail
;
4835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4836 result
= wxGetStockLabel(arg1
,arg2
,arg3
);
4837 wxPyEndAllowThreads(__tstate
);
4838 if (PyErr_Occurred()) SWIG_fail
;
4842 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4844 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4853 SWIGINTERN PyObject
*_wrap_Bell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4854 PyObject
*resultobj
= 0;
4856 if (!SWIG_Python_UnpackTuple(args
,"Bell",0,0,0)) SWIG_fail
;
4858 if (!wxPyCheckForApp()) SWIG_fail
;
4859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4861 wxPyEndAllowThreads(__tstate
);
4862 if (PyErr_Occurred()) SWIG_fail
;
4864 resultobj
= SWIG_Py_Void();
4871 SWIGINTERN PyObject
*_wrap_EndBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4872 PyObject
*resultobj
= 0;
4874 if (!SWIG_Python_UnpackTuple(args
,"EndBusyCursor",0,0,0)) SWIG_fail
;
4876 if (!wxPyCheckForApp()) SWIG_fail
;
4877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4879 wxPyEndAllowThreads(__tstate
);
4880 if (PyErr_Occurred()) SWIG_fail
;
4882 resultobj
= SWIG_Py_Void();
4889 SWIGINTERN PyObject
*_wrap_GetElapsedTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4890 PyObject
*resultobj
= 0;
4891 bool arg1
= (bool) true ;
4895 PyObject
* obj0
= 0 ;
4896 char * kwnames
[] = {
4897 (char *) "resetTimer", NULL
4900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) SWIG_fail
;
4902 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
4903 if (!SWIG_IsOK(ecode1
)) {
4904 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetElapsedTime" "', expected argument " "1"" of type '" "bool""'");
4906 arg1
= static_cast< bool >(val1
);
4909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4910 result
= (long)wxGetElapsedTime(arg1
);
4911 wxPyEndAllowThreads(__tstate
);
4912 if (PyErr_Occurred()) SWIG_fail
;
4914 resultobj
= SWIG_From_long(static_cast< long >(result
));
4921 SWIGINTERN PyObject
*_wrap_IsBusy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4922 PyObject
*resultobj
= 0;
4925 if (!SWIG_Python_UnpackTuple(args
,"IsBusy",0,0,0)) SWIG_fail
;
4927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4928 result
= (bool)wxIsBusy();
4929 wxPyEndAllowThreads(__tstate
);
4930 if (PyErr_Occurred()) SWIG_fail
;
4933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4941 SWIGINTERN PyObject
*_wrap_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4942 PyObject
*resultobj
= 0;
4945 if (!SWIG_Python_UnpackTuple(args
,"Now",0,0,0)) SWIG_fail
;
4947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4949 wxPyEndAllowThreads(__tstate
);
4950 if (PyErr_Occurred()) SWIG_fail
;
4954 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4956 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4965 SWIGINTERN PyObject
*_wrap_Shell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4966 PyObject
*resultobj
= 0;
4967 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4968 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4970 bool temp1
= false ;
4971 PyObject
* obj0
= 0 ;
4972 char * kwnames
[] = {
4973 (char *) "command", NULL
4976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) SWIG_fail
;
4979 arg1
= wxString_in_helper(obj0
);
4980 if (arg1
== NULL
) SWIG_fail
;
4985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4986 result
= (bool)wxShell((wxString
const &)*arg1
);
4987 wxPyEndAllowThreads(__tstate
);
4988 if (PyErr_Occurred()) SWIG_fail
;
4991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5007 SWIGINTERN PyObject
*_wrap_StartTimer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5008 PyObject
*resultobj
= 0;
5010 if (!SWIG_Python_UnpackTuple(args
,"StartTimer",0,0,0)) SWIG_fail
;
5012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5014 wxPyEndAllowThreads(__tstate
);
5015 if (PyErr_Occurred()) SWIG_fail
;
5017 resultobj
= SWIG_Py_Void();
5024 SWIGINTERN PyObject
*_wrap_GetOsVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5025 PyObject
*resultobj
= 0;
5026 int *arg1
= (int *) 0 ;
5027 int *arg2
= (int *) 0 ;
5030 int res1
= SWIG_TMPOBJ
;
5032 int res2
= SWIG_TMPOBJ
;
5036 if (!SWIG_Python_UnpackTuple(args
,"GetOsVersion",0,0,0)) SWIG_fail
;
5038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5039 result
= (int)wxGetOsVersion(arg1
,arg2
);
5040 wxPyEndAllowThreads(__tstate
);
5041 if (PyErr_Occurred()) SWIG_fail
;
5043 resultobj
= SWIG_From_int(static_cast< int >(result
));
5044 if (SWIG_IsTmpObj(res1
)) {
5045 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
5047 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5048 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
5050 if (SWIG_IsTmpObj(res2
)) {
5051 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
5053 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5054 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
5062 SWIGINTERN PyObject
*_wrap_GetOsDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5063 PyObject
*resultobj
= 0;
5066 if (!SWIG_Python_UnpackTuple(args
,"GetOsDescription",0,0,0)) SWIG_fail
;
5068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5069 result
= wxGetOsDescription();
5070 wxPyEndAllowThreads(__tstate
);
5071 if (PyErr_Occurred()) SWIG_fail
;
5075 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5077 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5086 SWIGINTERN PyObject
*_wrap_GetFreeMemory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5087 PyObject
*resultobj
= 0;
5088 wxMemorySize result
;
5090 if (!SWIG_Python_UnpackTuple(args
,"GetFreeMemory",0,0,0)) SWIG_fail
;
5092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5093 result
= wxGetFreeMemory();
5094 wxPyEndAllowThreads(__tstate
);
5095 if (PyErr_Occurred()) SWIG_fail
;
5097 resultobj
= SWIG_NewPointerObj((new wxMemorySize(static_cast< const wxMemorySize
& >(result
))), SWIGTYPE_p_wxMemorySize
, SWIG_POINTER_OWN
| 0 );
5104 SWIGINTERN PyObject
*_wrap_Shutdown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5105 PyObject
*resultobj
= 0;
5106 wxShutdownFlags arg1
;
5110 PyObject
* obj0
= 0 ;
5111 char * kwnames
[] = {
5112 (char *) "wFlags", NULL
5115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) SWIG_fail
;
5116 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5117 if (!SWIG_IsOK(ecode1
)) {
5118 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Shutdown" "', expected argument " "1"" of type '" "wxShutdownFlags""'");
5120 arg1
= static_cast< wxShutdownFlags
>(val1
);
5122 if (!wxPyCheckForApp()) SWIG_fail
;
5123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5124 result
= (bool)wxShutdown(arg1
);
5125 wxPyEndAllowThreads(__tstate
);
5126 if (PyErr_Occurred()) SWIG_fail
;
5129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5137 SWIGINTERN PyObject
*_wrap_Sleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5138 PyObject
*resultobj
= 0;
5142 PyObject
* obj0
= 0 ;
5143 char * kwnames
[] = {
5144 (char *) "secs", NULL
5147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) SWIG_fail
;
5148 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5149 if (!SWIG_IsOK(ecode1
)) {
5150 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Sleep" "', expected argument " "1"" of type '" "int""'");
5152 arg1
= static_cast< int >(val1
);
5154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5156 wxPyEndAllowThreads(__tstate
);
5157 if (PyErr_Occurred()) SWIG_fail
;
5159 resultobj
= SWIG_Py_Void();
5166 SWIGINTERN PyObject
*_wrap_MilliSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5167 PyObject
*resultobj
= 0;
5168 unsigned long arg1
;
5169 unsigned long val1
;
5171 PyObject
* obj0
= 0 ;
5172 char * kwnames
[] = {
5173 (char *) "milliseconds", NULL
5176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) SWIG_fail
;
5177 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5178 if (!SWIG_IsOK(ecode1
)) {
5179 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MilliSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5181 arg1
= static_cast< unsigned long >(val1
);
5183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5185 wxPyEndAllowThreads(__tstate
);
5186 if (PyErr_Occurred()) SWIG_fail
;
5188 resultobj
= SWIG_Py_Void();
5195 SWIGINTERN PyObject
*_wrap_MicroSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5196 PyObject
*resultobj
= 0;
5197 unsigned long arg1
;
5198 unsigned long val1
;
5200 PyObject
* obj0
= 0 ;
5201 char * kwnames
[] = {
5202 (char *) "microseconds", NULL
5205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) SWIG_fail
;
5206 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5207 if (!SWIG_IsOK(ecode1
)) {
5208 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MicroSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5210 arg1
= static_cast< unsigned long >(val1
);
5212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5214 wxPyEndAllowThreads(__tstate
);
5215 if (PyErr_Occurred()) SWIG_fail
;
5217 resultobj
= SWIG_Py_Void();
5224 SWIGINTERN PyObject
*_wrap_EnableTopLevelWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5225 PyObject
*resultobj
= 0;
5229 PyObject
* obj0
= 0 ;
5230 char * kwnames
[] = {
5231 (char *) "enable", NULL
5234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) SWIG_fail
;
5235 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
5236 if (!SWIG_IsOK(ecode1
)) {
5237 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EnableTopLevelWindows" "', expected argument " "1"" of type '" "bool""'");
5239 arg1
= static_cast< bool >(val1
);
5241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5242 wxEnableTopLevelWindows(arg1
);
5243 wxPyEndAllowThreads(__tstate
);
5244 if (PyErr_Occurred()) SWIG_fail
;
5246 resultobj
= SWIG_Py_Void();
5253 SWIGINTERN PyObject
*_wrap_StripMenuCodes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5254 PyObject
*resultobj
= 0;
5255 wxString
*arg1
= 0 ;
5257 bool temp1
= false ;
5258 PyObject
* obj0
= 0 ;
5259 char * kwnames
[] = {
5263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) SWIG_fail
;
5265 arg1
= wxString_in_helper(obj0
);
5266 if (arg1
== NULL
) SWIG_fail
;
5270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5271 result
= wxStripMenuCodes((wxString
const &)*arg1
);
5272 wxPyEndAllowThreads(__tstate
);
5273 if (PyErr_Occurred()) SWIG_fail
;
5277 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5279 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5296 SWIGINTERN PyObject
*_wrap_GetEmailAddress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5297 PyObject
*resultobj
= 0;
5300 if (!SWIG_Python_UnpackTuple(args
,"GetEmailAddress",0,0,0)) SWIG_fail
;
5302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5303 result
= wxGetEmailAddress();
5304 wxPyEndAllowThreads(__tstate
);
5305 if (PyErr_Occurred()) SWIG_fail
;
5309 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5311 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5320 SWIGINTERN PyObject
*_wrap_GetHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5321 PyObject
*resultobj
= 0;
5324 if (!SWIG_Python_UnpackTuple(args
,"GetHostName",0,0,0)) SWIG_fail
;
5326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5327 result
= wxGetHostName();
5328 wxPyEndAllowThreads(__tstate
);
5329 if (PyErr_Occurred()) SWIG_fail
;
5333 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5335 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5344 SWIGINTERN PyObject
*_wrap_GetFullHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5345 PyObject
*resultobj
= 0;
5348 if (!SWIG_Python_UnpackTuple(args
,"GetFullHostName",0,0,0)) SWIG_fail
;
5350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5351 result
= wxGetFullHostName();
5352 wxPyEndAllowThreads(__tstate
);
5353 if (PyErr_Occurred()) SWIG_fail
;
5357 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5359 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5368 SWIGINTERN PyObject
*_wrap_GetUserId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5369 PyObject
*resultobj
= 0;
5372 if (!SWIG_Python_UnpackTuple(args
,"GetUserId",0,0,0)) SWIG_fail
;
5374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5375 result
= wxGetUserId();
5376 wxPyEndAllowThreads(__tstate
);
5377 if (PyErr_Occurred()) SWIG_fail
;
5381 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5383 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5392 SWIGINTERN PyObject
*_wrap_GetUserName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5393 PyObject
*resultobj
= 0;
5396 if (!SWIG_Python_UnpackTuple(args
,"GetUserName",0,0,0)) SWIG_fail
;
5398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5399 result
= wxGetUserName();
5400 wxPyEndAllowThreads(__tstate
);
5401 if (PyErr_Occurred()) SWIG_fail
;
5405 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5407 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5416 SWIGINTERN PyObject
*_wrap_GetHomeDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5417 PyObject
*resultobj
= 0;
5420 if (!SWIG_Python_UnpackTuple(args
,"GetHomeDir",0,0,0)) SWIG_fail
;
5422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5423 result
= wxGetHomeDir();
5424 wxPyEndAllowThreads(__tstate
);
5425 if (PyErr_Occurred()) SWIG_fail
;
5429 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5431 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5440 SWIGINTERN PyObject
*_wrap_GetUserHome(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5441 PyObject
*resultobj
= 0;
5442 wxString
const &arg1_defvalue
= wxPyEmptyString
;
5443 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5445 bool temp1
= false ;
5446 PyObject
* obj0
= 0 ;
5447 char * kwnames
[] = {
5448 (char *) "user", NULL
5451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) SWIG_fail
;
5454 arg1
= wxString_in_helper(obj0
);
5455 if (arg1
== NULL
) SWIG_fail
;
5460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5461 result
= wxGetUserHome((wxString
const &)*arg1
);
5462 wxPyEndAllowThreads(__tstate
);
5463 if (PyErr_Occurred()) SWIG_fail
;
5467 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5469 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5486 SWIGINTERN PyObject
*_wrap_GetProcessId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5487 PyObject
*resultobj
= 0;
5488 unsigned long result
;
5490 if (!SWIG_Python_UnpackTuple(args
,"GetProcessId",0,0,0)) SWIG_fail
;
5492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5493 result
= (unsigned long)wxGetProcessId();
5494 wxPyEndAllowThreads(__tstate
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5497 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
5504 SWIGINTERN PyObject
*_wrap_Trap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5505 PyObject
*resultobj
= 0;
5507 if (!SWIG_Python_UnpackTuple(args
,"Trap",0,0,0)) SWIG_fail
;
5509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5511 wxPyEndAllowThreads(__tstate
);
5512 if (PyErr_Occurred()) SWIG_fail
;
5514 resultobj
= SWIG_Py_Void();
5521 SWIGINTERN PyObject
*_wrap_FileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5522 PyObject
*resultobj
= 0;
5523 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
5524 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5525 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5526 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5527 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5528 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5529 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5530 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5531 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
5532 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5533 int arg6
= (int) 0 ;
5534 wxWindow
*arg7
= (wxWindow
*) NULL
;
5535 int arg8
= (int) -1 ;
5536 int arg9
= (int) -1 ;
5538 bool temp1
= false ;
5539 bool temp2
= false ;
5540 bool temp3
= false ;
5541 bool temp4
= false ;
5542 bool temp5
= false ;
5551 PyObject
* obj0
= 0 ;
5552 PyObject
* obj1
= 0 ;
5553 PyObject
* obj2
= 0 ;
5554 PyObject
* obj3
= 0 ;
5555 PyObject
* obj4
= 0 ;
5556 PyObject
* obj5
= 0 ;
5557 PyObject
* obj6
= 0 ;
5558 PyObject
* obj7
= 0 ;
5559 PyObject
* obj8
= 0 ;
5560 char * kwnames
[] = {
5561 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
5564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5567 arg1
= wxString_in_helper(obj0
);
5568 if (arg1
== NULL
) SWIG_fail
;
5574 arg2
= wxString_in_helper(obj1
);
5575 if (arg2
== NULL
) SWIG_fail
;
5581 arg3
= wxString_in_helper(obj2
);
5582 if (arg3
== NULL
) SWIG_fail
;
5588 arg4
= wxString_in_helper(obj3
);
5589 if (arg4
== NULL
) SWIG_fail
;
5595 arg5
= wxString_in_helper(obj4
);
5596 if (arg5
== NULL
) SWIG_fail
;
5601 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
5602 if (!SWIG_IsOK(ecode6
)) {
5603 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FileSelector" "', expected argument " "6"" of type '" "int""'");
5605 arg6
= static_cast< int >(val6
);
5608 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5609 if (!SWIG_IsOK(res7
)) {
5610 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "FileSelector" "', expected argument " "7"" of type '" "wxWindow *""'");
5612 arg7
= reinterpret_cast< wxWindow
* >(argp7
);
5615 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
5616 if (!SWIG_IsOK(ecode8
)) {
5617 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FileSelector" "', expected argument " "8"" of type '" "int""'");
5619 arg8
= static_cast< int >(val8
);
5622 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
5623 if (!SWIG_IsOK(ecode9
)) {
5624 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FileSelector" "', expected argument " "9"" of type '" "int""'");
5626 arg9
= static_cast< int >(val9
);
5629 if (!wxPyCheckForApp()) SWIG_fail
;
5630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5631 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
5632 wxPyEndAllowThreads(__tstate
);
5633 if (PyErr_Occurred()) SWIG_fail
;
5637 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5639 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5688 SWIGINTERN PyObject
*_wrap_LoadFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5689 PyObject
*resultobj
= 0;
5690 wxString
*arg1
= 0 ;
5691 wxString
*arg2
= 0 ;
5692 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5693 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5694 wxWindow
*arg4
= (wxWindow
*) NULL
;
5696 bool temp1
= false ;
5697 bool temp2
= false ;
5698 bool temp3
= false ;
5701 PyObject
* obj0
= 0 ;
5702 PyObject
* obj1
= 0 ;
5703 PyObject
* obj2
= 0 ;
5704 PyObject
* obj3
= 0 ;
5705 char * kwnames
[] = {
5706 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5711 arg1
= wxString_in_helper(obj0
);
5712 if (arg1
== NULL
) SWIG_fail
;
5716 arg2
= wxString_in_helper(obj1
);
5717 if (arg2
== NULL
) SWIG_fail
;
5722 arg3
= wxString_in_helper(obj2
);
5723 if (arg3
== NULL
) SWIG_fail
;
5728 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5729 if (!SWIG_IsOK(res4
)) {
5730 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "LoadFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5732 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5735 if (!wxPyCheckForApp()) SWIG_fail
;
5736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5737 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5738 wxPyEndAllowThreads(__tstate
);
5739 if (PyErr_Occurred()) SWIG_fail
;
5743 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5745 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5778 SWIGINTERN PyObject
*_wrap_SaveFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5779 PyObject
*resultobj
= 0;
5780 wxString
*arg1
= 0 ;
5781 wxString
*arg2
= 0 ;
5782 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5783 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5784 wxWindow
*arg4
= (wxWindow
*) NULL
;
5786 bool temp1
= false ;
5787 bool temp2
= false ;
5788 bool temp3
= false ;
5791 PyObject
* obj0
= 0 ;
5792 PyObject
* obj1
= 0 ;
5793 PyObject
* obj2
= 0 ;
5794 PyObject
* obj3
= 0 ;
5795 char * kwnames
[] = {
5796 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5801 arg1
= wxString_in_helper(obj0
);
5802 if (arg1
== NULL
) SWIG_fail
;
5806 arg2
= wxString_in_helper(obj1
);
5807 if (arg2
== NULL
) SWIG_fail
;
5812 arg3
= wxString_in_helper(obj2
);
5813 if (arg3
== NULL
) SWIG_fail
;
5818 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5819 if (!SWIG_IsOK(res4
)) {
5820 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "SaveFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5822 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5825 if (!wxPyCheckForApp()) SWIG_fail
;
5826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5827 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5828 wxPyEndAllowThreads(__tstate
);
5829 if (PyErr_Occurred()) SWIG_fail
;
5833 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5835 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5868 SWIGINTERN PyObject
*_wrap_DirSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5869 PyObject
*resultobj
= 0;
5870 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
5871 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5872 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5873 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5874 long arg3
= (long) wxDD_DEFAULT_STYLE
;
5875 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5876 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5877 wxWindow
*arg5
= (wxWindow
*) NULL
;
5879 bool temp1
= false ;
5880 bool temp2
= false ;
5886 PyObject
* obj0
= 0 ;
5887 PyObject
* obj1
= 0 ;
5888 PyObject
* obj2
= 0 ;
5889 PyObject
* obj3
= 0 ;
5890 PyObject
* obj4
= 0 ;
5891 char * kwnames
[] = {
5892 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
5895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
5898 arg1
= wxString_in_helper(obj0
);
5899 if (arg1
== NULL
) SWIG_fail
;
5905 arg2
= wxString_in_helper(obj1
);
5906 if (arg2
== NULL
) SWIG_fail
;
5911 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5912 if (!SWIG_IsOK(ecode3
)) {
5913 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirSelector" "', expected argument " "3"" of type '" "long""'");
5915 arg3
= static_cast< long >(val3
);
5920 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5924 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5925 if (!SWIG_IsOK(res5
)) {
5926 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DirSelector" "', expected argument " "5"" of type '" "wxWindow *""'");
5928 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
5931 if (!wxPyCheckForApp()) SWIG_fail
;
5932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5933 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
5934 wxPyEndAllowThreads(__tstate
);
5935 if (PyErr_Occurred()) SWIG_fail
;
5939 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5941 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5966 SWIGINTERN PyObject
*_wrap_GetTextFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5967 PyObject
*resultobj
= 0;
5968 wxString
*arg1
= 0 ;
5969 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5970 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5971 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5972 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5973 wxWindow
*arg4
= (wxWindow
*) NULL
;
5974 int arg5
= (int) -1 ;
5975 int arg6
= (int) -1 ;
5976 bool arg7
= (bool) true ;
5978 bool temp1
= false ;
5979 bool temp2
= false ;
5980 bool temp3
= false ;
5989 PyObject
* obj0
= 0 ;
5990 PyObject
* obj1
= 0 ;
5991 PyObject
* obj2
= 0 ;
5992 PyObject
* obj3
= 0 ;
5993 PyObject
* obj4
= 0 ;
5994 PyObject
* obj5
= 0 ;
5995 PyObject
* obj6
= 0 ;
5996 char * kwnames
[] = {
5997 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
6000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6002 arg1
= wxString_in_helper(obj0
);
6003 if (arg1
== NULL
) SWIG_fail
;
6008 arg2
= wxString_in_helper(obj1
);
6009 if (arg2
== NULL
) SWIG_fail
;
6015 arg3
= wxString_in_helper(obj2
);
6016 if (arg3
== NULL
) SWIG_fail
;
6021 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6022 if (!SWIG_IsOK(res4
)) {
6023 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetTextFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
6025 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6028 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6029 if (!SWIG_IsOK(ecode5
)) {
6030 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GetTextFromUser" "', expected argument " "5"" of type '" "int""'");
6032 arg5
= static_cast< int >(val5
);
6035 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6036 if (!SWIG_IsOK(ecode6
)) {
6037 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetTextFromUser" "', expected argument " "6"" of type '" "int""'");
6039 arg6
= static_cast< int >(val6
);
6042 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
6043 if (!SWIG_IsOK(ecode7
)) {
6044 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetTextFromUser" "', expected argument " "7"" of type '" "bool""'");
6046 arg7
= static_cast< bool >(val7
);
6049 if (!wxPyCheckForApp()) SWIG_fail
;
6050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6051 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
6052 wxPyEndAllowThreads(__tstate
);
6053 if (PyErr_Occurred()) SWIG_fail
;
6057 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6059 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6092 SWIGINTERN PyObject
*_wrap_GetPasswordFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6093 PyObject
*resultobj
= 0;
6094 wxString
*arg1
= 0 ;
6095 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6096 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6097 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6098 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6099 wxWindow
*arg4
= (wxWindow
*) NULL
;
6101 bool temp1
= false ;
6102 bool temp2
= false ;
6103 bool temp3
= false ;
6106 PyObject
* obj0
= 0 ;
6107 PyObject
* obj1
= 0 ;
6108 PyObject
* obj2
= 0 ;
6109 PyObject
* obj3
= 0 ;
6110 char * kwnames
[] = {
6111 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
6114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6116 arg1
= wxString_in_helper(obj0
);
6117 if (arg1
== NULL
) SWIG_fail
;
6122 arg2
= wxString_in_helper(obj1
);
6123 if (arg2
== NULL
) SWIG_fail
;
6129 arg3
= wxString_in_helper(obj2
);
6130 if (arg3
== NULL
) SWIG_fail
;
6135 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6136 if (!SWIG_IsOK(res4
)) {
6137 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetPasswordFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
6139 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6142 if (!wxPyCheckForApp()) SWIG_fail
;
6143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6144 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
6145 wxPyEndAllowThreads(__tstate
);
6146 if (PyErr_Occurred()) SWIG_fail
;
6150 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6152 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6185 SWIGINTERN PyObject
*_wrap_GetSingleChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6186 PyObject
*resultobj
= 0;
6187 wxString
*arg1
= 0 ;
6188 wxString
*arg2
= 0 ;
6190 wxString
*arg4
= (wxString
*) 0 ;
6191 wxWindow
*arg5
= (wxWindow
*) NULL
;
6192 int arg6
= (int) -1 ;
6193 int arg7
= (int) -1 ;
6194 bool arg8
= (bool) true ;
6195 int arg9
= (int) 150 ;
6196 int arg10
= (int) 200 ;
6198 bool temp1
= false ;
6199 bool temp2
= false ;
6212 PyObject
* obj0
= 0 ;
6213 PyObject
* obj1
= 0 ;
6214 PyObject
* obj2
= 0 ;
6215 PyObject
* obj3
= 0 ;
6216 PyObject
* obj4
= 0 ;
6217 PyObject
* obj5
= 0 ;
6218 PyObject
* obj6
= 0 ;
6219 PyObject
* obj7
= 0 ;
6220 PyObject
* obj8
= 0 ;
6221 char * kwnames
[] = {
6222 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6227 arg1
= wxString_in_helper(obj0
);
6228 if (arg1
== NULL
) SWIG_fail
;
6232 arg2
= wxString_in_helper(obj1
);
6233 if (arg2
== NULL
) SWIG_fail
;
6237 arg3
= PyList_Size(obj2
);
6238 arg4
= wxString_LIST_helper(obj2
);
6239 if (arg4
== NULL
) SWIG_fail
;
6242 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6243 if (!SWIG_IsOK(res5
)) {
6244 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoice" "', expected argument " "5"" of type '" "wxWindow *""'");
6246 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6249 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6250 if (!SWIG_IsOK(ecode6
)) {
6251 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoice" "', expected argument " "6"" of type '" "int""'");
6253 arg6
= static_cast< int >(val6
);
6256 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6257 if (!SWIG_IsOK(ecode7
)) {
6258 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoice" "', expected argument " "7"" of type '" "int""'");
6260 arg7
= static_cast< int >(val7
);
6263 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6264 if (!SWIG_IsOK(ecode8
)) {
6265 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoice" "', expected argument " "8"" of type '" "bool""'");
6267 arg8
= static_cast< bool >(val8
);
6270 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6271 if (!SWIG_IsOK(ecode9
)) {
6272 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoice" "', expected argument " "9"" of type '" "int""'");
6274 arg9
= static_cast< int >(val9
);
6277 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6278 if (!SWIG_IsOK(ecode10
)) {
6279 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoice" "', expected argument " "10"" of type '" "int""'");
6281 arg10
= static_cast< int >(val10
);
6284 if (!wxPyCheckForApp()) SWIG_fail
;
6285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6286 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6287 wxPyEndAllowThreads(__tstate
);
6288 if (PyErr_Occurred()) SWIG_fail
;
6292 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6294 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6306 if (arg4
) delete [] arg4
;
6319 if (arg4
) delete [] arg4
;
6325 SWIGINTERN PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6326 PyObject
*resultobj
= 0;
6327 wxString
*arg1
= 0 ;
6328 wxString
*arg2
= 0 ;
6330 wxString
*arg4
= (wxString
*) 0 ;
6331 wxWindow
*arg5
= (wxWindow
*) NULL
;
6332 int arg6
= (int) -1 ;
6333 int arg7
= (int) -1 ;
6334 bool arg8
= (bool) true ;
6335 int arg9
= (int) 150 ;
6336 int arg10
= (int) 200 ;
6338 bool temp1
= false ;
6339 bool temp2
= false ;
6352 PyObject
* obj0
= 0 ;
6353 PyObject
* obj1
= 0 ;
6354 PyObject
* obj2
= 0 ;
6355 PyObject
* obj3
= 0 ;
6356 PyObject
* obj4
= 0 ;
6357 PyObject
* obj5
= 0 ;
6358 PyObject
* obj6
= 0 ;
6359 PyObject
* obj7
= 0 ;
6360 PyObject
* obj8
= 0 ;
6361 char * kwnames
[] = {
6362 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6367 arg1
= wxString_in_helper(obj0
);
6368 if (arg1
== NULL
) SWIG_fail
;
6372 arg2
= wxString_in_helper(obj1
);
6373 if (arg2
== NULL
) SWIG_fail
;
6377 arg3
= PyList_Size(obj2
);
6378 arg4
= wxString_LIST_helper(obj2
);
6379 if (arg4
== NULL
) SWIG_fail
;
6382 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6383 if (!SWIG_IsOK(res5
)) {
6384 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoiceIndex" "', expected argument " "5"" of type '" "wxWindow *""'");
6386 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6389 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6390 if (!SWIG_IsOK(ecode6
)) {
6391 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoiceIndex" "', expected argument " "6"" of type '" "int""'");
6393 arg6
= static_cast< int >(val6
);
6396 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6397 if (!SWIG_IsOK(ecode7
)) {
6398 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoiceIndex" "', expected argument " "7"" of type '" "int""'");
6400 arg7
= static_cast< int >(val7
);
6403 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6404 if (!SWIG_IsOK(ecode8
)) {
6405 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoiceIndex" "', expected argument " "8"" of type '" "bool""'");
6407 arg8
= static_cast< bool >(val8
);
6410 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6411 if (!SWIG_IsOK(ecode9
)) {
6412 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoiceIndex" "', expected argument " "9"" of type '" "int""'");
6414 arg9
= static_cast< int >(val9
);
6417 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6418 if (!SWIG_IsOK(ecode10
)) {
6419 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoiceIndex" "', expected argument " "10"" of type '" "int""'");
6421 arg10
= static_cast< int >(val10
);
6424 if (!wxPyCheckForApp()) SWIG_fail
;
6425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6426 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6427 wxPyEndAllowThreads(__tstate
);
6428 if (PyErr_Occurred()) SWIG_fail
;
6430 resultobj
= SWIG_From_int(static_cast< int >(result
));
6440 if (arg4
) delete [] arg4
;
6453 if (arg4
) delete [] arg4
;
6459 SWIGINTERN PyObject
*_wrap_MessageBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6460 PyObject
*resultobj
= 0;
6461 wxString
*arg1
= 0 ;
6462 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6463 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6464 int arg3
= (int) wxOK
|wxCENTRE
;
6465 wxWindow
*arg4
= (wxWindow
*) NULL
;
6466 int arg5
= (int) -1 ;
6467 int arg6
= (int) -1 ;
6469 bool temp1
= false ;
6470 bool temp2
= false ;
6479 PyObject
* obj0
= 0 ;
6480 PyObject
* obj1
= 0 ;
6481 PyObject
* obj2
= 0 ;
6482 PyObject
* obj3
= 0 ;
6483 PyObject
* obj4
= 0 ;
6484 PyObject
* obj5
= 0 ;
6485 char * kwnames
[] = {
6486 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
6489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
6491 arg1
= wxString_in_helper(obj0
);
6492 if (arg1
== NULL
) SWIG_fail
;
6497 arg2
= wxString_in_helper(obj1
);
6498 if (arg2
== NULL
) SWIG_fail
;
6503 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6504 if (!SWIG_IsOK(ecode3
)) {
6505 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MessageBox" "', expected argument " "3"" of type '" "int""'");
6507 arg3
= static_cast< int >(val3
);
6510 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6511 if (!SWIG_IsOK(res4
)) {
6512 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "MessageBox" "', expected argument " "4"" of type '" "wxWindow *""'");
6514 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6517 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6518 if (!SWIG_IsOK(ecode5
)) {
6519 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "MessageBox" "', expected argument " "5"" of type '" "int""'");
6521 arg5
= static_cast< int >(val5
);
6524 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6525 if (!SWIG_IsOK(ecode6
)) {
6526 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "MessageBox" "', expected argument " "6"" of type '" "int""'");
6528 arg6
= static_cast< int >(val6
);
6531 if (!wxPyCheckForApp()) SWIG_fail
;
6532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6533 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
6534 wxPyEndAllowThreads(__tstate
);
6535 if (PyErr_Occurred()) SWIG_fail
;
6537 resultobj
= SWIG_From_int(static_cast< int >(result
));
6560 SWIGINTERN PyObject
*_wrap_GetNumberFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6561 PyObject
*resultobj
= 0;
6562 wxString
*arg1
= 0 ;
6563 wxString
*arg2
= 0 ;
6564 wxString
*arg3
= 0 ;
6566 long arg5
= (long) 0 ;
6567 long arg6
= (long) 100 ;
6568 wxWindow
*arg7
= (wxWindow
*) NULL
;
6569 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
6570 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
6572 bool temp1
= false ;
6573 bool temp2
= false ;
6574 bool temp3
= false ;
6584 PyObject
* obj0
= 0 ;
6585 PyObject
* obj1
= 0 ;
6586 PyObject
* obj2
= 0 ;
6587 PyObject
* obj3
= 0 ;
6588 PyObject
* obj4
= 0 ;
6589 PyObject
* obj5
= 0 ;
6590 PyObject
* obj6
= 0 ;
6591 PyObject
* obj7
= 0 ;
6592 char * kwnames
[] = {
6593 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
6596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6598 arg1
= wxString_in_helper(obj0
);
6599 if (arg1
== NULL
) SWIG_fail
;
6603 arg2
= wxString_in_helper(obj1
);
6604 if (arg2
== NULL
) SWIG_fail
;
6608 arg3
= wxString_in_helper(obj2
);
6609 if (arg3
== NULL
) SWIG_fail
;
6612 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
6613 if (!SWIG_IsOK(ecode4
)) {
6614 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GetNumberFromUser" "', expected argument " "4"" of type '" "long""'");
6616 arg4
= static_cast< long >(val4
);
6618 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
6619 if (!SWIG_IsOK(ecode5
)) {
6620 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GetNumberFromUser" "', expected argument " "5"" of type '" "long""'");
6622 arg5
= static_cast< long >(val5
);
6625 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6626 if (!SWIG_IsOK(ecode6
)) {
6627 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetNumberFromUser" "', expected argument " "6"" of type '" "long""'");
6629 arg6
= static_cast< long >(val6
);
6632 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6633 if (!SWIG_IsOK(res7
)) {
6634 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "GetNumberFromUser" "', expected argument " "7"" of type '" "wxWindow *""'");
6636 arg7
= reinterpret_cast< wxWindow
* >(argp7
);
6641 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
6645 if (!wxPyCheckForApp()) SWIG_fail
;
6646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6647 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
6648 wxPyEndAllowThreads(__tstate
);
6649 if (PyErr_Occurred()) SWIG_fail
;
6651 resultobj
= SWIG_From_long(static_cast< long >(result
));
6682 SWIGINTERN PyObject
*_wrap_ColourDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6683 PyObject
*resultobj
= 0;
6686 if (!SWIG_Python_UnpackTuple(args
,"ColourDisplay",0,0,0)) SWIG_fail
;
6688 if (!wxPyCheckForApp()) SWIG_fail
;
6689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6690 result
= (bool)wxColourDisplay();
6691 wxPyEndAllowThreads(__tstate
);
6692 if (PyErr_Occurred()) SWIG_fail
;
6695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6703 SWIGINTERN PyObject
*_wrap_DisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6704 PyObject
*resultobj
= 0;
6707 if (!SWIG_Python_UnpackTuple(args
,"DisplayDepth",0,0,0)) SWIG_fail
;
6709 if (!wxPyCheckForApp()) SWIG_fail
;
6710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6711 result
= (int)wxDisplayDepth();
6712 wxPyEndAllowThreads(__tstate
);
6713 if (PyErr_Occurred()) SWIG_fail
;
6715 resultobj
= SWIG_From_int(static_cast< int >(result
));
6722 SWIGINTERN PyObject
*_wrap_GetDisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6723 PyObject
*resultobj
= 0;
6726 if (!SWIG_Python_UnpackTuple(args
,"GetDisplayDepth",0,0,0)) SWIG_fail
;
6728 if (!wxPyCheckForApp()) SWIG_fail
;
6729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6730 result
= (int)wxGetDisplayDepth();
6731 wxPyEndAllowThreads(__tstate
);
6732 if (PyErr_Occurred()) SWIG_fail
;
6734 resultobj
= SWIG_From_int(static_cast< int >(result
));
6741 SWIGINTERN PyObject
*_wrap_DisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6742 PyObject
*resultobj
= 0;
6743 int *arg1
= (int *) 0 ;
6744 int *arg2
= (int *) 0 ;
6746 int res1
= SWIG_TMPOBJ
;
6748 int res2
= SWIG_TMPOBJ
;
6752 if (!SWIG_Python_UnpackTuple(args
,"DisplaySize",0,0,0)) SWIG_fail
;
6754 if (!wxPyCheckForApp()) SWIG_fail
;
6755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6756 wxDisplaySize(arg1
,arg2
);
6757 wxPyEndAllowThreads(__tstate
);
6758 if (PyErr_Occurred()) SWIG_fail
;
6760 resultobj
= SWIG_Py_Void();
6761 if (SWIG_IsTmpObj(res1
)) {
6762 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6764 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6765 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6767 if (SWIG_IsTmpObj(res2
)) {
6768 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6770 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6771 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6779 SWIGINTERN PyObject
*_wrap_GetDisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6780 PyObject
*resultobj
= 0;
6783 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySize",0,0,0)) SWIG_fail
;
6785 if (!wxPyCheckForApp()) SWIG_fail
;
6786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6787 result
= wxGetDisplaySize();
6788 wxPyEndAllowThreads(__tstate
);
6789 if (PyErr_Occurred()) SWIG_fail
;
6791 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6798 SWIGINTERN PyObject
*_wrap_DisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6799 PyObject
*resultobj
= 0;
6800 int *arg1
= (int *) 0 ;
6801 int *arg2
= (int *) 0 ;
6803 int res1
= SWIG_TMPOBJ
;
6805 int res2
= SWIG_TMPOBJ
;
6809 if (!SWIG_Python_UnpackTuple(args
,"DisplaySizeMM",0,0,0)) SWIG_fail
;
6811 if (!wxPyCheckForApp()) SWIG_fail
;
6812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6813 wxDisplaySizeMM(arg1
,arg2
);
6814 wxPyEndAllowThreads(__tstate
);
6815 if (PyErr_Occurred()) SWIG_fail
;
6817 resultobj
= SWIG_Py_Void();
6818 if (SWIG_IsTmpObj(res1
)) {
6819 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6821 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6822 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6824 if (SWIG_IsTmpObj(res2
)) {
6825 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6827 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6828 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6836 SWIGINTERN PyObject
*_wrap_GetDisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6837 PyObject
*resultobj
= 0;
6840 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySizeMM",0,0,0)) SWIG_fail
;
6842 if (!wxPyCheckForApp()) SWIG_fail
;
6843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6844 result
= wxGetDisplaySizeMM();
6845 wxPyEndAllowThreads(__tstate
);
6846 if (PyErr_Occurred()) SWIG_fail
;
6848 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6855 SWIGINTERN PyObject
*_wrap_ClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6856 PyObject
*resultobj
= 0;
6857 int *arg1
= (int *) 0 ;
6858 int *arg2
= (int *) 0 ;
6859 int *arg3
= (int *) 0 ;
6860 int *arg4
= (int *) 0 ;
6862 int res1
= SWIG_TMPOBJ
;
6864 int res2
= SWIG_TMPOBJ
;
6866 int res3
= SWIG_TMPOBJ
;
6868 int res4
= SWIG_TMPOBJ
;
6874 if (!SWIG_Python_UnpackTuple(args
,"ClientDisplayRect",0,0,0)) SWIG_fail
;
6876 if (!wxPyCheckForApp()) SWIG_fail
;
6877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6878 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
6879 wxPyEndAllowThreads(__tstate
);
6880 if (PyErr_Occurred()) SWIG_fail
;
6882 resultobj
= SWIG_Py_Void();
6883 if (SWIG_IsTmpObj(res1
)) {
6884 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6886 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6887 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6889 if (SWIG_IsTmpObj(res2
)) {
6890 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6892 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6893 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6895 if (SWIG_IsTmpObj(res3
)) {
6896 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
6898 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6899 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
6901 if (SWIG_IsTmpObj(res4
)) {
6902 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
6904 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6905 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
6913 SWIGINTERN PyObject
*_wrap_GetClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6914 PyObject
*resultobj
= 0;
6917 if (!SWIG_Python_UnpackTuple(args
,"GetClientDisplayRect",0,0,0)) SWIG_fail
;
6919 if (!wxPyCheckForApp()) SWIG_fail
;
6920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6921 result
= wxGetClientDisplayRect();
6922 wxPyEndAllowThreads(__tstate
);
6923 if (PyErr_Occurred()) SWIG_fail
;
6925 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
6932 SWIGINTERN PyObject
*_wrap_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6933 PyObject
*resultobj
= 0;
6934 wxCursor
*arg1
= 0 ;
6937 PyObject
* obj0
= 0 ;
6938 char * kwnames
[] = {
6939 (char *) "cursor", NULL
6942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) SWIG_fail
;
6943 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxCursor
, 0 );
6944 if (!SWIG_IsOK(res1
)) {
6945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
6948 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
6950 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
6952 if (!wxPyCheckForApp()) SWIG_fail
;
6953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6955 wxPyEndAllowThreads(__tstate
);
6956 if (PyErr_Occurred()) SWIG_fail
;
6958 resultobj
= SWIG_Py_Void();
6965 SWIGINTERN PyObject
*_wrap_GetXDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6966 PyObject
*resultobj
= 0;
6969 if (!SWIG_Python_UnpackTuple(args
,"GetXDisplay",0,0,0)) SWIG_fail
;
6971 if (!wxPyCheckForApp()) SWIG_fail
;
6972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6973 result
= (void *)wxGetXDisplay();
6974 wxPyEndAllowThreads(__tstate
);
6975 if (PyErr_Occurred()) SWIG_fail
;
6977 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
6984 SWIGINTERN PyObject
*_wrap_BeginBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6985 PyObject
*resultobj
= 0;
6986 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
6989 PyObject
* obj0
= 0 ;
6990 char * kwnames
[] = {
6991 (char *) "cursor", NULL
6994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) SWIG_fail
;
6996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
6997 if (!SWIG_IsOK(res1
)) {
6998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BeginBusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
7000 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7003 if (!wxPyCheckForApp()) SWIG_fail
;
7004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7005 wxBeginBusyCursor(arg1
);
7006 wxPyEndAllowThreads(__tstate
);
7007 if (PyErr_Occurred()) SWIG_fail
;
7009 resultobj
= SWIG_Py_Void();
7016 SWIGINTERN PyObject
*_wrap_GetMousePosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7017 PyObject
*resultobj
= 0;
7020 if (!SWIG_Python_UnpackTuple(args
,"GetMousePosition",0,0,0)) SWIG_fail
;
7022 if (!wxPyCheckForApp()) SWIG_fail
;
7023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7024 result
= wxGetMousePosition();
7025 wxPyEndAllowThreads(__tstate
);
7026 if (PyErr_Occurred()) SWIG_fail
;
7028 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7035 SWIGINTERN PyObject
*_wrap_FindWindowAtPointer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7036 PyObject
*resultobj
= 0;
7037 wxWindow
*result
= 0 ;
7039 if (!SWIG_Python_UnpackTuple(args
,"FindWindowAtPointer",0,0,0)) SWIG_fail
;
7041 if (!wxPyCheckForApp()) SWIG_fail
;
7042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7043 result
= (wxWindow
*)FindWindowAtPointer();
7044 wxPyEndAllowThreads(__tstate
);
7045 if (PyErr_Occurred()) SWIG_fail
;
7048 resultobj
= wxPyMake_wxObject(result
, 0);
7056 SWIGINTERN PyObject
*_wrap_GetActiveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7057 PyObject
*resultobj
= 0;
7058 wxWindow
*result
= 0 ;
7060 if (!SWIG_Python_UnpackTuple(args
,"GetActiveWindow",0,0,0)) SWIG_fail
;
7062 if (!wxPyCheckForApp()) SWIG_fail
;
7063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7064 result
= (wxWindow
*)wxGetActiveWindow();
7065 wxPyEndAllowThreads(__tstate
);
7066 if (PyErr_Occurred()) SWIG_fail
;
7069 resultobj
= wxPyMake_wxObject(result
, 0);
7077 SWIGINTERN PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7078 PyObject
*resultobj
= 0;
7080 wxWindow
*result
= 0 ;
7082 PyObject
* obj0
= 0 ;
7083 char * kwnames
[] = {
7087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
7090 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
7093 if (!wxPyCheckForApp()) SWIG_fail
;
7094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7095 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
7096 wxPyEndAllowThreads(__tstate
);
7097 if (PyErr_Occurred()) SWIG_fail
;
7100 resultobj
= wxPyMake_wxObject(result
, 0);
7108 SWIGINTERN PyObject
*_wrap_FindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7109 PyObject
*resultobj
= 0;
7111 wxWindow
*result
= 0 ;
7113 PyObject
* obj0
= 0 ;
7114 char * kwnames
[] = {
7118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
7121 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
7124 if (!wxPyCheckForApp()) SWIG_fail
;
7125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7126 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
7127 wxPyEndAllowThreads(__tstate
);
7128 if (PyErr_Occurred()) SWIG_fail
;
7131 resultobj
= wxPyMake_wxObject(result
, 0);
7139 SWIGINTERN PyObject
*_wrap_GetTopLevelParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7140 PyObject
*resultobj
= 0;
7141 wxWindow
*arg1
= (wxWindow
*) 0 ;
7142 wxWindow
*result
= 0 ;
7145 PyObject
* obj0
= 0 ;
7146 char * kwnames
[] = {
7147 (char *) "win", NULL
7150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) SWIG_fail
;
7151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7152 if (!SWIG_IsOK(res1
)) {
7153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetTopLevelParent" "', expected argument " "1"" of type '" "wxWindow *""'");
7155 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7157 if (!wxPyCheckForApp()) SWIG_fail
;
7158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7159 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
7160 wxPyEndAllowThreads(__tstate
);
7161 if (PyErr_Occurred()) SWIG_fail
;
7164 resultobj
= wxPyMake_wxObject(result
, 0);
7172 SWIGINTERN PyObject
*_wrap_LaunchDefaultBrowser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7173 PyObject
*resultobj
= 0;
7174 wxString
*arg1
= 0 ;
7176 bool temp1
= false ;
7177 PyObject
* obj0
= 0 ;
7178 char * kwnames
[] = {
7179 (char *) "url", NULL
7182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LaunchDefaultBrowser",kwnames
,&obj0
)) SWIG_fail
;
7184 arg1
= wxString_in_helper(obj0
);
7185 if (arg1
== NULL
) SWIG_fail
;
7189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7190 result
= (bool)wxLaunchDefaultBrowser((wxString
const &)*arg1
);
7191 wxPyEndAllowThreads(__tstate
);
7192 if (PyErr_Occurred()) SWIG_fail
;
7195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7211 SWIGINTERN PyObject
*_wrap_GetKeyState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7212 PyObject
*resultobj
= 0;
7217 PyObject
* obj0
= 0 ;
7218 char * kwnames
[] = {
7219 (char *) "key", NULL
7222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) SWIG_fail
;
7223 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7224 if (!SWIG_IsOK(ecode1
)) {
7225 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetKeyState" "', expected argument " "1"" of type '" "wxKeyCode""'");
7227 arg1
= static_cast< wxKeyCode
>(val1
);
7229 if (!wxPyCheckForApp()) SWIG_fail
;
7230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7231 result
= (bool)wxGetKeyState(arg1
);
7232 wxPyEndAllowThreads(__tstate
);
7233 if (PyErr_Occurred()) SWIG_fail
;
7236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7244 SWIGINTERN PyObject
*_wrap_new_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7245 PyObject
*resultobj
= 0;
7246 wxMouseState
*result
= 0 ;
7248 if (!SWIG_Python_UnpackTuple(args
,"new_MouseState",0,0,0)) SWIG_fail
;
7250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7251 result
= (wxMouseState
*)new wxMouseState();
7252 wxPyEndAllowThreads(__tstate
);
7253 if (PyErr_Occurred()) SWIG_fail
;
7255 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_NEW
| 0 );
7262 SWIGINTERN PyObject
*_wrap_delete_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7263 PyObject
*resultobj
= 0;
7264 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7267 PyObject
*swig_obj
[1] ;
7269 if (!args
) SWIG_fail
;
7271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, SWIG_POINTER_DISOWN
| 0 );
7272 if (!SWIG_IsOK(res1
)) {
7273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MouseState" "', expected argument " "1"" of type '" "wxMouseState *""'");
7275 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7280 wxPyEndAllowThreads(__tstate
);
7281 if (PyErr_Occurred()) SWIG_fail
;
7283 resultobj
= SWIG_Py_Void();
7290 SWIGINTERN PyObject
*_wrap_MouseState_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7291 PyObject
*resultobj
= 0;
7292 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7296 PyObject
*swig_obj
[1] ;
7298 if (!args
) SWIG_fail
;
7300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7301 if (!SWIG_IsOK(res1
)) {
7302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7304 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7307 result
= (int)(arg1
)->GetX();
7308 wxPyEndAllowThreads(__tstate
);
7309 if (PyErr_Occurred()) SWIG_fail
;
7311 resultobj
= SWIG_From_int(static_cast< int >(result
));
7318 SWIGINTERN PyObject
*_wrap_MouseState_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7319 PyObject
*resultobj
= 0;
7320 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7324 PyObject
*swig_obj
[1] ;
7326 if (!args
) SWIG_fail
;
7328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7329 if (!SWIG_IsOK(res1
)) {
7330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7332 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7335 result
= (int)(arg1
)->GetY();
7336 wxPyEndAllowThreads(__tstate
);
7337 if (PyErr_Occurred()) SWIG_fail
;
7339 resultobj
= SWIG_From_int(static_cast< int >(result
));
7346 SWIGINTERN PyObject
*_wrap_MouseState_LeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7347 PyObject
*resultobj
= 0;
7348 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7352 PyObject
*swig_obj
[1] ;
7354 if (!args
) SWIG_fail
;
7356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7357 if (!SWIG_IsOK(res1
)) {
7358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_LeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7360 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7363 result
= (bool)(arg1
)->LeftDown();
7364 wxPyEndAllowThreads(__tstate
);
7365 if (PyErr_Occurred()) SWIG_fail
;
7368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7376 SWIGINTERN PyObject
*_wrap_MouseState_MiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7377 PyObject
*resultobj
= 0;
7378 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7382 PyObject
*swig_obj
[1] ;
7384 if (!args
) SWIG_fail
;
7386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7387 if (!SWIG_IsOK(res1
)) {
7388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7390 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7393 result
= (bool)(arg1
)->MiddleDown();
7394 wxPyEndAllowThreads(__tstate
);
7395 if (PyErr_Occurred()) SWIG_fail
;
7398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7406 SWIGINTERN PyObject
*_wrap_MouseState_RightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7407 PyObject
*resultobj
= 0;
7408 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7412 PyObject
*swig_obj
[1] ;
7414 if (!args
) SWIG_fail
;
7416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7417 if (!SWIG_IsOK(res1
)) {
7418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_RightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7420 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7423 result
= (bool)(arg1
)->RightDown();
7424 wxPyEndAllowThreads(__tstate
);
7425 if (PyErr_Occurred()) SWIG_fail
;
7428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7436 SWIGINTERN PyObject
*_wrap_MouseState_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7437 PyObject
*resultobj
= 0;
7438 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7442 PyObject
*swig_obj
[1] ;
7444 if (!args
) SWIG_fail
;
7446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7447 if (!SWIG_IsOK(res1
)) {
7448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7450 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7453 result
= (bool)(arg1
)->ControlDown();
7454 wxPyEndAllowThreads(__tstate
);
7455 if (PyErr_Occurred()) SWIG_fail
;
7458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7466 SWIGINTERN PyObject
*_wrap_MouseState_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7467 PyObject
*resultobj
= 0;
7468 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7472 PyObject
*swig_obj
[1] ;
7474 if (!args
) SWIG_fail
;
7476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7477 if (!SWIG_IsOK(res1
)) {
7478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7480 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7483 result
= (bool)(arg1
)->ShiftDown();
7484 wxPyEndAllowThreads(__tstate
);
7485 if (PyErr_Occurred()) SWIG_fail
;
7488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7496 SWIGINTERN PyObject
*_wrap_MouseState_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7497 PyObject
*resultobj
= 0;
7498 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7502 PyObject
*swig_obj
[1] ;
7504 if (!args
) SWIG_fail
;
7506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7507 if (!SWIG_IsOK(res1
)) {
7508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_AltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7510 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7513 result
= (bool)(arg1
)->AltDown();
7514 wxPyEndAllowThreads(__tstate
);
7515 if (PyErr_Occurred()) SWIG_fail
;
7518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7526 SWIGINTERN PyObject
*_wrap_MouseState_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7527 PyObject
*resultobj
= 0;
7528 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7532 PyObject
*swig_obj
[1] ;
7534 if (!args
) SWIG_fail
;
7536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7537 if (!SWIG_IsOK(res1
)) {
7538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7540 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7543 result
= (bool)(arg1
)->MetaDown();
7544 wxPyEndAllowThreads(__tstate
);
7545 if (PyErr_Occurred()) SWIG_fail
;
7548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7556 SWIGINTERN PyObject
*_wrap_MouseState_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7557 PyObject
*resultobj
= 0;
7558 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7562 PyObject
*swig_obj
[1] ;
7564 if (!args
) SWIG_fail
;
7566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7567 if (!SWIG_IsOK(res1
)) {
7568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_CmdDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7570 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7573 result
= (bool)(arg1
)->CmdDown();
7574 wxPyEndAllowThreads(__tstate
);
7575 if (PyErr_Occurred()) SWIG_fail
;
7578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7586 SWIGINTERN PyObject
*_wrap_MouseState_SetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7587 PyObject
*resultobj
= 0;
7588 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7594 PyObject
* obj0
= 0 ;
7595 PyObject
* obj1
= 0 ;
7596 char * kwnames
[] = {
7597 (char *) "self",(char *) "x", NULL
7600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7602 if (!SWIG_IsOK(res1
)) {
7603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7605 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7606 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7607 if (!SWIG_IsOK(ecode2
)) {
7608 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetX" "', expected argument " "2"" of type '" "int""'");
7610 arg2
= static_cast< int >(val2
);
7612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7614 wxPyEndAllowThreads(__tstate
);
7615 if (PyErr_Occurred()) SWIG_fail
;
7617 resultobj
= SWIG_Py_Void();
7624 SWIGINTERN PyObject
*_wrap_MouseState_SetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7625 PyObject
*resultobj
= 0;
7626 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7632 PyObject
* obj0
= 0 ;
7633 PyObject
* obj1
= 0 ;
7634 char * kwnames
[] = {
7635 (char *) "self",(char *) "y", NULL
7638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7640 if (!SWIG_IsOK(res1
)) {
7641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7643 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7644 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7645 if (!SWIG_IsOK(ecode2
)) {
7646 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetY" "', expected argument " "2"" of type '" "int""'");
7648 arg2
= static_cast< int >(val2
);
7650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7652 wxPyEndAllowThreads(__tstate
);
7653 if (PyErr_Occurred()) SWIG_fail
;
7655 resultobj
= SWIG_Py_Void();
7662 SWIGINTERN PyObject
*_wrap_MouseState_SetLeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7663 PyObject
*resultobj
= 0;
7664 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7670 PyObject
* obj0
= 0 ;
7671 PyObject
* obj1
= 0 ;
7672 char * kwnames
[] = {
7673 (char *) "self",(char *) "down", NULL
7676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetLeftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7678 if (!SWIG_IsOK(res1
)) {
7679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetLeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7681 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7682 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7683 if (!SWIG_IsOK(ecode2
)) {
7684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetLeftDown" "', expected argument " "2"" of type '" "bool""'");
7686 arg2
= static_cast< bool >(val2
);
7688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7689 (arg1
)->SetLeftDown(arg2
);
7690 wxPyEndAllowThreads(__tstate
);
7691 if (PyErr_Occurred()) SWIG_fail
;
7693 resultobj
= SWIG_Py_Void();
7700 SWIGINTERN PyObject
*_wrap_MouseState_SetMiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7701 PyObject
*resultobj
= 0;
7702 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7708 PyObject
* obj0
= 0 ;
7709 PyObject
* obj1
= 0 ;
7710 char * kwnames
[] = {
7711 (char *) "self",(char *) "down", NULL
7714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMiddleDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7716 if (!SWIG_IsOK(res1
)) {
7717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7719 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7720 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7721 if (!SWIG_IsOK(ecode2
)) {
7722 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "2"" of type '" "bool""'");
7724 arg2
= static_cast< bool >(val2
);
7726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7727 (arg1
)->SetMiddleDown(arg2
);
7728 wxPyEndAllowThreads(__tstate
);
7729 if (PyErr_Occurred()) SWIG_fail
;
7731 resultobj
= SWIG_Py_Void();
7738 SWIGINTERN PyObject
*_wrap_MouseState_SetRightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7739 PyObject
*resultobj
= 0;
7740 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7746 PyObject
* obj0
= 0 ;
7747 PyObject
* obj1
= 0 ;
7748 char * kwnames
[] = {
7749 (char *) "self",(char *) "down", NULL
7752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetRightDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7754 if (!SWIG_IsOK(res1
)) {
7755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetRightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7757 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7758 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7759 if (!SWIG_IsOK(ecode2
)) {
7760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetRightDown" "', expected argument " "2"" of type '" "bool""'");
7762 arg2
= static_cast< bool >(val2
);
7764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7765 (arg1
)->SetRightDown(arg2
);
7766 wxPyEndAllowThreads(__tstate
);
7767 if (PyErr_Occurred()) SWIG_fail
;
7769 resultobj
= SWIG_Py_Void();
7776 SWIGINTERN PyObject
*_wrap_MouseState_SetControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7777 PyObject
*resultobj
= 0;
7778 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7784 PyObject
* obj0
= 0 ;
7785 PyObject
* obj1
= 0 ;
7786 char * kwnames
[] = {
7787 (char *) "self",(char *) "down", NULL
7790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetControlDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7792 if (!SWIG_IsOK(res1
)) {
7793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7795 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7796 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7797 if (!SWIG_IsOK(ecode2
)) {
7798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetControlDown" "', expected argument " "2"" of type '" "bool""'");
7800 arg2
= static_cast< bool >(val2
);
7802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7803 (arg1
)->SetControlDown(arg2
);
7804 wxPyEndAllowThreads(__tstate
);
7805 if (PyErr_Occurred()) SWIG_fail
;
7807 resultobj
= SWIG_Py_Void();
7814 SWIGINTERN PyObject
*_wrap_MouseState_SetShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7815 PyObject
*resultobj
= 0;
7816 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7822 PyObject
* obj0
= 0 ;
7823 PyObject
* obj1
= 0 ;
7824 char * kwnames
[] = {
7825 (char *) "self",(char *) "down", NULL
7828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetShiftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7830 if (!SWIG_IsOK(res1
)) {
7831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7833 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7834 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7835 if (!SWIG_IsOK(ecode2
)) {
7836 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetShiftDown" "', expected argument " "2"" of type '" "bool""'");
7838 arg2
= static_cast< bool >(val2
);
7840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7841 (arg1
)->SetShiftDown(arg2
);
7842 wxPyEndAllowThreads(__tstate
);
7843 if (PyErr_Occurred()) SWIG_fail
;
7845 resultobj
= SWIG_Py_Void();
7852 SWIGINTERN PyObject
*_wrap_MouseState_SetAltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7853 PyObject
*resultobj
= 0;
7854 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7860 PyObject
* obj0
= 0 ;
7861 PyObject
* obj1
= 0 ;
7862 char * kwnames
[] = {
7863 (char *) "self",(char *) "down", NULL
7866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetAltDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7868 if (!SWIG_IsOK(res1
)) {
7869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetAltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7871 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7872 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7873 if (!SWIG_IsOK(ecode2
)) {
7874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetAltDown" "', expected argument " "2"" of type '" "bool""'");
7876 arg2
= static_cast< bool >(val2
);
7878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7879 (arg1
)->SetAltDown(arg2
);
7880 wxPyEndAllowThreads(__tstate
);
7881 if (PyErr_Occurred()) SWIG_fail
;
7883 resultobj
= SWIG_Py_Void();
7890 SWIGINTERN PyObject
*_wrap_MouseState_SetMetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7891 PyObject
*resultobj
= 0;
7892 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7898 PyObject
* obj0
= 0 ;
7899 PyObject
* obj1
= 0 ;
7900 char * kwnames
[] = {
7901 (char *) "self",(char *) "down", NULL
7904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMetaDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7906 if (!SWIG_IsOK(res1
)) {
7907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7909 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7910 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7911 if (!SWIG_IsOK(ecode2
)) {
7912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMetaDown" "', expected argument " "2"" of type '" "bool""'");
7914 arg2
= static_cast< bool >(val2
);
7916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7917 (arg1
)->SetMetaDown(arg2
);
7918 wxPyEndAllowThreads(__tstate
);
7919 if (PyErr_Occurred()) SWIG_fail
;
7921 resultobj
= SWIG_Py_Void();
7928 SWIGINTERN PyObject
*MouseState_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7930 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7931 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseState
, SWIG_NewClientData(obj
));
7932 return SWIG_Py_Void();
7935 SWIGINTERN PyObject
*MouseState_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7936 return SWIG_Python_InitShadowInstance(args
);
7939 SWIGINTERN PyObject
*_wrap_GetMouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7940 PyObject
*resultobj
= 0;
7941 wxMouseState result
;
7943 if (!SWIG_Python_UnpackTuple(args
,"GetMouseState",0,0,0)) SWIG_fail
;
7945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7946 result
= wxGetMouseState();
7947 wxPyEndAllowThreads(__tstate
);
7948 if (PyErr_Occurred()) SWIG_fail
;
7950 resultobj
= SWIG_NewPointerObj((new wxMouseState(static_cast< const wxMouseState
& >(result
))), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_OWN
| 0 );
7957 SWIGINTERN PyObject
*_wrap_WakeUpMainThread(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7958 PyObject
*resultobj
= 0;
7960 if (!SWIG_Python_UnpackTuple(args
,"WakeUpMainThread",0,0,0)) SWIG_fail
;
7962 if (!wxPyCheckForApp()) SWIG_fail
;
7963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7964 wxWakeUpMainThread();
7965 wxPyEndAllowThreads(__tstate
);
7966 if (PyErr_Occurred()) SWIG_fail
;
7968 resultobj
= SWIG_Py_Void();
7975 SWIGINTERN PyObject
*_wrap_MutexGuiEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7976 PyObject
*resultobj
= 0;
7978 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiEnter",0,0,0)) SWIG_fail
;
7980 if (!wxPyCheckForApp()) SWIG_fail
;
7981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7983 wxPyEndAllowThreads(__tstate
);
7984 if (PyErr_Occurred()) SWIG_fail
;
7986 resultobj
= SWIG_Py_Void();
7993 SWIGINTERN PyObject
*_wrap_MutexGuiLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7994 PyObject
*resultobj
= 0;
7996 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiLeave",0,0,0)) SWIG_fail
;
7998 if (!wxPyCheckForApp()) SWIG_fail
;
7999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8001 wxPyEndAllowThreads(__tstate
);
8002 if (PyErr_Occurred()) SWIG_fail
;
8004 resultobj
= SWIG_Py_Void();
8011 SWIGINTERN PyObject
*_wrap_new_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8012 PyObject
*resultobj
= 0;
8013 wxMutexGuiLocker
*result
= 0 ;
8015 if (!SWIG_Python_UnpackTuple(args
,"new_MutexGuiLocker",0,0,0)) SWIG_fail
;
8017 if (!wxPyCheckForApp()) SWIG_fail
;
8018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8019 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
8020 wxPyEndAllowThreads(__tstate
);
8021 if (PyErr_Occurred()) SWIG_fail
;
8023 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_NEW
| 0 );
8030 SWIGINTERN PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8031 PyObject
*resultobj
= 0;
8032 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
8035 PyObject
*swig_obj
[1] ;
8037 if (!args
) SWIG_fail
;
8039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_DISOWN
| 0 );
8040 if (!SWIG_IsOK(res1
)) {
8041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MutexGuiLocker" "', expected argument " "1"" of type '" "wxMutexGuiLocker *""'");
8043 arg1
= reinterpret_cast< wxMutexGuiLocker
* >(argp1
);
8045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8048 wxPyEndAllowThreads(__tstate
);
8049 if (PyErr_Occurred()) SWIG_fail
;
8051 resultobj
= SWIG_Py_Void();
8058 SWIGINTERN PyObject
*MutexGuiLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8060 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8061 SWIG_TypeNewClientData(SWIGTYPE_p_wxMutexGuiLocker
, SWIG_NewClientData(obj
));
8062 return SWIG_Py_Void();
8065 SWIGINTERN PyObject
*MutexGuiLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8066 return SWIG_Python_InitShadowInstance(args
);
8069 SWIGINTERN PyObject
*_wrap_Thread_IsMain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8070 PyObject
*resultobj
= 0;
8073 if (!SWIG_Python_UnpackTuple(args
,"Thread_IsMain",0,0,0)) SWIG_fail
;
8075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8076 result
= (bool)wxThread_IsMain();
8077 wxPyEndAllowThreads(__tstate
);
8078 if (PyErr_Occurred()) SWIG_fail
;
8081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8089 SWIGINTERN PyObject
*_wrap_new_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8090 PyObject
*resultobj
= 0;
8091 wxString
*arg1
= 0 ;
8092 wxToolTip
*result
= 0 ;
8093 bool temp1
= false ;
8094 PyObject
* obj0
= 0 ;
8095 char * kwnames
[] = {
8096 (char *) "tip", NULL
8099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) SWIG_fail
;
8101 arg1
= wxString_in_helper(obj0
);
8102 if (arg1
== NULL
) SWIG_fail
;
8106 if (!wxPyCheckForApp()) SWIG_fail
;
8107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8108 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
8109 wxPyEndAllowThreads(__tstate
);
8110 if (PyErr_Occurred()) SWIG_fail
;
8112 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolTip
, SWIG_POINTER_NEW
| 0 );
8127 SWIGINTERN PyObject
*_wrap_delete_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8128 PyObject
*resultobj
= 0;
8129 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8132 PyObject
*swig_obj
[1] ;
8134 if (!args
) SWIG_fail
;
8136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, SWIG_POINTER_DISOWN
| 0 );
8137 if (!SWIG_IsOK(res1
)) {
8138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ToolTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8140 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8145 wxPyEndAllowThreads(__tstate
);
8146 if (PyErr_Occurred()) SWIG_fail
;
8148 resultobj
= SWIG_Py_Void();
8155 SWIGINTERN PyObject
*_wrap_ToolTip_SetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8156 PyObject
*resultobj
= 0;
8157 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8158 wxString
*arg2
= 0 ;
8161 bool temp2
= false ;
8162 PyObject
* obj0
= 0 ;
8163 PyObject
* obj1
= 0 ;
8164 char * kwnames
[] = {
8165 (char *) "self",(char *) "tip", NULL
8168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8170 if (!SWIG_IsOK(res1
)) {
8171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_SetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8173 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8175 arg2
= wxString_in_helper(obj1
);
8176 if (arg2
== NULL
) SWIG_fail
;
8180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8181 (arg1
)->SetTip((wxString
const &)*arg2
);
8182 wxPyEndAllowThreads(__tstate
);
8183 if (PyErr_Occurred()) SWIG_fail
;
8185 resultobj
= SWIG_Py_Void();
8200 SWIGINTERN PyObject
*_wrap_ToolTip_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8201 PyObject
*resultobj
= 0;
8202 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8206 PyObject
*swig_obj
[1] ;
8208 if (!args
) SWIG_fail
;
8210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8211 if (!SWIG_IsOK(res1
)) {
8212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8214 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8217 result
= (arg1
)->GetTip();
8218 wxPyEndAllowThreads(__tstate
);
8219 if (PyErr_Occurred()) SWIG_fail
;
8223 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8225 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8234 SWIGINTERN PyObject
*_wrap_ToolTip_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8235 PyObject
*resultobj
= 0;
8236 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8237 wxWindow
*result
= 0 ;
8240 PyObject
*swig_obj
[1] ;
8242 if (!args
) SWIG_fail
;
8244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8245 if (!SWIG_IsOK(res1
)) {
8246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetWindow" "', expected argument " "1"" of type '" "wxToolTip *""'");
8248 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8251 result
= (wxWindow
*)(arg1
)->GetWindow();
8252 wxPyEndAllowThreads(__tstate
);
8253 if (PyErr_Occurred()) SWIG_fail
;
8256 resultobj
= wxPyMake_wxObject(result
, 0);
8264 SWIGINTERN PyObject
*_wrap_ToolTip_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8265 PyObject
*resultobj
= 0;
8269 PyObject
* obj0
= 0 ;
8270 char * kwnames
[] = {
8271 (char *) "flag", NULL
8274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) SWIG_fail
;
8275 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
8276 if (!SWIG_IsOK(ecode1
)) {
8277 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_Enable" "', expected argument " "1"" of type '" "bool""'");
8279 arg1
= static_cast< bool >(val1
);
8281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8282 wxToolTip::Enable(arg1
);
8283 wxPyEndAllowThreads(__tstate
);
8284 if (PyErr_Occurred()) SWIG_fail
;
8286 resultobj
= SWIG_Py_Void();
8293 SWIGINTERN PyObject
*_wrap_ToolTip_SetDelay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8294 PyObject
*resultobj
= 0;
8298 PyObject
* obj0
= 0 ;
8299 char * kwnames
[] = {
8300 (char *) "milliseconds", NULL
8303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) SWIG_fail
;
8304 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
8305 if (!SWIG_IsOK(ecode1
)) {
8306 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_SetDelay" "', expected argument " "1"" of type '" "long""'");
8308 arg1
= static_cast< long >(val1
);
8310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8311 wxToolTip::SetDelay(arg1
);
8312 wxPyEndAllowThreads(__tstate
);
8313 if (PyErr_Occurred()) SWIG_fail
;
8315 resultobj
= SWIG_Py_Void();
8322 SWIGINTERN PyObject
*ToolTip_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8324 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8325 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolTip
, SWIG_NewClientData(obj
));
8326 return SWIG_Py_Void();
8329 SWIGINTERN PyObject
*ToolTip_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8330 return SWIG_Python_InitShadowInstance(args
);
8333 SWIGINTERN PyObject
*_wrap_new_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8334 PyObject
*resultobj
= 0;
8335 wxWindow
*arg1
= (wxWindow
*) 0 ;
8337 wxCaret
*result
= 0 ;
8341 PyObject
* obj0
= 0 ;
8342 PyObject
* obj1
= 0 ;
8343 char * kwnames
[] = {
8344 (char *) "window",(char *) "size", NULL
8347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8349 if (!SWIG_IsOK(res1
)) {
8350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Caret" "', expected argument " "1"" of type '" "wxWindow *""'");
8352 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8355 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8358 if (!wxPyCheckForApp()) SWIG_fail
;
8359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8360 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
8361 wxPyEndAllowThreads(__tstate
);
8362 if (PyErr_Occurred()) SWIG_fail
;
8364 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCaret
, SWIG_POINTER_NEW
| 0 );
8371 SWIGINTERN PyObject
*_wrap_delete_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8372 PyObject
*resultobj
= 0;
8373 wxCaret
*arg1
= (wxCaret
*) 0 ;
8376 PyObject
*swig_obj
[1] ;
8378 if (!args
) SWIG_fail
;
8380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, SWIG_POINTER_DISOWN
| 0 );
8381 if (!SWIG_IsOK(res1
)) {
8382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Caret" "', expected argument " "1"" of type '" "wxCaret *""'");
8384 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8389 wxPyEndAllowThreads(__tstate
);
8390 if (PyErr_Occurred()) SWIG_fail
;
8392 resultobj
= SWIG_Py_Void();
8399 SWIGINTERN PyObject
*_wrap_Caret_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8400 PyObject
*resultobj
= 0;
8401 wxCaret
*arg1
= (wxCaret
*) 0 ;
8404 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_Destroy" "', expected argument " "1"" of type '" "wxCaret *""'");
8412 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8415 wxCaret_Destroy(arg1
);
8416 wxPyEndAllowThreads(__tstate
);
8417 if (PyErr_Occurred()) SWIG_fail
;
8419 resultobj
= SWIG_Py_Void();
8426 SWIGINTERN PyObject
*_wrap_Caret_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8427 PyObject
*resultobj
= 0;
8428 wxCaret
*arg1
= (wxCaret
*) 0 ;
8432 PyObject
*swig_obj
[1] ;
8434 if (!args
) SWIG_fail
;
8436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8437 if (!SWIG_IsOK(res1
)) {
8438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsOk" "', expected argument " "1"" of type '" "wxCaret *""'");
8440 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8443 result
= (bool)(arg1
)->IsOk();
8444 wxPyEndAllowThreads(__tstate
);
8445 if (PyErr_Occurred()) SWIG_fail
;
8448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8456 SWIGINTERN PyObject
*_wrap_Caret_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8457 PyObject
*resultobj
= 0;
8458 wxCaret
*arg1
= (wxCaret
*) 0 ;
8462 PyObject
*swig_obj
[1] ;
8464 if (!args
) SWIG_fail
;
8466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8467 if (!SWIG_IsOK(res1
)) {
8468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsVisible" "', expected argument " "1"" of type '" "wxCaret *""'");
8470 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8473 result
= (bool)(arg1
)->IsVisible();
8474 wxPyEndAllowThreads(__tstate
);
8475 if (PyErr_Occurred()) SWIG_fail
;
8478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8486 SWIGINTERN PyObject
*_wrap_Caret_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8487 PyObject
*resultobj
= 0;
8488 wxCaret
*arg1
= (wxCaret
*) 0 ;
8492 PyObject
*swig_obj
[1] ;
8494 if (!args
) SWIG_fail
;
8496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8497 if (!SWIG_IsOK(res1
)) {
8498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPosition" "', expected argument " "1"" of type '" "wxCaret *""'");
8500 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8503 result
= (arg1
)->GetPosition();
8504 wxPyEndAllowThreads(__tstate
);
8505 if (PyErr_Occurred()) SWIG_fail
;
8507 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
8514 SWIGINTERN PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8515 PyObject
*resultobj
= 0;
8516 wxCaret
*arg1
= (wxCaret
*) 0 ;
8517 int *arg2
= (int *) 0 ;
8518 int *arg3
= (int *) 0 ;
8522 int res2
= SWIG_TMPOBJ
;
8524 int res3
= SWIG_TMPOBJ
;
8525 PyObject
*swig_obj
[1] ;
8529 if (!args
) SWIG_fail
;
8531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8532 if (!SWIG_IsOK(res1
)) {
8533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPositionTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8535 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8538 (arg1
)->GetPosition(arg2
,arg3
);
8539 wxPyEndAllowThreads(__tstate
);
8540 if (PyErr_Occurred()) SWIG_fail
;
8542 resultobj
= SWIG_Py_Void();
8543 if (SWIG_IsTmpObj(res2
)) {
8544 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8546 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8547 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8549 if (SWIG_IsTmpObj(res3
)) {
8550 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8552 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8553 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8561 SWIGINTERN PyObject
*_wrap_Caret_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8562 PyObject
*resultobj
= 0;
8563 wxCaret
*arg1
= (wxCaret
*) 0 ;
8567 PyObject
*swig_obj
[1] ;
8569 if (!args
) SWIG_fail
;
8571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8572 if (!SWIG_IsOK(res1
)) {
8573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8575 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8578 result
= (arg1
)->GetSize();
8579 wxPyEndAllowThreads(__tstate
);
8580 if (PyErr_Occurred()) SWIG_fail
;
8582 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
8589 SWIGINTERN PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8590 PyObject
*resultobj
= 0;
8591 wxCaret
*arg1
= (wxCaret
*) 0 ;
8592 int *arg2
= (int *) 0 ;
8593 int *arg3
= (int *) 0 ;
8597 int res2
= SWIG_TMPOBJ
;
8599 int res3
= SWIG_TMPOBJ
;
8600 PyObject
*swig_obj
[1] ;
8604 if (!args
) SWIG_fail
;
8606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8607 if (!SWIG_IsOK(res1
)) {
8608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSizeTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8610 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8613 (arg1
)->GetSize(arg2
,arg3
);
8614 wxPyEndAllowThreads(__tstate
);
8615 if (PyErr_Occurred()) SWIG_fail
;
8617 resultobj
= SWIG_Py_Void();
8618 if (SWIG_IsTmpObj(res2
)) {
8619 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8621 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8622 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8624 if (SWIG_IsTmpObj(res3
)) {
8625 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8627 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8628 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8636 SWIGINTERN PyObject
*_wrap_Caret_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8637 PyObject
*resultobj
= 0;
8638 wxCaret
*arg1
= (wxCaret
*) 0 ;
8639 wxWindow
*result
= 0 ;
8642 PyObject
*swig_obj
[1] ;
8644 if (!args
) SWIG_fail
;
8646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8647 if (!SWIG_IsOK(res1
)) {
8648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetWindow" "', expected argument " "1"" of type '" "wxCaret *""'");
8650 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8653 result
= (wxWindow
*)(arg1
)->GetWindow();
8654 wxPyEndAllowThreads(__tstate
);
8655 if (PyErr_Occurred()) SWIG_fail
;
8658 resultobj
= wxPyMake_wxObject(result
, 0);
8666 SWIGINTERN PyObject
*_wrap_Caret_MoveXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8667 PyObject
*resultobj
= 0;
8668 wxCaret
*arg1
= (wxCaret
*) 0 ;
8677 PyObject
* obj0
= 0 ;
8678 PyObject
* obj1
= 0 ;
8679 PyObject
* obj2
= 0 ;
8680 char * kwnames
[] = {
8681 (char *) "self",(char *) "x",(char *) "y", NULL
8684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8686 if (!SWIG_IsOK(res1
)) {
8687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_MoveXY" "', expected argument " "1"" of type '" "wxCaret *""'");
8689 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8690 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8691 if (!SWIG_IsOK(ecode2
)) {
8692 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_MoveXY" "', expected argument " "2"" of type '" "int""'");
8694 arg2
= static_cast< int >(val2
);
8695 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8696 if (!SWIG_IsOK(ecode3
)) {
8697 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_MoveXY" "', expected argument " "3"" of type '" "int""'");
8699 arg3
= static_cast< int >(val3
);
8701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8702 (arg1
)->Move(arg2
,arg3
);
8703 wxPyEndAllowThreads(__tstate
);
8704 if (PyErr_Occurred()) SWIG_fail
;
8706 resultobj
= SWIG_Py_Void();
8713 SWIGINTERN PyObject
*_wrap_Caret_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8714 PyObject
*resultobj
= 0;
8715 wxCaret
*arg1
= (wxCaret
*) 0 ;
8720 PyObject
* obj0
= 0 ;
8721 PyObject
* obj1
= 0 ;
8722 char * kwnames
[] = {
8723 (char *) "self",(char *) "pt", NULL
8726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8728 if (!SWIG_IsOK(res1
)) {
8729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Move" "', expected argument " "1"" of type '" "wxCaret *""'");
8731 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8734 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8738 (arg1
)->Move((wxPoint
const &)*arg2
);
8739 wxPyEndAllowThreads(__tstate
);
8740 if (PyErr_Occurred()) SWIG_fail
;
8742 resultobj
= SWIG_Py_Void();
8749 SWIGINTERN PyObject
*_wrap_Caret_SetSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8750 PyObject
*resultobj
= 0;
8751 wxCaret
*arg1
= (wxCaret
*) 0 ;
8760 PyObject
* obj0
= 0 ;
8761 PyObject
* obj1
= 0 ;
8762 PyObject
* obj2
= 0 ;
8763 char * kwnames
[] = {
8764 (char *) "self",(char *) "width",(char *) "height", NULL
8767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8769 if (!SWIG_IsOK(res1
)) {
8770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSizeWH" "', expected argument " "1"" of type '" "wxCaret *""'");
8772 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8773 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8774 if (!SWIG_IsOK(ecode2
)) {
8775 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_SetSizeWH" "', expected argument " "2"" of type '" "int""'");
8777 arg2
= static_cast< int >(val2
);
8778 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8779 if (!SWIG_IsOK(ecode3
)) {
8780 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_SetSizeWH" "', expected argument " "3"" of type '" "int""'");
8782 arg3
= static_cast< int >(val3
);
8784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8785 (arg1
)->SetSize(arg2
,arg3
);
8786 wxPyEndAllowThreads(__tstate
);
8787 if (PyErr_Occurred()) SWIG_fail
;
8789 resultobj
= SWIG_Py_Void();
8796 SWIGINTERN PyObject
*_wrap_Caret_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8797 PyObject
*resultobj
= 0;
8798 wxCaret
*arg1
= (wxCaret
*) 0 ;
8803 PyObject
* obj0
= 0 ;
8804 PyObject
* obj1
= 0 ;
8805 char * kwnames
[] = {
8806 (char *) "self",(char *) "size", NULL
8809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8811 if (!SWIG_IsOK(res1
)) {
8812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8814 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8817 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8821 (arg1
)->SetSize((wxSize
const &)*arg2
);
8822 wxPyEndAllowThreads(__tstate
);
8823 if (PyErr_Occurred()) SWIG_fail
;
8825 resultobj
= SWIG_Py_Void();
8832 SWIGINTERN PyObject
*_wrap_Caret_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8833 PyObject
*resultobj
= 0;
8834 wxCaret
*arg1
= (wxCaret
*) 0 ;
8835 int arg2
= (int) true ;
8840 PyObject
* obj0
= 0 ;
8841 PyObject
* obj1
= 0 ;
8842 char * kwnames
[] = {
8843 (char *) "self",(char *) "show", NULL
8846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8848 if (!SWIG_IsOK(res1
)) {
8849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Show" "', expected argument " "1"" of type '" "wxCaret *""'");
8851 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8853 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8854 if (!SWIG_IsOK(ecode2
)) {
8855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_Show" "', expected argument " "2"" of type '" "int""'");
8857 arg2
= static_cast< int >(val2
);
8860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8862 wxPyEndAllowThreads(__tstate
);
8863 if (PyErr_Occurred()) SWIG_fail
;
8865 resultobj
= SWIG_Py_Void();
8872 SWIGINTERN PyObject
*_wrap_Caret_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8873 PyObject
*resultobj
= 0;
8874 wxCaret
*arg1
= (wxCaret
*) 0 ;
8877 PyObject
*swig_obj
[1] ;
8879 if (!args
) SWIG_fail
;
8881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8882 if (!SWIG_IsOK(res1
)) {
8883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Hide" "', expected argument " "1"" of type '" "wxCaret *""'");
8885 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8889 wxPyEndAllowThreads(__tstate
);
8890 if (PyErr_Occurred()) SWIG_fail
;
8892 resultobj
= SWIG_Py_Void();
8899 SWIGINTERN PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8900 PyObject
*resultobj
= 0;
8903 if (!SWIG_Python_UnpackTuple(args
,"Caret_GetBlinkTime",0,0,0)) SWIG_fail
;
8905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8906 result
= (int)wxCaret::GetBlinkTime();
8907 wxPyEndAllowThreads(__tstate
);
8908 if (PyErr_Occurred()) SWIG_fail
;
8910 resultobj
= SWIG_From_int(static_cast< int >(result
));
8917 SWIGINTERN PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8918 PyObject
*resultobj
= 0;
8922 PyObject
* obj0
= 0 ;
8923 char * kwnames
[] = {
8924 (char *) "milliseconds", NULL
8927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) SWIG_fail
;
8928 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8929 if (!SWIG_IsOK(ecode1
)) {
8930 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Caret_SetBlinkTime" "', expected argument " "1"" of type '" "int""'");
8932 arg1
= static_cast< int >(val1
);
8934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8935 wxCaret::SetBlinkTime(arg1
);
8936 wxPyEndAllowThreads(__tstate
);
8937 if (PyErr_Occurred()) SWIG_fail
;
8939 resultobj
= SWIG_Py_Void();
8946 SWIGINTERN PyObject
*Caret_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8948 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8949 SWIG_TypeNewClientData(SWIGTYPE_p_wxCaret
, SWIG_NewClientData(obj
));
8950 return SWIG_Py_Void();
8953 SWIGINTERN PyObject
*Caret_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8954 return SWIG_Python_InitShadowInstance(args
);
8957 SWIGINTERN PyObject
*_wrap_new_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8958 PyObject
*resultobj
= 0;
8959 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
8960 wxBusyCursor
*result
= 0 ;
8963 PyObject
* obj0
= 0 ;
8964 char * kwnames
[] = {
8965 (char *) "cursor", NULL
8968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) SWIG_fail
;
8970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8971 if (!SWIG_IsOK(res1
)) {
8972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
8974 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8977 if (!wxPyCheckForApp()) SWIG_fail
;
8978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8979 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
8980 wxPyEndAllowThreads(__tstate
);
8981 if (PyErr_Occurred()) SWIG_fail
;
8983 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_NEW
| 0 );
8990 SWIGINTERN PyObject
*_wrap_delete_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8991 PyObject
*resultobj
= 0;
8992 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
8995 PyObject
*swig_obj
[1] ;
8997 if (!args
) SWIG_fail
;
8999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_DISOWN
| 0 );
9000 if (!SWIG_IsOK(res1
)) {
9001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyCursor" "', expected argument " "1"" of type '" "wxBusyCursor *""'");
9003 arg1
= reinterpret_cast< wxBusyCursor
* >(argp1
);
9005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9008 wxPyEndAllowThreads(__tstate
);
9009 if (PyErr_Occurred()) SWIG_fail
;
9011 resultobj
= SWIG_Py_Void();
9018 SWIGINTERN PyObject
*BusyCursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9020 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9021 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyCursor
, SWIG_NewClientData(obj
));
9022 return SWIG_Py_Void();
9025 SWIGINTERN PyObject
*BusyCursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9026 return SWIG_Python_InitShadowInstance(args
);
9029 SWIGINTERN PyObject
*_wrap_new_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9030 PyObject
*resultobj
= 0;
9031 wxWindow
*arg1
= (wxWindow
*) NULL
;
9032 wxWindowDisabler
*result
= 0 ;
9035 PyObject
* obj0
= 0 ;
9036 char * kwnames
[] = {
9037 (char *) "winToSkip", NULL
9040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) SWIG_fail
;
9042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9043 if (!SWIG_IsOK(res1
)) {
9044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDisabler" "', expected argument " "1"" of type '" "wxWindow *""'");
9046 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9049 if (!wxPyCheckForApp()) SWIG_fail
;
9050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9051 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
9052 wxPyEndAllowThreads(__tstate
);
9053 if (PyErr_Occurred()) SWIG_fail
;
9055 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_NEW
| 0 );
9062 SWIGINTERN PyObject
*_wrap_delete_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9063 PyObject
*resultobj
= 0;
9064 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
9067 PyObject
*swig_obj
[1] ;
9069 if (!args
) SWIG_fail
;
9071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_DISOWN
| 0 );
9072 if (!SWIG_IsOK(res1
)) {
9073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_WindowDisabler" "', expected argument " "1"" of type '" "wxWindowDisabler *""'");
9075 arg1
= reinterpret_cast< wxWindowDisabler
* >(argp1
);
9077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9080 wxPyEndAllowThreads(__tstate
);
9081 if (PyErr_Occurred()) SWIG_fail
;
9083 resultobj
= SWIG_Py_Void();
9090 SWIGINTERN PyObject
*WindowDisabler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9092 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9093 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDisabler
, SWIG_NewClientData(obj
));
9094 return SWIG_Py_Void();
9097 SWIGINTERN PyObject
*WindowDisabler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9098 return SWIG_Python_InitShadowInstance(args
);
9101 SWIGINTERN PyObject
*_wrap_new_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9102 PyObject
*resultobj
= 0;
9103 wxString
*arg1
= 0 ;
9104 wxBusyInfo
*result
= 0 ;
9105 bool temp1
= false ;
9106 PyObject
* obj0
= 0 ;
9107 char * kwnames
[] = {
9108 (char *) "message", NULL
9111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) SWIG_fail
;
9113 arg1
= wxString_in_helper(obj0
);
9114 if (arg1
== NULL
) SWIG_fail
;
9118 if (!wxPyCheckForApp()) SWIG_fail
;
9119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9120 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
9121 wxPyEndAllowThreads(__tstate
);
9122 if (PyErr_Occurred()) SWIG_fail
;
9124 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_NEW
| 0 );
9139 SWIGINTERN PyObject
*_wrap_delete_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9140 PyObject
*resultobj
= 0;
9141 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
9144 PyObject
*swig_obj
[1] ;
9146 if (!args
) SWIG_fail
;
9148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_DISOWN
| 0 );
9149 if (!SWIG_IsOK(res1
)) {
9150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyInfo" "', expected argument " "1"" of type '" "wxBusyInfo *""'");
9152 arg1
= reinterpret_cast< wxBusyInfo
* >(argp1
);
9154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9157 wxPyEndAllowThreads(__tstate
);
9158 if (PyErr_Occurred()) SWIG_fail
;
9160 resultobj
= SWIG_Py_Void();
9167 SWIGINTERN PyObject
*BusyInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9169 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9170 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyInfo
, SWIG_NewClientData(obj
));
9171 return SWIG_Py_Void();
9174 SWIGINTERN PyObject
*BusyInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9175 return SWIG_Python_InitShadowInstance(args
);
9178 SWIGINTERN PyObject
*_wrap_new_StopWatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9179 PyObject
*resultobj
= 0;
9180 wxStopWatch
*result
= 0 ;
9182 if (!SWIG_Python_UnpackTuple(args
,"new_StopWatch",0,0,0)) SWIG_fail
;
9184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9185 result
= (wxStopWatch
*)new wxStopWatch();
9186 wxPyEndAllowThreads(__tstate
);
9187 if (PyErr_Occurred()) SWIG_fail
;
9189 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_NEW
| 0 );
9196 SWIGINTERN PyObject
*_wrap_StopWatch_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9197 PyObject
*resultobj
= 0;
9198 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9199 long arg2
= (long) 0 ;
9204 PyObject
* obj0
= 0 ;
9205 PyObject
* obj1
= 0 ;
9206 char * kwnames
[] = {
9207 (char *) "self",(char *) "t0", NULL
9210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9212 if (!SWIG_IsOK(res1
)) {
9213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Start" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9215 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9217 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9218 if (!SWIG_IsOK(ecode2
)) {
9219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StopWatch_Start" "', expected argument " "2"" of type '" "long""'");
9221 arg2
= static_cast< long >(val2
);
9224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9225 (arg1
)->Start(arg2
);
9226 wxPyEndAllowThreads(__tstate
);
9227 if (PyErr_Occurred()) SWIG_fail
;
9229 resultobj
= SWIG_Py_Void();
9236 SWIGINTERN PyObject
*_wrap_StopWatch_Pause(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9237 PyObject
*resultobj
= 0;
9238 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9241 PyObject
*swig_obj
[1] ;
9243 if (!args
) SWIG_fail
;
9245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9246 if (!SWIG_IsOK(res1
)) {
9247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Pause" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9249 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9253 wxPyEndAllowThreads(__tstate
);
9254 if (PyErr_Occurred()) SWIG_fail
;
9256 resultobj
= SWIG_Py_Void();
9263 SWIGINTERN PyObject
*_wrap_StopWatch_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9264 PyObject
*resultobj
= 0;
9265 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9268 PyObject
*swig_obj
[1] ;
9270 if (!args
) SWIG_fail
;
9272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9273 if (!SWIG_IsOK(res1
)) {
9274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Resume" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9276 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9280 wxPyEndAllowThreads(__tstate
);
9281 if (PyErr_Occurred()) SWIG_fail
;
9283 resultobj
= SWIG_Py_Void();
9290 SWIGINTERN PyObject
*_wrap_StopWatch_Time(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9291 PyObject
*resultobj
= 0;
9292 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9296 PyObject
*swig_obj
[1] ;
9298 if (!args
) SWIG_fail
;
9300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9301 if (!SWIG_IsOK(res1
)) {
9302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Time" "', expected argument " "1"" of type '" "wxStopWatch const *""'");
9304 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9307 result
= (long)((wxStopWatch
const *)arg1
)->Time();
9308 wxPyEndAllowThreads(__tstate
);
9309 if (PyErr_Occurred()) SWIG_fail
;
9311 resultobj
= SWIG_From_long(static_cast< long >(result
));
9318 SWIGINTERN PyObject
*StopWatch_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9320 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9321 SWIG_TypeNewClientData(SWIGTYPE_p_wxStopWatch
, SWIG_NewClientData(obj
));
9322 return SWIG_Py_Void();
9325 SWIGINTERN PyObject
*StopWatch_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9326 return SWIG_Python_InitShadowInstance(args
);
9329 SWIGINTERN PyObject
*_wrap_new_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9330 PyObject
*resultobj
= 0;
9331 int arg1
= (int) 9 ;
9332 int arg2
= (int) wxID_FILE1
;
9333 wxFileHistory
*result
= 0 ;
9338 PyObject
* obj0
= 0 ;
9339 PyObject
* obj1
= 0 ;
9340 char * kwnames
[] = {
9341 (char *) "maxFiles",(char *) "idBase", NULL
9344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9346 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9347 if (!SWIG_IsOK(ecode1
)) {
9348 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileHistory" "', expected argument " "1"" of type '" "int""'");
9350 arg1
= static_cast< int >(val1
);
9353 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9354 if (!SWIG_IsOK(ecode2
)) {
9355 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FileHistory" "', expected argument " "2"" of type '" "int""'");
9357 arg2
= static_cast< int >(val2
);
9360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9361 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
9362 wxPyEndAllowThreads(__tstate
);
9363 if (PyErr_Occurred()) SWIG_fail
;
9365 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_NEW
| 0 );
9372 SWIGINTERN PyObject
*_wrap_delete_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9373 PyObject
*resultobj
= 0;
9374 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9377 PyObject
*swig_obj
[1] ;
9379 if (!args
) SWIG_fail
;
9381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_DISOWN
| 0 );
9382 if (!SWIG_IsOK(res1
)) {
9383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9385 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9390 wxPyEndAllowThreads(__tstate
);
9391 if (PyErr_Occurred()) SWIG_fail
;
9393 resultobj
= SWIG_Py_Void();
9400 SWIGINTERN PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9401 PyObject
*resultobj
= 0;
9402 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9403 wxString
*arg2
= 0 ;
9406 bool temp2
= false ;
9407 PyObject
* obj0
= 0 ;
9408 PyObject
* obj1
= 0 ;
9409 char * kwnames
[] = {
9410 (char *) "self",(char *) "file", NULL
9413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9415 if (!SWIG_IsOK(res1
)) {
9416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFileToHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9418 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9420 arg2
= wxString_in_helper(obj1
);
9421 if (arg2
== NULL
) SWIG_fail
;
9425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9426 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
9427 wxPyEndAllowThreads(__tstate
);
9428 if (PyErr_Occurred()) SWIG_fail
;
9430 resultobj
= SWIG_Py_Void();
9445 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9446 PyObject
*resultobj
= 0;
9447 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9453 PyObject
* obj0
= 0 ;
9454 PyObject
* obj1
= 0 ;
9455 char * kwnames
[] = {
9456 (char *) "self",(char *) "i", NULL
9459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9461 if (!SWIG_IsOK(res1
)) {
9462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9464 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9465 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9466 if (!SWIG_IsOK(ecode2
)) {
9467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "2"" of type '" "int""'");
9469 arg2
= static_cast< int >(val2
);
9471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9472 (arg1
)->RemoveFileFromHistory(arg2
);
9473 wxPyEndAllowThreads(__tstate
);
9474 if (PyErr_Occurred()) SWIG_fail
;
9476 resultobj
= SWIG_Py_Void();
9483 SWIGINTERN PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9484 PyObject
*resultobj
= 0;
9485 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9489 PyObject
*swig_obj
[1] ;
9491 if (!args
) SWIG_fail
;
9493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9494 if (!SWIG_IsOK(res1
)) {
9495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetMaxFiles" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9497 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9500 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
9501 wxPyEndAllowThreads(__tstate
);
9502 if (PyErr_Occurred()) SWIG_fail
;
9504 resultobj
= SWIG_From_int(static_cast< int >(result
));
9511 SWIGINTERN PyObject
*_wrap_FileHistory_UseMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9512 PyObject
*resultobj
= 0;
9513 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9514 wxMenu
*arg2
= (wxMenu
*) 0 ;
9519 PyObject
* obj0
= 0 ;
9520 PyObject
* obj1
= 0 ;
9521 char * kwnames
[] = {
9522 (char *) "self",(char *) "menu", NULL
9525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9527 if (!SWIG_IsOK(res1
)) {
9528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_UseMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9530 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9531 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9532 if (!SWIG_IsOK(res2
)) {
9533 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_UseMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9535 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9538 (arg1
)->UseMenu(arg2
);
9539 wxPyEndAllowThreads(__tstate
);
9540 if (PyErr_Occurred()) SWIG_fail
;
9542 resultobj
= SWIG_Py_Void();
9549 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9550 PyObject
*resultobj
= 0;
9551 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9552 wxMenu
*arg2
= (wxMenu
*) 0 ;
9557 PyObject
* obj0
= 0 ;
9558 PyObject
* obj1
= 0 ;
9559 char * kwnames
[] = {
9560 (char *) "self",(char *) "menu", NULL
9563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9565 if (!SWIG_IsOK(res1
)) {
9566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9568 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9569 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9570 if (!SWIG_IsOK(res2
)) {
9571 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9573 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9576 (arg1
)->RemoveMenu(arg2
);
9577 wxPyEndAllowThreads(__tstate
);
9578 if (PyErr_Occurred()) SWIG_fail
;
9580 resultobj
= SWIG_Py_Void();
9587 SWIGINTERN PyObject
*_wrap_FileHistory_Load(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9588 PyObject
*resultobj
= 0;
9589 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9590 wxConfigBase
*arg2
= 0 ;
9595 PyObject
* obj0
= 0 ;
9596 PyObject
* obj1
= 0 ;
9597 char * kwnames
[] = {
9598 (char *) "self",(char *) "config", NULL
9601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9603 if (!SWIG_IsOK(res1
)) {
9604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Load" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9606 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9607 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9608 if (!SWIG_IsOK(res2
)) {
9609 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9612 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9614 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9617 (arg1
)->Load(*arg2
);
9618 wxPyEndAllowThreads(__tstate
);
9619 if (PyErr_Occurred()) SWIG_fail
;
9621 resultobj
= SWIG_Py_Void();
9628 SWIGINTERN PyObject
*_wrap_FileHistory_Save(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9629 PyObject
*resultobj
= 0;
9630 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9631 wxConfigBase
*arg2
= 0 ;
9636 PyObject
* obj0
= 0 ;
9637 PyObject
* obj1
= 0 ;
9638 char * kwnames
[] = {
9639 (char *) "self",(char *) "config", NULL
9642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9644 if (!SWIG_IsOK(res1
)) {
9645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Save" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9647 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9648 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9649 if (!SWIG_IsOK(res2
)) {
9650 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9653 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9655 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9658 (arg1
)->Save(*arg2
);
9659 wxPyEndAllowThreads(__tstate
);
9660 if (PyErr_Occurred()) SWIG_fail
;
9662 resultobj
= SWIG_Py_Void();
9669 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9670 PyObject
*resultobj
= 0;
9671 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9674 PyObject
*swig_obj
[1] ;
9676 if (!args
) SWIG_fail
;
9678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9679 if (!SWIG_IsOK(res1
)) {
9680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9682 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9685 (arg1
)->AddFilesToMenu();
9686 wxPyEndAllowThreads(__tstate
);
9687 if (PyErr_Occurred()) SWIG_fail
;
9689 resultobj
= SWIG_Py_Void();
9696 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9697 PyObject
*resultobj
= 0;
9698 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9699 wxMenu
*arg2
= (wxMenu
*) 0 ;
9704 PyObject
* obj0
= 0 ;
9705 PyObject
* obj1
= 0 ;
9706 char * kwnames
[] = {
9707 (char *) "self",(char *) "menu", NULL
9710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9712 if (!SWIG_IsOK(res1
)) {
9713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9715 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9716 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9717 if (!SWIG_IsOK(res2
)) {
9718 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9720 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9723 (arg1
)->AddFilesToMenu(arg2
);
9724 wxPyEndAllowThreads(__tstate
);
9725 if (PyErr_Occurred()) SWIG_fail
;
9727 resultobj
= SWIG_Py_Void();
9734 SWIGINTERN PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9735 PyObject
*resultobj
= 0;
9736 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9743 PyObject
* obj0
= 0 ;
9744 PyObject
* obj1
= 0 ;
9745 char * kwnames
[] = {
9746 (char *) "self",(char *) "i", NULL
9749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9751 if (!SWIG_IsOK(res1
)) {
9752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9754 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9755 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9756 if (!SWIG_IsOK(ecode2
)) {
9757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "2"" of type '" "int""'");
9759 arg2
= static_cast< int >(val2
);
9761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9762 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
9763 wxPyEndAllowThreads(__tstate
);
9764 if (PyErr_Occurred()) SWIG_fail
;
9768 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9770 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9779 SWIGINTERN PyObject
*_wrap_FileHistory_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9780 PyObject
*resultobj
= 0;
9781 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9785 PyObject
*swig_obj
[1] ;
9787 if (!args
) SWIG_fail
;
9789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9790 if (!SWIG_IsOK(res1
)) {
9791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetCount" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9793 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9796 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
9797 wxPyEndAllowThreads(__tstate
);
9798 if (PyErr_Occurred()) SWIG_fail
;
9800 resultobj
= SWIG_From_int(static_cast< int >(result
));
9807 SWIGINTERN PyObject
*FileHistory_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9809 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9810 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileHistory
, SWIG_NewClientData(obj
));
9811 return SWIG_Py_Void();
9814 SWIGINTERN PyObject
*FileHistory_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9815 return SWIG_Python_InitShadowInstance(args
);
9818 SWIGINTERN PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9819 PyObject
*resultobj
= 0;
9820 wxString
*arg1
= 0 ;
9821 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9822 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9823 wxSingleInstanceChecker
*result
= 0 ;
9824 bool temp1
= false ;
9825 bool temp2
= false ;
9826 PyObject
* obj0
= 0 ;
9827 PyObject
* obj1
= 0 ;
9828 char * kwnames
[] = {
9829 (char *) "name",(char *) "path", NULL
9832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9834 arg1
= wxString_in_helper(obj0
);
9835 if (arg1
== NULL
) SWIG_fail
;
9840 arg2
= wxString_in_helper(obj1
);
9841 if (arg2
== NULL
) SWIG_fail
;
9846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9847 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
9848 wxPyEndAllowThreads(__tstate
);
9849 if (PyErr_Occurred()) SWIG_fail
;
9851 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_NEW
| 0 );
9874 SWIGINTERN PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9875 PyObject
*resultobj
= 0;
9876 wxSingleInstanceChecker
*result
= 0 ;
9878 if (!SWIG_Python_UnpackTuple(args
,"new_PreSingleInstanceChecker",0,0,0)) SWIG_fail
;
9880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9881 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
9882 wxPyEndAllowThreads(__tstate
);
9883 if (PyErr_Occurred()) SWIG_fail
;
9885 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_OWN
| 0 );
9892 SWIGINTERN PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9893 PyObject
*resultobj
= 0;
9894 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9897 PyObject
*swig_obj
[1] ;
9899 if (!args
) SWIG_fail
;
9901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_DISOWN
| 0 );
9902 if (!SWIG_IsOK(res1
)) {
9903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SingleInstanceChecker" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
9905 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
9907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9910 wxPyEndAllowThreads(__tstate
);
9911 if (PyErr_Occurred()) SWIG_fail
;
9913 resultobj
= SWIG_Py_Void();
9920 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9921 PyObject
*resultobj
= 0;
9922 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9923 wxString
*arg2
= 0 ;
9924 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9925 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9929 bool temp2
= false ;
9930 bool temp3
= false ;
9931 PyObject
* obj0
= 0 ;
9932 PyObject
* obj1
= 0 ;
9933 PyObject
* obj2
= 0 ;
9934 char * kwnames
[] = {
9935 (char *) "self",(char *) "name",(char *) "path", NULL
9938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
9940 if (!SWIG_IsOK(res1
)) {
9941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_Create" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
9943 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
9945 arg2
= wxString_in_helper(obj1
);
9946 if (arg2
== NULL
) SWIG_fail
;
9951 arg3
= wxString_in_helper(obj2
);
9952 if (arg3
== NULL
) SWIG_fail
;
9957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9958 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9959 wxPyEndAllowThreads(__tstate
);
9960 if (PyErr_Occurred()) SWIG_fail
;
9963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9987 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9988 PyObject
*resultobj
= 0;
9989 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9993 PyObject
*swig_obj
[1] ;
9995 if (!args
) SWIG_fail
;
9997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
9998 if (!SWIG_IsOK(res1
)) {
9999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_IsAnotherRunning" "', expected argument " "1"" of type '" "wxSingleInstanceChecker const *""'");
10001 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
10003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10004 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
10005 wxPyEndAllowThreads(__tstate
);
10006 if (PyErr_Occurred()) SWIG_fail
;
10009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10017 SWIGINTERN PyObject
*SingleInstanceChecker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10019 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10020 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_NewClientData(obj
));
10021 return SWIG_Py_Void();
10024 SWIGINTERN PyObject
*SingleInstanceChecker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10025 return SWIG_Python_InitShadowInstance(args
);
10028 SWIGINTERN PyObject
*_wrap_DrawWindowOnDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10029 PyObject
*resultobj
= 0;
10030 wxWindow
*arg1
= (wxWindow
*) 0 ;
10037 PyObject
* obj0
= 0 ;
10038 PyObject
* obj1
= 0 ;
10039 char * kwnames
[] = {
10040 (char *) "window",(char *) "dc", NULL
10043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10045 if (!SWIG_IsOK(res1
)) {
10046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DrawWindowOnDC" "', expected argument " "1"" of type '" "wxWindow *""'");
10048 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10049 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 | 0);
10050 if (!SWIG_IsOK(res2
)) {
10051 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
10054 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
10056 arg2
= reinterpret_cast< wxDC
* >(argp2
);
10058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10059 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
10060 wxPyEndAllowThreads(__tstate
);
10061 if (PyErr_Occurred()) SWIG_fail
;
10064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10072 SWIGINTERN PyObject
*_wrap_delete_TipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10073 PyObject
*resultobj
= 0;
10074 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
10077 PyObject
*swig_obj
[1] ;
10079 if (!args
) SWIG_fail
;
10080 swig_obj
[0] = args
;
10081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_DISOWN
| 0 );
10082 if (!SWIG_IsOK(res1
)) {
10083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TipProvider" "', expected argument " "1"" of type '" "wxTipProvider *""'");
10085 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
10087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10090 wxPyEndAllowThreads(__tstate
);
10091 if (PyErr_Occurred()) SWIG_fail
;
10093 resultobj
= SWIG_Py_Void();
10100 SWIGINTERN PyObject
*_wrap_TipProvider_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10101 PyObject
*resultobj
= 0;
10102 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
10106 PyObject
*swig_obj
[1] ;
10108 if (!args
) SWIG_fail
;
10109 swig_obj
[0] = args
;
10110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
10111 if (!SWIG_IsOK(res1
)) {
10112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
10114 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
10116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10117 result
= (arg1
)->GetTip();
10118 wxPyEndAllowThreads(__tstate
);
10119 if (PyErr_Occurred()) SWIG_fail
;
10123 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10125 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10134 SWIGINTERN PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10135 PyObject
*resultobj
= 0;
10136 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
10140 PyObject
*swig_obj
[1] ;
10142 if (!args
) SWIG_fail
;
10143 swig_obj
[0] = args
;
10144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
10145 if (!SWIG_IsOK(res1
)) {
10146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetCurrentTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
10148 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
10150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10151 result
= (size_t)(arg1
)->GetCurrentTip();
10152 wxPyEndAllowThreads(__tstate
);
10153 if (PyErr_Occurred()) SWIG_fail
;
10155 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
10162 SWIGINTERN PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10163 PyObject
*resultobj
= 0;
10164 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
10165 wxString
*arg2
= 0 ;
10169 bool temp2
= false ;
10170 PyObject
* obj0
= 0 ;
10171 PyObject
* obj1
= 0 ;
10172 char * kwnames
[] = {
10173 (char *) "self",(char *) "tip", NULL
10176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
10178 if (!SWIG_IsOK(res1
)) {
10179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_PreprocessTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
10181 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
10183 arg2
= wxString_in_helper(obj1
);
10184 if (arg2
== NULL
) SWIG_fail
;
10188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10189 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
10190 wxPyEndAllowThreads(__tstate
);
10191 if (PyErr_Occurred()) SWIG_fail
;
10195 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10197 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10214 SWIGINTERN PyObject
*TipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10216 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10217 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipProvider
, SWIG_NewClientData(obj
));
10218 return SWIG_Py_Void();
10221 SWIGINTERN PyObject
*_wrap_new_PyTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10222 PyObject
*resultobj
= 0;
10224 wxPyTipProvider
*result
= 0 ;
10227 PyObject
* obj0
= 0 ;
10228 char * kwnames
[] = {
10229 (char *) "currentTip", NULL
10232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) SWIG_fail
;
10233 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
10234 if (!SWIG_IsOK(ecode1
)) {
10235 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyTipProvider" "', expected argument " "1"" of type '" "size_t""'");
10237 arg1
= static_cast< size_t >(val1
);
10239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10240 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
10241 wxPyEndAllowThreads(__tstate
);
10242 if (PyErr_Occurred()) SWIG_fail
;
10244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_NEW
| 0 );
10251 SWIGINTERN PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10252 PyObject
*resultobj
= 0;
10253 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
10254 PyObject
*arg2
= (PyObject
*) 0 ;
10255 PyObject
*arg3
= (PyObject
*) 0 ;
10258 PyObject
* obj0
= 0 ;
10259 PyObject
* obj1
= 0 ;
10260 PyObject
* obj2
= 0 ;
10261 char * kwnames
[] = {
10262 (char *) "self",(char *) "self",(char *) "_class", NULL
10265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTipProvider
, 0 | 0 );
10267 if (!SWIG_IsOK(res1
)) {
10268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTipProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTipProvider *""'");
10270 arg1
= reinterpret_cast< wxPyTipProvider
* >(argp1
);
10274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10275 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10276 wxPyEndAllowThreads(__tstate
);
10277 if (PyErr_Occurred()) SWIG_fail
;
10279 resultobj
= SWIG_Py_Void();
10286 SWIGINTERN PyObject
*PyTipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10288 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10289 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTipProvider
, SWIG_NewClientData(obj
));
10290 return SWIG_Py_Void();
10293 SWIGINTERN PyObject
*PyTipProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10294 return SWIG_Python_InitShadowInstance(args
);
10297 SWIGINTERN PyObject
*_wrap_ShowTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10298 PyObject
*resultobj
= 0;
10299 wxWindow
*arg1
= (wxWindow
*) 0 ;
10300 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
10301 bool arg3
= (bool) true ;
10309 PyObject
* obj0
= 0 ;
10310 PyObject
* obj1
= 0 ;
10311 PyObject
* obj2
= 0 ;
10312 char * kwnames
[] = {
10313 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
10316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10318 if (!SWIG_IsOK(res1
)) {
10319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ShowTip" "', expected argument " "1"" of type '" "wxWindow *""'");
10321 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10322 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
10323 if (!SWIG_IsOK(res2
)) {
10324 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ShowTip" "', expected argument " "2"" of type '" "wxTipProvider *""'");
10326 arg2
= reinterpret_cast< wxTipProvider
* >(argp2
);
10328 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10329 if (!SWIG_IsOK(ecode3
)) {
10330 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ShowTip" "', expected argument " "3"" of type '" "bool""'");
10332 arg3
= static_cast< bool >(val3
);
10335 if (!wxPyCheckForApp()) SWIG_fail
;
10336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10337 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
10338 wxPyEndAllowThreads(__tstate
);
10339 if (PyErr_Occurred()) SWIG_fail
;
10342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10350 SWIGINTERN PyObject
*_wrap_CreateFileTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10351 PyObject
*resultobj
= 0;
10352 wxString
*arg1
= 0 ;
10354 wxTipProvider
*result
= 0 ;
10355 bool temp1
= false ;
10358 PyObject
* obj0
= 0 ;
10359 PyObject
* obj1
= 0 ;
10360 char * kwnames
[] = {
10361 (char *) "filename",(char *) "currentTip", NULL
10364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10366 arg1
= wxString_in_helper(obj0
);
10367 if (arg1
== NULL
) SWIG_fail
;
10370 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
10371 if (!SWIG_IsOK(ecode2
)) {
10372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CreateFileTipProvider" "', expected argument " "2"" of type '" "size_t""'");
10374 arg2
= static_cast< size_t >(val2
);
10376 if (!wxPyCheckForApp()) SWIG_fail
;
10377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10378 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
10379 wxPyEndAllowThreads(__tstate
);
10380 if (PyErr_Occurred()) SWIG_fail
;
10382 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_OWN
| 0 );
10397 SWIGINTERN PyObject
*_wrap_new_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10398 PyObject
*resultobj
= 0;
10399 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
10400 int arg2
= (int) wxID_ANY
;
10401 wxPyTimer
*result
= 0 ;
10406 PyObject
* obj0
= 0 ;
10407 PyObject
* obj1
= 0 ;
10408 char * kwnames
[] = {
10409 (char *) "owner",(char *) "id", NULL
10412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
10415 if (!SWIG_IsOK(res1
)) {
10416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Timer" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
10418 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
10421 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10422 if (!SWIG_IsOK(ecode2
)) {
10423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Timer" "', expected argument " "2"" of type '" "int""'");
10425 arg2
= static_cast< int >(val2
);
10428 if (!wxPyCheckForApp()) SWIG_fail
;
10429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10430 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
10431 wxPyEndAllowThreads(__tstate
);
10432 if (PyErr_Occurred()) SWIG_fail
;
10434 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_NEW
| 0 );
10441 SWIGINTERN PyObject
*_wrap_delete_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10442 PyObject
*resultobj
= 0;
10443 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10446 PyObject
*swig_obj
[1] ;
10448 if (!args
) SWIG_fail
;
10449 swig_obj
[0] = args
;
10450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_DISOWN
| 0 );
10451 if (!SWIG_IsOK(res1
)) {
10452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Timer" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10454 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10459 wxPyEndAllowThreads(__tstate
);
10460 if (PyErr_Occurred()) SWIG_fail
;
10462 resultobj
= SWIG_Py_Void();
10469 SWIGINTERN PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10470 PyObject
*resultobj
= 0;
10471 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10472 PyObject
*arg2
= (PyObject
*) 0 ;
10473 PyObject
*arg3
= (PyObject
*) 0 ;
10474 int arg4
= (int) 1 ;
10479 PyObject
* obj0
= 0 ;
10480 PyObject
* obj1
= 0 ;
10481 PyObject
* obj2
= 0 ;
10482 PyObject
* obj3
= 0 ;
10483 char * kwnames
[] = {
10484 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
10487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10489 if (!SWIG_IsOK(res1
)) {
10490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10492 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10496 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10497 if (!SWIG_IsOK(ecode4
)) {
10498 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Timer__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
10500 arg4
= static_cast< int >(val4
);
10503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10504 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
10505 wxPyEndAllowThreads(__tstate
);
10506 if (PyErr_Occurred()) SWIG_fail
;
10508 resultobj
= SWIG_Py_Void();
10515 SWIGINTERN PyObject
*_wrap_Timer_SetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10516 PyObject
*resultobj
= 0;
10517 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10518 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
10519 int arg3
= (int) wxID_ANY
;
10526 PyObject
* obj0
= 0 ;
10527 PyObject
* obj1
= 0 ;
10528 PyObject
* obj2
= 0 ;
10529 char * kwnames
[] = {
10530 (char *) "self",(char *) "owner",(char *) "id", NULL
10533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10535 if (!SWIG_IsOK(res1
)) {
10536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_SetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10538 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10539 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
10540 if (!SWIG_IsOK(res2
)) {
10541 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Timer_SetOwner" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
10543 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
10545 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10546 if (!SWIG_IsOK(ecode3
)) {
10547 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_SetOwner" "', expected argument " "3"" of type '" "int""'");
10549 arg3
= static_cast< int >(val3
);
10552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10553 (arg1
)->SetOwner(arg2
,arg3
);
10554 wxPyEndAllowThreads(__tstate
);
10555 if (PyErr_Occurred()) SWIG_fail
;
10557 resultobj
= SWIG_Py_Void();
10564 SWIGINTERN PyObject
*_wrap_Timer_GetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10565 PyObject
*resultobj
= 0;
10566 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10567 wxEvtHandler
*result
= 0 ;
10570 PyObject
*swig_obj
[1] ;
10572 if (!args
) SWIG_fail
;
10573 swig_obj
[0] = args
;
10574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10575 if (!SWIG_IsOK(res1
)) {
10576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10578 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10581 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
10582 wxPyEndAllowThreads(__tstate
);
10583 if (PyErr_Occurred()) SWIG_fail
;
10586 resultobj
= wxPyMake_wxObject(result
, 0);
10594 SWIGINTERN PyObject
*_wrap_Timer_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10595 PyObject
*resultobj
= 0;
10596 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10597 int arg2
= (int) -1 ;
10598 bool arg3
= (bool) false ;
10606 PyObject
* obj0
= 0 ;
10607 PyObject
* obj1
= 0 ;
10608 PyObject
* obj2
= 0 ;
10609 char * kwnames
[] = {
10610 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
10613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10615 if (!SWIG_IsOK(res1
)) {
10616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Start" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10618 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10620 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10621 if (!SWIG_IsOK(ecode2
)) {
10622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Timer_Start" "', expected argument " "2"" of type '" "int""'");
10624 arg2
= static_cast< int >(val2
);
10627 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10628 if (!SWIG_IsOK(ecode3
)) {
10629 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_Start" "', expected argument " "3"" of type '" "bool""'");
10631 arg3
= static_cast< bool >(val3
);
10634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10635 result
= (bool)(arg1
)->Start(arg2
,arg3
);
10636 wxPyEndAllowThreads(__tstate
);
10637 if (PyErr_Occurred()) SWIG_fail
;
10640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10648 SWIGINTERN PyObject
*_wrap_Timer_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10649 PyObject
*resultobj
= 0;
10650 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10653 PyObject
*swig_obj
[1] ;
10655 if (!args
) SWIG_fail
;
10656 swig_obj
[0] = args
;
10657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10658 if (!SWIG_IsOK(res1
)) {
10659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Stop" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10661 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10665 wxPyEndAllowThreads(__tstate
);
10666 if (PyErr_Occurred()) SWIG_fail
;
10668 resultobj
= SWIG_Py_Void();
10675 SWIGINTERN PyObject
*_wrap_Timer_Notify(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10676 PyObject
*resultobj
= 0;
10677 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10680 PyObject
*swig_obj
[1] ;
10682 if (!args
) SWIG_fail
;
10683 swig_obj
[0] = args
;
10684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10685 if (!SWIG_IsOK(res1
)) {
10686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Notify" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10688 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10692 wxPyEndAllowThreads(__tstate
);
10693 if (PyErr_Occurred()) SWIG_fail
;
10695 resultobj
= SWIG_Py_Void();
10702 SWIGINTERN PyObject
*_wrap_Timer_IsRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10703 PyObject
*resultobj
= 0;
10704 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10708 PyObject
*swig_obj
[1] ;
10710 if (!args
) SWIG_fail
;
10711 swig_obj
[0] = args
;
10712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10713 if (!SWIG_IsOK(res1
)) {
10714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsRunning" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10716 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10719 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
10720 wxPyEndAllowThreads(__tstate
);
10721 if (PyErr_Occurred()) SWIG_fail
;
10724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10732 SWIGINTERN PyObject
*_wrap_Timer_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10733 PyObject
*resultobj
= 0;
10734 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10738 PyObject
*swig_obj
[1] ;
10740 if (!args
) SWIG_fail
;
10741 swig_obj
[0] = args
;
10742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10743 if (!SWIG_IsOK(res1
)) {
10744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetInterval" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10746 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10749 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
10750 wxPyEndAllowThreads(__tstate
);
10751 if (PyErr_Occurred()) SWIG_fail
;
10753 resultobj
= SWIG_From_int(static_cast< int >(result
));
10760 SWIGINTERN PyObject
*_wrap_Timer_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10761 PyObject
*resultobj
= 0;
10762 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10766 PyObject
*swig_obj
[1] ;
10768 if (!args
) SWIG_fail
;
10769 swig_obj
[0] = args
;
10770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10771 if (!SWIG_IsOK(res1
)) {
10772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetId" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10774 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10777 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
10778 wxPyEndAllowThreads(__tstate
);
10779 if (PyErr_Occurred()) SWIG_fail
;
10781 resultobj
= SWIG_From_int(static_cast< int >(result
));
10788 SWIGINTERN PyObject
*_wrap_Timer_IsOneShot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10789 PyObject
*resultobj
= 0;
10790 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10794 PyObject
*swig_obj
[1] ;
10796 if (!args
) SWIG_fail
;
10797 swig_obj
[0] = args
;
10798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10799 if (!SWIG_IsOK(res1
)) {
10800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsOneShot" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10802 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10805 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
10806 wxPyEndAllowThreads(__tstate
);
10807 if (PyErr_Occurred()) SWIG_fail
;
10810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10818 SWIGINTERN PyObject
*Timer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10820 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10821 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTimer
, SWIG_NewClientData(obj
));
10822 return SWIG_Py_Void();
10825 SWIGINTERN PyObject
*Timer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10826 return SWIG_Python_InitShadowInstance(args
);
10829 SWIGINTERN PyObject
*_wrap_new_TimerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10830 PyObject
*resultobj
= 0;
10831 int arg1
= (int) 0 ;
10832 int arg2
= (int) 0 ;
10833 wxTimerEvent
*result
= 0 ;
10838 PyObject
* obj0
= 0 ;
10839 PyObject
* obj1
= 0 ;
10840 char * kwnames
[] = {
10841 (char *) "timerid",(char *) "interval", NULL
10844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10846 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10847 if (!SWIG_IsOK(ecode1
)) {
10848 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimerEvent" "', expected argument " "1"" of type '" "int""'");
10850 arg1
= static_cast< int >(val1
);
10853 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10854 if (!SWIG_IsOK(ecode2
)) {
10855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerEvent" "', expected argument " "2"" of type '" "int""'");
10857 arg2
= static_cast< int >(val2
);
10860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10861 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
10862 wxPyEndAllowThreads(__tstate
);
10863 if (PyErr_Occurred()) SWIG_fail
;
10865 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_NEW
| 0 );
10872 SWIGINTERN PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10873 PyObject
*resultobj
= 0;
10874 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
10878 PyObject
*swig_obj
[1] ;
10880 if (!args
) SWIG_fail
;
10881 swig_obj
[0] = args
;
10882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerEvent
, 0 | 0 );
10883 if (!SWIG_IsOK(res1
)) {
10884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerEvent_GetInterval" "', expected argument " "1"" of type '" "wxTimerEvent const *""'");
10886 arg1
= reinterpret_cast< wxTimerEvent
* >(argp1
);
10888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10889 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
10890 wxPyEndAllowThreads(__tstate
);
10891 if (PyErr_Occurred()) SWIG_fail
;
10893 resultobj
= SWIG_From_int(static_cast< int >(result
));
10900 SWIGINTERN PyObject
*TimerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10902 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10903 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerEvent
, SWIG_NewClientData(obj
));
10904 return SWIG_Py_Void();
10907 SWIGINTERN PyObject
*TimerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10908 return SWIG_Python_InitShadowInstance(args
);
10911 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
10912 PyObject
*resultobj
= 0;
10913 wxTimer
*arg1
= 0 ;
10914 wxTimerRunner
*result
= 0 ;
10918 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
10919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
10920 if (!SWIG_IsOK(res1
)) {
10921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10924 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10926 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
10928 if (!wxPyCheckForApp()) SWIG_fail
;
10929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10930 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
10931 wxPyEndAllowThreads(__tstate
);
10932 if (PyErr_Occurred()) SWIG_fail
;
10934 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
10941 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
10942 PyObject
*resultobj
= 0;
10943 wxTimer
*arg1
= 0 ;
10945 bool arg3
= (bool) false ;
10946 wxTimerRunner
*result
= 0 ;
10954 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
10955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
10956 if (!SWIG_IsOK(res1
)) {
10957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10960 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10962 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
10963 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
10964 if (!SWIG_IsOK(ecode2
)) {
10965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerRunner" "', expected argument " "2"" of type '" "int""'");
10967 arg2
= static_cast< int >(val2
);
10969 ecode3
= SWIG_AsVal_bool(swig_obj
[2], &val3
);
10970 if (!SWIG_IsOK(ecode3
)) {
10971 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimerRunner" "', expected argument " "3"" of type '" "bool""'");
10973 arg3
= static_cast< bool >(val3
);
10976 if (!wxPyCheckForApp()) SWIG_fail
;
10977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10978 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
10979 wxPyEndAllowThreads(__tstate
);
10980 if (PyErr_Occurred()) SWIG_fail
;
10982 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
10989 SWIGINTERN PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
10993 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TimerRunner",0,3,argv
))) SWIG_fail
;
10996 return _wrap_new_TimerRunner__SWIG_0(self
, argc
, argv
);
10998 if ((argc
>= 2) && (argc
<= 3)) {
10999 return _wrap_new_TimerRunner__SWIG_1(self
, argc
, argv
);
11003 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
11008 SWIGINTERN PyObject
*_wrap_delete_TimerRunner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11009 PyObject
*resultobj
= 0;
11010 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
11013 PyObject
*swig_obj
[1] ;
11015 if (!args
) SWIG_fail
;
11016 swig_obj
[0] = args
;
11017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_DISOWN
| 0 );
11018 if (!SWIG_IsOK(res1
)) {
11019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimerRunner" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
11021 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
11023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11026 wxPyEndAllowThreads(__tstate
);
11027 if (PyErr_Occurred()) SWIG_fail
;
11029 resultobj
= SWIG_Py_Void();
11036 SWIGINTERN PyObject
*_wrap_TimerRunner_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11037 PyObject
*resultobj
= 0;
11038 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
11040 bool arg3
= (bool) false ;
11047 PyObject
* obj0
= 0 ;
11048 PyObject
* obj1
= 0 ;
11049 PyObject
* obj2
= 0 ;
11050 char * kwnames
[] = {
11051 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
11054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimerRunner
, 0 | 0 );
11056 if (!SWIG_IsOK(res1
)) {
11057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerRunner_Start" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
11059 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
11060 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11061 if (!SWIG_IsOK(ecode2
)) {
11062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimerRunner_Start" "', expected argument " "2"" of type '" "int""'");
11064 arg2
= static_cast< int >(val2
);
11066 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11067 if (!SWIG_IsOK(ecode3
)) {
11068 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TimerRunner_Start" "', expected argument " "3"" of type '" "bool""'");
11070 arg3
= static_cast< bool >(val3
);
11073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11074 (arg1
)->Start(arg2
,arg3
);
11075 wxPyEndAllowThreads(__tstate
);
11076 if (PyErr_Occurred()) SWIG_fail
;
11078 resultobj
= SWIG_Py_Void();
11085 SWIGINTERN PyObject
*TimerRunner_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11087 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11088 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerRunner
, SWIG_NewClientData(obj
));
11089 return SWIG_Py_Void();
11092 SWIGINTERN PyObject
*TimerRunner_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11093 return SWIG_Python_InitShadowInstance(args
);
11096 SWIGINTERN PyObject
*_wrap_new_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11097 PyObject
*resultobj
= 0;
11098 wxLog
*result
= 0 ;
11100 if (!SWIG_Python_UnpackTuple(args
,"new_Log",0,0,0)) SWIG_fail
;
11102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11103 result
= (wxLog
*)new wxLog();
11104 wxPyEndAllowThreads(__tstate
);
11105 if (PyErr_Occurred()) SWIG_fail
;
11107 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_NEW
| 0 );
11114 SWIGINTERN PyObject
*_wrap_delete_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11115 PyObject
*resultobj
= 0;
11116 wxLog
*arg1
= (wxLog
*) 0 ;
11119 PyObject
*swig_obj
[1] ;
11121 if (!args
) SWIG_fail
;
11122 swig_obj
[0] = args
;
11123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
11124 if (!SWIG_IsOK(res1
)) {
11125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Log" "', expected argument " "1"" of type '" "wxLog *""'");
11127 arg1
= reinterpret_cast< wxLog
* >(argp1
);
11129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11132 wxPyEndAllowThreads(__tstate
);
11133 if (PyErr_Occurred()) SWIG_fail
;
11135 resultobj
= SWIG_Py_Void();
11142 SWIGINTERN PyObject
*_wrap_Log_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11143 PyObject
*resultobj
= 0;
11146 if (!SWIG_Python_UnpackTuple(args
,"Log_IsEnabled",0,0,0)) SWIG_fail
;
11148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11149 result
= (bool)wxLog::IsEnabled();
11150 wxPyEndAllowThreads(__tstate
);
11151 if (PyErr_Occurred()) SWIG_fail
;
11154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11162 SWIGINTERN PyObject
*_wrap_Log_EnableLogging(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11163 PyObject
*resultobj
= 0;
11164 bool arg1
= (bool) true ;
11168 PyObject
* obj0
= 0 ;
11169 char * kwnames
[] = {
11170 (char *) "doIt", NULL
11173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) SWIG_fail
;
11175 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
11176 if (!SWIG_IsOK(ecode1
)) {
11177 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_EnableLogging" "', expected argument " "1"" of type '" "bool""'");
11179 arg1
= static_cast< bool >(val1
);
11182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11183 result
= (bool)wxLog::EnableLogging(arg1
);
11184 wxPyEndAllowThreads(__tstate
);
11185 if (PyErr_Occurred()) SWIG_fail
;
11188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11196 SWIGINTERN PyObject
*_wrap_Log_OnLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11197 PyObject
*resultobj
= 0;
11199 wxChar
*arg2
= (wxChar
*) 0 ;
11201 unsigned long val1
;
11205 unsigned int val3
;
11207 PyObject
* obj0
= 0 ;
11208 PyObject
* obj1
= 0 ;
11209 PyObject
* obj2
= 0 ;
11210 char * kwnames
[] = {
11211 (char *) "level",(char *) "szString",(char *) "t", NULL
11214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11215 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
11216 if (!SWIG_IsOK(ecode1
)) {
11217 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_OnLog" "', expected argument " "1"" of type '" "wxLogLevel""'");
11219 arg1
= static_cast< wxLogLevel
>(val1
);
11220 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
11221 if (!SWIG_IsOK(res2
)) {
11222 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Log_OnLog" "', expected argument " "2"" of type '" "wxChar const *""'");
11224 arg2
= reinterpret_cast< wxChar
* >(argp2
);
11225 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
11226 if (!SWIG_IsOK(ecode3
)) {
11227 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Log_OnLog" "', expected argument " "3"" of type '" "time_t""'");
11229 arg3
= static_cast< time_t >(val3
);
11231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11232 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
11233 wxPyEndAllowThreads(__tstate
);
11234 if (PyErr_Occurred()) SWIG_fail
;
11236 resultobj
= SWIG_Py_Void();
11243 SWIGINTERN PyObject
*_wrap_Log_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11244 PyObject
*resultobj
= 0;
11245 wxLog
*arg1
= (wxLog
*) 0 ;
11248 PyObject
*swig_obj
[1] ;
11250 if (!args
) SWIG_fail
;
11251 swig_obj
[0] = args
;
11252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
11253 if (!SWIG_IsOK(res1
)) {
11254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Flush" "', expected argument " "1"" of type '" "wxLog *""'");
11256 arg1
= reinterpret_cast< wxLog
* >(argp1
);
11258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11260 wxPyEndAllowThreads(__tstate
);
11261 if (PyErr_Occurred()) SWIG_fail
;
11263 resultobj
= SWIG_Py_Void();
11270 SWIGINTERN PyObject
*_wrap_Log_FlushActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11271 PyObject
*resultobj
= 0;
11273 if (!SWIG_Python_UnpackTuple(args
,"Log_FlushActive",0,0,0)) SWIG_fail
;
11275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11276 wxLog::FlushActive();
11277 wxPyEndAllowThreads(__tstate
);
11278 if (PyErr_Occurred()) SWIG_fail
;
11280 resultobj
= SWIG_Py_Void();
11287 SWIGINTERN PyObject
*_wrap_Log_GetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11288 PyObject
*resultobj
= 0;
11289 wxLog
*result
= 0 ;
11291 if (!SWIG_Python_UnpackTuple(args
,"Log_GetActiveTarget",0,0,0)) SWIG_fail
;
11293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11294 result
= (wxLog
*)wxLog::GetActiveTarget();
11295 wxPyEndAllowThreads(__tstate
);
11296 if (PyErr_Occurred()) SWIG_fail
;
11298 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
11305 SWIGINTERN PyObject
*_wrap_Log_SetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11306 PyObject
*resultobj
= 0;
11307 wxLog
*arg1
= (wxLog
*) 0 ;
11308 wxLog
*result
= 0 ;
11310 PyObject
* obj0
= 0 ;
11311 char * kwnames
[] = {
11312 (char *) "pLogger", NULL
11315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) SWIG_fail
;
11316 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
11317 if (!SWIG_IsOK(res1
)) {
11318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetActiveTarget" "', expected argument " "1"" of type '" "wxLog *""'");
11321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11322 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
11323 wxPyEndAllowThreads(__tstate
);
11324 if (PyErr_Occurred()) SWIG_fail
;
11326 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_OWN
| 0 );
11333 SWIGINTERN PyObject
*_wrap_Log_Suspend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11334 PyObject
*resultobj
= 0;
11336 if (!SWIG_Python_UnpackTuple(args
,"Log_Suspend",0,0,0)) SWIG_fail
;
11338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11340 wxPyEndAllowThreads(__tstate
);
11341 if (PyErr_Occurred()) SWIG_fail
;
11343 resultobj
= SWIG_Py_Void();
11350 SWIGINTERN PyObject
*_wrap_Log_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11351 PyObject
*resultobj
= 0;
11353 if (!SWIG_Python_UnpackTuple(args
,"Log_Resume",0,0,0)) SWIG_fail
;
11355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11357 wxPyEndAllowThreads(__tstate
);
11358 if (PyErr_Occurred()) SWIG_fail
;
11360 resultobj
= SWIG_Py_Void();
11367 SWIGINTERN PyObject
*_wrap_Log_SetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11368 PyObject
*resultobj
= 0;
11369 bool arg1
= (bool) true ;
11372 PyObject
* obj0
= 0 ;
11373 char * kwnames
[] = {
11374 (char *) "bVerbose", NULL
11377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) SWIG_fail
;
11379 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
11380 if (!SWIG_IsOK(ecode1
)) {
11381 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetVerbose" "', expected argument " "1"" of type '" "bool""'");
11383 arg1
= static_cast< bool >(val1
);
11386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11387 wxLog::SetVerbose(arg1
);
11388 wxPyEndAllowThreads(__tstate
);
11389 if (PyErr_Occurred()) SWIG_fail
;
11391 resultobj
= SWIG_Py_Void();
11398 SWIGINTERN PyObject
*_wrap_Log_SetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11399 PyObject
*resultobj
= 0;
11401 unsigned long val1
;
11403 PyObject
* obj0
= 0 ;
11404 char * kwnames
[] = {
11405 (char *) "logLevel", NULL
11408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) SWIG_fail
;
11409 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
11410 if (!SWIG_IsOK(ecode1
)) {
11411 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetLogLevel" "', expected argument " "1"" of type '" "wxLogLevel""'");
11413 arg1
= static_cast< wxLogLevel
>(val1
);
11415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11416 wxLog::SetLogLevel(arg1
);
11417 wxPyEndAllowThreads(__tstate
);
11418 if (PyErr_Occurred()) SWIG_fail
;
11420 resultobj
= SWIG_Py_Void();
11427 SWIGINTERN PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11428 PyObject
*resultobj
= 0;
11430 if (!SWIG_Python_UnpackTuple(args
,"Log_DontCreateOnDemand",0,0,0)) SWIG_fail
;
11432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11433 wxLog::DontCreateOnDemand();
11434 wxPyEndAllowThreads(__tstate
);
11435 if (PyErr_Occurred()) SWIG_fail
;
11437 resultobj
= SWIG_Py_Void();
11444 SWIGINTERN PyObject
*_wrap_Log_SetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11445 PyObject
*resultobj
= 0;
11447 unsigned long val1
;
11449 PyObject
* obj0
= 0 ;
11450 char * kwnames
[] = {
11451 (char *) "ulMask", NULL
11454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11455 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
11456 if (!SWIG_IsOK(ecode1
)) {
11457 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetTraceMask" "', expected argument " "1"" of type '" "wxTraceMask""'");
11459 arg1
= static_cast< wxTraceMask
>(val1
);
11461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11462 wxLog::SetTraceMask(arg1
);
11463 wxPyEndAllowThreads(__tstate
);
11464 if (PyErr_Occurred()) SWIG_fail
;
11466 resultobj
= SWIG_Py_Void();
11473 SWIGINTERN PyObject
*_wrap_Log_AddTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11474 PyObject
*resultobj
= 0;
11475 wxString
*arg1
= 0 ;
11476 bool temp1
= false ;
11477 PyObject
* obj0
= 0 ;
11478 char * kwnames
[] = {
11479 (char *) "str", NULL
11482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11484 arg1
= wxString_in_helper(obj0
);
11485 if (arg1
== NULL
) SWIG_fail
;
11489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11490 wxLog::AddTraceMask((wxString
const &)*arg1
);
11491 wxPyEndAllowThreads(__tstate
);
11492 if (PyErr_Occurred()) SWIG_fail
;
11494 resultobj
= SWIG_Py_Void();
11509 SWIGINTERN PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11510 PyObject
*resultobj
= 0;
11511 wxString
*arg1
= 0 ;
11512 bool temp1
= false ;
11513 PyObject
* obj0
= 0 ;
11514 char * kwnames
[] = {
11515 (char *) "str", NULL
11518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11520 arg1
= wxString_in_helper(obj0
);
11521 if (arg1
== NULL
) SWIG_fail
;
11525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11526 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
11527 wxPyEndAllowThreads(__tstate
);
11528 if (PyErr_Occurred()) SWIG_fail
;
11530 resultobj
= SWIG_Py_Void();
11545 SWIGINTERN PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11546 PyObject
*resultobj
= 0;
11548 if (!SWIG_Python_UnpackTuple(args
,"Log_ClearTraceMasks",0,0,0)) SWIG_fail
;
11550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11551 wxLog::ClearTraceMasks();
11552 wxPyEndAllowThreads(__tstate
);
11553 if (PyErr_Occurred()) SWIG_fail
;
11555 resultobj
= SWIG_Py_Void();
11562 SWIGINTERN PyObject
*_wrap_Log_GetTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11563 PyObject
*resultobj
= 0;
11564 wxArrayString
*result
= 0 ;
11566 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMasks",0,0,0)) SWIG_fail
;
11568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11570 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
11571 result
= (wxArrayString
*) &_result_ref
;
11573 wxPyEndAllowThreads(__tstate
);
11574 if (PyErr_Occurred()) SWIG_fail
;
11577 resultobj
= wxArrayString2PyList_helper(*result
);
11585 SWIGINTERN PyObject
*_wrap_Log_SetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11586 PyObject
*resultobj
= 0;
11587 wxChar
*arg1
= (wxChar
*) 0 ;
11590 PyObject
* obj0
= 0 ;
11591 char * kwnames
[] = {
11592 (char *) "ts", NULL
11595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) SWIG_fail
;
11596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
11597 if (!SWIG_IsOK(res1
)) {
11598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetTimestamp" "', expected argument " "1"" of type '" "wxChar const *""'");
11600 arg1
= reinterpret_cast< wxChar
* >(argp1
);
11602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11603 wxLog::SetTimestamp((wxChar
const *)arg1
);
11604 wxPyEndAllowThreads(__tstate
);
11605 if (PyErr_Occurred()) SWIG_fail
;
11607 resultobj
= SWIG_Py_Void();
11614 SWIGINTERN PyObject
*_wrap_Log_GetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11615 PyObject
*resultobj
= 0;
11618 if (!SWIG_Python_UnpackTuple(args
,"Log_GetVerbose",0,0,0)) SWIG_fail
;
11620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11621 result
= (bool)wxLog::GetVerbose();
11622 wxPyEndAllowThreads(__tstate
);
11623 if (PyErr_Occurred()) SWIG_fail
;
11626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11634 SWIGINTERN PyObject
*_wrap_Log_GetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11635 PyObject
*resultobj
= 0;
11636 wxTraceMask result
;
11638 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMask",0,0,0)) SWIG_fail
;
11640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11641 result
= (wxTraceMask
)wxLog::GetTraceMask();
11642 wxPyEndAllowThreads(__tstate
);
11643 if (PyErr_Occurred()) SWIG_fail
;
11645 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
11652 SWIGINTERN PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11653 PyObject
*resultobj
= 0;
11654 wxChar
*arg1
= (wxChar
*) 0 ;
11658 PyObject
* obj0
= 0 ;
11659 char * kwnames
[] = {
11660 (char *) "mask", NULL
11663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
11665 if (!SWIG_IsOK(res1
)) {
11666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_IsAllowedTraceMask" "', expected argument " "1"" of type '" "wxChar const *""'");
11668 arg1
= reinterpret_cast< wxChar
* >(argp1
);
11670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11671 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
11672 wxPyEndAllowThreads(__tstate
);
11673 if (PyErr_Occurred()) SWIG_fail
;
11676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11684 SWIGINTERN PyObject
*_wrap_Log_GetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11685 PyObject
*resultobj
= 0;
11688 if (!SWIG_Python_UnpackTuple(args
,"Log_GetLogLevel",0,0,0)) SWIG_fail
;
11690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11691 result
= (wxLogLevel
)wxLog::GetLogLevel();
11692 wxPyEndAllowThreads(__tstate
);
11693 if (PyErr_Occurred()) SWIG_fail
;
11695 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
11702 SWIGINTERN PyObject
*_wrap_Log_GetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11703 PyObject
*resultobj
= 0;
11704 wxChar
*result
= 0 ;
11706 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTimestamp",0,0,0)) SWIG_fail
;
11708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11709 result
= (wxChar
*)wxLog::GetTimestamp();
11710 wxPyEndAllowThreads(__tstate
);
11711 if (PyErr_Occurred()) SWIG_fail
;
11713 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
11720 SWIGINTERN PyObject
*_wrap_Log_TimeStamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11721 PyObject
*resultobj
= 0;
11724 if (!SWIG_Python_UnpackTuple(args
,"Log_TimeStamp",0,0,0)) SWIG_fail
;
11726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11727 result
= wxLog_TimeStamp();
11728 wxPyEndAllowThreads(__tstate
);
11729 if (PyErr_Occurred()) SWIG_fail
;
11733 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11735 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11744 SWIGINTERN PyObject
*_wrap_Log_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11745 PyObject
*resultobj
= 0;
11746 wxLog
*arg1
= (wxLog
*) 0 ;
11749 PyObject
*swig_obj
[1] ;
11751 if (!args
) SWIG_fail
;
11752 swig_obj
[0] = args
;
11753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
11754 if (!SWIG_IsOK(res1
)) {
11755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Destroy" "', expected argument " "1"" of type '" "wxLog *""'");
11757 arg1
= reinterpret_cast< wxLog
* >(argp1
);
11759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11760 wxLog_Destroy(arg1
);
11761 wxPyEndAllowThreads(__tstate
);
11762 if (PyErr_Occurred()) SWIG_fail
;
11764 resultobj
= SWIG_Py_Void();
11771 SWIGINTERN PyObject
*Log_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11773 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11774 SWIG_TypeNewClientData(SWIGTYPE_p_wxLog
, SWIG_NewClientData(obj
));
11775 return SWIG_Py_Void();
11778 SWIGINTERN PyObject
*Log_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11779 return SWIG_Python_InitShadowInstance(args
);
11782 SWIGINTERN PyObject
*_wrap_new_LogStderr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11783 PyObject
*resultobj
= 0;
11784 wxLogStderr
*result
= 0 ;
11786 if (!SWIG_Python_UnpackTuple(args
,"new_LogStderr",0,0,0)) SWIG_fail
;
11788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11789 result
= (wxLogStderr
*)new wxLogStderr();
11790 wxPyEndAllowThreads(__tstate
);
11791 if (PyErr_Occurred()) SWIG_fail
;
11793 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogStderr
, SWIG_POINTER_NEW
| 0 );
11800 SWIGINTERN PyObject
*LogStderr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11802 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11803 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogStderr
, SWIG_NewClientData(obj
));
11804 return SWIG_Py_Void();
11807 SWIGINTERN PyObject
*LogStderr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11808 return SWIG_Python_InitShadowInstance(args
);
11811 SWIGINTERN PyObject
*_wrap_new_LogTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11812 PyObject
*resultobj
= 0;
11813 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11814 wxLogTextCtrl
*result
= 0 ;
11817 PyObject
* obj0
= 0 ;
11818 char * kwnames
[] = {
11819 (char *) "pTextCtrl", NULL
11822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) SWIG_fail
;
11823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11824 if (!SWIG_IsOK(res1
)) {
11825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogTextCtrl" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11827 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11830 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
11831 wxPyEndAllowThreads(__tstate
);
11832 if (PyErr_Occurred()) SWIG_fail
;
11834 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogTextCtrl
, SWIG_POINTER_NEW
| 0 );
11841 SWIGINTERN PyObject
*LogTextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11843 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11844 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogTextCtrl
, SWIG_NewClientData(obj
));
11845 return SWIG_Py_Void();
11848 SWIGINTERN PyObject
*LogTextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11849 return SWIG_Python_InitShadowInstance(args
);
11852 SWIGINTERN PyObject
*_wrap_new_LogGui(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11853 PyObject
*resultobj
= 0;
11854 wxLogGui
*result
= 0 ;
11856 if (!SWIG_Python_UnpackTuple(args
,"new_LogGui",0,0,0)) SWIG_fail
;
11858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11859 result
= (wxLogGui
*)new wxLogGui();
11860 wxPyEndAllowThreads(__tstate
);
11861 if (PyErr_Occurred()) SWIG_fail
;
11863 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogGui
, SWIG_POINTER_NEW
| 0 );
11870 SWIGINTERN PyObject
*LogGui_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11872 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11873 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogGui
, SWIG_NewClientData(obj
));
11874 return SWIG_Py_Void();
11877 SWIGINTERN PyObject
*LogGui_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11878 return SWIG_Python_InitShadowInstance(args
);
11881 SWIGINTERN PyObject
*_wrap_new_LogWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11882 PyObject
*resultobj
= 0;
11883 wxFrame
*arg1
= (wxFrame
*) 0 ;
11884 wxString
*arg2
= 0 ;
11885 bool arg3
= (bool) true ;
11886 bool arg4
= (bool) true ;
11887 wxLogWindow
*result
= 0 ;
11890 bool temp2
= false ;
11895 PyObject
* obj0
= 0 ;
11896 PyObject
* obj1
= 0 ;
11897 PyObject
* obj2
= 0 ;
11898 PyObject
* obj3
= 0 ;
11899 char * kwnames
[] = {
11900 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
11903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
11905 if (!SWIG_IsOK(res1
)) {
11906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogWindow" "', expected argument " "1"" of type '" "wxFrame *""'");
11908 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
11910 arg2
= wxString_in_helper(obj1
);
11911 if (arg2
== NULL
) SWIG_fail
;
11915 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11916 if (!SWIG_IsOK(ecode3
)) {
11917 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_LogWindow" "', expected argument " "3"" of type '" "bool""'");
11919 arg3
= static_cast< bool >(val3
);
11922 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11923 if (!SWIG_IsOK(ecode4
)) {
11924 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_LogWindow" "', expected argument " "4"" of type '" "bool""'");
11926 arg4
= static_cast< bool >(val4
);
11929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11930 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
11931 wxPyEndAllowThreads(__tstate
);
11932 if (PyErr_Occurred()) SWIG_fail
;
11934 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_NEW
| 0 );
11949 SWIGINTERN PyObject
*_wrap_LogWindow_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11950 PyObject
*resultobj
= 0;
11951 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
11952 bool arg2
= (bool) true ;
11957 PyObject
* obj0
= 0 ;
11958 PyObject
* obj1
= 0 ;
11959 char * kwnames
[] = {
11960 (char *) "self",(char *) "bShow", NULL
11963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
11965 if (!SWIG_IsOK(res1
)) {
11966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_Show" "', expected argument " "1"" of type '" "wxLogWindow *""'");
11968 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
11970 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
11971 if (!SWIG_IsOK(ecode2
)) {
11972 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_Show" "', expected argument " "2"" of type '" "bool""'");
11974 arg2
= static_cast< bool >(val2
);
11977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11978 (arg1
)->Show(arg2
);
11979 wxPyEndAllowThreads(__tstate
);
11980 if (PyErr_Occurred()) SWIG_fail
;
11982 resultobj
= SWIG_Py_Void();
11989 SWIGINTERN PyObject
*_wrap_LogWindow_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11990 PyObject
*resultobj
= 0;
11991 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
11992 wxFrame
*result
= 0 ;
11995 PyObject
*swig_obj
[1] ;
11997 if (!args
) SWIG_fail
;
11998 swig_obj
[0] = args
;
11999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
12000 if (!SWIG_IsOK(res1
)) {
12001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetFrame" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
12003 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
12005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12006 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
12007 wxPyEndAllowThreads(__tstate
);
12008 if (PyErr_Occurred()) SWIG_fail
;
12011 resultobj
= wxPyMake_wxObject(result
, (bool)0);
12019 SWIGINTERN PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12020 PyObject
*resultobj
= 0;
12021 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
12022 wxLog
*result
= 0 ;
12025 PyObject
*swig_obj
[1] ;
12027 if (!args
) SWIG_fail
;
12028 swig_obj
[0] = args
;
12029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
12030 if (!SWIG_IsOK(res1
)) {
12031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetOldLog" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
12033 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
12035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12036 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
12037 wxPyEndAllowThreads(__tstate
);
12038 if (PyErr_Occurred()) SWIG_fail
;
12040 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
12047 SWIGINTERN PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12048 PyObject
*resultobj
= 0;
12049 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
12053 PyObject
*swig_obj
[1] ;
12055 if (!args
) SWIG_fail
;
12056 swig_obj
[0] = args
;
12057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
12058 if (!SWIG_IsOK(res1
)) {
12059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
12061 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
12063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12064 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
12065 wxPyEndAllowThreads(__tstate
);
12066 if (PyErr_Occurred()) SWIG_fail
;
12069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12077 SWIGINTERN PyObject
*_wrap_LogWindow_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12078 PyObject
*resultobj
= 0;
12079 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
12085 PyObject
* obj0
= 0 ;
12086 PyObject
* obj1
= 0 ;
12087 char * kwnames
[] = {
12088 (char *) "self",(char *) "bDoPass", NULL
12091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
12093 if (!SWIG_IsOK(res1
)) {
12094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_PassMessages" "', expected argument " "1"" of type '" "wxLogWindow *""'");
12096 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
12097 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12098 if (!SWIG_IsOK(ecode2
)) {
12099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_PassMessages" "', expected argument " "2"" of type '" "bool""'");
12101 arg2
= static_cast< bool >(val2
);
12103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12104 (arg1
)->PassMessages(arg2
);
12105 wxPyEndAllowThreads(__tstate
);
12106 if (PyErr_Occurred()) SWIG_fail
;
12108 resultobj
= SWIG_Py_Void();
12115 SWIGINTERN PyObject
*LogWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12117 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12118 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogWindow
, SWIG_NewClientData(obj
));
12119 return SWIG_Py_Void();
12122 SWIGINTERN PyObject
*LogWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12123 return SWIG_Python_InitShadowInstance(args
);
12126 SWIGINTERN PyObject
*_wrap_new_LogChain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12127 PyObject
*resultobj
= 0;
12128 wxLog
*arg1
= (wxLog
*) 0 ;
12129 wxLogChain
*result
= 0 ;
12132 PyObject
* obj0
= 0 ;
12133 char * kwnames
[] = {
12134 (char *) "logger", NULL
12137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) SWIG_fail
;
12138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
12139 if (!SWIG_IsOK(res1
)) {
12140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogChain" "', expected argument " "1"" of type '" "wxLog *""'");
12142 arg1
= reinterpret_cast< wxLog
* >(argp1
);
12144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12145 result
= (wxLogChain
*)new wxLogChain(arg1
);
12146 wxPyEndAllowThreads(__tstate
);
12147 if (PyErr_Occurred()) SWIG_fail
;
12149 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogChain
, SWIG_POINTER_NEW
| 0 );
12156 SWIGINTERN PyObject
*_wrap_LogChain_SetLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12157 PyObject
*resultobj
= 0;
12158 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12159 wxLog
*arg2
= (wxLog
*) 0 ;
12164 PyObject
* obj0
= 0 ;
12165 PyObject
* obj1
= 0 ;
12166 char * kwnames
[] = {
12167 (char *) "self",(char *) "logger", NULL
12170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12172 if (!SWIG_IsOK(res1
)) {
12173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_SetLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
12175 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12176 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxLog
, 0 | 0 );
12177 if (!SWIG_IsOK(res2
)) {
12178 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LogChain_SetLog" "', expected argument " "2"" of type '" "wxLog *""'");
12180 arg2
= reinterpret_cast< wxLog
* >(argp2
);
12182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12183 (arg1
)->SetLog(arg2
);
12184 wxPyEndAllowThreads(__tstate
);
12185 if (PyErr_Occurred()) SWIG_fail
;
12187 resultobj
= SWIG_Py_Void();
12194 SWIGINTERN PyObject
*_wrap_LogChain_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12195 PyObject
*resultobj
= 0;
12196 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12202 PyObject
* obj0
= 0 ;
12203 PyObject
* obj1
= 0 ;
12204 char * kwnames
[] = {
12205 (char *) "self",(char *) "bDoPass", NULL
12208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12210 if (!SWIG_IsOK(res1
)) {
12211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_PassMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
12213 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12214 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12215 if (!SWIG_IsOK(ecode2
)) {
12216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogChain_PassMessages" "', expected argument " "2"" of type '" "bool""'");
12218 arg2
= static_cast< bool >(val2
);
12220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12221 (arg1
)->PassMessages(arg2
);
12222 wxPyEndAllowThreads(__tstate
);
12223 if (PyErr_Occurred()) SWIG_fail
;
12225 resultobj
= SWIG_Py_Void();
12232 SWIGINTERN PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12233 PyObject
*resultobj
= 0;
12234 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12238 PyObject
*swig_obj
[1] ;
12240 if (!args
) SWIG_fail
;
12241 swig_obj
[0] = args
;
12242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12243 if (!SWIG_IsOK(res1
)) {
12244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
12246 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12249 result
= (bool)(arg1
)->IsPassingMessages();
12250 wxPyEndAllowThreads(__tstate
);
12251 if (PyErr_Occurred()) SWIG_fail
;
12254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12262 SWIGINTERN PyObject
*_wrap_LogChain_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12263 PyObject
*resultobj
= 0;
12264 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12265 wxLog
*result
= 0 ;
12268 PyObject
*swig_obj
[1] ;
12270 if (!args
) SWIG_fail
;
12271 swig_obj
[0] = args
;
12272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12273 if (!SWIG_IsOK(res1
)) {
12274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_GetOldLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
12276 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12279 result
= (wxLog
*)(arg1
)->GetOldLog();
12280 wxPyEndAllowThreads(__tstate
);
12281 if (PyErr_Occurred()) SWIG_fail
;
12283 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
12290 SWIGINTERN PyObject
*LogChain_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12292 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12293 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogChain
, SWIG_NewClientData(obj
));
12294 return SWIG_Py_Void();
12297 SWIGINTERN PyObject
*LogChain_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12298 return SWIG_Python_InitShadowInstance(args
);
12301 SWIGINTERN PyObject
*_wrap_new_LogBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12302 PyObject
*resultobj
= 0;
12303 wxLogBuffer
*result
= 0 ;
12305 if (!SWIG_Python_UnpackTuple(args
,"new_LogBuffer",0,0,0)) SWIG_fail
;
12307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12308 result
= (wxLogBuffer
*)new wxLogBuffer();
12309 wxPyEndAllowThreads(__tstate
);
12310 if (PyErr_Occurred()) SWIG_fail
;
12312 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_NEW
| 0 );
12319 SWIGINTERN PyObject
*_wrap_LogBuffer_GetBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12320 PyObject
*resultobj
= 0;
12321 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
12322 wxString
*result
= 0 ;
12325 PyObject
*swig_obj
[1] ;
12327 if (!args
) SWIG_fail
;
12328 swig_obj
[0] = args
;
12329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogBuffer
, 0 | 0 );
12330 if (!SWIG_IsOK(res1
)) {
12331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogBuffer_GetBuffer" "', expected argument " "1"" of type '" "wxLogBuffer const *""'");
12333 arg1
= reinterpret_cast< wxLogBuffer
* >(argp1
);
12335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12337 wxString
const &_result_ref
= ((wxLogBuffer
const *)arg1
)->GetBuffer();
12338 result
= (wxString
*) &_result_ref
;
12340 wxPyEndAllowThreads(__tstate
);
12341 if (PyErr_Occurred()) SWIG_fail
;
12345 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12347 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12356 SWIGINTERN PyObject
*LogBuffer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12358 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12359 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogBuffer
, SWIG_NewClientData(obj
));
12360 return SWIG_Py_Void();
12363 SWIGINTERN PyObject
*LogBuffer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12364 return SWIG_Python_InitShadowInstance(args
);
12367 SWIGINTERN PyObject
*_wrap_SysErrorCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12368 PyObject
*resultobj
= 0;
12369 unsigned long result
;
12371 if (!SWIG_Python_UnpackTuple(args
,"SysErrorCode",0,0,0)) SWIG_fail
;
12373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12374 result
= (unsigned long)wxSysErrorCode();
12375 wxPyEndAllowThreads(__tstate
);
12376 if (PyErr_Occurred()) SWIG_fail
;
12378 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12385 SWIGINTERN PyObject
*_wrap_SysErrorMsg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12386 PyObject
*resultobj
= 0;
12387 unsigned long arg1
= (unsigned long) 0 ;
12389 unsigned long val1
;
12391 PyObject
* obj0
= 0 ;
12392 char * kwnames
[] = {
12393 (char *) "nErrCode", NULL
12396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) SWIG_fail
;
12398 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12399 if (!SWIG_IsOK(ecode1
)) {
12400 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SysErrorMsg" "', expected argument " "1"" of type '" "unsigned long""'");
12402 arg1
= static_cast< unsigned long >(val1
);
12405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12406 result
= wxSysErrorMsg(arg1
);
12407 wxPyEndAllowThreads(__tstate
);
12408 if (PyErr_Occurred()) SWIG_fail
;
12412 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12414 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12423 SWIGINTERN PyObject
*_wrap_LogFatalError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12424 PyObject
*resultobj
= 0;
12425 wxString
*arg1
= 0 ;
12426 bool temp1
= false ;
12427 PyObject
* obj0
= 0 ;
12428 char * kwnames
[] = {
12429 (char *) "msg", NULL
12432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) SWIG_fail
;
12434 arg1
= wxString_in_helper(obj0
);
12435 if (arg1
== NULL
) SWIG_fail
;
12439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12440 wxPyLogFatalError((wxString
const &)*arg1
);
12441 wxPyEndAllowThreads(__tstate
);
12442 if (PyErr_Occurred()) SWIG_fail
;
12444 resultobj
= SWIG_Py_Void();
12459 SWIGINTERN PyObject
*_wrap_LogError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12460 PyObject
*resultobj
= 0;
12461 wxString
*arg1
= 0 ;
12462 bool temp1
= false ;
12463 PyObject
* obj0
= 0 ;
12464 char * kwnames
[] = {
12465 (char *) "msg", NULL
12468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) SWIG_fail
;
12470 arg1
= wxString_in_helper(obj0
);
12471 if (arg1
== NULL
) SWIG_fail
;
12475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12476 wxPyLogError((wxString
const &)*arg1
);
12477 wxPyEndAllowThreads(__tstate
);
12478 if (PyErr_Occurred()) SWIG_fail
;
12480 resultobj
= SWIG_Py_Void();
12495 SWIGINTERN PyObject
*_wrap_LogWarning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12496 PyObject
*resultobj
= 0;
12497 wxString
*arg1
= 0 ;
12498 bool temp1
= false ;
12499 PyObject
* obj0
= 0 ;
12500 char * kwnames
[] = {
12501 (char *) "msg", NULL
12504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) SWIG_fail
;
12506 arg1
= wxString_in_helper(obj0
);
12507 if (arg1
== NULL
) SWIG_fail
;
12511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12512 wxPyLogWarning((wxString
const &)*arg1
);
12513 wxPyEndAllowThreads(__tstate
);
12514 if (PyErr_Occurred()) SWIG_fail
;
12516 resultobj
= SWIG_Py_Void();
12531 SWIGINTERN PyObject
*_wrap_LogMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12532 PyObject
*resultobj
= 0;
12533 wxString
*arg1
= 0 ;
12534 bool temp1
= false ;
12535 PyObject
* obj0
= 0 ;
12536 char * kwnames
[] = {
12537 (char *) "msg", NULL
12540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) SWIG_fail
;
12542 arg1
= wxString_in_helper(obj0
);
12543 if (arg1
== NULL
) SWIG_fail
;
12547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12548 wxPyLogMessage((wxString
const &)*arg1
);
12549 wxPyEndAllowThreads(__tstate
);
12550 if (PyErr_Occurred()) SWIG_fail
;
12552 resultobj
= SWIG_Py_Void();
12567 SWIGINTERN PyObject
*_wrap_LogInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12568 PyObject
*resultobj
= 0;
12569 wxString
*arg1
= 0 ;
12570 bool temp1
= false ;
12571 PyObject
* obj0
= 0 ;
12572 char * kwnames
[] = {
12573 (char *) "msg", NULL
12576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) SWIG_fail
;
12578 arg1
= wxString_in_helper(obj0
);
12579 if (arg1
== NULL
) SWIG_fail
;
12583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12584 wxPyLogInfo((wxString
const &)*arg1
);
12585 wxPyEndAllowThreads(__tstate
);
12586 if (PyErr_Occurred()) SWIG_fail
;
12588 resultobj
= SWIG_Py_Void();
12603 SWIGINTERN PyObject
*_wrap_LogDebug(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12604 PyObject
*resultobj
= 0;
12605 wxString
*arg1
= 0 ;
12606 bool temp1
= false ;
12607 PyObject
* obj0
= 0 ;
12608 char * kwnames
[] = {
12609 (char *) "msg", NULL
12612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) SWIG_fail
;
12614 arg1
= wxString_in_helper(obj0
);
12615 if (arg1
== NULL
) SWIG_fail
;
12619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12620 wxPyLogDebug((wxString
const &)*arg1
);
12621 wxPyEndAllowThreads(__tstate
);
12622 if (PyErr_Occurred()) SWIG_fail
;
12624 resultobj
= SWIG_Py_Void();
12639 SWIGINTERN PyObject
*_wrap_LogVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12640 PyObject
*resultobj
= 0;
12641 wxString
*arg1
= 0 ;
12642 bool temp1
= false ;
12643 PyObject
* obj0
= 0 ;
12644 char * kwnames
[] = {
12645 (char *) "msg", NULL
12648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) SWIG_fail
;
12650 arg1
= wxString_in_helper(obj0
);
12651 if (arg1
== NULL
) SWIG_fail
;
12655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12656 wxPyLogVerbose((wxString
const &)*arg1
);
12657 wxPyEndAllowThreads(__tstate
);
12658 if (PyErr_Occurred()) SWIG_fail
;
12660 resultobj
= SWIG_Py_Void();
12675 SWIGINTERN PyObject
*_wrap_LogStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12676 PyObject
*resultobj
= 0;
12677 wxString
*arg1
= 0 ;
12678 bool temp1
= false ;
12679 PyObject
* obj0
= 0 ;
12680 char * kwnames
[] = {
12681 (char *) "msg", NULL
12684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) SWIG_fail
;
12686 arg1
= wxString_in_helper(obj0
);
12687 if (arg1
== NULL
) SWIG_fail
;
12691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12692 wxPyLogStatus((wxString
const &)*arg1
);
12693 wxPyEndAllowThreads(__tstate
);
12694 if (PyErr_Occurred()) SWIG_fail
;
12696 resultobj
= SWIG_Py_Void();
12711 SWIGINTERN PyObject
*_wrap_LogStatusFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12712 PyObject
*resultobj
= 0;
12713 wxFrame
*arg1
= (wxFrame
*) 0 ;
12714 wxString
*arg2
= 0 ;
12717 bool temp2
= false ;
12718 PyObject
* obj0
= 0 ;
12719 PyObject
* obj1
= 0 ;
12720 char * kwnames
[] = {
12721 (char *) "pFrame",(char *) "msg", NULL
12724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
12726 if (!SWIG_IsOK(res1
)) {
12727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogStatusFrame" "', expected argument " "1"" of type '" "wxFrame *""'");
12729 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
12731 arg2
= wxString_in_helper(obj1
);
12732 if (arg2
== NULL
) SWIG_fail
;
12736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12737 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
12738 wxPyEndAllowThreads(__tstate
);
12739 if (PyErr_Occurred()) SWIG_fail
;
12741 resultobj
= SWIG_Py_Void();
12756 SWIGINTERN PyObject
*_wrap_LogSysError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12757 PyObject
*resultobj
= 0;
12758 wxString
*arg1
= 0 ;
12759 bool temp1
= false ;
12760 PyObject
* obj0
= 0 ;
12761 char * kwnames
[] = {
12762 (char *) "msg", NULL
12765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) SWIG_fail
;
12767 arg1
= wxString_in_helper(obj0
);
12768 if (arg1
== NULL
) SWIG_fail
;
12772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12773 wxPyLogSysError((wxString
const &)*arg1
);
12774 wxPyEndAllowThreads(__tstate
);
12775 if (PyErr_Occurred()) SWIG_fail
;
12777 resultobj
= SWIG_Py_Void();
12792 SWIGINTERN PyObject
*_wrap_LogGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12793 PyObject
*resultobj
= 0;
12794 unsigned long arg1
;
12795 wxString
*arg2
= 0 ;
12796 unsigned long val1
;
12798 bool temp2
= false ;
12799 PyObject
* obj0
= 0 ;
12800 PyObject
* obj1
= 0 ;
12801 char * kwnames
[] = {
12802 (char *) "level",(char *) "msg", NULL
12805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12806 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12807 if (!SWIG_IsOK(ecode1
)) {
12808 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogGeneric" "', expected argument " "1"" of type '" "unsigned long""'");
12810 arg1
= static_cast< unsigned long >(val1
);
12812 arg2
= wxString_in_helper(obj1
);
12813 if (arg2
== NULL
) SWIG_fail
;
12817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12818 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
12819 wxPyEndAllowThreads(__tstate
);
12820 if (PyErr_Occurred()) SWIG_fail
;
12822 resultobj
= SWIG_Py_Void();
12837 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
12838 PyObject
*resultobj
= 0;
12839 unsigned long arg1
;
12840 wxString
*arg2
= 0 ;
12841 unsigned long val1
;
12843 bool temp2
= false ;
12845 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
12846 ecode1
= SWIG_AsVal_unsigned_SS_long(swig_obj
[0], &val1
);
12847 if (!SWIG_IsOK(ecode1
)) {
12848 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogTrace" "', expected argument " "1"" of type '" "unsigned long""'");
12850 arg1
= static_cast< unsigned long >(val1
);
12852 arg2
= wxString_in_helper(swig_obj
[1]);
12853 if (arg2
== NULL
) SWIG_fail
;
12857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12858 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
12859 wxPyEndAllowThreads(__tstate
);
12860 if (PyErr_Occurred()) SWIG_fail
;
12862 resultobj
= SWIG_Py_Void();
12877 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
12878 PyObject
*resultobj
= 0;
12879 wxString
*arg1
= 0 ;
12880 wxString
*arg2
= 0 ;
12881 bool temp1
= false ;
12882 bool temp2
= false ;
12884 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
12886 arg1
= wxString_in_helper(swig_obj
[0]);
12887 if (arg1
== NULL
) SWIG_fail
;
12891 arg2
= wxString_in_helper(swig_obj
[1]);
12892 if (arg2
== NULL
) SWIG_fail
;
12896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12897 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
12898 wxPyEndAllowThreads(__tstate
);
12899 if (PyErr_Occurred()) SWIG_fail
;
12901 resultobj
= SWIG_Py_Void();
12924 SWIGINTERN PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
12928 if (!(argc
= SWIG_Python_UnpackTuple(args
,"LogTrace",0,2,argv
))) SWIG_fail
;
12934 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
12937 if (!_v
) goto check_1
;
12938 return _wrap_LogTrace__SWIG_1(self
, argc
, argv
);
12943 return _wrap_LogTrace__SWIG_0(self
, argc
, argv
);
12947 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
12952 SWIGINTERN PyObject
*_wrap_SafeShowMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12953 PyObject
*resultobj
= 0;
12954 wxString
*arg1
= 0 ;
12955 wxString
*arg2
= 0 ;
12956 bool temp1
= false ;
12957 bool temp2
= false ;
12958 PyObject
* obj0
= 0 ;
12959 PyObject
* obj1
= 0 ;
12960 char * kwnames
[] = {
12961 (char *) "title",(char *) "text", NULL
12964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12966 arg1
= wxString_in_helper(obj0
);
12967 if (arg1
== NULL
) SWIG_fail
;
12971 arg2
= wxString_in_helper(obj1
);
12972 if (arg2
== NULL
) SWIG_fail
;
12976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12977 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
12978 wxPyEndAllowThreads(__tstate
);
12979 if (PyErr_Occurred()) SWIG_fail
;
12981 resultobj
= SWIG_Py_Void();
13004 SWIGINTERN PyObject
*_wrap_new_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13005 PyObject
*resultobj
= 0;
13006 wxLogNull
*result
= 0 ;
13008 if (!SWIG_Python_UnpackTuple(args
,"new_LogNull",0,0,0)) SWIG_fail
;
13010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13011 result
= (wxLogNull
*)new wxLogNull();
13012 wxPyEndAllowThreads(__tstate
);
13013 if (PyErr_Occurred()) SWIG_fail
;
13015 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogNull
, SWIG_POINTER_NEW
| 0 );
13022 SWIGINTERN PyObject
*_wrap_delete_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13023 PyObject
*resultobj
= 0;
13024 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
13027 PyObject
*swig_obj
[1] ;
13029 if (!args
) SWIG_fail
;
13030 swig_obj
[0] = args
;
13031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogNull
, SWIG_POINTER_DISOWN
| 0 );
13032 if (!SWIG_IsOK(res1
)) {
13033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LogNull" "', expected argument " "1"" of type '" "wxLogNull *""'");
13035 arg1
= reinterpret_cast< wxLogNull
* >(argp1
);
13037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13040 wxPyEndAllowThreads(__tstate
);
13041 if (PyErr_Occurred()) SWIG_fail
;
13043 resultobj
= SWIG_Py_Void();
13050 SWIGINTERN PyObject
*LogNull_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13052 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13053 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogNull
, SWIG_NewClientData(obj
));
13054 return SWIG_Py_Void();
13057 SWIGINTERN PyObject
*LogNull_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13058 return SWIG_Python_InitShadowInstance(args
);
13061 SWIGINTERN PyObject
*_wrap_new_PyLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13062 PyObject
*resultobj
= 0;
13063 wxPyLog
*result
= 0 ;
13065 if (!SWIG_Python_UnpackTuple(args
,"new_PyLog",0,0,0)) SWIG_fail
;
13067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13068 result
= (wxPyLog
*)new wxPyLog();
13069 wxPyEndAllowThreads(__tstate
);
13070 if (PyErr_Occurred()) SWIG_fail
;
13072 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLog
, SWIG_POINTER_NEW
| 0 );
13079 SWIGINTERN PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13080 PyObject
*resultobj
= 0;
13081 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
13082 PyObject
*arg2
= (PyObject
*) 0 ;
13083 PyObject
*arg3
= (PyObject
*) 0 ;
13086 PyObject
* obj0
= 0 ;
13087 PyObject
* obj1
= 0 ;
13088 PyObject
* obj2
= 0 ;
13089 char * kwnames
[] = {
13090 (char *) "self",(char *) "self",(char *) "_class", NULL
13093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLog
, 0 | 0 );
13095 if (!SWIG_IsOK(res1
)) {
13096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLog__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLog *""'");
13098 arg1
= reinterpret_cast< wxPyLog
* >(argp1
);
13102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13103 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13104 wxPyEndAllowThreads(__tstate
);
13105 if (PyErr_Occurred()) SWIG_fail
;
13107 resultobj
= SWIG_Py_Void();
13114 SWIGINTERN PyObject
*PyLog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13116 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13117 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLog
, SWIG_NewClientData(obj
));
13118 return SWIG_Py_Void();
13121 SWIGINTERN PyObject
*PyLog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13122 return SWIG_Python_InitShadowInstance(args
);
13125 SWIGINTERN PyObject
*_wrap_Process_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13126 PyObject
*resultobj
= 0;
13128 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
13129 int arg3
= (int) wxKILL_NOCHILDREN
;
13130 wxKillError result
;
13137 PyObject
* obj0
= 0 ;
13138 PyObject
* obj1
= 0 ;
13139 PyObject
* obj2
= 0 ;
13140 char * kwnames
[] = {
13141 (char *) "pid",(char *) "sig",(char *) "flags", NULL
13144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13145 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13146 if (!SWIG_IsOK(ecode1
)) {
13147 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Kill" "', expected argument " "1"" of type '" "int""'");
13149 arg1
= static_cast< int >(val1
);
13151 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13152 if (!SWIG_IsOK(ecode2
)) {
13153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Kill" "', expected argument " "2"" of type '" "wxSignal""'");
13155 arg2
= static_cast< wxSignal
>(val2
);
13158 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13159 if (!SWIG_IsOK(ecode3
)) {
13160 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_Kill" "', expected argument " "3"" of type '" "int""'");
13162 arg3
= static_cast< int >(val3
);
13165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13166 result
= (wxKillError
)wxPyProcess::Kill(arg1
,arg2
,arg3
);
13167 wxPyEndAllowThreads(__tstate
);
13168 if (PyErr_Occurred()) SWIG_fail
;
13170 resultobj
= SWIG_From_int(static_cast< int >(result
));
13177 SWIGINTERN PyObject
*_wrap_Process_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13178 PyObject
*resultobj
= 0;
13183 PyObject
* obj0
= 0 ;
13184 char * kwnames
[] = {
13185 (char *) "pid", NULL
13188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) SWIG_fail
;
13189 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13190 if (!SWIG_IsOK(ecode1
)) {
13191 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Exists" "', expected argument " "1"" of type '" "int""'");
13193 arg1
= static_cast< int >(val1
);
13195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13196 result
= (bool)wxPyProcess::Exists(arg1
);
13197 wxPyEndAllowThreads(__tstate
);
13198 if (PyErr_Occurred()) SWIG_fail
;
13201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13209 SWIGINTERN PyObject
*_wrap_Process_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13210 PyObject
*resultobj
= 0;
13211 wxString
*arg1
= 0 ;
13212 int arg2
= (int) wxEXEC_ASYNC
;
13213 wxPyProcess
*result
= 0 ;
13214 bool temp1
= false ;
13217 PyObject
* obj0
= 0 ;
13218 PyObject
* obj1
= 0 ;
13219 char * kwnames
[] = {
13220 (char *) "cmd",(char *) "flags", NULL
13223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13225 arg1
= wxString_in_helper(obj0
);
13226 if (arg1
== NULL
) SWIG_fail
;
13230 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13231 if (!SWIG_IsOK(ecode2
)) {
13232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Open" "', expected argument " "2"" of type '" "int""'");
13234 arg2
= static_cast< int >(val2
);
13237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13238 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
13239 wxPyEndAllowThreads(__tstate
);
13240 if (PyErr_Occurred()) SWIG_fail
;
13242 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13257 SWIGINTERN PyObject
*_wrap_new_Process(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13258 PyObject
*resultobj
= 0;
13259 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
13260 int arg2
= (int) -1 ;
13261 wxPyProcess
*result
= 0 ;
13266 PyObject
* obj0
= 0 ;
13267 PyObject
* obj1
= 0 ;
13268 char * kwnames
[] = {
13269 (char *) "parent",(char *) "id", NULL
13272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
13275 if (!SWIG_IsOK(res1
)) {
13276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Process" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
13278 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
13281 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13282 if (!SWIG_IsOK(ecode2
)) {
13283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Process" "', expected argument " "2"" of type '" "int""'");
13285 arg2
= static_cast< int >(val2
);
13288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13289 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
13290 wxPyEndAllowThreads(__tstate
);
13291 if (PyErr_Occurred()) SWIG_fail
;
13293 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_NEW
| 0 );
13300 SWIGINTERN PyObject
*_wrap_Process__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13301 PyObject
*resultobj
= 0;
13302 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13303 PyObject
*arg2
= (PyObject
*) 0 ;
13304 PyObject
*arg3
= (PyObject
*) 0 ;
13307 PyObject
* obj0
= 0 ;
13308 PyObject
* obj1
= 0 ;
13309 PyObject
* obj2
= 0 ;
13310 char * kwnames
[] = {
13311 (char *) "self",(char *) "self",(char *) "_class", NULL
13314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13316 if (!SWIG_IsOK(res1
)) {
13317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13319 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13324 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13325 wxPyEndAllowThreads(__tstate
);
13326 if (PyErr_Occurred()) SWIG_fail
;
13328 resultobj
= SWIG_Py_Void();
13335 SWIGINTERN PyObject
*_wrap_Process_OnTerminate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13336 PyObject
*resultobj
= 0;
13337 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13346 PyObject
* obj0
= 0 ;
13347 PyObject
* obj1
= 0 ;
13348 PyObject
* obj2
= 0 ;
13349 char * kwnames
[] = {
13350 (char *) "self",(char *) "pid",(char *) "status", NULL
13353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13355 if (!SWIG_IsOK(res1
)) {
13356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_OnTerminate" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13358 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13360 if (!SWIG_IsOK(ecode2
)) {
13361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_OnTerminate" "', expected argument " "2"" of type '" "int""'");
13363 arg2
= static_cast< int >(val2
);
13364 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13365 if (!SWIG_IsOK(ecode3
)) {
13366 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_OnTerminate" "', expected argument " "3"" of type '" "int""'");
13368 arg3
= static_cast< int >(val3
);
13370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13371 (arg1
)->OnTerminate(arg2
,arg3
);
13372 wxPyEndAllowThreads(__tstate
);
13373 if (PyErr_Occurred()) SWIG_fail
;
13375 resultobj
= SWIG_Py_Void();
13382 SWIGINTERN PyObject
*_wrap_Process_Redirect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13383 PyObject
*resultobj
= 0;
13384 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13387 PyObject
*swig_obj
[1] ;
13389 if (!args
) SWIG_fail
;
13390 swig_obj
[0] = args
;
13391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13392 if (!SWIG_IsOK(res1
)) {
13393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Redirect" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13395 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13398 (arg1
)->Redirect();
13399 wxPyEndAllowThreads(__tstate
);
13400 if (PyErr_Occurred()) SWIG_fail
;
13402 resultobj
= SWIG_Py_Void();
13409 SWIGINTERN PyObject
*_wrap_Process_IsRedirected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13410 PyObject
*resultobj
= 0;
13411 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13415 PyObject
*swig_obj
[1] ;
13417 if (!args
) SWIG_fail
;
13418 swig_obj
[0] = args
;
13419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13420 if (!SWIG_IsOK(res1
)) {
13421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsRedirected" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13423 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13426 result
= (bool)(arg1
)->IsRedirected();
13427 wxPyEndAllowThreads(__tstate
);
13428 if (PyErr_Occurred()) SWIG_fail
;
13431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13439 SWIGINTERN PyObject
*_wrap_Process_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13440 PyObject
*resultobj
= 0;
13441 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13444 PyObject
*swig_obj
[1] ;
13446 if (!args
) SWIG_fail
;
13447 swig_obj
[0] = args
;
13448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13449 if (!SWIG_IsOK(res1
)) {
13450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Detach" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13452 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13456 wxPyEndAllowThreads(__tstate
);
13457 if (PyErr_Occurred()) SWIG_fail
;
13459 resultobj
= SWIG_Py_Void();
13466 SWIGINTERN PyObject
*_wrap_Process_GetInputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13467 PyObject
*resultobj
= 0;
13468 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13469 wxInputStream
*result
= 0 ;
13472 PyObject
*swig_obj
[1] ;
13474 if (!args
) SWIG_fail
;
13475 swig_obj
[0] = args
;
13476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13477 if (!SWIG_IsOK(res1
)) {
13478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetInputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13480 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13483 result
= (wxInputStream
*)(arg1
)->GetInputStream();
13484 wxPyEndAllowThreads(__tstate
);
13485 if (PyErr_Occurred()) SWIG_fail
;
13488 wxPyInputStream
* _ptr
= NULL
;
13491 _ptr
= new wxPyInputStream(result
);
13493 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
13501 SWIGINTERN PyObject
*_wrap_Process_GetErrorStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13502 PyObject
*resultobj
= 0;
13503 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13504 wxInputStream
*result
= 0 ;
13507 PyObject
*swig_obj
[1] ;
13509 if (!args
) SWIG_fail
;
13510 swig_obj
[0] = args
;
13511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13512 if (!SWIG_IsOK(res1
)) {
13513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetErrorStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13515 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13518 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
13519 wxPyEndAllowThreads(__tstate
);
13520 if (PyErr_Occurred()) SWIG_fail
;
13523 wxPyInputStream
* _ptr
= NULL
;
13526 _ptr
= new wxPyInputStream(result
);
13528 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
13536 SWIGINTERN PyObject
*_wrap_Process_GetOutputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13537 PyObject
*resultobj
= 0;
13538 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13539 wxOutputStream
*result
= 0 ;
13542 PyObject
*swig_obj
[1] ;
13544 if (!args
) SWIG_fail
;
13545 swig_obj
[0] = args
;
13546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13547 if (!SWIG_IsOK(res1
)) {
13548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetOutputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13550 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13553 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
13554 wxPyEndAllowThreads(__tstate
);
13555 if (PyErr_Occurred()) SWIG_fail
;
13557 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOutputStream
, 0 | 0 );
13564 SWIGINTERN PyObject
*_wrap_Process_CloseOutput(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13565 PyObject
*resultobj
= 0;
13566 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13569 PyObject
*swig_obj
[1] ;
13571 if (!args
) SWIG_fail
;
13572 swig_obj
[0] = args
;
13573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13574 if (!SWIG_IsOK(res1
)) {
13575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_CloseOutput" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13577 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13580 (arg1
)->CloseOutput();
13581 wxPyEndAllowThreads(__tstate
);
13582 if (PyErr_Occurred()) SWIG_fail
;
13584 resultobj
= SWIG_Py_Void();
13591 SWIGINTERN PyObject
*_wrap_Process_IsInputOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13592 PyObject
*resultobj
= 0;
13593 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13597 PyObject
*swig_obj
[1] ;
13599 if (!args
) SWIG_fail
;
13600 swig_obj
[0] = args
;
13601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13602 if (!SWIG_IsOK(res1
)) {
13603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputOpened" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
13605 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13608 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
13609 wxPyEndAllowThreads(__tstate
);
13610 if (PyErr_Occurred()) SWIG_fail
;
13613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13621 SWIGINTERN PyObject
*_wrap_Process_IsInputAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13622 PyObject
*resultobj
= 0;
13623 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13627 PyObject
*swig_obj
[1] ;
13629 if (!args
) SWIG_fail
;
13630 swig_obj
[0] = args
;
13631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13632 if (!SWIG_IsOK(res1
)) {
13633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
13635 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13638 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
13639 wxPyEndAllowThreads(__tstate
);
13640 if (PyErr_Occurred()) SWIG_fail
;
13643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13651 SWIGINTERN PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13652 PyObject
*resultobj
= 0;
13653 wxPyProcess
*arg1
= (wxPyProcess
*) 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_wxPyProcess
, 0 | 0 );
13662 if (!SWIG_IsOK(res1
)) {
13663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsErrorAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
13665 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13668 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
13669 wxPyEndAllowThreads(__tstate
);
13670 if (PyErr_Occurred()) SWIG_fail
;
13673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13681 SWIGINTERN PyObject
*Process_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13683 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13684 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyProcess
, SWIG_NewClientData(obj
));
13685 return SWIG_Py_Void();
13688 SWIGINTERN PyObject
*Process_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13689 return SWIG_Python_InitShadowInstance(args
);
13692 SWIGINTERN PyObject
*_wrap_new_ProcessEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13693 PyObject
*resultobj
= 0;
13694 int arg1
= (int) 0 ;
13695 int arg2
= (int) 0 ;
13696 int arg3
= (int) 0 ;
13697 wxProcessEvent
*result
= 0 ;
13704 PyObject
* obj0
= 0 ;
13705 PyObject
* obj1
= 0 ;
13706 PyObject
* obj2
= 0 ;
13707 char * kwnames
[] = {
13708 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
13711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13713 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13714 if (!SWIG_IsOK(ecode1
)) {
13715 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ProcessEvent" "', expected argument " "1"" of type '" "int""'");
13717 arg1
= static_cast< int >(val1
);
13720 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13721 if (!SWIG_IsOK(ecode2
)) {
13722 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ProcessEvent" "', expected argument " "2"" of type '" "int""'");
13724 arg2
= static_cast< int >(val2
);
13727 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13728 if (!SWIG_IsOK(ecode3
)) {
13729 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProcessEvent" "', expected argument " "3"" of type '" "int""'");
13731 arg3
= static_cast< int >(val3
);
13734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13735 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
13736 wxPyEndAllowThreads(__tstate
);
13737 if (PyErr_Occurred()) SWIG_fail
;
13739 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_NEW
| 0 );
13746 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13747 PyObject
*resultobj
= 0;
13748 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13752 PyObject
*swig_obj
[1] ;
13754 if (!args
) SWIG_fail
;
13755 swig_obj
[0] = args
;
13756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13757 if (!SWIG_IsOK(res1
)) {
13758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetPid" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13760 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13763 result
= (int)(arg1
)->GetPid();
13764 wxPyEndAllowThreads(__tstate
);
13765 if (PyErr_Occurred()) SWIG_fail
;
13767 resultobj
= SWIG_From_int(static_cast< int >(result
));
13774 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13775 PyObject
*resultobj
= 0;
13776 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13780 PyObject
*swig_obj
[1] ;
13782 if (!args
) SWIG_fail
;
13783 swig_obj
[0] = args
;
13784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13785 if (!SWIG_IsOK(res1
)) {
13786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetExitCode" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13788 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13791 result
= (int)(arg1
)->GetExitCode();
13792 wxPyEndAllowThreads(__tstate
);
13793 if (PyErr_Occurred()) SWIG_fail
;
13795 resultobj
= SWIG_From_int(static_cast< int >(result
));
13802 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13803 PyObject
*resultobj
= 0;
13804 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13810 PyObject
*swig_obj
[2] ;
13812 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_pid_set",2,2,swig_obj
)) SWIG_fail
;
13813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13814 if (!SWIG_IsOK(res1
)) {
13815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13817 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13818 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13819 if (!SWIG_IsOK(ecode2
)) {
13820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "2"" of type '" "int""'");
13822 arg2
= static_cast< int >(val2
);
13823 if (arg1
) (arg1
)->m_pid
= arg2
;
13825 resultobj
= SWIG_Py_Void();
13832 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13833 PyObject
*resultobj
= 0;
13834 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13838 PyObject
*swig_obj
[1] ;
13840 if (!args
) SWIG_fail
;
13841 swig_obj
[0] = args
;
13842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13843 if (!SWIG_IsOK(res1
)) {
13844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13846 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13847 result
= (int) ((arg1
)->m_pid
);
13848 resultobj
= SWIG_From_int(static_cast< int >(result
));
13855 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13856 PyObject
*resultobj
= 0;
13857 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13863 PyObject
*swig_obj
[2] ;
13865 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_exitcode_set",2,2,swig_obj
)) SWIG_fail
;
13866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13867 if (!SWIG_IsOK(res1
)) {
13868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13870 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13871 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13872 if (!SWIG_IsOK(ecode2
)) {
13873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "2"" of type '" "int""'");
13875 arg2
= static_cast< int >(val2
);
13876 if (arg1
) (arg1
)->m_exitcode
= arg2
;
13878 resultobj
= SWIG_Py_Void();
13885 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13886 PyObject
*resultobj
= 0;
13887 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13891 PyObject
*swig_obj
[1] ;
13893 if (!args
) SWIG_fail
;
13894 swig_obj
[0] = args
;
13895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13896 if (!SWIG_IsOK(res1
)) {
13897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13899 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13900 result
= (int) ((arg1
)->m_exitcode
);
13901 resultobj
= SWIG_From_int(static_cast< int >(result
));
13908 SWIGINTERN PyObject
*ProcessEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13910 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13911 SWIG_TypeNewClientData(SWIGTYPE_p_wxProcessEvent
, SWIG_NewClientData(obj
));
13912 return SWIG_Py_Void();
13915 SWIGINTERN PyObject
*ProcessEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13916 return SWIG_Python_InitShadowInstance(args
);
13919 SWIGINTERN PyObject
*_wrap_Execute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13920 PyObject
*resultobj
= 0;
13921 wxString
*arg1
= 0 ;
13922 int arg2
= (int) wxEXEC_ASYNC
;
13923 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
13925 bool temp1
= false ;
13930 PyObject
* obj0
= 0 ;
13931 PyObject
* obj1
= 0 ;
13932 PyObject
* obj2
= 0 ;
13933 char * kwnames
[] = {
13934 (char *) "command",(char *) "flags",(char *) "process", NULL
13937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13939 arg1
= wxString_in_helper(obj0
);
13940 if (arg1
== NULL
) SWIG_fail
;
13944 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13945 if (!SWIG_IsOK(ecode2
)) {
13946 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Execute" "', expected argument " "2"" of type '" "int""'");
13948 arg2
= static_cast< int >(val2
);
13951 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13952 if (!SWIG_IsOK(res3
)) {
13953 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Execute" "', expected argument " "3"" of type '" "wxPyProcess *""'");
13955 arg3
= reinterpret_cast< wxPyProcess
* >(argp3
);
13958 if (!wxPyCheckForApp()) SWIG_fail
;
13959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13960 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
13961 wxPyEndAllowThreads(__tstate
);
13962 if (PyErr_Occurred()) SWIG_fail
;
13964 resultobj
= SWIG_From_long(static_cast< long >(result
));
13979 SWIGINTERN PyObject
*_wrap_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13980 PyObject
*resultobj
= 0;
13982 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
13983 wxKillError
*arg3
= (wxKillError
*) 0 ;
13984 int arg4
= (int) wxKILL_NOCHILDREN
;
13990 wxKillError temp3
;
13993 PyObject
* obj0
= 0 ;
13994 PyObject
* obj1
= 0 ;
13995 PyObject
* obj2
= 0 ;
13996 char * kwnames
[] = {
13997 (char *) "pid",(char *) "sig",(char *) "flags", NULL
14003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14004 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
14005 if (!SWIG_IsOK(ecode1
)) {
14006 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Kill" "', expected argument " "1"" of type '" "long""'");
14008 arg1
= static_cast< long >(val1
);
14010 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14011 if (!SWIG_IsOK(ecode2
)) {
14012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Kill" "', expected argument " "2"" of type '" "wxSignal""'");
14014 arg2
= static_cast< wxSignal
>(val2
);
14017 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
14018 if (!SWIG_IsOK(ecode4
)) {
14019 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Kill" "', expected argument " "4"" of type '" "int""'");
14021 arg4
= static_cast< int >(val4
);
14024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14025 result
= (int)wxKill(arg1
,arg2
,arg3
,arg4
);
14026 wxPyEndAllowThreads(__tstate
);
14027 if (PyErr_Occurred()) SWIG_fail
;
14029 resultobj
= SWIG_From_int(static_cast< int >(result
));
14032 o
= PyInt_FromLong((long) (*arg3
));
14036 resultobj
= SWIG_Python_AppendOutput(resultobj
, o
);
14045 SWIGINTERN PyObject
*_wrap_new_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14046 PyObject
*resultobj
= 0;
14047 int arg1
= (int) wxJOYSTICK1
;
14048 wxJoystick
*result
= 0 ;
14051 PyObject
* obj0
= 0 ;
14052 char * kwnames
[] = {
14053 (char *) "joystick", NULL
14056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) SWIG_fail
;
14058 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14059 if (!SWIG_IsOK(ecode1
)) {
14060 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Joystick" "', expected argument " "1"" of type '" "int""'");
14062 arg1
= static_cast< int >(val1
);
14065 if (!wxPyCheckForApp()) SWIG_fail
;
14066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14067 result
= (wxJoystick
*)new wxJoystick(arg1
);
14068 wxPyEndAllowThreads(__tstate
);
14069 if (PyErr_Occurred()) SWIG_fail
;
14071 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystick
, SWIG_POINTER_NEW
| 0 );
14078 SWIGINTERN PyObject
*_wrap_delete_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14079 PyObject
*resultobj
= 0;
14080 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14083 PyObject
*swig_obj
[1] ;
14085 if (!args
) SWIG_fail
;
14086 swig_obj
[0] = args
;
14087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, SWIG_POINTER_DISOWN
| 0 );
14088 if (!SWIG_IsOK(res1
)) {
14089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Joystick" "', expected argument " "1"" of type '" "wxJoystick *""'");
14091 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14096 wxPyEndAllowThreads(__tstate
);
14097 if (PyErr_Occurred()) SWIG_fail
;
14099 resultobj
= SWIG_Py_Void();
14106 SWIGINTERN PyObject
*_wrap_Joystick_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14107 PyObject
*resultobj
= 0;
14108 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14112 PyObject
*swig_obj
[1] ;
14114 if (!args
) SWIG_fail
;
14115 swig_obj
[0] = args
;
14116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14117 if (!SWIG_IsOK(res1
)) {
14118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14120 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14123 result
= (arg1
)->GetPosition();
14124 wxPyEndAllowThreads(__tstate
);
14125 if (PyErr_Occurred()) SWIG_fail
;
14127 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14134 SWIGINTERN PyObject
*_wrap_Joystick_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14135 PyObject
*resultobj
= 0;
14136 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14140 PyObject
*swig_obj
[1] ;
14142 if (!args
) SWIG_fail
;
14143 swig_obj
[0] = args
;
14144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14145 if (!SWIG_IsOK(res1
)) {
14146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14148 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14151 result
= (int)(arg1
)->GetZPosition();
14152 wxPyEndAllowThreads(__tstate
);
14153 if (PyErr_Occurred()) SWIG_fail
;
14155 resultobj
= SWIG_From_int(static_cast< int >(result
));
14162 SWIGINTERN PyObject
*_wrap_Joystick_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14163 PyObject
*resultobj
= 0;
14164 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14168 PyObject
*swig_obj
[1] ;
14170 if (!args
) SWIG_fail
;
14171 swig_obj
[0] = args
;
14172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14173 if (!SWIG_IsOK(res1
)) {
14174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetButtonState" "', expected argument " "1"" of type '" "wxJoystick *""'");
14176 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14179 result
= (int)(arg1
)->GetButtonState();
14180 wxPyEndAllowThreads(__tstate
);
14181 if (PyErr_Occurred()) SWIG_fail
;
14183 resultobj
= SWIG_From_int(static_cast< int >(result
));
14190 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14191 PyObject
*resultobj
= 0;
14192 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14196 PyObject
*swig_obj
[1] ;
14198 if (!args
) SWIG_fail
;
14199 swig_obj
[0] = args
;
14200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14201 if (!SWIG_IsOK(res1
)) {
14202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14204 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14207 result
= (int)(arg1
)->GetPOVPosition();
14208 wxPyEndAllowThreads(__tstate
);
14209 if (PyErr_Occurred()) SWIG_fail
;
14211 resultobj
= SWIG_From_int(static_cast< int >(result
));
14218 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14219 PyObject
*resultobj
= 0;
14220 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14224 PyObject
*swig_obj
[1] ;
14226 if (!args
) SWIG_fail
;
14227 swig_obj
[0] = args
;
14228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14229 if (!SWIG_IsOK(res1
)) {
14230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVCTSPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14232 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14235 result
= (int)(arg1
)->GetPOVCTSPosition();
14236 wxPyEndAllowThreads(__tstate
);
14237 if (PyErr_Occurred()) SWIG_fail
;
14239 resultobj
= SWIG_From_int(static_cast< int >(result
));
14246 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14247 PyObject
*resultobj
= 0;
14248 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14252 PyObject
*swig_obj
[1] ;
14254 if (!args
) SWIG_fail
;
14255 swig_obj
[0] = args
;
14256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14257 if (!SWIG_IsOK(res1
)) {
14258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14260 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14263 result
= (int)(arg1
)->GetRudderPosition();
14264 wxPyEndAllowThreads(__tstate
);
14265 if (PyErr_Occurred()) SWIG_fail
;
14267 resultobj
= SWIG_From_int(static_cast< int >(result
));
14274 SWIGINTERN PyObject
*_wrap_Joystick_GetUPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14275 PyObject
*resultobj
= 0;
14276 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14280 PyObject
*swig_obj
[1] ;
14282 if (!args
) SWIG_fail
;
14283 swig_obj
[0] = args
;
14284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14285 if (!SWIG_IsOK(res1
)) {
14286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14288 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14291 result
= (int)(arg1
)->GetUPosition();
14292 wxPyEndAllowThreads(__tstate
);
14293 if (PyErr_Occurred()) SWIG_fail
;
14295 resultobj
= SWIG_From_int(static_cast< int >(result
));
14302 SWIGINTERN PyObject
*_wrap_Joystick_GetVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14303 PyObject
*resultobj
= 0;
14304 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14308 PyObject
*swig_obj
[1] ;
14310 if (!args
) SWIG_fail
;
14311 swig_obj
[0] = args
;
14312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14313 if (!SWIG_IsOK(res1
)) {
14314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14316 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14319 result
= (int)(arg1
)->GetVPosition();
14320 wxPyEndAllowThreads(__tstate
);
14321 if (PyErr_Occurred()) SWIG_fail
;
14323 resultobj
= SWIG_From_int(static_cast< int >(result
));
14330 SWIGINTERN PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14331 PyObject
*resultobj
= 0;
14332 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14336 PyObject
*swig_obj
[1] ;
14338 if (!args
) SWIG_fail
;
14339 swig_obj
[0] = args
;
14340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14341 if (!SWIG_IsOK(res1
)) {
14342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
14344 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14347 result
= (int)(arg1
)->GetMovementThreshold();
14348 wxPyEndAllowThreads(__tstate
);
14349 if (PyErr_Occurred()) SWIG_fail
;
14351 resultobj
= SWIG_From_int(static_cast< int >(result
));
14358 SWIGINTERN PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14359 PyObject
*resultobj
= 0;
14360 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14366 PyObject
* obj0
= 0 ;
14367 PyObject
* obj1
= 0 ;
14368 char * kwnames
[] = {
14369 (char *) "self",(char *) "threshold", NULL
14372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14374 if (!SWIG_IsOK(res1
)) {
14375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
14377 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14378 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14379 if (!SWIG_IsOK(ecode2
)) {
14380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "2"" of type '" "int""'");
14382 arg2
= static_cast< int >(val2
);
14384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14385 (arg1
)->SetMovementThreshold(arg2
);
14386 wxPyEndAllowThreads(__tstate
);
14387 if (PyErr_Occurred()) SWIG_fail
;
14389 resultobj
= SWIG_Py_Void();
14396 SWIGINTERN PyObject
*_wrap_Joystick_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14397 PyObject
*resultobj
= 0;
14398 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14402 PyObject
*swig_obj
[1] ;
14404 if (!args
) SWIG_fail
;
14405 swig_obj
[0] = args
;
14406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14407 if (!SWIG_IsOK(res1
)) {
14408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_IsOk" "', expected argument " "1"" of type '" "wxJoystick *""'");
14410 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14413 result
= (bool)(arg1
)->IsOk();
14414 wxPyEndAllowThreads(__tstate
);
14415 if (PyErr_Occurred()) SWIG_fail
;
14418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14426 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14427 PyObject
*resultobj
= 0;
14428 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14432 PyObject
*swig_obj
[1] ;
14434 if (!args
) SWIG_fail
;
14435 swig_obj
[0] = args
;
14436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14437 if (!SWIG_IsOK(res1
)) {
14438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberJoysticks" "', expected argument " "1"" of type '" "wxJoystick *""'");
14440 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14443 result
= (int)(arg1
)->GetNumberJoysticks();
14444 wxPyEndAllowThreads(__tstate
);
14445 if (PyErr_Occurred()) SWIG_fail
;
14447 resultobj
= SWIG_From_int(static_cast< int >(result
));
14454 SWIGINTERN PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14455 PyObject
*resultobj
= 0;
14456 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14460 PyObject
*swig_obj
[1] ;
14462 if (!args
) SWIG_fail
;
14463 swig_obj
[0] = args
;
14464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14465 if (!SWIG_IsOK(res1
)) {
14466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetManufacturerId" "', expected argument " "1"" of type '" "wxJoystick *""'");
14468 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14471 result
= (int)(arg1
)->GetManufacturerId();
14472 wxPyEndAllowThreads(__tstate
);
14473 if (PyErr_Occurred()) SWIG_fail
;
14475 resultobj
= SWIG_From_int(static_cast< int >(result
));
14482 SWIGINTERN PyObject
*_wrap_Joystick_GetProductId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14483 PyObject
*resultobj
= 0;
14484 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14488 PyObject
*swig_obj
[1] ;
14490 if (!args
) SWIG_fail
;
14491 swig_obj
[0] = args
;
14492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14493 if (!SWIG_IsOK(res1
)) {
14494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductId" "', expected argument " "1"" of type '" "wxJoystick *""'");
14496 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14499 result
= (int)(arg1
)->GetProductId();
14500 wxPyEndAllowThreads(__tstate
);
14501 if (PyErr_Occurred()) SWIG_fail
;
14503 resultobj
= SWIG_From_int(static_cast< int >(result
));
14510 SWIGINTERN PyObject
*_wrap_Joystick_GetProductName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14511 PyObject
*resultobj
= 0;
14512 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14516 PyObject
*swig_obj
[1] ;
14518 if (!args
) SWIG_fail
;
14519 swig_obj
[0] = args
;
14520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14521 if (!SWIG_IsOK(res1
)) {
14522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductName" "', expected argument " "1"" of type '" "wxJoystick *""'");
14524 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14527 result
= (arg1
)->GetProductName();
14528 wxPyEndAllowThreads(__tstate
);
14529 if (PyErr_Occurred()) SWIG_fail
;
14533 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14535 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14544 SWIGINTERN PyObject
*_wrap_Joystick_GetXMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14545 PyObject
*resultobj
= 0;
14546 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14550 PyObject
*swig_obj
[1] ;
14552 if (!args
) SWIG_fail
;
14553 swig_obj
[0] = args
;
14554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14555 if (!SWIG_IsOK(res1
)) {
14556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14558 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14561 result
= (int)(arg1
)->GetXMin();
14562 wxPyEndAllowThreads(__tstate
);
14563 if (PyErr_Occurred()) SWIG_fail
;
14565 resultobj
= SWIG_From_int(static_cast< int >(result
));
14572 SWIGINTERN PyObject
*_wrap_Joystick_GetYMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14573 PyObject
*resultobj
= 0;
14574 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14578 PyObject
*swig_obj
[1] ;
14580 if (!args
) SWIG_fail
;
14581 swig_obj
[0] = args
;
14582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14583 if (!SWIG_IsOK(res1
)) {
14584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14586 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14589 result
= (int)(arg1
)->GetYMin();
14590 wxPyEndAllowThreads(__tstate
);
14591 if (PyErr_Occurred()) SWIG_fail
;
14593 resultobj
= SWIG_From_int(static_cast< int >(result
));
14600 SWIGINTERN PyObject
*_wrap_Joystick_GetZMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14601 PyObject
*resultobj
= 0;
14602 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14606 PyObject
*swig_obj
[1] ;
14608 if (!args
) SWIG_fail
;
14609 swig_obj
[0] = args
;
14610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14611 if (!SWIG_IsOK(res1
)) {
14612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14614 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14617 result
= (int)(arg1
)->GetZMin();
14618 wxPyEndAllowThreads(__tstate
);
14619 if (PyErr_Occurred()) SWIG_fail
;
14621 resultobj
= SWIG_From_int(static_cast< int >(result
));
14628 SWIGINTERN PyObject
*_wrap_Joystick_GetXMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14629 PyObject
*resultobj
= 0;
14630 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14634 PyObject
*swig_obj
[1] ;
14636 if (!args
) SWIG_fail
;
14637 swig_obj
[0] = args
;
14638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14639 if (!SWIG_IsOK(res1
)) {
14640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14642 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14645 result
= (int)(arg1
)->GetXMax();
14646 wxPyEndAllowThreads(__tstate
);
14647 if (PyErr_Occurred()) SWIG_fail
;
14649 resultobj
= SWIG_From_int(static_cast< int >(result
));
14656 SWIGINTERN PyObject
*_wrap_Joystick_GetYMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14657 PyObject
*resultobj
= 0;
14658 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14662 PyObject
*swig_obj
[1] ;
14664 if (!args
) SWIG_fail
;
14665 swig_obj
[0] = args
;
14666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14667 if (!SWIG_IsOK(res1
)) {
14668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14670 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14673 result
= (int)(arg1
)->GetYMax();
14674 wxPyEndAllowThreads(__tstate
);
14675 if (PyErr_Occurred()) SWIG_fail
;
14677 resultobj
= SWIG_From_int(static_cast< int >(result
));
14684 SWIGINTERN PyObject
*_wrap_Joystick_GetZMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14685 PyObject
*resultobj
= 0;
14686 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14690 PyObject
*swig_obj
[1] ;
14692 if (!args
) SWIG_fail
;
14693 swig_obj
[0] = args
;
14694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14695 if (!SWIG_IsOK(res1
)) {
14696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14698 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14701 result
= (int)(arg1
)->GetZMax();
14702 wxPyEndAllowThreads(__tstate
);
14703 if (PyErr_Occurred()) SWIG_fail
;
14705 resultobj
= SWIG_From_int(static_cast< int >(result
));
14712 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14713 PyObject
*resultobj
= 0;
14714 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14718 PyObject
*swig_obj
[1] ;
14720 if (!args
) SWIG_fail
;
14721 swig_obj
[0] = args
;
14722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14723 if (!SWIG_IsOK(res1
)) {
14724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
14726 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14729 result
= (int)(arg1
)->GetNumberButtons();
14730 wxPyEndAllowThreads(__tstate
);
14731 if (PyErr_Occurred()) SWIG_fail
;
14733 resultobj
= SWIG_From_int(static_cast< int >(result
));
14740 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14741 PyObject
*resultobj
= 0;
14742 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14746 PyObject
*swig_obj
[1] ;
14748 if (!args
) SWIG_fail
;
14749 swig_obj
[0] = args
;
14750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14751 if (!SWIG_IsOK(res1
)) {
14752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
14754 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14757 result
= (int)(arg1
)->GetNumberAxes();
14758 wxPyEndAllowThreads(__tstate
);
14759 if (PyErr_Occurred()) SWIG_fail
;
14761 resultobj
= SWIG_From_int(static_cast< int >(result
));
14768 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14769 PyObject
*resultobj
= 0;
14770 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14774 PyObject
*swig_obj
[1] ;
14776 if (!args
) SWIG_fail
;
14777 swig_obj
[0] = args
;
14778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14779 if (!SWIG_IsOK(res1
)) {
14780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
14782 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14785 result
= (int)(arg1
)->GetMaxButtons();
14786 wxPyEndAllowThreads(__tstate
);
14787 if (PyErr_Occurred()) SWIG_fail
;
14789 resultobj
= SWIG_From_int(static_cast< int >(result
));
14796 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14797 PyObject
*resultobj
= 0;
14798 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14802 PyObject
*swig_obj
[1] ;
14804 if (!args
) SWIG_fail
;
14805 swig_obj
[0] = args
;
14806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14807 if (!SWIG_IsOK(res1
)) {
14808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
14810 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14813 result
= (int)(arg1
)->GetMaxAxes();
14814 wxPyEndAllowThreads(__tstate
);
14815 if (PyErr_Occurred()) SWIG_fail
;
14817 resultobj
= SWIG_From_int(static_cast< int >(result
));
14824 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14825 PyObject
*resultobj
= 0;
14826 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14830 PyObject
*swig_obj
[1] ;
14832 if (!args
) SWIG_fail
;
14833 swig_obj
[0] = args
;
14834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14835 if (!SWIG_IsOK(res1
)) {
14836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14838 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14841 result
= (int)(arg1
)->GetPollingMin();
14842 wxPyEndAllowThreads(__tstate
);
14843 if (PyErr_Occurred()) SWIG_fail
;
14845 resultobj
= SWIG_From_int(static_cast< int >(result
));
14852 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14853 PyObject
*resultobj
= 0;
14854 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14858 PyObject
*swig_obj
[1] ;
14860 if (!args
) SWIG_fail
;
14861 swig_obj
[0] = args
;
14862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14863 if (!SWIG_IsOK(res1
)) {
14864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14866 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14869 result
= (int)(arg1
)->GetPollingMax();
14870 wxPyEndAllowThreads(__tstate
);
14871 if (PyErr_Occurred()) SWIG_fail
;
14873 resultobj
= SWIG_From_int(static_cast< int >(result
));
14880 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14881 PyObject
*resultobj
= 0;
14882 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14886 PyObject
*swig_obj
[1] ;
14888 if (!args
) SWIG_fail
;
14889 swig_obj
[0] = args
;
14890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14891 if (!SWIG_IsOK(res1
)) {
14892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14894 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14897 result
= (int)(arg1
)->GetRudderMin();
14898 wxPyEndAllowThreads(__tstate
);
14899 if (PyErr_Occurred()) SWIG_fail
;
14901 resultobj
= SWIG_From_int(static_cast< int >(result
));
14908 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14909 PyObject
*resultobj
= 0;
14910 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14914 PyObject
*swig_obj
[1] ;
14916 if (!args
) SWIG_fail
;
14917 swig_obj
[0] = args
;
14918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14919 if (!SWIG_IsOK(res1
)) {
14920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14922 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14925 result
= (int)(arg1
)->GetRudderMax();
14926 wxPyEndAllowThreads(__tstate
);
14927 if (PyErr_Occurred()) SWIG_fail
;
14929 resultobj
= SWIG_From_int(static_cast< int >(result
));
14936 SWIGINTERN PyObject
*_wrap_Joystick_GetUMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14937 PyObject
*resultobj
= 0;
14938 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14942 PyObject
*swig_obj
[1] ;
14944 if (!args
) SWIG_fail
;
14945 swig_obj
[0] = args
;
14946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14947 if (!SWIG_IsOK(res1
)) {
14948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14950 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14953 result
= (int)(arg1
)->GetUMin();
14954 wxPyEndAllowThreads(__tstate
);
14955 if (PyErr_Occurred()) SWIG_fail
;
14957 resultobj
= SWIG_From_int(static_cast< int >(result
));
14964 SWIGINTERN PyObject
*_wrap_Joystick_GetUMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14965 PyObject
*resultobj
= 0;
14966 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14970 PyObject
*swig_obj
[1] ;
14972 if (!args
) SWIG_fail
;
14973 swig_obj
[0] = args
;
14974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14975 if (!SWIG_IsOK(res1
)) {
14976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14978 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14981 result
= (int)(arg1
)->GetUMax();
14982 wxPyEndAllowThreads(__tstate
);
14983 if (PyErr_Occurred()) SWIG_fail
;
14985 resultobj
= SWIG_From_int(static_cast< int >(result
));
14992 SWIGINTERN PyObject
*_wrap_Joystick_GetVMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14993 PyObject
*resultobj
= 0;
14994 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14998 PyObject
*swig_obj
[1] ;
15000 if (!args
) SWIG_fail
;
15001 swig_obj
[0] = args
;
15002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15003 if (!SWIG_IsOK(res1
)) {
15004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15006 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15009 result
= (int)(arg1
)->GetVMin();
15010 wxPyEndAllowThreads(__tstate
);
15011 if (PyErr_Occurred()) SWIG_fail
;
15013 resultobj
= SWIG_From_int(static_cast< int >(result
));
15020 SWIGINTERN PyObject
*_wrap_Joystick_GetVMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15021 PyObject
*resultobj
= 0;
15022 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15026 PyObject
*swig_obj
[1] ;
15028 if (!args
) SWIG_fail
;
15029 swig_obj
[0] = args
;
15030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15031 if (!SWIG_IsOK(res1
)) {
15032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15034 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15037 result
= (int)(arg1
)->GetVMax();
15038 wxPyEndAllowThreads(__tstate
);
15039 if (PyErr_Occurred()) SWIG_fail
;
15041 resultobj
= SWIG_From_int(static_cast< int >(result
));
15048 SWIGINTERN PyObject
*_wrap_Joystick_HasRudder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15049 PyObject
*resultobj
= 0;
15050 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15054 PyObject
*swig_obj
[1] ;
15056 if (!args
) SWIG_fail
;
15057 swig_obj
[0] = args
;
15058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15059 if (!SWIG_IsOK(res1
)) {
15060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasRudder" "', expected argument " "1"" of type '" "wxJoystick *""'");
15062 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15065 result
= (bool)(arg1
)->HasRudder();
15066 wxPyEndAllowThreads(__tstate
);
15067 if (PyErr_Occurred()) SWIG_fail
;
15070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15078 SWIGINTERN PyObject
*_wrap_Joystick_HasZ(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15079 PyObject
*resultobj
= 0;
15080 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15084 PyObject
*swig_obj
[1] ;
15086 if (!args
) SWIG_fail
;
15087 swig_obj
[0] = args
;
15088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15089 if (!SWIG_IsOK(res1
)) {
15090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasZ" "', expected argument " "1"" of type '" "wxJoystick *""'");
15092 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15095 result
= (bool)(arg1
)->HasZ();
15096 wxPyEndAllowThreads(__tstate
);
15097 if (PyErr_Occurred()) SWIG_fail
;
15100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15108 SWIGINTERN PyObject
*_wrap_Joystick_HasU(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15109 PyObject
*resultobj
= 0;
15110 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15114 PyObject
*swig_obj
[1] ;
15116 if (!args
) SWIG_fail
;
15117 swig_obj
[0] = args
;
15118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15119 if (!SWIG_IsOK(res1
)) {
15120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasU" "', expected argument " "1"" of type '" "wxJoystick *""'");
15122 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15125 result
= (bool)(arg1
)->HasU();
15126 wxPyEndAllowThreads(__tstate
);
15127 if (PyErr_Occurred()) SWIG_fail
;
15130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15138 SWIGINTERN PyObject
*_wrap_Joystick_HasV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15139 PyObject
*resultobj
= 0;
15140 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15144 PyObject
*swig_obj
[1] ;
15146 if (!args
) SWIG_fail
;
15147 swig_obj
[0] = args
;
15148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15149 if (!SWIG_IsOK(res1
)) {
15150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasV" "', expected argument " "1"" of type '" "wxJoystick *""'");
15152 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15155 result
= (bool)(arg1
)->HasV();
15156 wxPyEndAllowThreads(__tstate
);
15157 if (PyErr_Occurred()) SWIG_fail
;
15160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15168 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15169 PyObject
*resultobj
= 0;
15170 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15174 PyObject
*swig_obj
[1] ;
15176 if (!args
) SWIG_fail
;
15177 swig_obj
[0] = args
;
15178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15179 if (!SWIG_IsOK(res1
)) {
15180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV" "', expected argument " "1"" of type '" "wxJoystick *""'");
15182 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15185 result
= (bool)(arg1
)->HasPOV();
15186 wxPyEndAllowThreads(__tstate
);
15187 if (PyErr_Occurred()) SWIG_fail
;
15190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15198 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15199 PyObject
*resultobj
= 0;
15200 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15204 PyObject
*swig_obj
[1] ;
15206 if (!args
) SWIG_fail
;
15207 swig_obj
[0] = args
;
15208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15209 if (!SWIG_IsOK(res1
)) {
15210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV4Dir" "', expected argument " "1"" of type '" "wxJoystick *""'");
15212 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15215 result
= (bool)(arg1
)->HasPOV4Dir();
15216 wxPyEndAllowThreads(__tstate
);
15217 if (PyErr_Occurred()) SWIG_fail
;
15220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15228 SWIGINTERN PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15229 PyObject
*resultobj
= 0;
15230 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15234 PyObject
*swig_obj
[1] ;
15236 if (!args
) SWIG_fail
;
15237 swig_obj
[0] = args
;
15238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15239 if (!SWIG_IsOK(res1
)) {
15240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOVCTS" "', expected argument " "1"" of type '" "wxJoystick *""'");
15242 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15245 result
= (bool)(arg1
)->HasPOVCTS();
15246 wxPyEndAllowThreads(__tstate
);
15247 if (PyErr_Occurred()) SWIG_fail
;
15250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15258 SWIGINTERN PyObject
*_wrap_Joystick_SetCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15259 PyObject
*resultobj
= 0;
15260 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15261 wxWindow
*arg2
= (wxWindow
*) 0 ;
15262 int arg3
= (int) 0 ;
15270 PyObject
* obj0
= 0 ;
15271 PyObject
* obj1
= 0 ;
15272 PyObject
* obj2
= 0 ;
15273 char * kwnames
[] = {
15274 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
15277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15279 if (!SWIG_IsOK(res1
)) {
15280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
15282 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15283 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15284 if (!SWIG_IsOK(res2
)) {
15285 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Joystick_SetCapture" "', expected argument " "2"" of type '" "wxWindow *""'");
15287 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15289 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15290 if (!SWIG_IsOK(ecode3
)) {
15291 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Joystick_SetCapture" "', expected argument " "3"" of type '" "int""'");
15293 arg3
= static_cast< int >(val3
);
15296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15297 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
15298 wxPyEndAllowThreads(__tstate
);
15299 if (PyErr_Occurred()) SWIG_fail
;
15302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15310 SWIGINTERN PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15311 PyObject
*resultobj
= 0;
15312 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15316 PyObject
*swig_obj
[1] ;
15318 if (!args
) SWIG_fail
;
15319 swig_obj
[0] = args
;
15320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15321 if (!SWIG_IsOK(res1
)) {
15322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_ReleaseCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
15324 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15327 result
= (bool)(arg1
)->ReleaseCapture();
15328 wxPyEndAllowThreads(__tstate
);
15329 if (PyErr_Occurred()) SWIG_fail
;
15332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15340 SWIGINTERN PyObject
*Joystick_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15342 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15343 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystick
, SWIG_NewClientData(obj
));
15344 return SWIG_Py_Void();
15347 SWIGINTERN PyObject
*Joystick_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15348 return SWIG_Python_InitShadowInstance(args
);
15351 SWIGINTERN PyObject
*_wrap_new_JoystickEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15352 PyObject
*resultobj
= 0;
15353 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15354 int arg2
= (int) 0 ;
15355 int arg3
= (int) wxJOYSTICK1
;
15356 int arg4
= (int) 0 ;
15357 wxJoystickEvent
*result
= 0 ;
15366 PyObject
* obj0
= 0 ;
15367 PyObject
* obj1
= 0 ;
15368 PyObject
* obj2
= 0 ;
15369 PyObject
* obj3
= 0 ;
15370 char * kwnames
[] = {
15371 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
15374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15376 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15377 if (!SWIG_IsOK(ecode1
)) {
15378 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_JoystickEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15380 arg1
= static_cast< wxEventType
>(val1
);
15383 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15384 if (!SWIG_IsOK(ecode2
)) {
15385 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_JoystickEvent" "', expected argument " "2"" of type '" "int""'");
15387 arg2
= static_cast< int >(val2
);
15390 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15391 if (!SWIG_IsOK(ecode3
)) {
15392 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_JoystickEvent" "', expected argument " "3"" of type '" "int""'");
15394 arg3
= static_cast< int >(val3
);
15397 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15398 if (!SWIG_IsOK(ecode4
)) {
15399 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_JoystickEvent" "', expected argument " "4"" of type '" "int""'");
15401 arg4
= static_cast< int >(val4
);
15404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15405 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
15406 wxPyEndAllowThreads(__tstate
);
15407 if (PyErr_Occurred()) SWIG_fail
;
15409 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_NEW
| 0 );
15416 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15417 PyObject
*resultobj
= 0;
15418 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15422 PyObject
*swig_obj
[1] ;
15424 if (!args
) SWIG_fail
;
15425 swig_obj
[0] = args
;
15426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15427 if (!SWIG_IsOK(res1
)) {
15428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15430 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15433 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
15434 wxPyEndAllowThreads(__tstate
);
15435 if (PyErr_Occurred()) SWIG_fail
;
15437 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
15444 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15445 PyObject
*resultobj
= 0;
15446 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15450 PyObject
*swig_obj
[1] ;
15452 if (!args
) SWIG_fail
;
15453 swig_obj
[0] = args
;
15454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15455 if (!SWIG_IsOK(res1
)) {
15456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15458 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15461 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
15462 wxPyEndAllowThreads(__tstate
);
15463 if (PyErr_Occurred()) SWIG_fail
;
15465 resultobj
= SWIG_From_int(static_cast< int >(result
));
15472 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15473 PyObject
*resultobj
= 0;
15474 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15478 PyObject
*swig_obj
[1] ;
15480 if (!args
) SWIG_fail
;
15481 swig_obj
[0] = args
;
15482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15483 if (!SWIG_IsOK(res1
)) {
15484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15486 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15489 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
15490 wxPyEndAllowThreads(__tstate
);
15491 if (PyErr_Occurred()) SWIG_fail
;
15493 resultobj
= SWIG_From_int(static_cast< int >(result
));
15500 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15501 PyObject
*resultobj
= 0;
15502 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15506 PyObject
*swig_obj
[1] ;
15508 if (!args
) SWIG_fail
;
15509 swig_obj
[0] = args
;
15510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15511 if (!SWIG_IsOK(res1
)) {
15512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15514 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15517 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
15518 wxPyEndAllowThreads(__tstate
);
15519 if (PyErr_Occurred()) SWIG_fail
;
15521 resultobj
= SWIG_From_int(static_cast< int >(result
));
15528 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15529 PyObject
*resultobj
= 0;
15530 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15534 PyObject
*swig_obj
[1] ;
15536 if (!args
) SWIG_fail
;
15537 swig_obj
[0] = args
;
15538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15539 if (!SWIG_IsOK(res1
)) {
15540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15542 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15545 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
15546 wxPyEndAllowThreads(__tstate
);
15547 if (PyErr_Occurred()) SWIG_fail
;
15549 resultobj
= SWIG_From_int(static_cast< int >(result
));
15556 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15557 PyObject
*resultobj
= 0;
15558 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15564 PyObject
* obj0
= 0 ;
15565 PyObject
* obj1
= 0 ;
15566 char * kwnames
[] = {
15567 (char *) "self",(char *) "stick", NULL
15570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15572 if (!SWIG_IsOK(res1
)) {
15573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15575 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15576 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15577 if (!SWIG_IsOK(ecode2
)) {
15578 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "2"" of type '" "int""'");
15580 arg2
= static_cast< int >(val2
);
15582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15583 (arg1
)->SetJoystick(arg2
);
15584 wxPyEndAllowThreads(__tstate
);
15585 if (PyErr_Occurred()) SWIG_fail
;
15587 resultobj
= SWIG_Py_Void();
15594 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15595 PyObject
*resultobj
= 0;
15596 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15602 PyObject
* obj0
= 0 ;
15603 PyObject
* obj1
= 0 ;
15604 char * kwnames
[] = {
15605 (char *) "self",(char *) "state", NULL
15608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15610 if (!SWIG_IsOK(res1
)) {
15611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15613 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15614 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15615 if (!SWIG_IsOK(ecode2
)) {
15616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "2"" of type '" "int""'");
15618 arg2
= static_cast< int >(val2
);
15620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15621 (arg1
)->SetButtonState(arg2
);
15622 wxPyEndAllowThreads(__tstate
);
15623 if (PyErr_Occurred()) SWIG_fail
;
15625 resultobj
= SWIG_Py_Void();
15632 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15633 PyObject
*resultobj
= 0;
15634 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15640 PyObject
* obj0
= 0 ;
15641 PyObject
* obj1
= 0 ;
15642 char * kwnames
[] = {
15643 (char *) "self",(char *) "change", NULL
15646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15648 if (!SWIG_IsOK(res1
)) {
15649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15651 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15652 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15653 if (!SWIG_IsOK(ecode2
)) {
15654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "2"" of type '" "int""'");
15656 arg2
= static_cast< int >(val2
);
15658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15659 (arg1
)->SetButtonChange(arg2
);
15660 wxPyEndAllowThreads(__tstate
);
15661 if (PyErr_Occurred()) SWIG_fail
;
15663 resultobj
= SWIG_Py_Void();
15670 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15671 PyObject
*resultobj
= 0;
15672 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15673 wxPoint
*arg2
= 0 ;
15677 PyObject
* obj0
= 0 ;
15678 PyObject
* obj1
= 0 ;
15679 char * kwnames
[] = {
15680 (char *) "self",(char *) "pos", NULL
15683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15685 if (!SWIG_IsOK(res1
)) {
15686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15688 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15691 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15695 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
15696 wxPyEndAllowThreads(__tstate
);
15697 if (PyErr_Occurred()) SWIG_fail
;
15699 resultobj
= SWIG_Py_Void();
15706 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15707 PyObject
*resultobj
= 0;
15708 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15714 PyObject
* obj0
= 0 ;
15715 PyObject
* obj1
= 0 ;
15716 char * kwnames
[] = {
15717 (char *) "self",(char *) "zPos", NULL
15720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15722 if (!SWIG_IsOK(res1
)) {
15723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15725 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15726 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15727 if (!SWIG_IsOK(ecode2
)) {
15728 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "2"" of type '" "int""'");
15730 arg2
= static_cast< int >(val2
);
15732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15733 (arg1
)->SetZPosition(arg2
);
15734 wxPyEndAllowThreads(__tstate
);
15735 if (PyErr_Occurred()) SWIG_fail
;
15737 resultobj
= SWIG_Py_Void();
15744 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15745 PyObject
*resultobj
= 0;
15746 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15750 PyObject
*swig_obj
[1] ;
15752 if (!args
) SWIG_fail
;
15753 swig_obj
[0] = args
;
15754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15755 if (!SWIG_IsOK(res1
)) {
15756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsButton" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15758 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15761 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
15762 wxPyEndAllowThreads(__tstate
);
15763 if (PyErr_Occurred()) SWIG_fail
;
15766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15774 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15775 PyObject
*resultobj
= 0;
15776 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15780 PyObject
*swig_obj
[1] ;
15782 if (!args
) SWIG_fail
;
15783 swig_obj
[0] = args
;
15784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15785 if (!SWIG_IsOK(res1
)) {
15786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15788 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15791 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
15792 wxPyEndAllowThreads(__tstate
);
15793 if (PyErr_Occurred()) SWIG_fail
;
15796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15804 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15805 PyObject
*resultobj
= 0;
15806 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15810 PyObject
*swig_obj
[1] ;
15812 if (!args
) SWIG_fail
;
15813 swig_obj
[0] = args
;
15814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15815 if (!SWIG_IsOK(res1
)) {
15816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsZMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15818 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15821 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
15822 wxPyEndAllowThreads(__tstate
);
15823 if (PyErr_Occurred()) SWIG_fail
;
15826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15834 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15835 PyObject
*resultobj
= 0;
15836 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15837 int arg2
= (int) wxJOY_BUTTON_ANY
;
15843 PyObject
* obj0
= 0 ;
15844 PyObject
* obj1
= 0 ;
15845 char * kwnames
[] = {
15846 (char *) "self",(char *) "but", NULL
15849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15851 if (!SWIG_IsOK(res1
)) {
15852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15854 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15856 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15857 if (!SWIG_IsOK(ecode2
)) {
15858 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "2"" of type '" "int""'");
15860 arg2
= static_cast< int >(val2
);
15863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15864 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
15865 wxPyEndAllowThreads(__tstate
);
15866 if (PyErr_Occurred()) SWIG_fail
;
15869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15877 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15878 PyObject
*resultobj
= 0;
15879 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15880 int arg2
= (int) wxJOY_BUTTON_ANY
;
15886 PyObject
* obj0
= 0 ;
15887 PyObject
* obj1
= 0 ;
15888 char * kwnames
[] = {
15889 (char *) "self",(char *) "but", NULL
15892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15894 if (!SWIG_IsOK(res1
)) {
15895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15897 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15899 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15900 if (!SWIG_IsOK(ecode2
)) {
15901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "2"" of type '" "int""'");
15903 arg2
= static_cast< int >(val2
);
15906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15907 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
15908 wxPyEndAllowThreads(__tstate
);
15909 if (PyErr_Occurred()) SWIG_fail
;
15912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15920 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15921 PyObject
*resultobj
= 0;
15922 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15923 int arg2
= (int) wxJOY_BUTTON_ANY
;
15929 PyObject
* obj0
= 0 ;
15930 PyObject
* obj1
= 0 ;
15931 char * kwnames
[] = {
15932 (char *) "self",(char *) "but", NULL
15935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15937 if (!SWIG_IsOK(res1
)) {
15938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15940 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15942 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15943 if (!SWIG_IsOK(ecode2
)) {
15944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "2"" of type '" "int""'");
15946 arg2
= static_cast< int >(val2
);
15949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15950 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
15951 wxPyEndAllowThreads(__tstate
);
15952 if (PyErr_Occurred()) SWIG_fail
;
15955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15963 SWIGINTERN PyObject
*JoystickEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15965 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15966 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystickEvent
, SWIG_NewClientData(obj
));
15967 return SWIG_Py_Void();
15970 SWIGINTERN PyObject
*JoystickEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15971 return SWIG_Python_InitShadowInstance(args
);
15974 SWIGINTERN PyObject
*_wrap_new_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15975 PyObject
*resultobj
= 0;
15976 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15977 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15978 wxSound
*result
= 0 ;
15979 bool temp1
= false ;
15980 PyObject
* obj0
= 0 ;
15981 char * kwnames
[] = {
15982 (char *) "fileName", NULL
15985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) SWIG_fail
;
15988 arg1
= wxString_in_helper(obj0
);
15989 if (arg1
== NULL
) SWIG_fail
;
15994 if (!wxPyCheckForApp()) SWIG_fail
;
15995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15996 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
15997 wxPyEndAllowThreads(__tstate
);
15998 if (PyErr_Occurred()) SWIG_fail
;
16000 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_NEW
| 0 );
16015 SWIGINTERN PyObject
*_wrap_new_SoundFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16016 PyObject
*resultobj
= 0;
16017 PyObject
*arg1
= (PyObject
*) 0 ;
16018 wxSound
*result
= 0 ;
16019 PyObject
* obj0
= 0 ;
16020 char * kwnames
[] = {
16021 (char *) "data", NULL
16024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) SWIG_fail
;
16027 if (!wxPyCheckForApp()) SWIG_fail
;
16028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16029 result
= (wxSound
*)new_wxSound(arg1
);
16030 wxPyEndAllowThreads(__tstate
);
16031 if (PyErr_Occurred()) SWIG_fail
;
16033 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_OWN
| 0 );
16040 SWIGINTERN PyObject
*_wrap_delete_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16041 PyObject
*resultobj
= 0;
16042 wxSound
*arg1
= (wxSound
*) 0 ;
16045 PyObject
*swig_obj
[1] ;
16047 if (!args
) SWIG_fail
;
16048 swig_obj
[0] = args
;
16049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, SWIG_POINTER_DISOWN
| 0 );
16050 if (!SWIG_IsOK(res1
)) {
16051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Sound" "', expected argument " "1"" of type '" "wxSound *""'");
16053 arg1
= reinterpret_cast< wxSound
* >(argp1
);
16055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16058 wxPyEndAllowThreads(__tstate
);
16059 if (PyErr_Occurred()) SWIG_fail
;
16061 resultobj
= SWIG_Py_Void();
16068 SWIGINTERN PyObject
*_wrap_Sound_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16069 PyObject
*resultobj
= 0;
16070 wxSound
*arg1
= (wxSound
*) 0 ;
16071 wxString
*arg2
= 0 ;
16075 bool temp2
= false ;
16076 PyObject
* obj0
= 0 ;
16077 PyObject
* obj1
= 0 ;
16078 char * kwnames
[] = {
16079 (char *) "self",(char *) "fileName", NULL
16082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
16084 if (!SWIG_IsOK(res1
)) {
16085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Create" "', expected argument " "1"" of type '" "wxSound *""'");
16087 arg1
= reinterpret_cast< wxSound
* >(argp1
);
16089 arg2
= wxString_in_helper(obj1
);
16090 if (arg2
== NULL
) SWIG_fail
;
16094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16095 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
16096 wxPyEndAllowThreads(__tstate
);
16097 if (PyErr_Occurred()) SWIG_fail
;
16100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16116 SWIGINTERN PyObject
*_wrap_Sound_CreateFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16117 PyObject
*resultobj
= 0;
16118 wxSound
*arg1
= (wxSound
*) 0 ;
16119 PyObject
*arg2
= (PyObject
*) 0 ;
16123 PyObject
* obj0
= 0 ;
16124 PyObject
* obj1
= 0 ;
16125 char * kwnames
[] = {
16126 (char *) "self",(char *) "data", NULL
16129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
16131 if (!SWIG_IsOK(res1
)) {
16132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_CreateFromData" "', expected argument " "1"" of type '" "wxSound *""'");
16134 arg1
= reinterpret_cast< wxSound
* >(argp1
);
16137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16138 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
16139 wxPyEndAllowThreads(__tstate
);
16140 if (PyErr_Occurred()) SWIG_fail
;
16143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16151 SWIGINTERN PyObject
*_wrap_Sound_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16152 PyObject
*resultobj
= 0;
16153 wxSound
*arg1
= (wxSound
*) 0 ;
16157 PyObject
*swig_obj
[1] ;
16159 if (!args
) SWIG_fail
;
16160 swig_obj
[0] = args
;
16161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
16162 if (!SWIG_IsOK(res1
)) {
16163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_IsOk" "', expected argument " "1"" of type '" "wxSound *""'");
16165 arg1
= reinterpret_cast< wxSound
* >(argp1
);
16167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16168 result
= (bool)(arg1
)->IsOk();
16169 wxPyEndAllowThreads(__tstate
);
16170 if (PyErr_Occurred()) SWIG_fail
;
16173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16181 SWIGINTERN PyObject
*_wrap_Sound_Play(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16182 PyObject
*resultobj
= 0;
16183 wxSound
*arg1
= (wxSound
*) 0 ;
16184 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
16188 unsigned int val2
;
16190 PyObject
* obj0
= 0 ;
16191 PyObject
* obj1
= 0 ;
16192 char * kwnames
[] = {
16193 (char *) "self",(char *) "flags", NULL
16196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
16198 if (!SWIG_IsOK(res1
)) {
16199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Play" "', expected argument " "1"" of type '" "wxSound const *""'");
16201 arg1
= reinterpret_cast< wxSound
* >(argp1
);
16203 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16204 if (!SWIG_IsOK(ecode2
)) {
16205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_Play" "', expected argument " "2"" of type '" "unsigned int""'");
16207 arg2
= static_cast< unsigned int >(val2
);
16210 if (!wxPyCheckForApp()) SWIG_fail
;
16211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16212 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
16213 wxPyEndAllowThreads(__tstate
);
16214 if (PyErr_Occurred()) SWIG_fail
;
16217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16225 SWIGINTERN PyObject
*_wrap_Sound_PlaySound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16226 PyObject
*resultobj
= 0;
16227 wxString
*arg1
= 0 ;
16228 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
16230 bool temp1
= false ;
16231 unsigned int val2
;
16233 PyObject
* obj0
= 0 ;
16234 PyObject
* obj1
= 0 ;
16235 char * kwnames
[] = {
16236 (char *) "filename",(char *) "flags", NULL
16239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16241 arg1
= wxString_in_helper(obj0
);
16242 if (arg1
== NULL
) SWIG_fail
;
16246 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16247 if (!SWIG_IsOK(ecode2
)) {
16248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_PlaySound" "', expected argument " "2"" of type '" "unsigned int""'");
16250 arg2
= static_cast< unsigned int >(val2
);
16253 if (!wxPyCheckForApp()) SWIG_fail
;
16254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16255 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
16256 wxPyEndAllowThreads(__tstate
);
16257 if (PyErr_Occurred()) SWIG_fail
;
16260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16276 SWIGINTERN PyObject
*_wrap_Sound_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16277 PyObject
*resultobj
= 0;
16279 if (!SWIG_Python_UnpackTuple(args
,"Sound_Stop",0,0,0)) SWIG_fail
;
16281 if (!wxPyCheckForApp()) SWIG_fail
;
16282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16284 wxPyEndAllowThreads(__tstate
);
16285 if (PyErr_Occurred()) SWIG_fail
;
16287 resultobj
= SWIG_Py_Void();
16294 SWIGINTERN PyObject
*Sound_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16296 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16297 SWIG_TypeNewClientData(SWIGTYPE_p_wxSound
, SWIG_NewClientData(obj
));
16298 return SWIG_Py_Void();
16301 SWIGINTERN PyObject
*Sound_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16302 return SWIG_Python_InitShadowInstance(args
);
16305 SWIGINTERN PyObject
*_wrap_new_FileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16306 PyObject
*resultobj
= 0;
16307 wxString
*arg1
= 0 ;
16308 wxString
*arg2
= 0 ;
16309 wxString
*arg3
= 0 ;
16310 wxString
*arg4
= 0 ;
16311 wxFileTypeInfo
*result
= 0 ;
16312 bool temp1
= false ;
16313 bool temp2
= false ;
16314 bool temp3
= false ;
16315 bool temp4
= false ;
16316 PyObject
* obj0
= 0 ;
16317 PyObject
* obj1
= 0 ;
16318 PyObject
* obj2
= 0 ;
16319 PyObject
* obj3
= 0 ;
16320 char * kwnames
[] = {
16321 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
16324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16326 arg1
= wxString_in_helper(obj0
);
16327 if (arg1
== NULL
) SWIG_fail
;
16331 arg2
= wxString_in_helper(obj1
);
16332 if (arg2
== NULL
) SWIG_fail
;
16336 arg3
= wxString_in_helper(obj2
);
16337 if (arg3
== NULL
) SWIG_fail
;
16341 arg4
= wxString_in_helper(obj3
);
16342 if (arg4
== NULL
) SWIG_fail
;
16346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16347 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
16348 wxPyEndAllowThreads(__tstate
);
16349 if (PyErr_Occurred()) SWIG_fail
;
16351 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_NEW
| 0 );
16390 SWIGINTERN PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16391 PyObject
*resultobj
= 0;
16392 wxArrayString
*arg1
= 0 ;
16393 wxFileTypeInfo
*result
= 0 ;
16394 bool temp1
= false ;
16395 PyObject
* obj0
= 0 ;
16396 char * kwnames
[] = {
16397 (char *) "sArray", NULL
16400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) SWIG_fail
;
16402 if (! PySequence_Check(obj0
)) {
16403 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16406 arg1
= new wxArrayString
;
16408 int i
, len
=PySequence_Length(obj0
);
16409 for (i
=0; i
<len
; i
++) {
16410 PyObject
* item
= PySequence_GetItem(obj0
, i
);
16411 wxString
* s
= wxString_in_helper(item
);
16412 if (PyErr_Occurred()) SWIG_fail
;
16419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16420 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
16421 wxPyEndAllowThreads(__tstate
);
16422 if (PyErr_Occurred()) SWIG_fail
;
16424 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
16426 if (temp1
) delete arg1
;
16431 if (temp1
) delete arg1
;
16437 SWIGINTERN PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16438 PyObject
*resultobj
= 0;
16439 wxFileTypeInfo
*result
= 0 ;
16441 if (!SWIG_Python_UnpackTuple(args
,"new_NullFileTypeInfo",0,0,0)) SWIG_fail
;
16443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16444 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
16445 wxPyEndAllowThreads(__tstate
);
16446 if (PyErr_Occurred()) SWIG_fail
;
16448 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
16455 SWIGINTERN PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16456 PyObject
*resultobj
= 0;
16457 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16461 PyObject
*swig_obj
[1] ;
16463 if (!args
) SWIG_fail
;
16464 swig_obj
[0] = args
;
16465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16466 if (!SWIG_IsOK(res1
)) {
16467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_IsValid" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16469 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16472 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
16473 wxPyEndAllowThreads(__tstate
);
16474 if (PyErr_Occurred()) SWIG_fail
;
16477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16485 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16486 PyObject
*resultobj
= 0;
16487 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16488 wxString
*arg2
= 0 ;
16489 int arg3
= (int) 0 ;
16492 bool temp2
= false ;
16495 PyObject
* obj0
= 0 ;
16496 PyObject
* obj1
= 0 ;
16497 PyObject
* obj2
= 0 ;
16498 char * kwnames
[] = {
16499 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
16502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16504 if (!SWIG_IsOK(res1
)) {
16505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
16507 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16509 arg2
= wxString_in_helper(obj1
);
16510 if (arg2
== NULL
) SWIG_fail
;
16514 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16515 if (!SWIG_IsOK(ecode3
)) {
16516 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "3"" of type '" "int""'");
16518 arg3
= static_cast< int >(val3
);
16521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16522 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
16523 wxPyEndAllowThreads(__tstate
);
16524 if (PyErr_Occurred()) SWIG_fail
;
16526 resultobj
= SWIG_Py_Void();
16541 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16542 PyObject
*resultobj
= 0;
16543 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16544 wxString
*arg2
= 0 ;
16547 bool temp2
= false ;
16548 PyObject
* obj0
= 0 ;
16549 PyObject
* obj1
= 0 ;
16550 char * kwnames
[] = {
16551 (char *) "self",(char *) "shortDesc", NULL
16554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16556 if (!SWIG_IsOK(res1
)) {
16557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
16559 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16561 arg2
= wxString_in_helper(obj1
);
16562 if (arg2
== NULL
) SWIG_fail
;
16566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16567 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
16568 wxPyEndAllowThreads(__tstate
);
16569 if (PyErr_Occurred()) SWIG_fail
;
16571 resultobj
= SWIG_Py_Void();
16586 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16587 PyObject
*resultobj
= 0;
16588 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16589 wxString
*result
= 0 ;
16592 PyObject
*swig_obj
[1] ;
16594 if (!args
) SWIG_fail
;
16595 swig_obj
[0] = args
;
16596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16597 if (!SWIG_IsOK(res1
)) {
16598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetMimeType" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16600 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16604 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
16605 result
= (wxString
*) &_result_ref
;
16607 wxPyEndAllowThreads(__tstate
);
16608 if (PyErr_Occurred()) SWIG_fail
;
16612 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16614 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16623 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16624 PyObject
*resultobj
= 0;
16625 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16626 wxString
*result
= 0 ;
16629 PyObject
*swig_obj
[1] ;
16631 if (!args
) SWIG_fail
;
16632 swig_obj
[0] = args
;
16633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16634 if (!SWIG_IsOK(res1
)) {
16635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16637 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16641 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
16642 result
= (wxString
*) &_result_ref
;
16644 wxPyEndAllowThreads(__tstate
);
16645 if (PyErr_Occurred()) SWIG_fail
;
16649 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16651 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16660 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16661 PyObject
*resultobj
= 0;
16662 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16663 wxString
*result
= 0 ;
16666 PyObject
*swig_obj
[1] ;
16668 if (!args
) SWIG_fail
;
16669 swig_obj
[0] = args
;
16670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16671 if (!SWIG_IsOK(res1
)) {
16672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16674 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16678 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
16679 result
= (wxString
*) &_result_ref
;
16681 wxPyEndAllowThreads(__tstate
);
16682 if (PyErr_Occurred()) SWIG_fail
;
16686 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16688 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16697 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16698 PyObject
*resultobj
= 0;
16699 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16700 wxString
*result
= 0 ;
16703 PyObject
*swig_obj
[1] ;
16705 if (!args
) SWIG_fail
;
16706 swig_obj
[0] = args
;
16707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16708 if (!SWIG_IsOK(res1
)) {
16709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16711 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16715 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
16716 result
= (wxString
*) &_result_ref
;
16718 wxPyEndAllowThreads(__tstate
);
16719 if (PyErr_Occurred()) SWIG_fail
;
16723 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16725 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16734 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16735 PyObject
*resultobj
= 0;
16736 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16737 wxString
*result
= 0 ;
16740 PyObject
*swig_obj
[1] ;
16742 if (!args
) SWIG_fail
;
16743 swig_obj
[0] = args
;
16744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16745 if (!SWIG_IsOK(res1
)) {
16746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetDescription" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16748 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16752 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
16753 result
= (wxString
*) &_result_ref
;
16755 wxPyEndAllowThreads(__tstate
);
16756 if (PyErr_Occurred()) SWIG_fail
;
16760 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16762 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16771 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16772 PyObject
*resultobj
= 0;
16773 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16774 wxArrayString
*result
= 0 ;
16777 PyObject
*swig_obj
[1] ;
16779 if (!args
) SWIG_fail
;
16780 swig_obj
[0] = args
;
16781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16782 if (!SWIG_IsOK(res1
)) {
16783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensions" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16785 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16789 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
16790 result
= (wxArrayString
*) &_result_ref
;
16792 wxPyEndAllowThreads(__tstate
);
16793 if (PyErr_Occurred()) SWIG_fail
;
16796 resultobj
= wxArrayString2PyList_helper(*result
);
16804 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16805 PyObject
*resultobj
= 0;
16806 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16810 PyObject
*swig_obj
[1] ;
16812 if (!args
) SWIG_fail
;
16813 swig_obj
[0] = args
;
16814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16815 if (!SWIG_IsOK(res1
)) {
16816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensionsCount" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16818 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16821 result
= (size_t)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
16822 wxPyEndAllowThreads(__tstate
);
16823 if (PyErr_Occurred()) SWIG_fail
;
16825 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16832 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16833 PyObject
*resultobj
= 0;
16834 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16835 wxString
*result
= 0 ;
16838 PyObject
*swig_obj
[1] ;
16840 if (!args
) SWIG_fail
;
16841 swig_obj
[0] = args
;
16842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16843 if (!SWIG_IsOK(res1
)) {
16844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconFile" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16846 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16850 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
16851 result
= (wxString
*) &_result_ref
;
16853 wxPyEndAllowThreads(__tstate
);
16854 if (PyErr_Occurred()) SWIG_fail
;
16858 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16860 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16869 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16870 PyObject
*resultobj
= 0;
16871 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16875 PyObject
*swig_obj
[1] ;
16877 if (!args
) SWIG_fail
;
16878 swig_obj
[0] = args
;
16879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16880 if (!SWIG_IsOK(res1
)) {
16881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconIndex" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16883 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16886 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
16887 wxPyEndAllowThreads(__tstate
);
16888 if (PyErr_Occurred()) SWIG_fail
;
16890 resultobj
= SWIG_From_int(static_cast< int >(result
));
16897 SWIGINTERN PyObject
*FileTypeInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16899 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16900 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileTypeInfo
, SWIG_NewClientData(obj
));
16901 return SWIG_Py_Void();
16904 SWIGINTERN PyObject
*FileTypeInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16905 return SWIG_Python_InitShadowInstance(args
);
16908 SWIGINTERN PyObject
*_wrap_new_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16909 PyObject
*resultobj
= 0;
16910 wxFileTypeInfo
*arg1
= 0 ;
16911 wxFileType
*result
= 0 ;
16914 PyObject
* obj0
= 0 ;
16915 char * kwnames
[] = {
16916 (char *) "ftInfo", NULL
16919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) SWIG_fail
;
16920 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
16921 if (!SWIG_IsOK(res1
)) {
16922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
16925 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
16927 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16930 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
16931 wxPyEndAllowThreads(__tstate
);
16932 if (PyErr_Occurred()) SWIG_fail
;
16934 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_NEW
| 0 );
16941 SWIGINTERN PyObject
*_wrap_delete_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16942 PyObject
*resultobj
= 0;
16943 wxFileType
*arg1
= (wxFileType
*) 0 ;
16946 PyObject
*swig_obj
[1] ;
16948 if (!args
) SWIG_fail
;
16949 swig_obj
[0] = args
;
16950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, SWIG_POINTER_DISOWN
| 0 );
16951 if (!SWIG_IsOK(res1
)) {
16952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileType" "', expected argument " "1"" of type '" "wxFileType *""'");
16954 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16959 wxPyEndAllowThreads(__tstate
);
16960 if (PyErr_Occurred()) SWIG_fail
;
16962 resultobj
= SWIG_Py_Void();
16969 SWIGINTERN PyObject
*_wrap_FileType_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16970 PyObject
*resultobj
= 0;
16971 wxFileType
*arg1
= (wxFileType
*) 0 ;
16972 PyObject
*result
= 0 ;
16975 PyObject
*swig_obj
[1] ;
16977 if (!args
) SWIG_fail
;
16978 swig_obj
[0] = args
;
16979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16980 if (!SWIG_IsOK(res1
)) {
16981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeType" "', expected argument " "1"" of type '" "wxFileType *""'");
16983 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16986 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
16987 wxPyEndAllowThreads(__tstate
);
16988 if (PyErr_Occurred()) SWIG_fail
;
16990 resultobj
= result
;
16997 SWIGINTERN PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16998 PyObject
*resultobj
= 0;
16999 wxFileType
*arg1
= (wxFileType
*) 0 ;
17000 PyObject
*result
= 0 ;
17003 PyObject
*swig_obj
[1] ;
17005 if (!args
) SWIG_fail
;
17006 swig_obj
[0] = args
;
17007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17008 if (!SWIG_IsOK(res1
)) {
17009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeTypes" "', expected argument " "1"" of type '" "wxFileType *""'");
17011 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17014 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
17015 wxPyEndAllowThreads(__tstate
);
17016 if (PyErr_Occurred()) SWIG_fail
;
17018 resultobj
= result
;
17025 SWIGINTERN PyObject
*_wrap_FileType_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17026 PyObject
*resultobj
= 0;
17027 wxFileType
*arg1
= (wxFileType
*) 0 ;
17028 PyObject
*result
= 0 ;
17031 PyObject
*swig_obj
[1] ;
17033 if (!args
) SWIG_fail
;
17034 swig_obj
[0] = args
;
17035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17036 if (!SWIG_IsOK(res1
)) {
17037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetExtensions" "', expected argument " "1"" of type '" "wxFileType *""'");
17039 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17042 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
17043 wxPyEndAllowThreads(__tstate
);
17044 if (PyErr_Occurred()) SWIG_fail
;
17046 resultobj
= result
;
17053 SWIGINTERN PyObject
*_wrap_FileType_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17054 PyObject
*resultobj
= 0;
17055 wxFileType
*arg1
= (wxFileType
*) 0 ;
17056 wxIcon
*result
= 0 ;
17059 PyObject
*swig_obj
[1] ;
17061 if (!args
) SWIG_fail
;
17062 swig_obj
[0] = args
;
17063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17064 if (!SWIG_IsOK(res1
)) {
17065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
17067 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17070 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
17071 wxPyEndAllowThreads(__tstate
);
17072 if (PyErr_Occurred()) SWIG_fail
;
17074 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
17081 SWIGINTERN PyObject
*_wrap_FileType_GetIconInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17082 PyObject
*resultobj
= 0;
17083 wxFileType
*arg1
= (wxFileType
*) 0 ;
17084 PyObject
*result
= 0 ;
17087 PyObject
*swig_obj
[1] ;
17089 if (!args
) SWIG_fail
;
17090 swig_obj
[0] = args
;
17091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17092 if (!SWIG_IsOK(res1
)) {
17093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIconInfo" "', expected argument " "1"" of type '" "wxFileType *""'");
17095 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17098 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
17099 wxPyEndAllowThreads(__tstate
);
17100 if (PyErr_Occurred()) SWIG_fail
;
17102 resultobj
= result
;
17109 SWIGINTERN PyObject
*_wrap_FileType_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17110 PyObject
*resultobj
= 0;
17111 wxFileType
*arg1
= (wxFileType
*) 0 ;
17112 PyObject
*result
= 0 ;
17115 PyObject
*swig_obj
[1] ;
17117 if (!args
) SWIG_fail
;
17118 swig_obj
[0] = args
;
17119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17120 if (!SWIG_IsOK(res1
)) {
17121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetDescription" "', expected argument " "1"" of type '" "wxFileType *""'");
17123 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17126 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
17127 wxPyEndAllowThreads(__tstate
);
17128 if (PyErr_Occurred()) SWIG_fail
;
17130 resultobj
= result
;
17137 SWIGINTERN PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17138 PyObject
*resultobj
= 0;
17139 wxFileType
*arg1
= (wxFileType
*) 0 ;
17140 wxString
*arg2
= 0 ;
17141 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17142 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17143 PyObject
*result
= 0 ;
17146 bool temp2
= false ;
17147 bool temp3
= false ;
17148 PyObject
* obj0
= 0 ;
17149 PyObject
* obj1
= 0 ;
17150 PyObject
* obj2
= 0 ;
17151 char * kwnames
[] = {
17152 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
17155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17157 if (!SWIG_IsOK(res1
)) {
17158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
17160 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17162 arg2
= wxString_in_helper(obj1
);
17163 if (arg2
== NULL
) SWIG_fail
;
17168 arg3
= wxString_in_helper(obj2
);
17169 if (arg3
== NULL
) SWIG_fail
;
17174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17175 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17176 wxPyEndAllowThreads(__tstate
);
17177 if (PyErr_Occurred()) SWIG_fail
;
17179 resultobj
= result
;
17202 SWIGINTERN PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17203 PyObject
*resultobj
= 0;
17204 wxFileType
*arg1
= (wxFileType
*) 0 ;
17205 wxString
*arg2
= 0 ;
17206 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17207 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17208 PyObject
*result
= 0 ;
17211 bool temp2
= false ;
17212 bool temp3
= false ;
17213 PyObject
* obj0
= 0 ;
17214 PyObject
* obj1
= 0 ;
17215 PyObject
* obj2
= 0 ;
17216 char * kwnames
[] = {
17217 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
17220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17222 if (!SWIG_IsOK(res1
)) {
17223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
17225 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17227 arg2
= wxString_in_helper(obj1
);
17228 if (arg2
== NULL
) SWIG_fail
;
17233 arg3
= wxString_in_helper(obj2
);
17234 if (arg3
== NULL
) SWIG_fail
;
17239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17240 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17241 wxPyEndAllowThreads(__tstate
);
17242 if (PyErr_Occurred()) SWIG_fail
;
17244 resultobj
= result
;
17267 SWIGINTERN PyObject
*_wrap_FileType_GetAllCommands(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17268 PyObject
*resultobj
= 0;
17269 wxFileType
*arg1
= (wxFileType
*) 0 ;
17270 wxString
*arg2
= 0 ;
17271 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17272 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17273 PyObject
*result
= 0 ;
17276 bool temp2
= false ;
17277 bool temp3
= false ;
17278 PyObject
* obj0
= 0 ;
17279 PyObject
* obj1
= 0 ;
17280 PyObject
* obj2
= 0 ;
17281 char * kwnames
[] = {
17282 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
17285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17287 if (!SWIG_IsOK(res1
)) {
17288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetAllCommands" "', expected argument " "1"" of type '" "wxFileType *""'");
17290 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17292 arg2
= wxString_in_helper(obj1
);
17293 if (arg2
== NULL
) SWIG_fail
;
17298 arg3
= wxString_in_helper(obj2
);
17299 if (arg3
== NULL
) SWIG_fail
;
17304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17305 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17306 wxPyEndAllowThreads(__tstate
);
17307 if (PyErr_Occurred()) SWIG_fail
;
17309 resultobj
= result
;
17332 SWIGINTERN PyObject
*_wrap_FileType_SetCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17333 PyObject
*resultobj
= 0;
17334 wxFileType
*arg1
= (wxFileType
*) 0 ;
17335 wxString
*arg2
= 0 ;
17336 wxString
*arg3
= 0 ;
17337 bool arg4
= (bool) true ;
17341 bool temp2
= false ;
17342 bool temp3
= false ;
17345 PyObject
* obj0
= 0 ;
17346 PyObject
* obj1
= 0 ;
17347 PyObject
* obj2
= 0 ;
17348 PyObject
* obj3
= 0 ;
17349 char * kwnames
[] = {
17350 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
17353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17355 if (!SWIG_IsOK(res1
)) {
17356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
17358 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17360 arg2
= wxString_in_helper(obj1
);
17361 if (arg2
== NULL
) SWIG_fail
;
17365 arg3
= wxString_in_helper(obj2
);
17366 if (arg3
== NULL
) SWIG_fail
;
17370 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
17371 if (!SWIG_IsOK(ecode4
)) {
17372 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileType_SetCommand" "', expected argument " "4"" of type '" "bool""'");
17374 arg4
= static_cast< bool >(val4
);
17377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17378 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
17379 wxPyEndAllowThreads(__tstate
);
17380 if (PyErr_Occurred()) SWIG_fail
;
17383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17407 SWIGINTERN PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17408 PyObject
*resultobj
= 0;
17409 wxFileType
*arg1
= (wxFileType
*) 0 ;
17410 wxString
const &arg2_defvalue
= wxPyEmptyString
;
17411 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17412 int arg3
= (int) 0 ;
17416 bool temp2
= false ;
17419 PyObject
* obj0
= 0 ;
17420 PyObject
* obj1
= 0 ;
17421 PyObject
* obj2
= 0 ;
17422 char * kwnames
[] = {
17423 (char *) "self",(char *) "cmd",(char *) "index", NULL
17426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17428 if (!SWIG_IsOK(res1
)) {
17429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
17431 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17434 arg2
= wxString_in_helper(obj1
);
17435 if (arg2
== NULL
) SWIG_fail
;
17440 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17441 if (!SWIG_IsOK(ecode3
)) {
17442 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "3"" of type '" "int""'");
17444 arg3
= static_cast< int >(val3
);
17447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17448 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
17449 wxPyEndAllowThreads(__tstate
);
17450 if (PyErr_Occurred()) SWIG_fail
;
17453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17469 SWIGINTERN PyObject
*_wrap_FileType_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17470 PyObject
*resultobj
= 0;
17471 wxFileType
*arg1
= (wxFileType
*) 0 ;
17475 PyObject
*swig_obj
[1] ;
17477 if (!args
) SWIG_fail
;
17478 swig_obj
[0] = args
;
17479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17480 if (!SWIG_IsOK(res1
)) {
17481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_Unassociate" "', expected argument " "1"" of type '" "wxFileType *""'");
17483 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17486 result
= (bool)(arg1
)->Unassociate();
17487 wxPyEndAllowThreads(__tstate
);
17488 if (PyErr_Occurred()) SWIG_fail
;
17491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17499 SWIGINTERN PyObject
*_wrap_FileType_ExpandCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17500 PyObject
*resultobj
= 0;
17501 wxString
*arg1
= 0 ;
17502 wxString
*arg2
= 0 ;
17503 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17504 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17506 bool temp1
= false ;
17507 bool temp2
= false ;
17508 bool temp3
= false ;
17509 PyObject
* obj0
= 0 ;
17510 PyObject
* obj1
= 0 ;
17511 PyObject
* obj2
= 0 ;
17512 char * kwnames
[] = {
17513 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
17516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17518 arg1
= wxString_in_helper(obj0
);
17519 if (arg1
== NULL
) SWIG_fail
;
17523 arg2
= wxString_in_helper(obj1
);
17524 if (arg2
== NULL
) SWIG_fail
;
17529 arg3
= wxString_in_helper(obj2
);
17530 if (arg3
== NULL
) SWIG_fail
;
17535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17536 result
= wxFileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17537 wxPyEndAllowThreads(__tstate
);
17538 if (PyErr_Occurred()) SWIG_fail
;
17542 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17544 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17577 SWIGINTERN PyObject
*FileType_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17579 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17580 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileType
, SWIG_NewClientData(obj
));
17581 return SWIG_Py_Void();
17584 SWIGINTERN PyObject
*FileType_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17585 return SWIG_Python_InitShadowInstance(args
);
17588 SWIGINTERN
int TheMimeTypesManager_set(PyObject
*) {
17589 SWIG_Error(SWIG_AttributeError
,"Variable TheMimeTypesManager is read-only.");
17594 SWIGINTERN PyObject
*TheMimeTypesManager_get(void) {
17595 PyObject
*pyobj
= 0;
17597 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0 );
17602 SWIGINTERN PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17603 PyObject
*resultobj
= 0;
17604 wxString
*arg1
= 0 ;
17605 wxString
*arg2
= 0 ;
17607 bool temp1
= false ;
17608 bool temp2
= false ;
17609 PyObject
* obj0
= 0 ;
17610 PyObject
* obj1
= 0 ;
17611 char * kwnames
[] = {
17612 (char *) "mimeType",(char *) "wildcard", NULL
17615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17617 arg1
= wxString_in_helper(obj0
);
17618 if (arg1
== NULL
) SWIG_fail
;
17622 arg2
= wxString_in_helper(obj1
);
17623 if (arg2
== NULL
) SWIG_fail
;
17627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17628 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17629 wxPyEndAllowThreads(__tstate
);
17630 if (PyErr_Occurred()) SWIG_fail
;
17633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17657 SWIGINTERN PyObject
*_wrap_new_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17658 PyObject
*resultobj
= 0;
17659 wxMimeTypesManager
*result
= 0 ;
17661 if (!SWIG_Python_UnpackTuple(args
,"new_MimeTypesManager",0,0,0)) SWIG_fail
;
17663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17664 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
17665 wxPyEndAllowThreads(__tstate
);
17666 if (PyErr_Occurred()) SWIG_fail
;
17668 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_NEW
| 0 );
17675 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17676 PyObject
*resultobj
= 0;
17677 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17678 int arg2
= (int) wxMAILCAP_ALL
;
17679 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17680 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17685 bool temp3
= false ;
17686 PyObject
* obj0
= 0 ;
17687 PyObject
* obj1
= 0 ;
17688 PyObject
* obj2
= 0 ;
17689 char * kwnames
[] = {
17690 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
17693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17695 if (!SWIG_IsOK(res1
)) {
17696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17698 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17700 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17701 if (!SWIG_IsOK(ecode2
)) {
17702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "2"" of type '" "int""'");
17704 arg2
= static_cast< int >(val2
);
17708 arg3
= wxString_in_helper(obj2
);
17709 if (arg3
== NULL
) SWIG_fail
;
17714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17715 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
17716 wxPyEndAllowThreads(__tstate
);
17717 if (PyErr_Occurred()) SWIG_fail
;
17719 resultobj
= SWIG_Py_Void();
17734 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17735 PyObject
*resultobj
= 0;
17736 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17739 PyObject
*swig_obj
[1] ;
17741 if (!args
) SWIG_fail
;
17742 swig_obj
[0] = args
;
17743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17744 if (!SWIG_IsOK(res1
)) {
17745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ClearData" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17747 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17750 (arg1
)->ClearData();
17751 wxPyEndAllowThreads(__tstate
);
17752 if (PyErr_Occurred()) SWIG_fail
;
17754 resultobj
= SWIG_Py_Void();
17761 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17762 PyObject
*resultobj
= 0;
17763 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17764 wxString
*arg2
= 0 ;
17765 wxFileType
*result
= 0 ;
17768 bool temp2
= false ;
17769 PyObject
* obj0
= 0 ;
17770 PyObject
* obj1
= 0 ;
17771 char * kwnames
[] = {
17772 (char *) "self",(char *) "ext", NULL
17775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17777 if (!SWIG_IsOK(res1
)) {
17778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromExtension" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17780 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17782 arg2
= wxString_in_helper(obj1
);
17783 if (arg2
== NULL
) SWIG_fail
;
17787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17788 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
17789 wxPyEndAllowThreads(__tstate
);
17790 if (PyErr_Occurred()) SWIG_fail
;
17792 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
17807 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17808 PyObject
*resultobj
= 0;
17809 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17810 wxString
*arg2
= 0 ;
17811 wxFileType
*result
= 0 ;
17814 bool temp2
= false ;
17815 PyObject
* obj0
= 0 ;
17816 PyObject
* obj1
= 0 ;
17817 char * kwnames
[] = {
17818 (char *) "self",(char *) "mimeType", NULL
17821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17823 if (!SWIG_IsOK(res1
)) {
17824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromMimeType" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17826 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17828 arg2
= wxString_in_helper(obj1
);
17829 if (arg2
== NULL
) SWIG_fail
;
17833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17834 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
17835 wxPyEndAllowThreads(__tstate
);
17836 if (PyErr_Occurred()) SWIG_fail
;
17838 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
17853 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17854 PyObject
*resultobj
= 0;
17855 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17856 wxString
*arg2
= 0 ;
17857 bool arg3
= (bool) false ;
17861 bool temp2
= false ;
17864 PyObject
* obj0
= 0 ;
17865 PyObject
* obj1
= 0 ;
17866 PyObject
* obj2
= 0 ;
17867 char * kwnames
[] = {
17868 (char *) "self",(char *) "filename",(char *) "fallback", NULL
17871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17873 if (!SWIG_IsOK(res1
)) {
17874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17876 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17878 arg2
= wxString_in_helper(obj1
);
17879 if (arg2
== NULL
) SWIG_fail
;
17883 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
17884 if (!SWIG_IsOK(ecode3
)) {
17885 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "3"" of type '" "bool""'");
17887 arg3
= static_cast< bool >(val3
);
17890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17891 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
17892 wxPyEndAllowThreads(__tstate
);
17893 if (PyErr_Occurred()) SWIG_fail
;
17896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17912 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17913 PyObject
*resultobj
= 0;
17914 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17915 wxString
*arg2
= 0 ;
17919 bool temp2
= false ;
17920 PyObject
* obj0
= 0 ;
17921 PyObject
* obj1
= 0 ;
17922 char * kwnames
[] = {
17923 (char *) "self",(char *) "filename", NULL
17926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17928 if (!SWIG_IsOK(res1
)) {
17929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMimeTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17931 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17933 arg2
= wxString_in_helper(obj1
);
17934 if (arg2
== NULL
) SWIG_fail
;
17938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17939 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
17940 wxPyEndAllowThreads(__tstate
);
17941 if (PyErr_Occurred()) SWIG_fail
;
17944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17960 SWIGINTERN PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17961 PyObject
*resultobj
= 0;
17962 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17963 PyObject
*result
= 0 ;
17966 PyObject
*swig_obj
[1] ;
17968 if (!args
) SWIG_fail
;
17969 swig_obj
[0] = args
;
17970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17971 if (!SWIG_IsOK(res1
)) {
17972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_EnumAllFileTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17974 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17977 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
17978 wxPyEndAllowThreads(__tstate
);
17979 if (PyErr_Occurred()) SWIG_fail
;
17981 resultobj
= result
;
17988 SWIGINTERN PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17989 PyObject
*resultobj
= 0;
17990 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17991 wxFileTypeInfo
*arg2
= 0 ;
17996 PyObject
* obj0
= 0 ;
17997 PyObject
* obj1
= 0 ;
17998 char * kwnames
[] = {
17999 (char *) "self",(char *) "ft", NULL
18002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18004 if (!SWIG_IsOK(res1
)) {
18005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18007 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18008 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
18009 if (!SWIG_IsOK(res2
)) {
18010 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
18013 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
18015 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
18017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18018 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
18019 wxPyEndAllowThreads(__tstate
);
18020 if (PyErr_Occurred()) SWIG_fail
;
18022 resultobj
= SWIG_Py_Void();
18029 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18030 PyObject
*resultobj
= 0;
18031 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18032 wxFileTypeInfo
*arg2
= 0 ;
18033 wxFileType
*result
= 0 ;
18038 PyObject
* obj0
= 0 ;
18039 PyObject
* obj1
= 0 ;
18040 char * kwnames
[] = {
18041 (char *) "self",(char *) "ftInfo", NULL
18044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18046 if (!SWIG_IsOK(res1
)) {
18047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Associate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18049 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18050 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
18051 if (!SWIG_IsOK(res2
)) {
18052 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
18055 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
18057 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
18059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18060 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
18061 wxPyEndAllowThreads(__tstate
);
18062 if (PyErr_Occurred()) SWIG_fail
;
18064 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
18071 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18072 PyObject
*resultobj
= 0;
18073 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18074 wxFileType
*arg2
= (wxFileType
*) 0 ;
18080 PyObject
* obj0
= 0 ;
18081 PyObject
* obj1
= 0 ;
18082 char * kwnames
[] = {
18083 (char *) "self",(char *) "ft", NULL
18086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18088 if (!SWIG_IsOK(res1
)) {
18089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18091 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18092 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18093 if (!SWIG_IsOK(res2
)) {
18094 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "2"" of type '" "wxFileType *""'");
18096 arg2
= reinterpret_cast< wxFileType
* >(argp2
);
18098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18099 result
= (bool)(arg1
)->Unassociate(arg2
);
18100 wxPyEndAllowThreads(__tstate
);
18101 if (PyErr_Occurred()) SWIG_fail
;
18104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18112 SWIGINTERN PyObject
*_wrap_delete_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18113 PyObject
*resultobj
= 0;
18114 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18117 PyObject
*swig_obj
[1] ;
18119 if (!args
) SWIG_fail
;
18120 swig_obj
[0] = args
;
18121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_DISOWN
| 0 );
18122 if (!SWIG_IsOK(res1
)) {
18123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MimeTypesManager" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18125 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18130 wxPyEndAllowThreads(__tstate
);
18131 if (PyErr_Occurred()) SWIG_fail
;
18133 resultobj
= SWIG_Py_Void();
18140 SWIGINTERN PyObject
*MimeTypesManager_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18142 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18143 SWIG_TypeNewClientData(SWIGTYPE_p_wxMimeTypesManager
, SWIG_NewClientData(obj
));
18144 return SWIG_Py_Void();
18147 SWIGINTERN PyObject
*MimeTypesManager_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18148 return SWIG_Python_InitShadowInstance(args
);
18151 SWIGINTERN
int ART_TOOLBAR_set(PyObject
*) {
18152 SWIG_Error(SWIG_AttributeError
,"Variable ART_TOOLBAR is read-only.");
18157 SWIGINTERN PyObject
*ART_TOOLBAR_get(void) {
18158 PyObject
*pyobj
= 0;
18162 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
18164 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
18171 SWIGINTERN
int ART_MENU_set(PyObject
*) {
18172 SWIG_Error(SWIG_AttributeError
,"Variable ART_MENU is read-only.");
18177 SWIGINTERN PyObject
*ART_MENU_get(void) {
18178 PyObject
*pyobj
= 0;
18182 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
18184 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
18191 SWIGINTERN
int ART_FRAME_ICON_set(PyObject
*) {
18192 SWIG_Error(SWIG_AttributeError
,"Variable ART_FRAME_ICON is read-only.");
18197 SWIGINTERN PyObject
*ART_FRAME_ICON_get(void) {
18198 PyObject
*pyobj
= 0;
18202 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
18204 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
18211 SWIGINTERN
int ART_CMN_DIALOG_set(PyObject
*) {
18212 SWIG_Error(SWIG_AttributeError
,"Variable ART_CMN_DIALOG is read-only.");
18217 SWIGINTERN PyObject
*ART_CMN_DIALOG_get(void) {
18218 PyObject
*pyobj
= 0;
18222 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
18224 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
18231 SWIGINTERN
int ART_HELP_BROWSER_set(PyObject
*) {
18232 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BROWSER is read-only.");
18237 SWIGINTERN PyObject
*ART_HELP_BROWSER_get(void) {
18238 PyObject
*pyobj
= 0;
18242 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
18244 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
18251 SWIGINTERN
int ART_MESSAGE_BOX_set(PyObject
*) {
18252 SWIG_Error(SWIG_AttributeError
,"Variable ART_MESSAGE_BOX is read-only.");
18257 SWIGINTERN PyObject
*ART_MESSAGE_BOX_get(void) {
18258 PyObject
*pyobj
= 0;
18262 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
18264 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
18271 SWIGINTERN
int ART_BUTTON_set(PyObject
*) {
18272 SWIG_Error(SWIG_AttributeError
,"Variable ART_BUTTON is read-only.");
18277 SWIGINTERN PyObject
*ART_BUTTON_get(void) {
18278 PyObject
*pyobj
= 0;
18282 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
18284 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
18291 SWIGINTERN
int ART_OTHER_set(PyObject
*) {
18292 SWIG_Error(SWIG_AttributeError
,"Variable ART_OTHER is read-only.");
18297 SWIGINTERN PyObject
*ART_OTHER_get(void) {
18298 PyObject
*pyobj
= 0;
18302 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
18304 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
18311 SWIGINTERN
int ART_ADD_BOOKMARK_set(PyObject
*) {
18312 SWIG_Error(SWIG_AttributeError
,"Variable ART_ADD_BOOKMARK is read-only.");
18317 SWIGINTERN PyObject
*ART_ADD_BOOKMARK_get(void) {
18318 PyObject
*pyobj
= 0;
18322 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
18324 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
18331 SWIGINTERN
int ART_DEL_BOOKMARK_set(PyObject
*) {
18332 SWIG_Error(SWIG_AttributeError
,"Variable ART_DEL_BOOKMARK is read-only.");
18337 SWIGINTERN PyObject
*ART_DEL_BOOKMARK_get(void) {
18338 PyObject
*pyobj
= 0;
18342 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
18344 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
18351 SWIGINTERN
int ART_HELP_SIDE_PANEL_set(PyObject
*) {
18352 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
18357 SWIGINTERN PyObject
*ART_HELP_SIDE_PANEL_get(void) {
18358 PyObject
*pyobj
= 0;
18362 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
18364 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
18371 SWIGINTERN
int ART_HELP_SETTINGS_set(PyObject
*) {
18372 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SETTINGS is read-only.");
18377 SWIGINTERN PyObject
*ART_HELP_SETTINGS_get(void) {
18378 PyObject
*pyobj
= 0;
18382 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
18384 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
18391 SWIGINTERN
int ART_HELP_BOOK_set(PyObject
*) {
18392 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BOOK is read-only.");
18397 SWIGINTERN PyObject
*ART_HELP_BOOK_get(void) {
18398 PyObject
*pyobj
= 0;
18402 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
18404 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
18411 SWIGINTERN
int ART_HELP_FOLDER_set(PyObject
*) {
18412 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_FOLDER is read-only.");
18417 SWIGINTERN PyObject
*ART_HELP_FOLDER_get(void) {
18418 PyObject
*pyobj
= 0;
18422 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
18424 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
18431 SWIGINTERN
int ART_HELP_PAGE_set(PyObject
*) {
18432 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_PAGE is read-only.");
18437 SWIGINTERN PyObject
*ART_HELP_PAGE_get(void) {
18438 PyObject
*pyobj
= 0;
18442 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
18444 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
18451 SWIGINTERN
int ART_GO_BACK_set(PyObject
*) {
18452 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_BACK is read-only.");
18457 SWIGINTERN PyObject
*ART_GO_BACK_get(void) {
18458 PyObject
*pyobj
= 0;
18462 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
18464 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
18471 SWIGINTERN
int ART_GO_FORWARD_set(PyObject
*) {
18472 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_FORWARD is read-only.");
18477 SWIGINTERN PyObject
*ART_GO_FORWARD_get(void) {
18478 PyObject
*pyobj
= 0;
18482 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
18484 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
18491 SWIGINTERN
int ART_GO_UP_set(PyObject
*) {
18492 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_UP is read-only.");
18497 SWIGINTERN PyObject
*ART_GO_UP_get(void) {
18498 PyObject
*pyobj
= 0;
18502 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
18504 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
18511 SWIGINTERN
int ART_GO_DOWN_set(PyObject
*) {
18512 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DOWN is read-only.");
18517 SWIGINTERN PyObject
*ART_GO_DOWN_get(void) {
18518 PyObject
*pyobj
= 0;
18522 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
18524 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
18531 SWIGINTERN
int ART_GO_TO_PARENT_set(PyObject
*) {
18532 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_TO_PARENT is read-only.");
18537 SWIGINTERN PyObject
*ART_GO_TO_PARENT_get(void) {
18538 PyObject
*pyobj
= 0;
18542 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
18544 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
18551 SWIGINTERN
int ART_GO_HOME_set(PyObject
*) {
18552 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_HOME is read-only.");
18557 SWIGINTERN PyObject
*ART_GO_HOME_get(void) {
18558 PyObject
*pyobj
= 0;
18562 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
18564 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
18571 SWIGINTERN
int ART_FILE_OPEN_set(PyObject
*) {
18572 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_OPEN is read-only.");
18577 SWIGINTERN PyObject
*ART_FILE_OPEN_get(void) {
18578 PyObject
*pyobj
= 0;
18582 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
18584 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
18591 SWIGINTERN
int ART_FILE_SAVE_set(PyObject
*) {
18592 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE is read-only.");
18597 SWIGINTERN PyObject
*ART_FILE_SAVE_get(void) {
18598 PyObject
*pyobj
= 0;
18602 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
18604 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
18611 SWIGINTERN
int ART_FILE_SAVE_AS_set(PyObject
*) {
18612 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE_AS is read-only.");
18617 SWIGINTERN PyObject
*ART_FILE_SAVE_AS_get(void) {
18618 PyObject
*pyobj
= 0;
18622 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
18624 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
18631 SWIGINTERN
int ART_PRINT_set(PyObject
*) {
18632 SWIG_Error(SWIG_AttributeError
,"Variable ART_PRINT is read-only.");
18637 SWIGINTERN PyObject
*ART_PRINT_get(void) {
18638 PyObject
*pyobj
= 0;
18642 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
18644 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
18651 SWIGINTERN
int ART_HELP_set(PyObject
*) {
18652 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP is read-only.");
18657 SWIGINTERN PyObject
*ART_HELP_get(void) {
18658 PyObject
*pyobj
= 0;
18662 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
18664 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
18671 SWIGINTERN
int ART_TIP_set(PyObject
*) {
18672 SWIG_Error(SWIG_AttributeError
,"Variable ART_TIP is read-only.");
18677 SWIGINTERN PyObject
*ART_TIP_get(void) {
18678 PyObject
*pyobj
= 0;
18682 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
18684 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
18691 SWIGINTERN
int ART_REPORT_VIEW_set(PyObject
*) {
18692 SWIG_Error(SWIG_AttributeError
,"Variable ART_REPORT_VIEW is read-only.");
18697 SWIGINTERN PyObject
*ART_REPORT_VIEW_get(void) {
18698 PyObject
*pyobj
= 0;
18702 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
18704 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
18711 SWIGINTERN
int ART_LIST_VIEW_set(PyObject
*) {
18712 SWIG_Error(SWIG_AttributeError
,"Variable ART_LIST_VIEW is read-only.");
18717 SWIGINTERN PyObject
*ART_LIST_VIEW_get(void) {
18718 PyObject
*pyobj
= 0;
18722 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
18724 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
18731 SWIGINTERN
int ART_NEW_DIR_set(PyObject
*) {
18732 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW_DIR is read-only.");
18737 SWIGINTERN PyObject
*ART_NEW_DIR_get(void) {
18738 PyObject
*pyobj
= 0;
18742 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
18744 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
18751 SWIGINTERN
int ART_HARDDISK_set(PyObject
*) {
18752 SWIG_Error(SWIG_AttributeError
,"Variable ART_HARDDISK is read-only.");
18757 SWIGINTERN PyObject
*ART_HARDDISK_get(void) {
18758 PyObject
*pyobj
= 0;
18762 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
18764 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
18771 SWIGINTERN
int ART_FLOPPY_set(PyObject
*) {
18772 SWIG_Error(SWIG_AttributeError
,"Variable ART_FLOPPY is read-only.");
18777 SWIGINTERN PyObject
*ART_FLOPPY_get(void) {
18778 PyObject
*pyobj
= 0;
18782 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
18784 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
18791 SWIGINTERN
int ART_CDROM_set(PyObject
*) {
18792 SWIG_Error(SWIG_AttributeError
,"Variable ART_CDROM is read-only.");
18797 SWIGINTERN PyObject
*ART_CDROM_get(void) {
18798 PyObject
*pyobj
= 0;
18802 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
18804 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
18811 SWIGINTERN
int ART_REMOVABLE_set(PyObject
*) {
18812 SWIG_Error(SWIG_AttributeError
,"Variable ART_REMOVABLE is read-only.");
18817 SWIGINTERN PyObject
*ART_REMOVABLE_get(void) {
18818 PyObject
*pyobj
= 0;
18822 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
18824 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
18831 SWIGINTERN
int ART_FOLDER_set(PyObject
*) {
18832 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER is read-only.");
18837 SWIGINTERN PyObject
*ART_FOLDER_get(void) {
18838 PyObject
*pyobj
= 0;
18842 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
18844 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
18851 SWIGINTERN
int ART_FOLDER_OPEN_set(PyObject
*) {
18852 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER_OPEN is read-only.");
18857 SWIGINTERN PyObject
*ART_FOLDER_OPEN_get(void) {
18858 PyObject
*pyobj
= 0;
18862 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
18864 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
18871 SWIGINTERN
int ART_GO_DIR_UP_set(PyObject
*) {
18872 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DIR_UP is read-only.");
18877 SWIGINTERN PyObject
*ART_GO_DIR_UP_get(void) {
18878 PyObject
*pyobj
= 0;
18882 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
18884 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
18891 SWIGINTERN
int ART_EXECUTABLE_FILE_set(PyObject
*) {
18892 SWIG_Error(SWIG_AttributeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
18897 SWIGINTERN PyObject
*ART_EXECUTABLE_FILE_get(void) {
18898 PyObject
*pyobj
= 0;
18902 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
18904 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
18911 SWIGINTERN
int ART_NORMAL_FILE_set(PyObject
*) {
18912 SWIG_Error(SWIG_AttributeError
,"Variable ART_NORMAL_FILE is read-only.");
18917 SWIGINTERN PyObject
*ART_NORMAL_FILE_get(void) {
18918 PyObject
*pyobj
= 0;
18922 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
18924 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
18931 SWIGINTERN
int ART_TICK_MARK_set(PyObject
*) {
18932 SWIG_Error(SWIG_AttributeError
,"Variable ART_TICK_MARK is read-only.");
18937 SWIGINTERN PyObject
*ART_TICK_MARK_get(void) {
18938 PyObject
*pyobj
= 0;
18942 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
18944 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
18951 SWIGINTERN
int ART_CROSS_MARK_set(PyObject
*) {
18952 SWIG_Error(SWIG_AttributeError
,"Variable ART_CROSS_MARK is read-only.");
18957 SWIGINTERN PyObject
*ART_CROSS_MARK_get(void) {
18958 PyObject
*pyobj
= 0;
18962 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
18964 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
18971 SWIGINTERN
int ART_ERROR_set(PyObject
*) {
18972 SWIG_Error(SWIG_AttributeError
,"Variable ART_ERROR is read-only.");
18977 SWIGINTERN PyObject
*ART_ERROR_get(void) {
18978 PyObject
*pyobj
= 0;
18982 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
18984 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
18991 SWIGINTERN
int ART_QUESTION_set(PyObject
*) {
18992 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUESTION is read-only.");
18997 SWIGINTERN PyObject
*ART_QUESTION_get(void) {
18998 PyObject
*pyobj
= 0;
19002 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
19004 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
19011 SWIGINTERN
int ART_WARNING_set(PyObject
*) {
19012 SWIG_Error(SWIG_AttributeError
,"Variable ART_WARNING is read-only.");
19017 SWIGINTERN PyObject
*ART_WARNING_get(void) {
19018 PyObject
*pyobj
= 0;
19022 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
19024 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
19031 SWIGINTERN
int ART_INFORMATION_set(PyObject
*) {
19032 SWIG_Error(SWIG_AttributeError
,"Variable ART_INFORMATION is read-only.");
19037 SWIGINTERN PyObject
*ART_INFORMATION_get(void) {
19038 PyObject
*pyobj
= 0;
19042 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
19044 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
19051 SWIGINTERN
int ART_MISSING_IMAGE_set(PyObject
*) {
19052 SWIG_Error(SWIG_AttributeError
,"Variable ART_MISSING_IMAGE is read-only.");
19057 SWIGINTERN PyObject
*ART_MISSING_IMAGE_get(void) {
19058 PyObject
*pyobj
= 0;
19062 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
19064 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
19071 SWIGINTERN
int ART_COPY_set(PyObject
*) {
19072 SWIG_Error(SWIG_AttributeError
,"Variable ART_COPY is read-only.");
19077 SWIGINTERN PyObject
*ART_COPY_get(void) {
19078 PyObject
*pyobj
= 0;
19082 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
19084 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
19091 SWIGINTERN
int ART_CUT_set(PyObject
*) {
19092 SWIG_Error(SWIG_AttributeError
,"Variable ART_CUT is read-only.");
19097 SWIGINTERN PyObject
*ART_CUT_get(void) {
19098 PyObject
*pyobj
= 0;
19102 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
19104 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
19111 SWIGINTERN
int ART_PASTE_set(PyObject
*) {
19112 SWIG_Error(SWIG_AttributeError
,"Variable ART_PASTE is read-only.");
19117 SWIGINTERN PyObject
*ART_PASTE_get(void) {
19118 PyObject
*pyobj
= 0;
19122 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
19124 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
19131 SWIGINTERN
int ART_DELETE_set(PyObject
*) {
19132 SWIG_Error(SWIG_AttributeError
,"Variable ART_DELETE is read-only.");
19137 SWIGINTERN PyObject
*ART_DELETE_get(void) {
19138 PyObject
*pyobj
= 0;
19142 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
19144 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
19151 SWIGINTERN
int ART_NEW_set(PyObject
*) {
19152 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW is read-only.");
19157 SWIGINTERN PyObject
*ART_NEW_get(void) {
19158 PyObject
*pyobj
= 0;
19162 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
19164 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
19171 SWIGINTERN
int ART_UNDO_set(PyObject
*) {
19172 SWIG_Error(SWIG_AttributeError
,"Variable ART_UNDO is read-only.");
19177 SWIGINTERN PyObject
*ART_UNDO_get(void) {
19178 PyObject
*pyobj
= 0;
19182 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
19184 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
19191 SWIGINTERN
int ART_REDO_set(PyObject
*) {
19192 SWIG_Error(SWIG_AttributeError
,"Variable ART_REDO is read-only.");
19197 SWIGINTERN PyObject
*ART_REDO_get(void) {
19198 PyObject
*pyobj
= 0;
19202 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
19204 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
19211 SWIGINTERN
int ART_QUIT_set(PyObject
*) {
19212 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUIT is read-only.");
19217 SWIGINTERN PyObject
*ART_QUIT_get(void) {
19218 PyObject
*pyobj
= 0;
19222 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
19224 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
19231 SWIGINTERN
int ART_FIND_set(PyObject
*) {
19232 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND is read-only.");
19237 SWIGINTERN PyObject
*ART_FIND_get(void) {
19238 PyObject
*pyobj
= 0;
19242 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
19244 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
19251 SWIGINTERN
int ART_FIND_AND_REPLACE_set(PyObject
*) {
19252 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
19257 SWIGINTERN PyObject
*ART_FIND_AND_REPLACE_get(void) {
19258 PyObject
*pyobj
= 0;
19262 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
19264 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
19271 SWIGINTERN PyObject
*_wrap_new_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19272 PyObject
*resultobj
= 0;
19273 wxPyArtProvider
*result
= 0 ;
19275 if (!SWIG_Python_UnpackTuple(args
,"new_ArtProvider",0,0,0)) SWIG_fail
;
19277 if (!wxPyCheckForApp()) SWIG_fail
;
19278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19279 result
= (wxPyArtProvider
*)new wxPyArtProvider();
19280 wxPyEndAllowThreads(__tstate
);
19281 if (PyErr_Occurred()) SWIG_fail
;
19283 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_NEW
| 0 );
19290 SWIGINTERN PyObject
*_wrap_delete_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19291 PyObject
*resultobj
= 0;
19292 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19295 PyObject
*swig_obj
[1] ;
19297 if (!args
) SWIG_fail
;
19298 swig_obj
[0] = args
;
19299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
19300 if (!SWIG_IsOK(res1
)) {
19301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ArtProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19303 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19308 wxPyEndAllowThreads(__tstate
);
19309 if (PyErr_Occurred()) SWIG_fail
;
19311 resultobj
= SWIG_Py_Void();
19318 SWIGINTERN PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19319 PyObject
*resultobj
= 0;
19320 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19321 PyObject
*arg2
= (PyObject
*) 0 ;
19322 PyObject
*arg3
= (PyObject
*) 0 ;
19325 PyObject
* obj0
= 0 ;
19326 PyObject
* obj1
= 0 ;
19327 PyObject
* obj2
= 0 ;
19328 char * kwnames
[] = {
19329 (char *) "self",(char *) "self",(char *) "_class", NULL
19332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
19334 if (!SWIG_IsOK(res1
)) {
19335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19337 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19342 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19343 wxPyEndAllowThreads(__tstate
);
19344 if (PyErr_Occurred()) SWIG_fail
;
19346 resultobj
= SWIG_Py_Void();
19353 SWIGINTERN PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19354 PyObject
*resultobj
= 0;
19355 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19357 PyObject
* obj0
= 0 ;
19358 char * kwnames
[] = {
19359 (char *) "provider", NULL
19362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) SWIG_fail
;
19363 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
19364 if (!SWIG_IsOK(res1
)) {
19365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_PushProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19369 wxPyArtProvider::PushProvider(arg1
);
19370 wxPyEndAllowThreads(__tstate
);
19371 if (PyErr_Occurred()) SWIG_fail
;
19373 resultobj
= SWIG_Py_Void();
19380 SWIGINTERN PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19381 PyObject
*resultobj
= 0;
19384 if (!SWIG_Python_UnpackTuple(args
,"ArtProvider_PopProvider",0,0,0)) SWIG_fail
;
19386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19387 result
= (bool)wxPyArtProvider::PopProvider();
19388 wxPyEndAllowThreads(__tstate
);
19389 if (PyErr_Occurred()) SWIG_fail
;
19392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19400 SWIGINTERN PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19401 PyObject
*resultobj
= 0;
19402 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19406 PyObject
* obj0
= 0 ;
19407 char * kwnames
[] = {
19408 (char *) "provider", NULL
19411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) SWIG_fail
;
19412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
19413 if (!SWIG_IsOK(res1
)) {
19414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_RemoveProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19416 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19419 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
19420 wxPyEndAllowThreads(__tstate
);
19421 if (PyErr_Occurred()) SWIG_fail
;
19424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19432 SWIGINTERN PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19433 PyObject
*resultobj
= 0;
19434 wxString
*arg1
= 0 ;
19435 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
19436 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19437 wxSize
const &arg3_defvalue
= wxDefaultSize
;
19438 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
19440 bool temp1
= false ;
19441 bool temp2
= false ;
19443 PyObject
* obj0
= 0 ;
19444 PyObject
* obj1
= 0 ;
19445 PyObject
* obj2
= 0 ;
19446 char * kwnames
[] = {
19447 (char *) "id",(char *) "client",(char *) "size", NULL
19450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19452 arg1
= wxString_in_helper(obj0
);
19453 if (arg1
== NULL
) SWIG_fail
;
19458 arg2
= wxString_in_helper(obj1
);
19459 if (arg2
== NULL
) SWIG_fail
;
19466 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19470 if (!wxPyCheckForApp()) SWIG_fail
;
19471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19472 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
19473 wxPyEndAllowThreads(__tstate
);
19474 if (PyErr_Occurred()) SWIG_fail
;
19476 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
19499 SWIGINTERN PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19500 PyObject
*resultobj
= 0;
19501 wxString
*arg1
= 0 ;
19502 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
19503 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19504 wxSize
const &arg3_defvalue
= wxDefaultSize
;
19505 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
19507 bool temp1
= false ;
19508 bool temp2
= false ;
19510 PyObject
* obj0
= 0 ;
19511 PyObject
* obj1
= 0 ;
19512 PyObject
* obj2
= 0 ;
19513 char * kwnames
[] = {
19514 (char *) "id",(char *) "client",(char *) "size", NULL
19517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19519 arg1
= wxString_in_helper(obj0
);
19520 if (arg1
== NULL
) SWIG_fail
;
19525 arg2
= wxString_in_helper(obj1
);
19526 if (arg2
== NULL
) SWIG_fail
;
19533 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19537 if (!wxPyCheckForApp()) SWIG_fail
;
19538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19539 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
19540 wxPyEndAllowThreads(__tstate
);
19541 if (PyErr_Occurred()) SWIG_fail
;
19543 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
19566 SWIGINTERN PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19567 PyObject
*resultobj
= 0;
19568 wxString
*arg1
= 0 ;
19569 bool arg2
= (bool) false ;
19571 bool temp1
= false ;
19574 PyObject
* obj0
= 0 ;
19575 PyObject
* obj1
= 0 ;
19576 char * kwnames
[] = {
19577 (char *) "client",(char *) "platform_dependent", NULL
19580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19582 arg1
= wxString_in_helper(obj0
);
19583 if (arg1
== NULL
) SWIG_fail
;
19587 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19588 if (!SWIG_IsOK(ecode2
)) {
19589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ArtProvider_GetSizeHint" "', expected argument " "2"" of type '" "bool""'");
19591 arg2
= static_cast< bool >(val2
);
19594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19595 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
19596 wxPyEndAllowThreads(__tstate
);
19597 if (PyErr_Occurred()) SWIG_fail
;
19599 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19614 SWIGINTERN PyObject
*_wrap_ArtProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19615 PyObject
*resultobj
= 0;
19616 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19619 PyObject
*swig_obj
[1] ;
19621 if (!args
) SWIG_fail
;
19622 swig_obj
[0] = args
;
19623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
19624 if (!SWIG_IsOK(res1
)) {
19625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Destroy" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19627 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19630 wxPyArtProvider_Destroy(arg1
);
19631 wxPyEndAllowThreads(__tstate
);
19632 if (PyErr_Occurred()) SWIG_fail
;
19634 resultobj
= SWIG_Py_Void();
19641 SWIGINTERN PyObject
*ArtProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19643 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19644 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyArtProvider
, SWIG_NewClientData(obj
));
19645 return SWIG_Py_Void();
19648 SWIGINTERN PyObject
*ArtProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19649 return SWIG_Python_InitShadowInstance(args
);
19652 SWIGINTERN PyObject
*_wrap_delete_ConfigBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19653 PyObject
*resultobj
= 0;
19654 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19657 PyObject
*swig_obj
[1] ;
19659 if (!args
) SWIG_fail
;
19660 swig_obj
[0] = args
;
19661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
19662 if (!SWIG_IsOK(res1
)) {
19663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigBase" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19665 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19670 wxPyEndAllowThreads(__tstate
);
19671 if (PyErr_Occurred()) SWIG_fail
;
19673 resultobj
= SWIG_Py_Void();
19680 SWIGINTERN PyObject
*_wrap_ConfigBase_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19681 PyObject
*resultobj
= 0;
19682 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19683 wxConfigBase
*result
= 0 ;
19685 PyObject
* obj0
= 0 ;
19686 char * kwnames
[] = {
19687 (char *) "config", NULL
19690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) SWIG_fail
;
19691 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
19692 if (!SWIG_IsOK(res1
)) {
19693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Set" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19697 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
19698 wxPyEndAllowThreads(__tstate
);
19699 if (PyErr_Occurred()) SWIG_fail
;
19701 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19708 SWIGINTERN PyObject
*_wrap_ConfigBase_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19709 PyObject
*resultobj
= 0;
19710 bool arg1
= (bool) true ;
19711 wxConfigBase
*result
= 0 ;
19714 PyObject
* obj0
= 0 ;
19715 char * kwnames
[] = {
19716 (char *) "createOnDemand", NULL
19719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) SWIG_fail
;
19721 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
19722 if (!SWIG_IsOK(ecode1
)) {
19723 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ConfigBase_Get" "', expected argument " "1"" of type '" "bool""'");
19725 arg1
= static_cast< bool >(val1
);
19728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19729 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
19730 wxPyEndAllowThreads(__tstate
);
19731 if (PyErr_Occurred()) SWIG_fail
;
19733 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19740 SWIGINTERN PyObject
*_wrap_ConfigBase_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19741 PyObject
*resultobj
= 0;
19742 wxConfigBase
*result
= 0 ;
19744 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_Create",0,0,0)) SWIG_fail
;
19746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19747 result
= (wxConfigBase
*)wxConfigBase::Create();
19748 wxPyEndAllowThreads(__tstate
);
19749 if (PyErr_Occurred()) SWIG_fail
;
19751 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19758 SWIGINTERN PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19759 PyObject
*resultobj
= 0;
19761 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_DontCreateOnDemand",0,0,0)) SWIG_fail
;
19763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19764 wxConfigBase::DontCreateOnDemand();
19765 wxPyEndAllowThreads(__tstate
);
19766 if (PyErr_Occurred()) SWIG_fail
;
19768 resultobj
= SWIG_Py_Void();
19775 SWIGINTERN PyObject
*_wrap_ConfigBase_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19776 PyObject
*resultobj
= 0;
19777 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19778 wxString
*arg2
= 0 ;
19781 bool temp2
= false ;
19782 PyObject
* obj0
= 0 ;
19783 PyObject
* obj1
= 0 ;
19784 char * kwnames
[] = {
19785 (char *) "self",(char *) "path", NULL
19788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19790 if (!SWIG_IsOK(res1
)) {
19791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetPath" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19793 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19795 arg2
= wxString_in_helper(obj1
);
19796 if (arg2
== NULL
) SWIG_fail
;
19800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19801 (arg1
)->SetPath((wxString
const &)*arg2
);
19802 wxPyEndAllowThreads(__tstate
);
19803 if (PyErr_Occurred()) SWIG_fail
;
19805 resultobj
= SWIG_Py_Void();
19820 SWIGINTERN PyObject
*_wrap_ConfigBase_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19821 PyObject
*resultobj
= 0;
19822 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19823 wxString
*result
= 0 ;
19826 PyObject
*swig_obj
[1] ;
19828 if (!args
) SWIG_fail
;
19829 swig_obj
[0] = args
;
19830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19831 if (!SWIG_IsOK(res1
)) {
19832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetPath" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
19834 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19838 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
19839 result
= (wxString
*) &_result_ref
;
19841 wxPyEndAllowThreads(__tstate
);
19842 if (PyErr_Occurred()) SWIG_fail
;
19846 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19848 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19857 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19858 PyObject
*resultobj
= 0;
19859 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19860 PyObject
*result
= 0 ;
19863 PyObject
*swig_obj
[1] ;
19865 if (!args
) SWIG_fail
;
19866 swig_obj
[0] = args
;
19867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19868 if (!SWIG_IsOK(res1
)) {
19869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19871 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19874 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
19875 wxPyEndAllowThreads(__tstate
);
19876 if (PyErr_Occurred()) SWIG_fail
;
19878 resultobj
= result
;
19885 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19886 PyObject
*resultobj
= 0;
19887 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19889 PyObject
*result
= 0 ;
19894 PyObject
* obj0
= 0 ;
19895 PyObject
* obj1
= 0 ;
19896 char * kwnames
[] = {
19897 (char *) "self",(char *) "index", NULL
19900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19902 if (!SWIG_IsOK(res1
)) {
19903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19905 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19906 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
19907 if (!SWIG_IsOK(ecode2
)) {
19908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "2"" of type '" "long""'");
19910 arg2
= static_cast< long >(val2
);
19912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19913 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
19914 wxPyEndAllowThreads(__tstate
);
19915 if (PyErr_Occurred()) SWIG_fail
;
19917 resultobj
= result
;
19924 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19925 PyObject
*resultobj
= 0;
19926 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19927 PyObject
*result
= 0 ;
19930 PyObject
*swig_obj
[1] ;
19932 if (!args
) SWIG_fail
;
19933 swig_obj
[0] = args
;
19934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19935 if (!SWIG_IsOK(res1
)) {
19936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19938 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19941 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
19942 wxPyEndAllowThreads(__tstate
);
19943 if (PyErr_Occurred()) SWIG_fail
;
19945 resultobj
= result
;
19952 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19953 PyObject
*resultobj
= 0;
19954 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19956 PyObject
*result
= 0 ;
19961 PyObject
* obj0
= 0 ;
19962 PyObject
* obj1
= 0 ;
19963 char * kwnames
[] = {
19964 (char *) "self",(char *) "index", NULL
19967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19969 if (!SWIG_IsOK(res1
)) {
19970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19972 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19973 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
19974 if (!SWIG_IsOK(ecode2
)) {
19975 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "2"" of type '" "long""'");
19977 arg2
= static_cast< long >(val2
);
19979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19980 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
19981 wxPyEndAllowThreads(__tstate
);
19982 if (PyErr_Occurred()) SWIG_fail
;
19984 resultobj
= result
;
19991 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19992 PyObject
*resultobj
= 0;
19993 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19994 bool arg2
= (bool) false ;
20000 PyObject
* obj0
= 0 ;
20001 PyObject
* obj1
= 0 ;
20002 char * kwnames
[] = {
20003 (char *) "self",(char *) "recursive", NULL
20006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20008 if (!SWIG_IsOK(res1
)) {
20009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20011 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20013 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20014 if (!SWIG_IsOK(ecode2
)) {
20015 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "2"" of type '" "bool""'");
20017 arg2
= static_cast< bool >(val2
);
20020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20021 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
20022 wxPyEndAllowThreads(__tstate
);
20023 if (PyErr_Occurred()) SWIG_fail
;
20025 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
20032 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20033 PyObject
*resultobj
= 0;
20034 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20035 bool arg2
= (bool) false ;
20041 PyObject
* obj0
= 0 ;
20042 PyObject
* obj1
= 0 ;
20043 char * kwnames
[] = {
20044 (char *) "self",(char *) "recursive", NULL
20047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20049 if (!SWIG_IsOK(res1
)) {
20050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20052 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20054 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20055 if (!SWIG_IsOK(ecode2
)) {
20056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "2"" of type '" "bool""'");
20058 arg2
= static_cast< bool >(val2
);
20061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20062 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
20063 wxPyEndAllowThreads(__tstate
);
20064 if (PyErr_Occurred()) SWIG_fail
;
20066 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
20073 SWIGINTERN PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20074 PyObject
*resultobj
= 0;
20075 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20076 wxString
*arg2
= 0 ;
20080 bool temp2
= false ;
20081 PyObject
* obj0
= 0 ;
20082 PyObject
* obj1
= 0 ;
20083 char * kwnames
[] = {
20084 (char *) "self",(char *) "name", NULL
20087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20089 if (!SWIG_IsOK(res1
)) {
20090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasGroup" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20092 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20094 arg2
= wxString_in_helper(obj1
);
20095 if (arg2
== NULL
) SWIG_fail
;
20099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20100 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
20101 wxPyEndAllowThreads(__tstate
);
20102 if (PyErr_Occurred()) SWIG_fail
;
20105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20121 SWIGINTERN PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20122 PyObject
*resultobj
= 0;
20123 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20124 wxString
*arg2
= 0 ;
20128 bool temp2
= false ;
20129 PyObject
* obj0
= 0 ;
20130 PyObject
* obj1
= 0 ;
20131 char * kwnames
[] = {
20132 (char *) "self",(char *) "name", NULL
20135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20137 if (!SWIG_IsOK(res1
)) {
20138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasEntry" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20140 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20142 arg2
= wxString_in_helper(obj1
);
20143 if (arg2
== NULL
) SWIG_fail
;
20147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20148 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
20149 wxPyEndAllowThreads(__tstate
);
20150 if (PyErr_Occurred()) SWIG_fail
;
20153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20169 SWIGINTERN PyObject
*_wrap_ConfigBase_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20170 PyObject
*resultobj
= 0;
20171 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20172 wxString
*arg2
= 0 ;
20176 bool temp2
= false ;
20177 PyObject
* obj0
= 0 ;
20178 PyObject
* obj1
= 0 ;
20179 char * kwnames
[] = {
20180 (char *) "self",(char *) "name", NULL
20183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20185 if (!SWIG_IsOK(res1
)) {
20186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Exists" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20188 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20190 arg2
= wxString_in_helper(obj1
);
20191 if (arg2
== NULL
) SWIG_fail
;
20195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20196 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
20197 wxPyEndAllowThreads(__tstate
);
20198 if (PyErr_Occurred()) SWIG_fail
;
20201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20217 SWIGINTERN PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20218 PyObject
*resultobj
= 0;
20219 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20220 wxString
*arg2
= 0 ;
20221 wxConfigBase::EntryType result
;
20224 bool temp2
= false ;
20225 PyObject
* obj0
= 0 ;
20226 PyObject
* obj1
= 0 ;
20227 char * kwnames
[] = {
20228 (char *) "self",(char *) "name", NULL
20231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20233 if (!SWIG_IsOK(res1
)) {
20234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetEntryType" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20236 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20238 arg2
= wxString_in_helper(obj1
);
20239 if (arg2
== NULL
) SWIG_fail
;
20243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20244 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
20245 wxPyEndAllowThreads(__tstate
);
20246 if (PyErr_Occurred()) SWIG_fail
;
20248 resultobj
= SWIG_From_int(static_cast< int >(result
));
20263 SWIGINTERN PyObject
*_wrap_ConfigBase_Read(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20264 PyObject
*resultobj
= 0;
20265 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20266 wxString
*arg2
= 0 ;
20267 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20268 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20272 bool temp2
= false ;
20273 bool temp3
= false ;
20274 PyObject
* obj0
= 0 ;
20275 PyObject
* obj1
= 0 ;
20276 PyObject
* obj2
= 0 ;
20277 char * kwnames
[] = {
20278 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20283 if (!SWIG_IsOK(res1
)) {
20284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Read" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20286 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20288 arg2
= wxString_in_helper(obj1
);
20289 if (arg2
== NULL
) SWIG_fail
;
20294 arg3
= wxString_in_helper(obj2
);
20295 if (arg3
== NULL
) SWIG_fail
;
20300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20301 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20302 wxPyEndAllowThreads(__tstate
);
20303 if (PyErr_Occurred()) SWIG_fail
;
20307 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20309 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20334 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20335 PyObject
*resultobj
= 0;
20336 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20337 wxString
*arg2
= 0 ;
20338 long arg3
= (long) 0 ;
20342 bool temp2
= false ;
20345 PyObject
* obj0
= 0 ;
20346 PyObject
* obj1
= 0 ;
20347 PyObject
* obj2
= 0 ;
20348 char * kwnames
[] = {
20349 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20354 if (!SWIG_IsOK(res1
)) {
20355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20357 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20359 arg2
= wxString_in_helper(obj1
);
20360 if (arg2
== NULL
) SWIG_fail
;
20364 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
20365 if (!SWIG_IsOK(ecode3
)) {
20366 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadInt" "', expected argument " "3"" of type '" "long""'");
20368 arg3
= static_cast< long >(val3
);
20371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20372 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
20373 wxPyEndAllowThreads(__tstate
);
20374 if (PyErr_Occurred()) SWIG_fail
;
20376 resultobj
= SWIG_From_long(static_cast< long >(result
));
20391 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20392 PyObject
*resultobj
= 0;
20393 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20394 wxString
*arg2
= 0 ;
20395 double arg3
= (double) 0.0 ;
20399 bool temp2
= false ;
20402 PyObject
* obj0
= 0 ;
20403 PyObject
* obj1
= 0 ;
20404 PyObject
* obj2
= 0 ;
20405 char * kwnames
[] = {
20406 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20411 if (!SWIG_IsOK(res1
)) {
20412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20414 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20416 arg2
= wxString_in_helper(obj1
);
20417 if (arg2
== NULL
) SWIG_fail
;
20421 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
20422 if (!SWIG_IsOK(ecode3
)) {
20423 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "3"" of type '" "double""'");
20425 arg3
= static_cast< double >(val3
);
20428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20429 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
20430 wxPyEndAllowThreads(__tstate
);
20431 if (PyErr_Occurred()) SWIG_fail
;
20433 resultobj
= SWIG_From_double(static_cast< double >(result
));
20448 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20449 PyObject
*resultobj
= 0;
20450 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20451 wxString
*arg2
= 0 ;
20452 bool arg3
= (bool) false ;
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 *) "defaultVal", NULL
20466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",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_ReadBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20471 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20473 arg2
= wxString_in_helper(obj1
);
20474 if (arg2
== NULL
) SWIG_fail
;
20478 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
20479 if (!SWIG_IsOK(ecode3
)) {
20480 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadBool" "', expected argument " "3"" of type '" "bool""'");
20482 arg3
= static_cast< bool >(val3
);
20485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20486 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
20487 wxPyEndAllowThreads(__tstate
);
20488 if (PyErr_Occurred()) SWIG_fail
;
20491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20507 SWIGINTERN PyObject
*_wrap_ConfigBase_Write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20508 PyObject
*resultobj
= 0;
20509 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20510 wxString
*arg2
= 0 ;
20511 wxString
*arg3
= 0 ;
20515 bool temp2
= false ;
20516 bool temp3
= false ;
20517 PyObject
* obj0
= 0 ;
20518 PyObject
* obj1
= 0 ;
20519 PyObject
* obj2
= 0 ;
20520 char * kwnames
[] = {
20521 (char *) "self",(char *) "key",(char *) "value", NULL
20524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20526 if (!SWIG_IsOK(res1
)) {
20527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Write" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20529 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20531 arg2
= wxString_in_helper(obj1
);
20532 if (arg2
== NULL
) SWIG_fail
;
20536 arg3
= wxString_in_helper(obj2
);
20537 if (arg3
== NULL
) SWIG_fail
;
20541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20542 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20543 wxPyEndAllowThreads(__tstate
);
20544 if (PyErr_Occurred()) SWIG_fail
;
20547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20571 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20572 PyObject
*resultobj
= 0;
20573 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20574 wxString
*arg2
= 0 ;
20579 bool temp2
= false ;
20582 PyObject
* obj0
= 0 ;
20583 PyObject
* obj1
= 0 ;
20584 PyObject
* obj2
= 0 ;
20585 char * kwnames
[] = {
20586 (char *) "self",(char *) "key",(char *) "value", NULL
20589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20591 if (!SWIG_IsOK(res1
)) {
20592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20594 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20596 arg2
= wxString_in_helper(obj1
);
20597 if (arg2
== NULL
) SWIG_fail
;
20600 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
20601 if (!SWIG_IsOK(ecode3
)) {
20602 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteInt" "', expected argument " "3"" of type '" "long""'");
20604 arg3
= static_cast< long >(val3
);
20606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20607 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
20608 wxPyEndAllowThreads(__tstate
);
20609 if (PyErr_Occurred()) SWIG_fail
;
20612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20628 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20629 PyObject
*resultobj
= 0;
20630 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20631 wxString
*arg2
= 0 ;
20636 bool temp2
= false ;
20639 PyObject
* obj0
= 0 ;
20640 PyObject
* obj1
= 0 ;
20641 PyObject
* obj2
= 0 ;
20642 char * kwnames
[] = {
20643 (char *) "self",(char *) "key",(char *) "value", NULL
20646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20648 if (!SWIG_IsOK(res1
)) {
20649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20651 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20653 arg2
= wxString_in_helper(obj1
);
20654 if (arg2
== NULL
) SWIG_fail
;
20657 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
20658 if (!SWIG_IsOK(ecode3
)) {
20659 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "3"" of type '" "double""'");
20661 arg3
= static_cast< double >(val3
);
20663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20664 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
20665 wxPyEndAllowThreads(__tstate
);
20666 if (PyErr_Occurred()) SWIG_fail
;
20669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20685 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20686 PyObject
*resultobj
= 0;
20687 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20688 wxString
*arg2
= 0 ;
20693 bool temp2
= false ;
20696 PyObject
* obj0
= 0 ;
20697 PyObject
* obj1
= 0 ;
20698 PyObject
* obj2
= 0 ;
20699 char * kwnames
[] = {
20700 (char *) "self",(char *) "key",(char *) "value", NULL
20703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20705 if (!SWIG_IsOK(res1
)) {
20706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20708 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20710 arg2
= wxString_in_helper(obj1
);
20711 if (arg2
== NULL
) SWIG_fail
;
20714 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
20715 if (!SWIG_IsOK(ecode3
)) {
20716 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteBool" "', expected argument " "3"" of type '" "bool""'");
20718 arg3
= static_cast< bool >(val3
);
20720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20721 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
20722 wxPyEndAllowThreads(__tstate
);
20723 if (PyErr_Occurred()) SWIG_fail
;
20726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20742 SWIGINTERN PyObject
*_wrap_ConfigBase_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20743 PyObject
*resultobj
= 0;
20744 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20745 bool arg2
= (bool) false ;
20751 PyObject
* obj0
= 0 ;
20752 PyObject
* obj1
= 0 ;
20753 char * kwnames
[] = {
20754 (char *) "self",(char *) "currentOnly", NULL
20757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20759 if (!SWIG_IsOK(res1
)) {
20760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Flush" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20762 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20764 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20765 if (!SWIG_IsOK(ecode2
)) {
20766 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_Flush" "', expected argument " "2"" of type '" "bool""'");
20768 arg2
= static_cast< bool >(val2
);
20771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20772 result
= (bool)(arg1
)->Flush(arg2
);
20773 wxPyEndAllowThreads(__tstate
);
20774 if (PyErr_Occurred()) SWIG_fail
;
20777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20785 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20786 PyObject
*resultobj
= 0;
20787 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20788 wxString
*arg2
= 0 ;
20789 wxString
*arg3
= 0 ;
20793 bool temp2
= false ;
20794 bool temp3
= false ;
20795 PyObject
* obj0
= 0 ;
20796 PyObject
* obj1
= 0 ;
20797 PyObject
* obj2
= 0 ;
20798 char * kwnames
[] = {
20799 (char *) "self",(char *) "oldName",(char *) "newName", NULL
20802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20804 if (!SWIG_IsOK(res1
)) {
20805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20807 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20809 arg2
= wxString_in_helper(obj1
);
20810 if (arg2
== NULL
) SWIG_fail
;
20814 arg3
= wxString_in_helper(obj2
);
20815 if (arg3
== NULL
) SWIG_fail
;
20819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20820 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20821 wxPyEndAllowThreads(__tstate
);
20822 if (PyErr_Occurred()) SWIG_fail
;
20825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20849 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20850 PyObject
*resultobj
= 0;
20851 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20852 wxString
*arg2
= 0 ;
20853 wxString
*arg3
= 0 ;
20857 bool temp2
= false ;
20858 bool temp3
= false ;
20859 PyObject
* obj0
= 0 ;
20860 PyObject
* obj1
= 0 ;
20861 PyObject
* obj2
= 0 ;
20862 char * kwnames
[] = {
20863 (char *) "self",(char *) "oldName",(char *) "newName", NULL
20866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20868 if (!SWIG_IsOK(res1
)) {
20869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20871 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20873 arg2
= wxString_in_helper(obj1
);
20874 if (arg2
== NULL
) SWIG_fail
;
20878 arg3
= wxString_in_helper(obj2
);
20879 if (arg3
== NULL
) SWIG_fail
;
20883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20884 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20885 wxPyEndAllowThreads(__tstate
);
20886 if (PyErr_Occurred()) SWIG_fail
;
20889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20913 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20914 PyObject
*resultobj
= 0;
20915 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20916 wxString
*arg2
= 0 ;
20917 bool arg3
= (bool) true ;
20921 bool temp2
= false ;
20924 PyObject
* obj0
= 0 ;
20925 PyObject
* obj1
= 0 ;
20926 PyObject
* obj2
= 0 ;
20927 char * kwnames
[] = {
20928 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
20931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20933 if (!SWIG_IsOK(res1
)) {
20934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20936 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20938 arg2
= wxString_in_helper(obj1
);
20939 if (arg2
== NULL
) SWIG_fail
;
20943 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
20944 if (!SWIG_IsOK(ecode3
)) {
20945 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "3"" of type '" "bool""'");
20947 arg3
= static_cast< bool >(val3
);
20950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20951 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
20952 wxPyEndAllowThreads(__tstate
);
20953 if (PyErr_Occurred()) SWIG_fail
;
20956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20972 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20973 PyObject
*resultobj
= 0;
20974 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20975 wxString
*arg2
= 0 ;
20979 bool temp2
= false ;
20980 PyObject
* obj0
= 0 ;
20981 PyObject
* obj1
= 0 ;
20982 char * kwnames
[] = {
20983 (char *) "self",(char *) "key", NULL
20986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20988 if (!SWIG_IsOK(res1
)) {
20989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20991 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20993 arg2
= wxString_in_helper(obj1
);
20994 if (arg2
== NULL
) SWIG_fail
;
20998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20999 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
21000 wxPyEndAllowThreads(__tstate
);
21001 if (PyErr_Occurred()) SWIG_fail
;
21004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21020 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21021 PyObject
*resultobj
= 0;
21022 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21026 PyObject
*swig_obj
[1] ;
21028 if (!args
) SWIG_fail
;
21029 swig_obj
[0] = args
;
21030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21031 if (!SWIG_IsOK(res1
)) {
21032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteAll" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21034 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21037 result
= (bool)(arg1
)->DeleteAll();
21038 wxPyEndAllowThreads(__tstate
);
21039 if (PyErr_Occurred()) SWIG_fail
;
21042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21050 SWIGINTERN PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21051 PyObject
*resultobj
= 0;
21052 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21053 bool arg2
= (bool) true ;
21058 PyObject
* obj0
= 0 ;
21059 PyObject
* obj1
= 0 ;
21060 char * kwnames
[] = {
21061 (char *) "self",(char *) "doIt", NULL
21064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21066 if (!SWIG_IsOK(res1
)) {
21067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21069 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21071 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21072 if (!SWIG_IsOK(ecode2
)) {
21073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "2"" of type '" "bool""'");
21075 arg2
= static_cast< bool >(val2
);
21078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21079 (arg1
)->SetExpandEnvVars(arg2
);
21080 wxPyEndAllowThreads(__tstate
);
21081 if (PyErr_Occurred()) SWIG_fail
;
21083 resultobj
= SWIG_Py_Void();
21090 SWIGINTERN PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21091 PyObject
*resultobj
= 0;
21092 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21096 PyObject
*swig_obj
[1] ;
21098 if (!args
) SWIG_fail
;
21099 swig_obj
[0] = args
;
21100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21101 if (!SWIG_IsOK(res1
)) {
21102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsExpandingEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21104 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21107 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
21108 wxPyEndAllowThreads(__tstate
);
21109 if (PyErr_Occurred()) SWIG_fail
;
21112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21120 SWIGINTERN PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21121 PyObject
*resultobj
= 0;
21122 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21123 bool arg2
= (bool) true ;
21128 PyObject
* obj0
= 0 ;
21129 PyObject
* obj1
= 0 ;
21130 char * kwnames
[] = {
21131 (char *) "self",(char *) "doIt", NULL
21134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21136 if (!SWIG_IsOK(res1
)) {
21137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21139 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21141 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21142 if (!SWIG_IsOK(ecode2
)) {
21143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "2"" of type '" "bool""'");
21145 arg2
= static_cast< bool >(val2
);
21148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21149 (arg1
)->SetRecordDefaults(arg2
);
21150 wxPyEndAllowThreads(__tstate
);
21151 if (PyErr_Occurred()) SWIG_fail
;
21153 resultobj
= SWIG_Py_Void();
21160 SWIGINTERN PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21161 PyObject
*resultobj
= 0;
21162 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21166 PyObject
*swig_obj
[1] ;
21168 if (!args
) SWIG_fail
;
21169 swig_obj
[0] = args
;
21170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21171 if (!SWIG_IsOK(res1
)) {
21172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsRecordingDefaults" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21174 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21177 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
21178 wxPyEndAllowThreads(__tstate
);
21179 if (PyErr_Occurred()) SWIG_fail
;
21182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21190 SWIGINTERN PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21191 PyObject
*resultobj
= 0;
21192 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21193 wxString
*arg2
= 0 ;
21197 bool temp2
= false ;
21198 PyObject
* obj0
= 0 ;
21199 PyObject
* obj1
= 0 ;
21200 char * kwnames
[] = {
21201 (char *) "self",(char *) "str", NULL
21204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21206 if (!SWIG_IsOK(res1
)) {
21207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21209 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21211 arg2
= wxString_in_helper(obj1
);
21212 if (arg2
== NULL
) SWIG_fail
;
21216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21217 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
21218 wxPyEndAllowThreads(__tstate
);
21219 if (PyErr_Occurred()) SWIG_fail
;
21223 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21225 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21242 SWIGINTERN PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21243 PyObject
*resultobj
= 0;
21244 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21248 PyObject
*swig_obj
[1] ;
21250 if (!args
) SWIG_fail
;
21251 swig_obj
[0] = args
;
21252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21253 if (!SWIG_IsOK(res1
)) {
21254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetAppName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21256 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21259 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
21260 wxPyEndAllowThreads(__tstate
);
21261 if (PyErr_Occurred()) SWIG_fail
;
21265 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21267 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21276 SWIGINTERN PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21277 PyObject
*resultobj
= 0;
21278 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21282 PyObject
*swig_obj
[1] ;
21284 if (!args
) SWIG_fail
;
21285 swig_obj
[0] = args
;
21286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21287 if (!SWIG_IsOK(res1
)) {
21288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetVendorName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21290 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21293 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
21294 wxPyEndAllowThreads(__tstate
);
21295 if (PyErr_Occurred()) SWIG_fail
;
21299 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21301 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21310 SWIGINTERN PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21311 PyObject
*resultobj
= 0;
21312 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21313 wxString
*arg2
= 0 ;
21316 bool temp2
= false ;
21317 PyObject
* obj0
= 0 ;
21318 PyObject
* obj1
= 0 ;
21319 char * kwnames
[] = {
21320 (char *) "self",(char *) "appName", NULL
21323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21325 if (!SWIG_IsOK(res1
)) {
21326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetAppName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21328 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21330 arg2
= wxString_in_helper(obj1
);
21331 if (arg2
== NULL
) SWIG_fail
;
21335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21336 (arg1
)->SetAppName((wxString
const &)*arg2
);
21337 wxPyEndAllowThreads(__tstate
);
21338 if (PyErr_Occurred()) SWIG_fail
;
21340 resultobj
= SWIG_Py_Void();
21355 SWIGINTERN PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21356 PyObject
*resultobj
= 0;
21357 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21358 wxString
*arg2
= 0 ;
21361 bool temp2
= false ;
21362 PyObject
* obj0
= 0 ;
21363 PyObject
* obj1
= 0 ;
21364 char * kwnames
[] = {
21365 (char *) "self",(char *) "vendorName", NULL
21368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21370 if (!SWIG_IsOK(res1
)) {
21371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetVendorName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21373 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21375 arg2
= wxString_in_helper(obj1
);
21376 if (arg2
== NULL
) SWIG_fail
;
21380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21381 (arg1
)->SetVendorName((wxString
const &)*arg2
);
21382 wxPyEndAllowThreads(__tstate
);
21383 if (PyErr_Occurred()) SWIG_fail
;
21385 resultobj
= SWIG_Py_Void();
21400 SWIGINTERN PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21401 PyObject
*resultobj
= 0;
21402 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21408 PyObject
* obj0
= 0 ;
21409 PyObject
* obj1
= 0 ;
21410 char * kwnames
[] = {
21411 (char *) "self",(char *) "style", NULL
21414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21416 if (!SWIG_IsOK(res1
)) {
21417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetStyle" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21419 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21420 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21421 if (!SWIG_IsOK(ecode2
)) {
21422 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetStyle" "', expected argument " "2"" of type '" "long""'");
21424 arg2
= static_cast< long >(val2
);
21426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21427 (arg1
)->SetStyle(arg2
);
21428 wxPyEndAllowThreads(__tstate
);
21429 if (PyErr_Occurred()) SWIG_fail
;
21431 resultobj
= SWIG_Py_Void();
21438 SWIGINTERN PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21439 PyObject
*resultobj
= 0;
21440 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21444 PyObject
*swig_obj
[1] ;
21446 if (!args
) SWIG_fail
;
21447 swig_obj
[0] = args
;
21448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21449 if (!SWIG_IsOK(res1
)) {
21450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetStyle" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21452 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21455 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
21456 wxPyEndAllowThreads(__tstate
);
21457 if (PyErr_Occurred()) SWIG_fail
;
21459 resultobj
= SWIG_From_long(static_cast< long >(result
));
21466 SWIGINTERN PyObject
*ConfigBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21468 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21469 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigBase
, SWIG_NewClientData(obj
));
21470 return SWIG_Py_Void();
21473 SWIGINTERN PyObject
*_wrap_new_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21474 PyObject
*resultobj
= 0;
21475 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21476 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21477 wxString
const &arg2_defvalue
= wxPyEmptyString
;
21478 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21479 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21480 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21481 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21482 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21483 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
21484 wxConfig
*result
= 0 ;
21485 bool temp1
= false ;
21486 bool temp2
= false ;
21487 bool temp3
= false ;
21488 bool temp4
= false ;
21491 PyObject
* obj0
= 0 ;
21492 PyObject
* obj1
= 0 ;
21493 PyObject
* obj2
= 0 ;
21494 PyObject
* obj3
= 0 ;
21495 PyObject
* obj4
= 0 ;
21496 char * kwnames
[] = {
21497 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
21500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21503 arg1
= wxString_in_helper(obj0
);
21504 if (arg1
== NULL
) SWIG_fail
;
21510 arg2
= wxString_in_helper(obj1
);
21511 if (arg2
== NULL
) SWIG_fail
;
21517 arg3
= wxString_in_helper(obj2
);
21518 if (arg3
== NULL
) SWIG_fail
;
21524 arg4
= wxString_in_helper(obj3
);
21525 if (arg4
== NULL
) SWIG_fail
;
21530 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21531 if (!SWIG_IsOK(ecode5
)) {
21532 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Config" "', expected argument " "5"" of type '" "long""'");
21534 arg5
= static_cast< long >(val5
);
21537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21538 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
21539 wxPyEndAllowThreads(__tstate
);
21540 if (PyErr_Occurred()) SWIG_fail
;
21542 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfig
, SWIG_POINTER_NEW
| 0 );
21581 SWIGINTERN PyObject
*_wrap_delete_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21582 PyObject
*resultobj
= 0;
21583 wxConfig
*arg1
= (wxConfig
*) 0 ;
21586 PyObject
*swig_obj
[1] ;
21588 if (!args
) SWIG_fail
;
21589 swig_obj
[0] = args
;
21590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfig
, SWIG_POINTER_DISOWN
| 0 );
21591 if (!SWIG_IsOK(res1
)) {
21592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Config" "', expected argument " "1"" of type '" "wxConfig *""'");
21594 arg1
= reinterpret_cast< wxConfig
* >(argp1
);
21596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21599 wxPyEndAllowThreads(__tstate
);
21600 if (PyErr_Occurred()) SWIG_fail
;
21602 resultobj
= SWIG_Py_Void();
21609 SWIGINTERN PyObject
*Config_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21611 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21612 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfig
, SWIG_NewClientData(obj
));
21613 return SWIG_Py_Void();
21616 SWIGINTERN PyObject
*Config_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21617 return SWIG_Python_InitShadowInstance(args
);
21620 SWIGINTERN PyObject
*_wrap_new_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21621 PyObject
*resultobj
= 0;
21622 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21623 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21624 wxString
const &arg2_defvalue
= wxPyEmptyString
;
21625 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21626 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21627 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21628 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21629 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21630 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
21631 wxFileConfig
*result
= 0 ;
21632 bool temp1
= false ;
21633 bool temp2
= false ;
21634 bool temp3
= false ;
21635 bool temp4
= false ;
21638 PyObject
* obj0
= 0 ;
21639 PyObject
* obj1
= 0 ;
21640 PyObject
* obj2
= 0 ;
21641 PyObject
* obj3
= 0 ;
21642 PyObject
* obj4
= 0 ;
21643 char * kwnames
[] = {
21644 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
21647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21650 arg1
= wxString_in_helper(obj0
);
21651 if (arg1
== NULL
) SWIG_fail
;
21657 arg2
= wxString_in_helper(obj1
);
21658 if (arg2
== NULL
) SWIG_fail
;
21664 arg3
= wxString_in_helper(obj2
);
21665 if (arg3
== NULL
) SWIG_fail
;
21671 arg4
= wxString_in_helper(obj3
);
21672 if (arg4
== NULL
) SWIG_fail
;
21677 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21678 if (!SWIG_IsOK(ecode5
)) {
21679 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FileConfig" "', expected argument " "5"" of type '" "long""'");
21681 arg5
= static_cast< long >(val5
);
21684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21685 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
21686 wxPyEndAllowThreads(__tstate
);
21687 if (PyErr_Occurred()) SWIG_fail
;
21689 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_NEW
| 0 );
21728 SWIGINTERN PyObject
*_wrap_delete_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21729 PyObject
*resultobj
= 0;
21730 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
21733 PyObject
*swig_obj
[1] ;
21735 if (!args
) SWIG_fail
;
21736 swig_obj
[0] = args
;
21737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_DISOWN
| 0 );
21738 if (!SWIG_IsOK(res1
)) {
21739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileConfig" "', expected argument " "1"" of type '" "wxFileConfig *""'");
21741 arg1
= reinterpret_cast< wxFileConfig
* >(argp1
);
21743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21746 wxPyEndAllowThreads(__tstate
);
21747 if (PyErr_Occurred()) SWIG_fail
;
21749 resultobj
= SWIG_Py_Void();
21756 SWIGINTERN PyObject
*FileConfig_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21758 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21759 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileConfig
, SWIG_NewClientData(obj
));
21760 return SWIG_Py_Void();
21763 SWIGINTERN PyObject
*FileConfig_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21764 return SWIG_Python_InitShadowInstance(args
);
21767 SWIGINTERN PyObject
*_wrap_new_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21768 PyObject
*resultobj
= 0;
21769 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21770 wxString
*arg2
= 0 ;
21771 wxConfigPathChanger
*result
= 0 ;
21774 bool temp2
= false ;
21775 PyObject
* obj0
= 0 ;
21776 PyObject
* obj1
= 0 ;
21777 char * kwnames
[] = {
21778 (char *) "config",(char *) "entry", NULL
21781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21783 if (!SWIG_IsOK(res1
)) {
21784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21786 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21788 arg2
= wxString_in_helper(obj1
);
21789 if (arg2
== NULL
) SWIG_fail
;
21793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21794 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
21795 wxPyEndAllowThreads(__tstate
);
21796 if (PyErr_Occurred()) SWIG_fail
;
21798 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_NEW
| 0 );
21813 SWIGINTERN PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21814 PyObject
*resultobj
= 0;
21815 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
21818 PyObject
*swig_obj
[1] ;
21820 if (!args
) SWIG_fail
;
21821 swig_obj
[0] = args
;
21822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_DISOWN
| 0 );
21823 if (!SWIG_IsOK(res1
)) {
21824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigPathChanger *""'");
21826 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
21828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21831 wxPyEndAllowThreads(__tstate
);
21832 if (PyErr_Occurred()) SWIG_fail
;
21834 resultobj
= SWIG_Py_Void();
21841 SWIGINTERN PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21842 PyObject
*resultobj
= 0;
21843 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
21844 wxString
*result
= 0 ;
21847 PyObject
*swig_obj
[1] ;
21849 if (!args
) SWIG_fail
;
21850 swig_obj
[0] = args
;
21851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, 0 | 0 );
21852 if (!SWIG_IsOK(res1
)) {
21853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigPathChanger_Name" "', expected argument " "1"" of type '" "wxConfigPathChanger const *""'");
21855 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
21857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21859 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
21860 result
= (wxString
*) &_result_ref
;
21862 wxPyEndAllowThreads(__tstate
);
21863 if (PyErr_Occurred()) SWIG_fail
;
21867 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21869 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21878 SWIGINTERN PyObject
*ConfigPathChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21880 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21881 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigPathChanger
, SWIG_NewClientData(obj
));
21882 return SWIG_Py_Void();
21885 SWIGINTERN PyObject
*ConfigPathChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21886 return SWIG_Python_InitShadowInstance(args
);
21889 SWIGINTERN PyObject
*_wrap_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21890 PyObject
*resultobj
= 0;
21891 wxString
*arg1
= 0 ;
21893 bool temp1
= false ;
21894 PyObject
* obj0
= 0 ;
21895 char * kwnames
[] = {
21896 (char *) "sz", NULL
21899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) SWIG_fail
;
21901 arg1
= wxString_in_helper(obj0
);
21902 if (arg1
== NULL
) SWIG_fail
;
21906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21907 result
= wxExpandEnvVars((wxString
const &)*arg1
);
21908 wxPyEndAllowThreads(__tstate
);
21909 if (PyErr_Occurred()) SWIG_fail
;
21913 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21915 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21932 SWIGINTERN
int DefaultDateTimeFormat_set(PyObject
*) {
21933 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTimeFormat is read-only.");
21938 SWIGINTERN PyObject
*DefaultDateTimeFormat_get(void) {
21939 PyObject
*pyobj
= 0;
21943 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
21945 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
21952 SWIGINTERN
int DefaultTimeSpanFormat_set(PyObject
*) {
21953 SWIG_Error(SWIG_AttributeError
,"Variable DefaultTimeSpanFormat is read-only.");
21958 SWIGINTERN PyObject
*DefaultTimeSpanFormat_get(void) {
21959 PyObject
*pyobj
= 0;
21963 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
21965 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
21972 SWIGINTERN PyObject
*_wrap_DateTime_SetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21973 PyObject
*resultobj
= 0;
21974 wxDateTime::Country arg1
;
21977 PyObject
* obj0
= 0 ;
21978 char * kwnames
[] = {
21979 (char *) "country", NULL
21982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) SWIG_fail
;
21983 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21984 if (!SWIG_IsOK(ecode1
)) {
21985 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
21987 arg1
= static_cast< wxDateTime::Country
>(val1
);
21989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21990 wxDateTime::SetCountry(arg1
);
21991 wxPyEndAllowThreads(__tstate
);
21992 if (PyErr_Occurred()) SWIG_fail
;
21994 resultobj
= SWIG_Py_Void();
22001 SWIGINTERN PyObject
*_wrap_DateTime_GetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22002 PyObject
*resultobj
= 0;
22003 wxDateTime::Country result
;
22005 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetCountry",0,0,0)) SWIG_fail
;
22007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22008 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
22009 wxPyEndAllowThreads(__tstate
);
22010 if (PyErr_Occurred()) SWIG_fail
;
22012 resultobj
= SWIG_From_int(static_cast< int >(result
));
22019 SWIGINTERN PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22020 PyObject
*resultobj
= 0;
22021 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22025 PyObject
* obj0
= 0 ;
22026 char * kwnames
[] = {
22027 (char *) "country", NULL
22030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) SWIG_fail
;
22032 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22033 if (!SWIG_IsOK(ecode1
)) {
22034 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsWestEuropeanCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
22036 arg1
= static_cast< wxDateTime::Country
>(val1
);
22039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22040 result
= (bool)wxDateTime::IsWestEuropeanCountry(arg1
);
22041 wxPyEndAllowThreads(__tstate
);
22042 if (PyErr_Occurred()) SWIG_fail
;
22045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22053 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22054 PyObject
*resultobj
= 0;
22055 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22059 PyObject
* obj0
= 0 ;
22060 char * kwnames
[] = {
22061 (char *) "cal", NULL
22064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) SWIG_fail
;
22066 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22067 if (!SWIG_IsOK(ecode1
)) {
22068 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentYear" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
22070 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
22073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22074 result
= (int)wxDateTime::GetCurrentYear(arg1
);
22075 wxPyEndAllowThreads(__tstate
);
22076 if (PyErr_Occurred()) SWIG_fail
;
22078 resultobj
= SWIG_From_int(static_cast< int >(result
));
22085 SWIGINTERN PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22086 PyObject
*resultobj
= 0;
22091 PyObject
* obj0
= 0 ;
22092 char * kwnames
[] = {
22093 (char *) "year", NULL
22096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) SWIG_fail
;
22097 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22098 if (!SWIG_IsOK(ecode1
)) {
22099 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_ConvertYearToBC" "', expected argument " "1"" of type '" "int""'");
22101 arg1
= static_cast< int >(val1
);
22103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22104 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
22105 wxPyEndAllowThreads(__tstate
);
22106 if (PyErr_Occurred()) SWIG_fail
;
22108 resultobj
= SWIG_From_int(static_cast< int >(result
));
22115 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22116 PyObject
*resultobj
= 0;
22117 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22118 wxDateTime::Month result
;
22121 PyObject
* obj0
= 0 ;
22122 char * kwnames
[] = {
22123 (char *) "cal", NULL
22126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) SWIG_fail
;
22128 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22129 if (!SWIG_IsOK(ecode1
)) {
22130 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentMonth" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
22132 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
22135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22136 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth(arg1
);
22137 wxPyEndAllowThreads(__tstate
);
22138 if (PyErr_Occurred()) SWIG_fail
;
22140 resultobj
= SWIG_From_int(static_cast< int >(result
));
22147 SWIGINTERN PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22148 PyObject
*resultobj
= 0;
22149 int arg1
= (int) wxDateTime::Inv_Year
;
22150 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22156 PyObject
* obj0
= 0 ;
22157 PyObject
* obj1
= 0 ;
22158 char * kwnames
[] = {
22159 (char *) "year",(char *) "cal", NULL
22162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22164 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22165 if (!SWIG_IsOK(ecode1
)) {
22166 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsLeapYear" "', expected argument " "1"" of type '" "int""'");
22168 arg1
= static_cast< int >(val1
);
22171 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22172 if (!SWIG_IsOK(ecode2
)) {
22173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsLeapYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
22175 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
22178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22179 result
= (bool)wxDateTime::IsLeapYear(arg1
,arg2
);
22180 wxPyEndAllowThreads(__tstate
);
22181 if (PyErr_Occurred()) SWIG_fail
;
22184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22192 SWIGINTERN PyObject
*_wrap_DateTime_GetCentury(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22193 PyObject
*resultobj
= 0;
22194 int arg1
= (int) wxDateTime::Inv_Year
;
22198 PyObject
* obj0
= 0 ;
22199 char * kwnames
[] = {
22200 (char *) "year", NULL
22203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) SWIG_fail
;
22205 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22206 if (!SWIG_IsOK(ecode1
)) {
22207 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCentury" "', expected argument " "1"" of type '" "int""'");
22209 arg1
= static_cast< int >(val1
);
22212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22213 result
= (int)wxDateTime::GetCentury(arg1
);
22214 wxPyEndAllowThreads(__tstate
);
22215 if (PyErr_Occurred()) SWIG_fail
;
22217 resultobj
= SWIG_From_int(static_cast< int >(result
));
22224 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22225 PyObject
*resultobj
= 0;
22227 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22233 PyObject
* obj0
= 0 ;
22234 PyObject
* obj1
= 0 ;
22235 char * kwnames
[] = {
22236 (char *) "year",(char *) "cal", NULL
22239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22240 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22241 if (!SWIG_IsOK(ecode1
)) {
22242 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "1"" of type '" "int""'");
22244 arg1
= static_cast< int >(val1
);
22246 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22247 if (!SWIG_IsOK(ecode2
)) {
22248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
22250 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
22253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22254 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
);
22255 wxPyEndAllowThreads(__tstate
);
22256 if (PyErr_Occurred()) SWIG_fail
;
22258 resultobj
= SWIG_From_int(static_cast< int >(result
));
22265 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22266 PyObject
*resultobj
= 0;
22267 wxDateTime::Month arg1
;
22268 int arg2
= (int) wxDateTime::Inv_Year
;
22269 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22277 PyObject
* obj0
= 0 ;
22278 PyObject
* obj1
= 0 ;
22279 PyObject
* obj2
= 0 ;
22280 char * kwnames
[] = {
22281 (char *) "month",(char *) "year",(char *) "cal", NULL
22284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22285 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22286 if (!SWIG_IsOK(ecode1
)) {
22287 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
22289 arg1
= static_cast< wxDateTime::Month
>(val1
);
22291 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22292 if (!SWIG_IsOK(ecode2
)) {
22293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "2"" of type '" "int""'");
22295 arg2
= static_cast< int >(val2
);
22298 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22299 if (!SWIG_IsOK(ecode3
)) {
22300 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "3"" of type '" "wxDateTime::Calendar""'");
22302 arg3
= static_cast< wxDateTime::Calendar
>(val3
);
22305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22306 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
,arg3
);
22307 wxPyEndAllowThreads(__tstate
);
22308 if (PyErr_Occurred()) SWIG_fail
;
22310 resultobj
= SWIG_From_int(static_cast< int >(result
));
22317 SWIGINTERN PyObject
*_wrap_DateTime_GetMonthName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22318 PyObject
*resultobj
= 0;
22319 wxDateTime::Month arg1
;
22320 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
22326 PyObject
* obj0
= 0 ;
22327 PyObject
* obj1
= 0 ;
22328 char * kwnames
[] = {
22329 (char *) "month",(char *) "flags", NULL
22332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22333 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22334 if (!SWIG_IsOK(ecode1
)) {
22335 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetMonthName" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
22337 arg1
= static_cast< wxDateTime::Month
>(val1
);
22339 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22340 if (!SWIG_IsOK(ecode2
)) {
22341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetMonthName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
22343 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
22346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22347 result
= wxDateTime::GetMonthName(arg1
,arg2
);
22348 wxPyEndAllowThreads(__tstate
);
22349 if (PyErr_Occurred()) SWIG_fail
;
22353 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22355 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22364 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22365 PyObject
*resultobj
= 0;
22366 wxDateTime::WeekDay arg1
;
22367 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
22373 PyObject
* obj0
= 0 ;
22374 PyObject
* obj1
= 0 ;
22375 char * kwnames
[] = {
22376 (char *) "weekday",(char *) "flags", NULL
22379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22380 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22381 if (!SWIG_IsOK(ecode1
)) {
22382 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "1"" of type '" "wxDateTime::WeekDay""'");
22384 arg1
= static_cast< wxDateTime::WeekDay
>(val1
);
22386 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22387 if (!SWIG_IsOK(ecode2
)) {
22388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
22390 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
22393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22394 result
= wxDateTime::GetWeekDayName(arg1
,arg2
);
22395 wxPyEndAllowThreads(__tstate
);
22396 if (PyErr_Occurred()) SWIG_fail
;
22400 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22402 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22411 SWIGINTERN PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22412 PyObject
*resultobj
= 0;
22413 PyObject
*result
= 0 ;
22415 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetAmPmStrings",0,0,0)) SWIG_fail
;
22417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22418 result
= (PyObject
*)wxDateTime_GetAmPmStrings();
22419 wxPyEndAllowThreads(__tstate
);
22420 if (PyErr_Occurred()) SWIG_fail
;
22422 resultobj
= result
;
22429 SWIGINTERN PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22430 PyObject
*resultobj
= 0;
22431 int arg1
= (int) wxDateTime::Inv_Year
;
22432 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22438 PyObject
* obj0
= 0 ;
22439 PyObject
* obj1
= 0 ;
22440 char * kwnames
[] = {
22441 (char *) "year",(char *) "country", NULL
22444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22446 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22447 if (!SWIG_IsOK(ecode1
)) {
22448 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "1"" of type '" "int""'");
22450 arg1
= static_cast< int >(val1
);
22453 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22454 if (!SWIG_IsOK(ecode2
)) {
22455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
22457 arg2
= static_cast< wxDateTime::Country
>(val2
);
22460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22461 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,arg2
);
22462 wxPyEndAllowThreads(__tstate
);
22463 if (PyErr_Occurred()) SWIG_fail
;
22466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22474 SWIGINTERN PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22475 PyObject
*resultobj
= 0;
22476 int arg1
= (int) wxDateTime::Inv_Year
;
22477 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22483 PyObject
* obj0
= 0 ;
22484 PyObject
* obj1
= 0 ;
22485 char * kwnames
[] = {
22486 (char *) "year",(char *) "country", NULL
22489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22491 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22492 if (!SWIG_IsOK(ecode1
)) {
22493 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetBeginDST" "', expected argument " "1"" of type '" "int""'");
22495 arg1
= static_cast< int >(val1
);
22498 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22499 if (!SWIG_IsOK(ecode2
)) {
22500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetBeginDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
22502 arg2
= static_cast< wxDateTime::Country
>(val2
);
22505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22506 result
= wxDateTime::GetBeginDST(arg1
,arg2
);
22507 wxPyEndAllowThreads(__tstate
);
22508 if (PyErr_Occurred()) SWIG_fail
;
22510 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22517 SWIGINTERN PyObject
*_wrap_DateTime_GetEndDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22518 PyObject
*resultobj
= 0;
22519 int arg1
= (int) wxDateTime::Inv_Year
;
22520 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22526 PyObject
* obj0
= 0 ;
22527 PyObject
* obj1
= 0 ;
22528 char * kwnames
[] = {
22529 (char *) "year",(char *) "country", NULL
22532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22534 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22535 if (!SWIG_IsOK(ecode1
)) {
22536 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetEndDST" "', expected argument " "1"" of type '" "int""'");
22538 arg1
= static_cast< int >(val1
);
22541 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22542 if (!SWIG_IsOK(ecode2
)) {
22543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetEndDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
22545 arg2
= static_cast< wxDateTime::Country
>(val2
);
22548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22549 result
= wxDateTime::GetEndDST(arg1
,arg2
);
22550 wxPyEndAllowThreads(__tstate
);
22551 if (PyErr_Occurred()) SWIG_fail
;
22553 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22560 SWIGINTERN PyObject
*_wrap_DateTime_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22561 PyObject
*resultobj
= 0;
22564 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Now",0,0,0)) SWIG_fail
;
22566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22567 result
= wxDateTime::Now();
22568 wxPyEndAllowThreads(__tstate
);
22569 if (PyErr_Occurred()) SWIG_fail
;
22571 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22578 SWIGINTERN PyObject
*_wrap_DateTime_UNow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22579 PyObject
*resultobj
= 0;
22582 if (!SWIG_Python_UnpackTuple(args
,"DateTime_UNow",0,0,0)) SWIG_fail
;
22584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22585 result
= wxDateTime::UNow();
22586 wxPyEndAllowThreads(__tstate
);
22587 if (PyErr_Occurred()) SWIG_fail
;
22589 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22596 SWIGINTERN PyObject
*_wrap_DateTime_Today(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22597 PyObject
*resultobj
= 0;
22600 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Today",0,0,0)) SWIG_fail
;
22602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22603 result
= wxDateTime::Today();
22604 wxPyEndAllowThreads(__tstate
);
22605 if (PyErr_Occurred()) SWIG_fail
;
22607 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22614 SWIGINTERN PyObject
*_wrap_new_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22615 PyObject
*resultobj
= 0;
22616 wxDateTime
*result
= 0 ;
22618 if (!SWIG_Python_UnpackTuple(args
,"new_DateTime",0,0,0)) SWIG_fail
;
22620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22621 result
= (wxDateTime
*)new wxDateTime();
22622 wxPyEndAllowThreads(__tstate
);
22623 if (PyErr_Occurred()) SWIG_fail
;
22625 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_NEW
| 0 );
22632 SWIGINTERN PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22633 PyObject
*resultobj
= 0;
22635 wxDateTime
*result
= 0 ;
22636 unsigned int val1
;
22638 PyObject
* obj0
= 0 ;
22639 char * kwnames
[] = {
22640 (char *) "timet", NULL
22643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) SWIG_fail
;
22644 ecode1
= SWIG_AsVal_unsigned_SS_int(obj0
, &val1
);
22645 if (!SWIG_IsOK(ecode1
)) {
22646 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromTimeT" "', expected argument " "1"" of type '" "time_t""'");
22648 arg1
= static_cast< time_t >(val1
);
22650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22651 result
= (wxDateTime
*)new wxDateTime(arg1
);
22652 wxPyEndAllowThreads(__tstate
);
22653 if (PyErr_Occurred()) SWIG_fail
;
22655 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22662 SWIGINTERN PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22663 PyObject
*resultobj
= 0;
22665 wxDateTime
*result
= 0 ;
22668 PyObject
* obj0
= 0 ;
22669 char * kwnames
[] = {
22670 (char *) "jdn", NULL
22673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) SWIG_fail
;
22674 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
22675 if (!SWIG_IsOK(ecode1
)) {
22676 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromJDN" "', expected argument " "1"" of type '" "double""'");
22678 arg1
= static_cast< double >(val1
);
22680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22681 result
= (wxDateTime
*)new wxDateTime(arg1
);
22682 wxPyEndAllowThreads(__tstate
);
22683 if (PyErr_Occurred()) SWIG_fail
;
22685 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22692 SWIGINTERN PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22693 PyObject
*resultobj
= 0;
22695 int arg2
= (int) 0 ;
22696 int arg3
= (int) 0 ;
22697 int arg4
= (int) 0 ;
22698 wxDateTime
*result
= 0 ;
22707 PyObject
* obj0
= 0 ;
22708 PyObject
* obj1
= 0 ;
22709 PyObject
* obj2
= 0 ;
22710 PyObject
* obj3
= 0 ;
22711 char * kwnames
[] = {
22712 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
22715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22716 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22717 if (!SWIG_IsOK(ecode1
)) {
22718 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromHMS" "', expected argument " "1"" of type '" "int""'");
22720 arg1
= static_cast< int >(val1
);
22722 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22723 if (!SWIG_IsOK(ecode2
)) {
22724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromHMS" "', expected argument " "2"" of type '" "int""'");
22726 arg2
= static_cast< int >(val2
);
22729 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22730 if (!SWIG_IsOK(ecode3
)) {
22731 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromHMS" "', expected argument " "3"" of type '" "int""'");
22733 arg3
= static_cast< int >(val3
);
22736 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22737 if (!SWIG_IsOK(ecode4
)) {
22738 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromHMS" "', expected argument " "4"" of type '" "int""'");
22740 arg4
= static_cast< int >(val4
);
22743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22744 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
22745 wxPyEndAllowThreads(__tstate
);
22746 if (PyErr_Occurred()) SWIG_fail
;
22748 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22755 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22756 PyObject
*resultobj
= 0;
22758 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
22759 int arg3
= (int) wxDateTime::Inv_Year
;
22760 int arg4
= (int) 0 ;
22761 int arg5
= (int) 0 ;
22762 int arg6
= (int) 0 ;
22763 int arg7
= (int) 0 ;
22764 wxDateTime
*result
= 0 ;
22779 PyObject
* obj0
= 0 ;
22780 PyObject
* obj1
= 0 ;
22781 PyObject
* obj2
= 0 ;
22782 PyObject
* obj3
= 0 ;
22783 PyObject
* obj4
= 0 ;
22784 PyObject
* obj5
= 0 ;
22785 PyObject
* obj6
= 0 ;
22786 char * kwnames
[] = {
22787 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
22790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22791 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22792 if (!SWIG_IsOK(ecode1
)) {
22793 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromDMY" "', expected argument " "1"" of type '" "int""'");
22795 arg1
= static_cast< int >(val1
);
22797 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22798 if (!SWIG_IsOK(ecode2
)) {
22799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromDMY" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
22801 arg2
= static_cast< wxDateTime::Month
>(val2
);
22804 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22805 if (!SWIG_IsOK(ecode3
)) {
22806 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromDMY" "', expected argument " "3"" of type '" "int""'");
22808 arg3
= static_cast< int >(val3
);
22811 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22812 if (!SWIG_IsOK(ecode4
)) {
22813 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromDMY" "', expected argument " "4"" of type '" "int""'");
22815 arg4
= static_cast< int >(val4
);
22818 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22819 if (!SWIG_IsOK(ecode5
)) {
22820 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DateTimeFromDMY" "', expected argument " "5"" of type '" "int""'");
22822 arg5
= static_cast< int >(val5
);
22825 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22826 if (!SWIG_IsOK(ecode6
)) {
22827 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DateTimeFromDMY" "', expected argument " "6"" of type '" "int""'");
22829 arg6
= static_cast< int >(val6
);
22832 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
22833 if (!SWIG_IsOK(ecode7
)) {
22834 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DateTimeFromDMY" "', expected argument " "7"" of type '" "int""'");
22836 arg7
= static_cast< int >(val7
);
22839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22840 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22841 wxPyEndAllowThreads(__tstate
);
22842 if (PyErr_Occurred()) SWIG_fail
;
22844 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22851 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22852 PyObject
*resultobj
= 0;
22853 wxDateTime
*arg1
= 0 ;
22854 wxDateTime
*result
= 0 ;
22857 PyObject
* obj0
= 0 ;
22858 char * kwnames
[] = {
22859 (char *) "date", NULL
22862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromDateTime",kwnames
,&obj0
)) SWIG_fail
;
22863 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDateTime
, 0 | 0);
22864 if (!SWIG_IsOK(res1
)) {
22865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
22868 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
22870 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22873 result
= (wxDateTime
*)new wxDateTime((wxDateTime
const &)*arg1
);
22874 wxPyEndAllowThreads(__tstate
);
22875 if (PyErr_Occurred()) SWIG_fail
;
22877 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22884 SWIGINTERN PyObject
*_wrap_delete_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22885 PyObject
*resultobj
= 0;
22886 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22889 PyObject
*swig_obj
[1] ;
22891 if (!args
) SWIG_fail
;
22892 swig_obj
[0] = args
;
22893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
22894 if (!SWIG_IsOK(res1
)) {
22895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
22897 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22902 wxPyEndAllowThreads(__tstate
);
22903 if (PyErr_Occurred()) SWIG_fail
;
22905 resultobj
= SWIG_Py_Void();
22912 SWIGINTERN PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22913 PyObject
*resultobj
= 0;
22914 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22915 wxDateTime
*result
= 0 ;
22918 PyObject
*swig_obj
[1] ;
22920 if (!args
) SWIG_fail
;
22921 swig_obj
[0] = args
;
22922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
22923 if (!SWIG_IsOK(res1
)) {
22924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToCurrent" "', expected argument " "1"" of type '" "wxDateTime *""'");
22926 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22930 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
22931 result
= (wxDateTime
*) &_result_ref
;
22933 wxPyEndAllowThreads(__tstate
);
22934 if (PyErr_Occurred()) SWIG_fail
;
22936 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
22943 SWIGINTERN PyObject
*_wrap_DateTime_SetTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22944 PyObject
*resultobj
= 0;
22945 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22947 wxDateTime
*result
= 0 ;
22950 unsigned int val2
;
22952 PyObject
* obj0
= 0 ;
22953 PyObject
* obj1
= 0 ;
22954 char * kwnames
[] = {
22955 (char *) "self",(char *) "timet", NULL
22958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
22960 if (!SWIG_IsOK(res1
)) {
22961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetTimeT" "', expected argument " "1"" of type '" "wxDateTime *""'");
22963 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22964 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
22965 if (!SWIG_IsOK(ecode2
)) {
22966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetTimeT" "', expected argument " "2"" of type '" "time_t""'");
22968 arg2
= static_cast< time_t >(val2
);
22970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22972 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
22973 result
= (wxDateTime
*) &_result_ref
;
22975 wxPyEndAllowThreads(__tstate
);
22976 if (PyErr_Occurred()) SWIG_fail
;
22978 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
22985 SWIGINTERN PyObject
*_wrap_DateTime_SetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22986 PyObject
*resultobj
= 0;
22987 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22989 wxDateTime
*result
= 0 ;
22994 PyObject
* obj0
= 0 ;
22995 PyObject
* obj1
= 0 ;
22996 char * kwnames
[] = {
22997 (char *) "self",(char *) "jdn", NULL
23000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23002 if (!SWIG_IsOK(res1
)) {
23003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
23005 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23006 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
23007 if (!SWIG_IsOK(ecode2
)) {
23008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetJDN" "', expected argument " "2"" of type '" "double""'");
23010 arg2
= static_cast< double >(val2
);
23012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23014 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
23015 result
= (wxDateTime
*) &_result_ref
;
23017 wxPyEndAllowThreads(__tstate
);
23018 if (PyErr_Occurred()) SWIG_fail
;
23020 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23027 SWIGINTERN PyObject
*_wrap_DateTime_SetHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23028 PyObject
*resultobj
= 0;
23029 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23031 int arg3
= (int) 0 ;
23032 int arg4
= (int) 0 ;
23033 int arg5
= (int) 0 ;
23034 wxDateTime
*result
= 0 ;
23045 PyObject
* obj0
= 0 ;
23046 PyObject
* obj1
= 0 ;
23047 PyObject
* obj2
= 0 ;
23048 PyObject
* obj3
= 0 ;
23049 PyObject
* obj4
= 0 ;
23050 char * kwnames
[] = {
23051 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
23054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23056 if (!SWIG_IsOK(res1
)) {
23057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHMS" "', expected argument " "1"" of type '" "wxDateTime *""'");
23059 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23060 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23061 if (!SWIG_IsOK(ecode2
)) {
23062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHMS" "', expected argument " "2"" of type '" "int""'");
23064 arg2
= static_cast< int >(val2
);
23066 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23067 if (!SWIG_IsOK(ecode3
)) {
23068 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetHMS" "', expected argument " "3"" of type '" "int""'");
23070 arg3
= static_cast< int >(val3
);
23073 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23074 if (!SWIG_IsOK(ecode4
)) {
23075 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetHMS" "', expected argument " "4"" of type '" "int""'");
23077 arg4
= static_cast< int >(val4
);
23080 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23081 if (!SWIG_IsOK(ecode5
)) {
23082 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetHMS" "', expected argument " "5"" of type '" "int""'");
23084 arg5
= static_cast< int >(val5
);
23087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23089 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
23090 result
= (wxDateTime
*) &_result_ref
;
23092 wxPyEndAllowThreads(__tstate
);
23093 if (PyErr_Occurred()) SWIG_fail
;
23095 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23102 SWIGINTERN PyObject
*_wrap_DateTime_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23103 PyObject
*resultobj
= 0;
23104 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23106 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23107 int arg4
= (int) wxDateTime::Inv_Year
;
23108 int arg5
= (int) 0 ;
23109 int arg6
= (int) 0 ;
23110 int arg7
= (int) 0 ;
23111 int arg8
= (int) 0 ;
23112 wxDateTime
*result
= 0 ;
23129 PyObject
* obj0
= 0 ;
23130 PyObject
* obj1
= 0 ;
23131 PyObject
* obj2
= 0 ;
23132 PyObject
* obj3
= 0 ;
23133 PyObject
* obj4
= 0 ;
23134 PyObject
* obj5
= 0 ;
23135 PyObject
* obj6
= 0 ;
23136 PyObject
* obj7
= 0 ;
23137 char * kwnames
[] = {
23138 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
23141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
23142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23143 if (!SWIG_IsOK(res1
)) {
23144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Set" "', expected argument " "1"" of type '" "wxDateTime *""'");
23146 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23147 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23148 if (!SWIG_IsOK(ecode2
)) {
23149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_Set" "', expected argument " "2"" of type '" "int""'");
23151 arg2
= static_cast< int >(val2
);
23153 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23154 if (!SWIG_IsOK(ecode3
)) {
23155 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_Set" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
23157 arg3
= static_cast< wxDateTime::Month
>(val3
);
23160 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23161 if (!SWIG_IsOK(ecode4
)) {
23162 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_Set" "', expected argument " "4"" of type '" "int""'");
23164 arg4
= static_cast< int >(val4
);
23167 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23168 if (!SWIG_IsOK(ecode5
)) {
23169 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_Set" "', expected argument " "5"" of type '" "int""'");
23171 arg5
= static_cast< int >(val5
);
23174 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23175 if (!SWIG_IsOK(ecode6
)) {
23176 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DateTime_Set" "', expected argument " "6"" of type '" "int""'");
23178 arg6
= static_cast< int >(val6
);
23181 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23182 if (!SWIG_IsOK(ecode7
)) {
23183 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DateTime_Set" "', expected argument " "7"" of type '" "int""'");
23185 arg7
= static_cast< int >(val7
);
23188 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
23189 if (!SWIG_IsOK(ecode8
)) {
23190 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DateTime_Set" "', expected argument " "8"" of type '" "int""'");
23192 arg8
= static_cast< int >(val8
);
23195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23197 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
23198 result
= (wxDateTime
*) &_result_ref
;
23200 wxPyEndAllowThreads(__tstate
);
23201 if (PyErr_Occurred()) SWIG_fail
;
23203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23210 SWIGINTERN PyObject
*_wrap_DateTime_ResetTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23211 PyObject
*resultobj
= 0;
23212 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23213 wxDateTime
*result
= 0 ;
23216 PyObject
*swig_obj
[1] ;
23218 if (!args
) SWIG_fail
;
23219 swig_obj
[0] = args
;
23220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23221 if (!SWIG_IsOK(res1
)) {
23222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ResetTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
23224 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23228 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
23229 result
= (wxDateTime
*) &_result_ref
;
23231 wxPyEndAllowThreads(__tstate
);
23232 if (PyErr_Occurred()) SWIG_fail
;
23234 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23241 SWIGINTERN PyObject
*_wrap_DateTime_SetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23242 PyObject
*resultobj
= 0;
23243 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23245 wxDateTime
*result
= 0 ;
23250 PyObject
* obj0
= 0 ;
23251 PyObject
* obj1
= 0 ;
23252 char * kwnames
[] = {
23253 (char *) "self",(char *) "year", NULL
23256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23258 if (!SWIG_IsOK(res1
)) {
23259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetYear" "', expected argument " "1"" of type '" "wxDateTime *""'");
23261 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23262 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23263 if (!SWIG_IsOK(ecode2
)) {
23264 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetYear" "', expected argument " "2"" of type '" "int""'");
23266 arg2
= static_cast< int >(val2
);
23268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23270 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
23271 result
= (wxDateTime
*) &_result_ref
;
23273 wxPyEndAllowThreads(__tstate
);
23274 if (PyErr_Occurred()) SWIG_fail
;
23276 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23283 SWIGINTERN PyObject
*_wrap_DateTime_SetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23284 PyObject
*resultobj
= 0;
23285 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23286 wxDateTime::Month arg2
;
23287 wxDateTime
*result
= 0 ;
23292 PyObject
* obj0
= 0 ;
23293 PyObject
* obj1
= 0 ;
23294 char * kwnames
[] = {
23295 (char *) "self",(char *) "month", NULL
23298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23300 if (!SWIG_IsOK(res1
)) {
23301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMonth" "', expected argument " "1"" of type '" "wxDateTime *""'");
23303 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23304 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23305 if (!SWIG_IsOK(ecode2
)) {
23306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMonth" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
23308 arg2
= static_cast< wxDateTime::Month
>(val2
);
23310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23312 wxDateTime
&_result_ref
= (arg1
)->SetMonth(arg2
);
23313 result
= (wxDateTime
*) &_result_ref
;
23315 wxPyEndAllowThreads(__tstate
);
23316 if (PyErr_Occurred()) SWIG_fail
;
23318 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23325 SWIGINTERN PyObject
*_wrap_DateTime_SetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23326 PyObject
*resultobj
= 0;
23327 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23329 wxDateTime
*result
= 0 ;
23334 PyObject
* obj0
= 0 ;
23335 PyObject
* obj1
= 0 ;
23336 char * kwnames
[] = {
23337 (char *) "self",(char *) "day", NULL
23340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23342 if (!SWIG_IsOK(res1
)) {
23343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23345 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23346 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23347 if (!SWIG_IsOK(ecode2
)) {
23348 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetDay" "', expected argument " "2"" of type '" "int""'");
23350 arg2
= static_cast< int >(val2
);
23352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23354 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
23355 result
= (wxDateTime
*) &_result_ref
;
23357 wxPyEndAllowThreads(__tstate
);
23358 if (PyErr_Occurred()) SWIG_fail
;
23360 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23367 SWIGINTERN PyObject
*_wrap_DateTime_SetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23368 PyObject
*resultobj
= 0;
23369 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23371 wxDateTime
*result
= 0 ;
23376 PyObject
* obj0
= 0 ;
23377 PyObject
* obj1
= 0 ;
23378 char * kwnames
[] = {
23379 (char *) "self",(char *) "hour", NULL
23382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23384 if (!SWIG_IsOK(res1
)) {
23385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHour" "', expected argument " "1"" of type '" "wxDateTime *""'");
23387 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23388 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23389 if (!SWIG_IsOK(ecode2
)) {
23390 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHour" "', expected argument " "2"" of type '" "int""'");
23392 arg2
= static_cast< int >(val2
);
23394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23396 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
23397 result
= (wxDateTime
*) &_result_ref
;
23399 wxPyEndAllowThreads(__tstate
);
23400 if (PyErr_Occurred()) SWIG_fail
;
23402 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23409 SWIGINTERN PyObject
*_wrap_DateTime_SetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23410 PyObject
*resultobj
= 0;
23411 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23413 wxDateTime
*result
= 0 ;
23418 PyObject
* obj0
= 0 ;
23419 PyObject
* obj1
= 0 ;
23420 char * kwnames
[] = {
23421 (char *) "self",(char *) "minute", NULL
23424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23426 if (!SWIG_IsOK(res1
)) {
23427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMinute" "', expected argument " "1"" of type '" "wxDateTime *""'");
23429 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23430 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23431 if (!SWIG_IsOK(ecode2
)) {
23432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMinute" "', expected argument " "2"" of type '" "int""'");
23434 arg2
= static_cast< int >(val2
);
23436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23438 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
23439 result
= (wxDateTime
*) &_result_ref
;
23441 wxPyEndAllowThreads(__tstate
);
23442 if (PyErr_Occurred()) SWIG_fail
;
23444 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23451 SWIGINTERN PyObject
*_wrap_DateTime_SetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23452 PyObject
*resultobj
= 0;
23453 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23455 wxDateTime
*result
= 0 ;
23460 PyObject
* obj0
= 0 ;
23461 PyObject
* obj1
= 0 ;
23462 char * kwnames
[] = {
23463 (char *) "self",(char *) "second", NULL
23466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23468 if (!SWIG_IsOK(res1
)) {
23469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetSecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
23471 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23472 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23473 if (!SWIG_IsOK(ecode2
)) {
23474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetSecond" "', expected argument " "2"" of type '" "int""'");
23476 arg2
= static_cast< int >(val2
);
23478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23480 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
23481 result
= (wxDateTime
*) &_result_ref
;
23483 wxPyEndAllowThreads(__tstate
);
23484 if (PyErr_Occurred()) SWIG_fail
;
23486 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23493 SWIGINTERN PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23494 PyObject
*resultobj
= 0;
23495 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23497 wxDateTime
*result
= 0 ;
23502 PyObject
* obj0
= 0 ;
23503 PyObject
* obj1
= 0 ;
23504 char * kwnames
[] = {
23505 (char *) "self",(char *) "millisecond", NULL
23508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23510 if (!SWIG_IsOK(res1
)) {
23511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMillisecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
23513 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23514 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23515 if (!SWIG_IsOK(ecode2
)) {
23516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMillisecond" "', expected argument " "2"" of type '" "int""'");
23518 arg2
= static_cast< int >(val2
);
23520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23522 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
23523 result
= (wxDateTime
*) &_result_ref
;
23525 wxPyEndAllowThreads(__tstate
);
23526 if (PyErr_Occurred()) SWIG_fail
;
23528 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23535 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23536 PyObject
*resultobj
= 0;
23537 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23538 wxDateTime::WeekDay arg2
;
23539 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23540 wxDateTime
*result
= 0 ;
23547 PyObject
* obj0
= 0 ;
23548 PyObject
* obj1
= 0 ;
23549 PyObject
* obj2
= 0 ;
23550 char * kwnames
[] = {
23551 (char *) "self",(char *) "weekday",(char *) "flags", NULL
23554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23556 if (!SWIG_IsOK(res1
)) {
23557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
23559 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23560 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23561 if (!SWIG_IsOK(ecode2
)) {
23562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23564 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23566 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23567 if (!SWIG_IsOK(ecode3
)) {
23568 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
23570 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
23573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23575 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek(arg2
,arg3
);
23576 result
= (wxDateTime
*) &_result_ref
;
23578 wxPyEndAllowThreads(__tstate
);
23579 if (PyErr_Occurred()) SWIG_fail
;
23581 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23588 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23589 PyObject
*resultobj
= 0;
23590 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23591 wxDateTime::WeekDay arg2
;
23592 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23600 PyObject
* obj0
= 0 ;
23601 PyObject
* obj1
= 0 ;
23602 PyObject
* obj2
= 0 ;
23603 char * kwnames
[] = {
23604 (char *) "self",(char *) "weekday",(char *) "flags", NULL
23607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23609 if (!SWIG_IsOK(res1
)) {
23610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
23612 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23613 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23614 if (!SWIG_IsOK(ecode2
)) {
23615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23617 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23619 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23620 if (!SWIG_IsOK(ecode3
)) {
23621 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
23623 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
23626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23627 result
= (arg1
)->GetWeekDayInSameWeek(arg2
,arg3
);
23628 wxPyEndAllowThreads(__tstate
);
23629 if (PyErr_Occurred()) SWIG_fail
;
23631 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23638 SWIGINTERN PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23639 PyObject
*resultobj
= 0;
23640 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23641 wxDateTime::WeekDay arg2
;
23642 wxDateTime
*result
= 0 ;
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_SetToNextWeekDay",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_SetToNextWeekDay" "', 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_SetToNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23663 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23667 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay(arg2
);
23668 result
= (wxDateTime
*) &_result_ref
;
23670 wxPyEndAllowThreads(__tstate
);
23671 if (PyErr_Occurred()) SWIG_fail
;
23673 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23680 SWIGINTERN PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23681 PyObject
*resultobj
= 0;
23682 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23683 wxDateTime::WeekDay arg2
;
23689 PyObject
* obj0
= 0 ;
23690 PyObject
* obj1
= 0 ;
23691 char * kwnames
[] = {
23692 (char *) "self",(char *) "weekday", NULL
23695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23697 if (!SWIG_IsOK(res1
)) {
23698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23700 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23701 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23702 if (!SWIG_IsOK(ecode2
)) {
23703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23705 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23708 result
= (arg1
)->GetNextWeekDay(arg2
);
23709 wxPyEndAllowThreads(__tstate
);
23710 if (PyErr_Occurred()) SWIG_fail
;
23712 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23719 SWIGINTERN PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23720 PyObject
*resultobj
= 0;
23721 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23722 wxDateTime::WeekDay arg2
;
23723 wxDateTime
*result
= 0 ;
23728 PyObject
* obj0
= 0 ;
23729 PyObject
* obj1
= 0 ;
23730 char * kwnames
[] = {
23731 (char *) "self",(char *) "weekday", NULL
23734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23736 if (!SWIG_IsOK(res1
)) {
23737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23739 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23740 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23741 if (!SWIG_IsOK(ecode2
)) {
23742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23744 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23748 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay(arg2
);
23749 result
= (wxDateTime
*) &_result_ref
;
23751 wxPyEndAllowThreads(__tstate
);
23752 if (PyErr_Occurred()) SWIG_fail
;
23754 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23761 SWIGINTERN PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23762 PyObject
*resultobj
= 0;
23763 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23764 wxDateTime::WeekDay arg2
;
23770 PyObject
* obj0
= 0 ;
23771 PyObject
* obj1
= 0 ;
23772 char * kwnames
[] = {
23773 (char *) "self",(char *) "weekday", NULL
23776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23778 if (!SWIG_IsOK(res1
)) {
23779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23781 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23782 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23783 if (!SWIG_IsOK(ecode2
)) {
23784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23786 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23789 result
= (arg1
)->GetPrevWeekDay(arg2
);
23790 wxPyEndAllowThreads(__tstate
);
23791 if (PyErr_Occurred()) SWIG_fail
;
23793 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23800 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23801 PyObject
*resultobj
= 0;
23802 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23803 wxDateTime::WeekDay arg2
;
23804 int arg3
= (int) 1 ;
23805 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23806 int arg5
= (int) wxDateTime::Inv_Year
;
23818 PyObject
* obj0
= 0 ;
23819 PyObject
* obj1
= 0 ;
23820 PyObject
* obj2
= 0 ;
23821 PyObject
* obj3
= 0 ;
23822 PyObject
* obj4
= 0 ;
23823 char * kwnames
[] = {
23824 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
23827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23829 if (!SWIG_IsOK(res1
)) {
23830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23832 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23833 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23834 if (!SWIG_IsOK(ecode2
)) {
23835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23837 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23839 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23840 if (!SWIG_IsOK(ecode3
)) {
23841 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "3"" of type '" "int""'");
23843 arg3
= static_cast< int >(val3
);
23846 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23847 if (!SWIG_IsOK(ecode4
)) {
23848 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "4"" of type '" "wxDateTime::Month""'");
23850 arg4
= static_cast< wxDateTime::Month
>(val4
);
23853 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23854 if (!SWIG_IsOK(ecode5
)) {
23855 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "5"" of type '" "int""'");
23857 arg5
= static_cast< int >(val5
);
23860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23861 result
= (bool)(arg1
)->SetToWeekDay(arg2
,arg3
,arg4
,arg5
);
23862 wxPyEndAllowThreads(__tstate
);
23863 if (PyErr_Occurred()) SWIG_fail
;
23866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23874 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23875 PyObject
*resultobj
= 0;
23876 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23877 wxDateTime::WeekDay arg2
;
23878 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23879 int arg4
= (int) wxDateTime::Inv_Year
;
23889 PyObject
* obj0
= 0 ;
23890 PyObject
* obj1
= 0 ;
23891 PyObject
* obj2
= 0 ;
23892 PyObject
* obj3
= 0 ;
23893 char * kwnames
[] = {
23894 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
23897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23899 if (!SWIG_IsOK(res1
)) {
23900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23902 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23903 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23904 if (!SWIG_IsOK(ecode2
)) {
23905 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23907 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23909 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23910 if (!SWIG_IsOK(ecode3
)) {
23911 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
23913 arg3
= static_cast< wxDateTime::Month
>(val3
);
23916 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23917 if (!SWIG_IsOK(ecode4
)) {
23918 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "4"" of type '" "int""'");
23920 arg4
= static_cast< int >(val4
);
23923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23924 result
= (bool)(arg1
)->SetToLastWeekDay(arg2
,arg3
,arg4
);
23925 wxPyEndAllowThreads(__tstate
);
23926 if (PyErr_Occurred()) SWIG_fail
;
23929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23937 SWIGINTERN PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23938 PyObject
*resultobj
= 0;
23939 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23940 wxDateTime::WeekDay arg2
;
23941 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23942 int arg4
= (int) wxDateTime::Inv_Year
;
23952 PyObject
* obj0
= 0 ;
23953 PyObject
* obj1
= 0 ;
23954 PyObject
* obj2
= 0 ;
23955 PyObject
* obj3
= 0 ;
23956 char * kwnames
[] = {
23957 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
23960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23962 if (!SWIG_IsOK(res1
)) {
23963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23965 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23966 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23967 if (!SWIG_IsOK(ecode2
)) {
23968 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23970 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23972 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23973 if (!SWIG_IsOK(ecode3
)) {
23974 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
23976 arg3
= static_cast< wxDateTime::Month
>(val3
);
23979 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23980 if (!SWIG_IsOK(ecode4
)) {
23981 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "4"" of type '" "int""'");
23983 arg4
= static_cast< int >(val4
);
23986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23987 result
= (arg1
)->GetLastWeekDay(arg2
,arg3
,arg4
);
23988 wxPyEndAllowThreads(__tstate
);
23989 if (PyErr_Occurred()) SWIG_fail
;
23991 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23998 SWIGINTERN PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23999 PyObject
*resultobj
= 0;
24000 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24002 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
24003 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
24013 PyObject
* obj0
= 0 ;
24014 PyObject
* obj1
= 0 ;
24015 PyObject
* obj2
= 0 ;
24016 PyObject
* obj3
= 0 ;
24017 char * kwnames
[] = {
24018 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
24021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24023 if (!SWIG_IsOK(res1
)) {
24024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
24026 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24027 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24028 if (!SWIG_IsOK(ecode2
)) {
24029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "2"" of type '" "int""'");
24031 arg2
= static_cast< int >(val2
);
24033 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24034 if (!SWIG_IsOK(ecode3
)) {
24035 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
24037 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
24040 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24041 if (!SWIG_IsOK(ecode4
)) {
24042 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
24044 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
24047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24048 result
= (bool)(arg1
)->SetToTheWeek(arg2
,arg3
,arg4
);
24049 wxPyEndAllowThreads(__tstate
);
24050 if (PyErr_Occurred()) SWIG_fail
;
24053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24061 SWIGINTERN PyObject
*_wrap_DateTime_GetWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24062 PyObject
*resultobj
= 0;
24063 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24065 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
24066 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
24076 PyObject
* obj0
= 0 ;
24077 PyObject
* obj1
= 0 ;
24078 PyObject
* obj2
= 0 ;
24079 PyObject
* obj3
= 0 ;
24080 char * kwnames
[] = {
24081 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
24084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24086 if (!SWIG_IsOK(res1
)) {
24087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
24089 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24090 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24091 if (!SWIG_IsOK(ecode2
)) {
24092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeek" "', expected argument " "2"" of type '" "int""'");
24094 arg2
= static_cast< int >(val2
);
24096 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24097 if (!SWIG_IsOK(ecode3
)) {
24098 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
24100 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
24103 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24104 if (!SWIG_IsOK(ecode4
)) {
24105 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
24107 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
24110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24111 result
= (arg1
)->GetWeek(arg2
,arg3
,arg4
);
24112 wxPyEndAllowThreads(__tstate
);
24113 if (PyErr_Occurred()) SWIG_fail
;
24115 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24122 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24123 PyObject
*resultobj
= 0;
24126 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
24134 PyObject
* obj0
= 0 ;
24135 PyObject
* obj1
= 0 ;
24136 PyObject
* obj2
= 0 ;
24137 char * kwnames
[] = {
24138 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
24141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24142 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24143 if (!SWIG_IsOK(ecode1
)) {
24144 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "1"" of type '" "int""'");
24146 arg1
= static_cast< int >(val1
);
24147 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24148 if (!SWIG_IsOK(ecode2
)) {
24149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "2"" of type '" "int""'");
24151 arg2
= static_cast< int >(val2
);
24153 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24154 if (!SWIG_IsOK(ecode3
)) {
24155 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
24157 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
24160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24161 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,arg3
);
24162 wxPyEndAllowThreads(__tstate
);
24163 if (PyErr_Occurred()) SWIG_fail
;
24165 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24172 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24173 PyObject
*resultobj
= 0;
24174 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24175 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24176 int arg3
= (int) wxDateTime::Inv_Year
;
24177 wxDateTime
*result
= 0 ;
24184 PyObject
* obj0
= 0 ;
24185 PyObject
* obj1
= 0 ;
24186 PyObject
* obj2
= 0 ;
24187 char * kwnames
[] = {
24188 (char *) "self",(char *) "month",(char *) "year", NULL
24191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24193 if (!SWIG_IsOK(res1
)) {
24194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24196 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24198 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24199 if (!SWIG_IsOK(ecode2
)) {
24200 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
24202 arg2
= static_cast< wxDateTime::Month
>(val2
);
24205 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24206 if (!SWIG_IsOK(ecode3
)) {
24207 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "3"" of type '" "int""'");
24209 arg3
= static_cast< int >(val3
);
24212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24214 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay(arg2
,arg3
);
24215 result
= (wxDateTime
*) &_result_ref
;
24217 wxPyEndAllowThreads(__tstate
);
24218 if (PyErr_Occurred()) SWIG_fail
;
24220 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24227 SWIGINTERN PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24228 PyObject
*resultobj
= 0;
24229 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24230 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24231 int arg3
= (int) wxDateTime::Inv_Year
;
24239 PyObject
* obj0
= 0 ;
24240 PyObject
* obj1
= 0 ;
24241 PyObject
* obj2
= 0 ;
24242 char * kwnames
[] = {
24243 (char *) "self",(char *) "month",(char *) "year", NULL
24246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24248 if (!SWIG_IsOK(res1
)) {
24249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24251 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24253 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24254 if (!SWIG_IsOK(ecode2
)) {
24255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
24257 arg2
= static_cast< wxDateTime::Month
>(val2
);
24260 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24261 if (!SWIG_IsOK(ecode3
)) {
24262 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "3"" of type '" "int""'");
24264 arg3
= static_cast< int >(val3
);
24267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24268 result
= (arg1
)->GetLastMonthDay(arg2
,arg3
);
24269 wxPyEndAllowThreads(__tstate
);
24270 if (PyErr_Occurred()) SWIG_fail
;
24272 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24279 SWIGINTERN PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24280 PyObject
*resultobj
= 0;
24281 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24283 wxDateTime
*result
= 0 ;
24288 PyObject
* obj0
= 0 ;
24289 PyObject
* obj1
= 0 ;
24290 char * kwnames
[] = {
24291 (char *) "self",(char *) "yday", NULL
24294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24296 if (!SWIG_IsOK(res1
)) {
24297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24299 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24300 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24301 if (!SWIG_IsOK(ecode2
)) {
24302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToYearDay" "', expected argument " "2"" of type '" "int""'");
24304 arg2
= static_cast< int >(val2
);
24306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24308 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
24309 result
= (wxDateTime
*) &_result_ref
;
24311 wxPyEndAllowThreads(__tstate
);
24312 if (PyErr_Occurred()) SWIG_fail
;
24314 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24321 SWIGINTERN PyObject
*_wrap_DateTime_GetYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24322 PyObject
*resultobj
= 0;
24323 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24330 PyObject
* obj0
= 0 ;
24331 PyObject
* obj1
= 0 ;
24332 char * kwnames
[] = {
24333 (char *) "self",(char *) "yday", NULL
24336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24338 if (!SWIG_IsOK(res1
)) {
24339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24341 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24342 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24343 if (!SWIG_IsOK(ecode2
)) {
24344 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetYearDay" "', expected argument " "2"" of type '" "int""'");
24346 arg2
= static_cast< int >(val2
);
24348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24349 result
= (arg1
)->GetYearDay(arg2
);
24350 wxPyEndAllowThreads(__tstate
);
24351 if (PyErr_Occurred()) SWIG_fail
;
24353 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24360 SWIGINTERN PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24361 PyObject
*resultobj
= 0;
24362 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24366 PyObject
*swig_obj
[1] ;
24368 if (!args
) SWIG_fail
;
24369 swig_obj
[0] = args
;
24370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24371 if (!SWIG_IsOK(res1
)) {
24372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime *""'");
24374 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24377 result
= (double)(arg1
)->GetJulianDayNumber();
24378 wxPyEndAllowThreads(__tstate
);
24379 if (PyErr_Occurred()) SWIG_fail
;
24381 resultobj
= SWIG_From_double(static_cast< double >(result
));
24388 SWIGINTERN PyObject
*_wrap_DateTime_GetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24389 PyObject
*resultobj
= 0;
24390 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24394 PyObject
*swig_obj
[1] ;
24396 if (!args
) SWIG_fail
;
24397 swig_obj
[0] = args
;
24398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24399 if (!SWIG_IsOK(res1
)) {
24400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
24402 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24405 result
= (double)(arg1
)->GetJDN();
24406 wxPyEndAllowThreads(__tstate
);
24407 if (PyErr_Occurred()) SWIG_fail
;
24409 resultobj
= SWIG_From_double(static_cast< double >(result
));
24416 SWIGINTERN PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24417 PyObject
*resultobj
= 0;
24418 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24422 PyObject
*swig_obj
[1] ;
24424 if (!args
) SWIG_fail
;
24425 swig_obj
[0] = args
;
24426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24427 if (!SWIG_IsOK(res1
)) {
24428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetModifiedJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24430 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24433 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
24434 wxPyEndAllowThreads(__tstate
);
24435 if (PyErr_Occurred()) SWIG_fail
;
24437 resultobj
= SWIG_From_double(static_cast< double >(result
));
24444 SWIGINTERN PyObject
*_wrap_DateTime_GetMJD(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24445 PyObject
*resultobj
= 0;
24446 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24450 PyObject
*swig_obj
[1] ;
24452 if (!args
) SWIG_fail
;
24453 swig_obj
[0] = args
;
24454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24455 if (!SWIG_IsOK(res1
)) {
24456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMJD" "', expected argument " "1"" of type '" "wxDateTime *""'");
24458 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24461 result
= (double)(arg1
)->GetMJD();
24462 wxPyEndAllowThreads(__tstate
);
24463 if (PyErr_Occurred()) SWIG_fail
;
24465 resultobj
= SWIG_From_double(static_cast< double >(result
));
24472 SWIGINTERN PyObject
*_wrap_DateTime_GetRataDie(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24473 PyObject
*resultobj
= 0;
24474 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24478 PyObject
*swig_obj
[1] ;
24480 if (!args
) SWIG_fail
;
24481 swig_obj
[0] = args
;
24482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24483 if (!SWIG_IsOK(res1
)) {
24484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetRataDie" "', expected argument " "1"" of type '" "wxDateTime *""'");
24486 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24489 result
= (double)(arg1
)->GetRataDie();
24490 wxPyEndAllowThreads(__tstate
);
24491 if (PyErr_Occurred()) SWIG_fail
;
24493 resultobj
= SWIG_From_double(static_cast< double >(result
));
24500 SWIGINTERN PyObject
*_wrap_DateTime_ToTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24501 PyObject
*resultobj
= 0;
24502 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24503 wxDateTime::TimeZone
*arg2
= 0 ;
24504 bool arg3
= (bool) false ;
24508 bool temp2
= false ;
24511 PyObject
* obj0
= 0 ;
24512 PyObject
* obj1
= 0 ;
24513 PyObject
* obj2
= 0 ;
24514 char * kwnames
[] = {
24515 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24520 if (!SWIG_IsOK(res1
)) {
24521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
24523 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24525 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24529 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24530 if (!SWIG_IsOK(ecode3
)) {
24531 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_ToTimezone" "', expected argument " "3"" of type '" "bool""'");
24533 arg3
= static_cast< bool >(val3
);
24536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24537 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24538 wxPyEndAllowThreads(__tstate
);
24539 if (PyErr_Occurred()) SWIG_fail
;
24541 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24543 if (temp2
) delete arg2
;
24548 if (temp2
) delete arg2
;
24554 SWIGINTERN PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24555 PyObject
*resultobj
= 0;
24556 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24557 wxDateTime::TimeZone
*arg2
= 0 ;
24558 bool arg3
= (bool) false ;
24559 wxDateTime
*result
= 0 ;
24562 bool temp2
= false ;
24565 PyObject
* obj0
= 0 ;
24566 PyObject
* obj1
= 0 ;
24567 PyObject
* obj2
= 0 ;
24568 char * kwnames
[] = {
24569 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24574 if (!SWIG_IsOK(res1
)) {
24575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
24577 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24579 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24583 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24584 if (!SWIG_IsOK(ecode3
)) {
24585 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeTimezone" "', expected argument " "3"" of type '" "bool""'");
24587 arg3
= static_cast< bool >(val3
);
24590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24592 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24593 result
= (wxDateTime
*) &_result_ref
;
24595 wxPyEndAllowThreads(__tstate
);
24596 if (PyErr_Occurred()) SWIG_fail
;
24598 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24600 if (temp2
) delete arg2
;
24605 if (temp2
) delete arg2
;
24611 SWIGINTERN PyObject
*_wrap_DateTime_FromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24612 PyObject
*resultobj
= 0;
24613 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24614 wxDateTime::TimeZone
*arg2
= 0 ;
24615 bool arg3
= (bool) false ;
24619 bool temp2
= false ;
24622 PyObject
* obj0
= 0 ;
24623 PyObject
* obj1
= 0 ;
24624 PyObject
* obj2
= 0 ;
24625 char * kwnames
[] = {
24626 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_FromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24631 if (!SWIG_IsOK(res1
)) {
24632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromTimezone" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24634 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24636 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24640 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24641 if (!SWIG_IsOK(ecode3
)) {
24642 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_FromTimezone" "', expected argument " "3"" of type '" "bool""'");
24644 arg3
= static_cast< bool >(val3
);
24647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24648 result
= ((wxDateTime
const *)arg1
)->FromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24649 wxPyEndAllowThreads(__tstate
);
24650 if (PyErr_Occurred()) SWIG_fail
;
24652 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24654 if (temp2
) delete arg2
;
24659 if (temp2
) delete arg2
;
24665 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24666 PyObject
*resultobj
= 0;
24667 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24668 wxDateTime::TimeZone
*arg2
= 0 ;
24669 bool arg3
= (bool) false ;
24670 wxDateTime
*result
= 0 ;
24673 bool temp2
= false ;
24676 PyObject
* obj0
= 0 ;
24677 PyObject
* obj1
= 0 ;
24678 PyObject
* obj2
= 0 ;
24679 char * kwnames
[] = {
24680 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeFromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24685 if (!SWIG_IsOK(res1
)) {
24686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
24688 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24690 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24694 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24695 if (!SWIG_IsOK(ecode3
)) {
24696 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "3"" of type '" "bool""'");
24698 arg3
= static_cast< bool >(val3
);
24701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24703 wxDateTime
&_result_ref
= (arg1
)->MakeFromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24704 result
= (wxDateTime
*) &_result_ref
;
24706 wxPyEndAllowThreads(__tstate
);
24707 if (PyErr_Occurred()) SWIG_fail
;
24709 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24711 if (temp2
) delete arg2
;
24716 if (temp2
) delete arg2
;
24722 SWIGINTERN PyObject
*_wrap_DateTime_ToUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24723 PyObject
*resultobj
= 0;
24724 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24725 bool arg2
= (bool) false ;
24731 PyObject
* obj0
= 0 ;
24732 PyObject
* obj1
= 0 ;
24733 char * kwnames
[] = {
24734 (char *) "self",(char *) "noDST", NULL
24737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24739 if (!SWIG_IsOK(res1
)) {
24740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24742 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24744 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24745 if (!SWIG_IsOK(ecode2
)) {
24746 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToUTC" "', expected argument " "2"" of type '" "bool""'");
24748 arg2
= static_cast< bool >(val2
);
24751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24752 result
= ((wxDateTime
const *)arg1
)->ToUTC(arg2
);
24753 wxPyEndAllowThreads(__tstate
);
24754 if (PyErr_Occurred()) SWIG_fail
;
24756 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24763 SWIGINTERN PyObject
*_wrap_DateTime_MakeUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24764 PyObject
*resultobj
= 0;
24765 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24766 bool arg2
= (bool) false ;
24767 wxDateTime
*result
= 0 ;
24772 PyObject
* obj0
= 0 ;
24773 PyObject
* obj1
= 0 ;
24774 char * kwnames
[] = {
24775 (char *) "self",(char *) "noDST", NULL
24778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24780 if (!SWIG_IsOK(res1
)) {
24781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
24783 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24785 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24786 if (!SWIG_IsOK(ecode2
)) {
24787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeUTC" "', expected argument " "2"" of type '" "bool""'");
24789 arg2
= static_cast< bool >(val2
);
24792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24794 wxDateTime
&_result_ref
= (arg1
)->MakeUTC(arg2
);
24795 result
= (wxDateTime
*) &_result_ref
;
24797 wxPyEndAllowThreads(__tstate
);
24798 if (PyErr_Occurred()) SWIG_fail
;
24800 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24807 SWIGINTERN PyObject
*_wrap_DateTime_ToGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24808 PyObject
*resultobj
= 0;
24809 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24810 bool arg2
= (bool) false ;
24816 PyObject
* obj0
= 0 ;
24817 PyObject
* obj1
= 0 ;
24818 char * kwnames
[] = {
24819 (char *) "self",(char *) "noDST", NULL
24822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24824 if (!SWIG_IsOK(res1
)) {
24825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToGMT" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24827 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24829 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24830 if (!SWIG_IsOK(ecode2
)) {
24831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToGMT" "', expected argument " "2"" of type '" "bool""'");
24833 arg2
= static_cast< bool >(val2
);
24836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24837 result
= ((wxDateTime
const *)arg1
)->ToGMT(arg2
);
24838 wxPyEndAllowThreads(__tstate
);
24839 if (PyErr_Occurred()) SWIG_fail
;
24841 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24848 SWIGINTERN PyObject
*_wrap_DateTime_MakeGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24849 PyObject
*resultobj
= 0;
24850 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24851 bool arg2
= (bool) false ;
24852 wxDateTime
*result
= 0 ;
24857 PyObject
* obj0
= 0 ;
24858 PyObject
* obj1
= 0 ;
24859 char * kwnames
[] = {
24860 (char *) "self",(char *) "noDST", NULL
24863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24865 if (!SWIG_IsOK(res1
)) {
24866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeGMT" "', expected argument " "1"" of type '" "wxDateTime *""'");
24868 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24870 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24871 if (!SWIG_IsOK(ecode2
)) {
24872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeGMT" "', expected argument " "2"" of type '" "bool""'");
24874 arg2
= static_cast< bool >(val2
);
24877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24879 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
24880 result
= (wxDateTime
*) &_result_ref
;
24882 wxPyEndAllowThreads(__tstate
);
24883 if (PyErr_Occurred()) SWIG_fail
;
24885 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24892 SWIGINTERN PyObject
*_wrap_DateTime_FromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24893 PyObject
*resultobj
= 0;
24894 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24895 bool arg2
= (bool) false ;
24901 PyObject
* obj0
= 0 ;
24902 PyObject
* obj1
= 0 ;
24903 char * kwnames
[] = {
24904 (char *) "self",(char *) "noDST", NULL
24907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_FromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24909 if (!SWIG_IsOK(res1
)) {
24910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24912 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24914 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24915 if (!SWIG_IsOK(ecode2
)) {
24916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_FromUTC" "', expected argument " "2"" of type '" "bool""'");
24918 arg2
= static_cast< bool >(val2
);
24921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24922 result
= ((wxDateTime
const *)arg1
)->FromUTC(arg2
);
24923 wxPyEndAllowThreads(__tstate
);
24924 if (PyErr_Occurred()) SWIG_fail
;
24926 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24933 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24934 PyObject
*resultobj
= 0;
24935 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24936 bool arg2
= (bool) false ;
24937 wxDateTime
*result
= 0 ;
24942 PyObject
* obj0
= 0 ;
24943 PyObject
* obj1
= 0 ;
24944 char * kwnames
[] = {
24945 (char *) "self",(char *) "noDST", NULL
24948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeFromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24950 if (!SWIG_IsOK(res1
)) {
24951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
24953 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24955 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24956 if (!SWIG_IsOK(ecode2
)) {
24957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "2"" of type '" "bool""'");
24959 arg2
= static_cast< bool >(val2
);
24962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24964 wxDateTime
&_result_ref
= (arg1
)->MakeFromUTC(arg2
);
24965 result
= (wxDateTime
*) &_result_ref
;
24967 wxPyEndAllowThreads(__tstate
);
24968 if (PyErr_Occurred()) SWIG_fail
;
24970 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24977 SWIGINTERN PyObject
*_wrap_DateTime_IsDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24978 PyObject
*resultobj
= 0;
24979 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24980 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
24986 PyObject
* obj0
= 0 ;
24987 PyObject
* obj1
= 0 ;
24988 char * kwnames
[] = {
24989 (char *) "self",(char *) "country", NULL
24992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24994 if (!SWIG_IsOK(res1
)) {
24995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsDST" "', expected argument " "1"" of type '" "wxDateTime *""'");
24997 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24999 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25000 if (!SWIG_IsOK(ecode2
)) {
25001 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
25003 arg2
= static_cast< wxDateTime::Country
>(val2
);
25006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25007 result
= (int)(arg1
)->IsDST(arg2
);
25008 wxPyEndAllowThreads(__tstate
);
25009 if (PyErr_Occurred()) SWIG_fail
;
25011 resultobj
= SWIG_From_int(static_cast< int >(result
));
25018 SWIGINTERN PyObject
*_wrap_DateTime_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25019 PyObject
*resultobj
= 0;
25020 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25024 PyObject
*swig_obj
[1] ;
25026 if (!args
) SWIG_fail
;
25027 swig_obj
[0] = args
;
25028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25029 if (!SWIG_IsOK(res1
)) {
25030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsValid" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25032 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25035 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
25036 wxPyEndAllowThreads(__tstate
);
25037 if (PyErr_Occurred()) SWIG_fail
;
25040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25048 SWIGINTERN PyObject
*_wrap_DateTime_GetTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25049 PyObject
*resultobj
= 0;
25050 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25054 PyObject
*swig_obj
[1] ;
25056 if (!args
) SWIG_fail
;
25057 swig_obj
[0] = args
;
25058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25059 if (!SWIG_IsOK(res1
)) {
25060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetTicks" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25062 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25065 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
25066 wxPyEndAllowThreads(__tstate
);
25067 if (PyErr_Occurred()) SWIG_fail
;
25069 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
25076 SWIGINTERN PyObject
*_wrap_DateTime_GetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25077 PyObject
*resultobj
= 0;
25078 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25079 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25080 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25084 bool temp2
= false ;
25085 PyObject
* obj0
= 0 ;
25086 PyObject
* obj1
= 0 ;
25087 char * kwnames
[] = {
25088 (char *) "self",(char *) "tz", NULL
25091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25093 if (!SWIG_IsOK(res1
)) {
25094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25096 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25099 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25105 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
25106 wxPyEndAllowThreads(__tstate
);
25107 if (PyErr_Occurred()) SWIG_fail
;
25109 resultobj
= SWIG_From_int(static_cast< int >(result
));
25111 if (temp2
) delete arg2
;
25116 if (temp2
) delete arg2
;
25122 SWIGINTERN PyObject
*_wrap_DateTime_GetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25123 PyObject
*resultobj
= 0;
25124 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25125 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25126 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25127 wxDateTime::Month result
;
25130 bool temp2
= false ;
25131 PyObject
* obj0
= 0 ;
25132 PyObject
* obj1
= 0 ;
25133 char * kwnames
[] = {
25134 (char *) "self",(char *) "tz", NULL
25137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25139 if (!SWIG_IsOK(res1
)) {
25140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25142 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25145 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25151 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
25152 wxPyEndAllowThreads(__tstate
);
25153 if (PyErr_Occurred()) SWIG_fail
;
25155 resultobj
= SWIG_From_int(static_cast< int >(result
));
25157 if (temp2
) delete arg2
;
25162 if (temp2
) delete arg2
;
25168 SWIGINTERN PyObject
*_wrap_DateTime_GetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25169 PyObject
*resultobj
= 0;
25170 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25171 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25172 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25176 bool temp2
= false ;
25177 PyObject
* obj0
= 0 ;
25178 PyObject
* obj1
= 0 ;
25179 char * kwnames
[] = {
25180 (char *) "self",(char *) "tz", NULL
25183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25185 if (!SWIG_IsOK(res1
)) {
25186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25188 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25191 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25197 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
25198 wxPyEndAllowThreads(__tstate
);
25199 if (PyErr_Occurred()) SWIG_fail
;
25201 resultobj
= SWIG_From_int(static_cast< int >(result
));
25203 if (temp2
) delete arg2
;
25208 if (temp2
) delete arg2
;
25214 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25215 PyObject
*resultobj
= 0;
25216 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25217 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25218 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25219 wxDateTime::WeekDay result
;
25222 bool temp2
= false ;
25223 PyObject
* obj0
= 0 ;
25224 PyObject
* obj1
= 0 ;
25225 char * kwnames
[] = {
25226 (char *) "self",(char *) "tz", NULL
25229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25231 if (!SWIG_IsOK(res1
)) {
25232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25234 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25237 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25243 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
25244 wxPyEndAllowThreads(__tstate
);
25245 if (PyErr_Occurred()) SWIG_fail
;
25247 resultobj
= SWIG_From_int(static_cast< int >(result
));
25249 if (temp2
) delete arg2
;
25254 if (temp2
) delete arg2
;
25260 SWIGINTERN PyObject
*_wrap_DateTime_GetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25261 PyObject
*resultobj
= 0;
25262 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25263 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25264 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25268 bool temp2
= false ;
25269 PyObject
* obj0
= 0 ;
25270 PyObject
* obj1
= 0 ;
25271 char * kwnames
[] = {
25272 (char *) "self",(char *) "tz", NULL
25275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25277 if (!SWIG_IsOK(res1
)) {
25278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetHour" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25280 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25283 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25289 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
25290 wxPyEndAllowThreads(__tstate
);
25291 if (PyErr_Occurred()) SWIG_fail
;
25293 resultobj
= SWIG_From_int(static_cast< int >(result
));
25295 if (temp2
) delete arg2
;
25300 if (temp2
) delete arg2
;
25306 SWIGINTERN PyObject
*_wrap_DateTime_GetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25307 PyObject
*resultobj
= 0;
25308 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25309 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25310 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25314 bool temp2
= false ;
25315 PyObject
* obj0
= 0 ;
25316 PyObject
* obj1
= 0 ;
25317 char * kwnames
[] = {
25318 (char *) "self",(char *) "tz", NULL
25321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25323 if (!SWIG_IsOK(res1
)) {
25324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMinute" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25326 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25329 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25335 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
25336 wxPyEndAllowThreads(__tstate
);
25337 if (PyErr_Occurred()) SWIG_fail
;
25339 resultobj
= SWIG_From_int(static_cast< int >(result
));
25341 if (temp2
) delete arg2
;
25346 if (temp2
) delete arg2
;
25352 SWIGINTERN PyObject
*_wrap_DateTime_GetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25353 PyObject
*resultobj
= 0;
25354 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25355 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25356 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25360 bool temp2
= false ;
25361 PyObject
* obj0
= 0 ;
25362 PyObject
* obj1
= 0 ;
25363 char * kwnames
[] = {
25364 (char *) "self",(char *) "tz", NULL
25367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25369 if (!SWIG_IsOK(res1
)) {
25370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetSecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25372 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25375 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25381 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
25382 wxPyEndAllowThreads(__tstate
);
25383 if (PyErr_Occurred()) SWIG_fail
;
25385 resultobj
= SWIG_From_int(static_cast< int >(result
));
25387 if (temp2
) delete arg2
;
25392 if (temp2
) delete arg2
;
25398 SWIGINTERN PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25399 PyObject
*resultobj
= 0;
25400 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25401 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25402 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25406 bool temp2
= false ;
25407 PyObject
* obj0
= 0 ;
25408 PyObject
* obj1
= 0 ;
25409 char * kwnames
[] = {
25410 (char *) "self",(char *) "tz", NULL
25413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25415 if (!SWIG_IsOK(res1
)) {
25416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMillisecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25418 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25421 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25427 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
25428 wxPyEndAllowThreads(__tstate
);
25429 if (PyErr_Occurred()) SWIG_fail
;
25431 resultobj
= SWIG_From_int(static_cast< int >(result
));
25433 if (temp2
) delete arg2
;
25438 if (temp2
) delete arg2
;
25444 SWIGINTERN PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25445 PyObject
*resultobj
= 0;
25446 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25447 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25448 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25452 bool temp2
= false ;
25453 PyObject
* obj0
= 0 ;
25454 PyObject
* obj1
= 0 ;
25455 char * kwnames
[] = {
25456 (char *) "self",(char *) "tz", NULL
25459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25461 if (!SWIG_IsOK(res1
)) {
25462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDayOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25464 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25467 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25473 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
25474 wxPyEndAllowThreads(__tstate
);
25475 if (PyErr_Occurred()) SWIG_fail
;
25477 resultobj
= SWIG_From_int(static_cast< int >(result
));
25479 if (temp2
) delete arg2
;
25484 if (temp2
) delete arg2
;
25490 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25491 PyObject
*resultobj
= 0;
25492 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25493 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
25494 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
25495 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
25501 bool temp3
= false ;
25502 PyObject
* obj0
= 0 ;
25503 PyObject
* obj1
= 0 ;
25504 PyObject
* obj2
= 0 ;
25505 char * kwnames
[] = {
25506 (char *) "self",(char *) "flags",(char *) "tz", NULL
25509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25511 if (!SWIG_IsOK(res1
)) {
25512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25514 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25516 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25517 if (!SWIG_IsOK(ecode2
)) {
25518 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
25520 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
25524 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
25529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25530 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
25531 wxPyEndAllowThreads(__tstate
);
25532 if (PyErr_Occurred()) SWIG_fail
;
25534 resultobj
= SWIG_From_int(static_cast< int >(result
));
25536 if (temp3
) delete arg3
;
25541 if (temp3
) delete arg3
;
25547 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25548 PyObject
*resultobj
= 0;
25549 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25550 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
25551 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
25552 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
25558 bool temp3
= false ;
25559 PyObject
* obj0
= 0 ;
25560 PyObject
* obj1
= 0 ;
25561 PyObject
* obj2
= 0 ;
25562 char * kwnames
[] = {
25563 (char *) "self",(char *) "flags",(char *) "tz", NULL
25566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25568 if (!SWIG_IsOK(res1
)) {
25569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25571 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25573 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25574 if (!SWIG_IsOK(ecode2
)) {
25575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
25577 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
25581 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
25586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25587 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
25588 wxPyEndAllowThreads(__tstate
);
25589 if (PyErr_Occurred()) SWIG_fail
;
25591 resultobj
= SWIG_From_int(static_cast< int >(result
));
25593 if (temp3
) delete arg3
;
25598 if (temp3
) delete arg3
;
25604 SWIGINTERN PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25605 PyObject
*resultobj
= 0;
25606 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25607 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
25613 PyObject
* obj0
= 0 ;
25614 PyObject
* obj1
= 0 ;
25615 char * kwnames
[] = {
25616 (char *) "self",(char *) "country", NULL
25619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25621 if (!SWIG_IsOK(res1
)) {
25622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsWorkDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25624 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25626 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25627 if (!SWIG_IsOK(ecode2
)) {
25628 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsWorkDay" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
25630 arg2
= static_cast< wxDateTime::Country
>(val2
);
25633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25634 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay(arg2
);
25635 wxPyEndAllowThreads(__tstate
);
25636 if (PyErr_Occurred()) SWIG_fail
;
25639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25647 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25648 PyObject
*resultobj
= 0;
25649 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25650 wxDateTime
*arg2
= 0 ;
25656 PyObject
* obj0
= 0 ;
25657 PyObject
* obj1
= 0 ;
25658 char * kwnames
[] = {
25659 (char *) "self",(char *) "datetime", NULL
25662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25664 if (!SWIG_IsOK(res1
)) {
25665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25667 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25668 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25669 if (!SWIG_IsOK(res2
)) {
25670 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25673 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25675 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25678 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
25679 wxPyEndAllowThreads(__tstate
);
25680 if (PyErr_Occurred()) SWIG_fail
;
25683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25691 SWIGINTERN PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25692 PyObject
*resultobj
= 0;
25693 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25694 wxDateTime
*arg2
= 0 ;
25700 PyObject
* obj0
= 0 ;
25701 PyObject
* obj1
= 0 ;
25702 char * kwnames
[] = {
25703 (char *) "self",(char *) "datetime", NULL
25706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25708 if (!SWIG_IsOK(res1
)) {
25709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25711 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25712 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25713 if (!SWIG_IsOK(res2
)) {
25714 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25717 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25719 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25722 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
25723 wxPyEndAllowThreads(__tstate
);
25724 if (PyErr_Occurred()) SWIG_fail
;
25727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25735 SWIGINTERN PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25736 PyObject
*resultobj
= 0;
25737 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25738 wxDateTime
*arg2
= 0 ;
25744 PyObject
* obj0
= 0 ;
25745 PyObject
* obj1
= 0 ;
25746 char * kwnames
[] = {
25747 (char *) "self",(char *) "datetime", NULL
25750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25752 if (!SWIG_IsOK(res1
)) {
25753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsLaterThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25755 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25756 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25757 if (!SWIG_IsOK(res2
)) {
25758 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25761 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25763 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25766 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
25767 wxPyEndAllowThreads(__tstate
);
25768 if (PyErr_Occurred()) SWIG_fail
;
25771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25779 SWIGINTERN PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25780 PyObject
*resultobj
= 0;
25781 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25782 wxDateTime
*arg2
= 0 ;
25783 wxDateTime
*arg3
= 0 ;
25791 PyObject
* obj0
= 0 ;
25792 PyObject
* obj1
= 0 ;
25793 PyObject
* obj2
= 0 ;
25794 char * kwnames
[] = {
25795 (char *) "self",(char *) "t1",(char *) "t2", NULL
25798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25800 if (!SWIG_IsOK(res1
)) {
25801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25803 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25804 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25805 if (!SWIG_IsOK(res2
)) {
25806 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25809 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25811 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25812 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25813 if (!SWIG_IsOK(res3
)) {
25814 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25817 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25819 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
25821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25822 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
25823 wxPyEndAllowThreads(__tstate
);
25824 if (PyErr_Occurred()) SWIG_fail
;
25827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25835 SWIGINTERN PyObject
*_wrap_DateTime_IsBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25836 PyObject
*resultobj
= 0;
25837 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25838 wxDateTime
*arg2
= 0 ;
25839 wxDateTime
*arg3
= 0 ;
25847 PyObject
* obj0
= 0 ;
25848 PyObject
* obj1
= 0 ;
25849 PyObject
* obj2
= 0 ;
25850 char * kwnames
[] = {
25851 (char *) "self",(char *) "t1",(char *) "t2", NULL
25854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25856 if (!SWIG_IsOK(res1
)) {
25857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25859 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25860 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25861 if (!SWIG_IsOK(res2
)) {
25862 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25865 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25867 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25868 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25869 if (!SWIG_IsOK(res3
)) {
25870 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25873 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25875 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
25877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25878 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
25879 wxPyEndAllowThreads(__tstate
);
25880 if (PyErr_Occurred()) SWIG_fail
;
25883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25891 SWIGINTERN PyObject
*_wrap_DateTime_IsSameDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25892 PyObject
*resultobj
= 0;
25893 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25894 wxDateTime
*arg2
= 0 ;
25900 PyObject
* obj0
= 0 ;
25901 PyObject
* obj1
= 0 ;
25902 char * kwnames
[] = {
25903 (char *) "self",(char *) "dt", NULL
25906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25908 if (!SWIG_IsOK(res1
)) {
25909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25911 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25912 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25913 if (!SWIG_IsOK(res2
)) {
25914 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25917 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25919 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25922 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
25923 wxPyEndAllowThreads(__tstate
);
25924 if (PyErr_Occurred()) SWIG_fail
;
25927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25935 SWIGINTERN PyObject
*_wrap_DateTime_IsSameTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25936 PyObject
*resultobj
= 0;
25937 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25938 wxDateTime
*arg2
= 0 ;
25944 PyObject
* obj0
= 0 ;
25945 PyObject
* obj1
= 0 ;
25946 char * kwnames
[] = {
25947 (char *) "self",(char *) "dt", NULL
25950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25952 if (!SWIG_IsOK(res1
)) {
25953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25955 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25956 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25957 if (!SWIG_IsOK(res2
)) {
25958 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25961 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25963 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25966 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
25967 wxPyEndAllowThreads(__tstate
);
25968 if (PyErr_Occurred()) SWIG_fail
;
25971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25979 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25980 PyObject
*resultobj
= 0;
25981 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25982 wxDateTime
*arg2
= 0 ;
25983 wxTimeSpan
*arg3
= 0 ;
25991 PyObject
* obj0
= 0 ;
25992 PyObject
* obj1
= 0 ;
25993 PyObject
* obj2
= 0 ;
25994 char * kwnames
[] = {
25995 (char *) "self",(char *) "dt",(char *) "ts", NULL
25998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26000 if (!SWIG_IsOK(res1
)) {
26001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26003 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26004 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26005 if (!SWIG_IsOK(res2
)) {
26006 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26009 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26011 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26012 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26013 if (!SWIG_IsOK(res3
)) {
26014 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
26017 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
26019 arg3
= reinterpret_cast< wxTimeSpan
* >(argp3
);
26021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26022 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
26023 wxPyEndAllowThreads(__tstate
);
26024 if (PyErr_Occurred()) SWIG_fail
;
26027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26035 SWIGINTERN PyObject
*_wrap_DateTime_AddTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26036 PyObject
*resultobj
= 0;
26037 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26038 wxTimeSpan
*arg2
= 0 ;
26039 wxDateTime
*result
= 0 ;
26044 PyObject
* obj0
= 0 ;
26045 PyObject
* obj1
= 0 ;
26046 char * kwnames
[] = {
26047 (char *) "self",(char *) "diff", NULL
26050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26052 if (!SWIG_IsOK(res1
)) {
26053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
26055 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26056 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26057 if (!SWIG_IsOK(res2
)) {
26058 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26061 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26063 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26067 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
26068 result
= (wxDateTime
*) &_result_ref
;
26070 wxPyEndAllowThreads(__tstate
);
26071 if (PyErr_Occurred()) SWIG_fail
;
26073 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26080 SWIGINTERN PyObject
*_wrap_DateTime_AddDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26081 PyObject
*resultobj
= 0;
26082 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26083 wxDateSpan
*arg2
= 0 ;
26084 wxDateTime
*result
= 0 ;
26089 PyObject
* obj0
= 0 ;
26090 PyObject
* obj1
= 0 ;
26091 char * kwnames
[] = {
26092 (char *) "self",(char *) "diff", NULL
26095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26097 if (!SWIG_IsOK(res1
)) {
26098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
26100 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26101 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26102 if (!SWIG_IsOK(res2
)) {
26103 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26106 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26108 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26112 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
26113 result
= (wxDateTime
*) &_result_ref
;
26115 wxPyEndAllowThreads(__tstate
);
26116 if (PyErr_Occurred()) SWIG_fail
;
26118 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26125 SWIGINTERN PyObject
*_wrap_DateTime_SubtractTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26126 PyObject
*resultobj
= 0;
26127 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26128 wxTimeSpan
*arg2
= 0 ;
26129 wxDateTime
*result
= 0 ;
26134 PyObject
* obj0
= 0 ;
26135 PyObject
* obj1
= 0 ;
26136 char * kwnames
[] = {
26137 (char *) "self",(char *) "diff", NULL
26140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26142 if (!SWIG_IsOK(res1
)) {
26143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
26145 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26146 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26147 if (!SWIG_IsOK(res2
)) {
26148 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26151 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26153 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26157 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
26158 result
= (wxDateTime
*) &_result_ref
;
26160 wxPyEndAllowThreads(__tstate
);
26161 if (PyErr_Occurred()) SWIG_fail
;
26163 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26170 SWIGINTERN PyObject
*_wrap_DateTime_SubtractDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26171 PyObject
*resultobj
= 0;
26172 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26173 wxDateSpan
*arg2
= 0 ;
26174 wxDateTime
*result
= 0 ;
26179 PyObject
* obj0
= 0 ;
26180 PyObject
* obj1
= 0 ;
26181 char * kwnames
[] = {
26182 (char *) "self",(char *) "diff", NULL
26185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26187 if (!SWIG_IsOK(res1
)) {
26188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
26190 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26191 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26192 if (!SWIG_IsOK(res2
)) {
26193 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26196 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26198 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26202 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
26203 result
= (wxDateTime
*) &_result_ref
;
26205 wxPyEndAllowThreads(__tstate
);
26206 if (PyErr_Occurred()) SWIG_fail
;
26208 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26215 SWIGINTERN PyObject
*_wrap_DateTime_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26216 PyObject
*resultobj
= 0;
26217 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26218 wxDateTime
*arg2
= 0 ;
26224 PyObject
* obj0
= 0 ;
26225 PyObject
* obj1
= 0 ;
26226 char * kwnames
[] = {
26227 (char *) "self",(char *) "dt", NULL
26230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26232 if (!SWIG_IsOK(res1
)) {
26233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Subtract" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26235 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26236 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26237 if (!SWIG_IsOK(res2
)) {
26238 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26241 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26243 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26246 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
26247 wxPyEndAllowThreads(__tstate
);
26248 if (PyErr_Occurred()) SWIG_fail
;
26250 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
26257 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26258 PyObject
*resultobj
= 0;
26259 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26260 wxTimeSpan
*arg2
= 0 ;
26261 wxDateTime
*result
= 0 ;
26267 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26269 if (!SWIG_IsOK(res1
)) {
26270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26272 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26273 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26274 if (!SWIG_IsOK(res2
)) {
26275 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26278 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26280 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26284 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
26285 result
= (wxDateTime
*) &_result_ref
;
26287 wxPyEndAllowThreads(__tstate
);
26288 if (PyErr_Occurred()) SWIG_fail
;
26290 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26297 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26298 PyObject
*resultobj
= 0;
26299 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26300 wxDateSpan
*arg2
= 0 ;
26301 wxDateTime
*result
= 0 ;
26307 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26309 if (!SWIG_IsOK(res1
)) {
26310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26312 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26313 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26314 if (!SWIG_IsOK(res2
)) {
26315 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26318 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26320 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26324 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
26325 result
= (wxDateTime
*) &_result_ref
;
26327 wxPyEndAllowThreads(__tstate
);
26328 if (PyErr_Occurred()) SWIG_fail
;
26330 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26337 SWIGINTERN PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
26341 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___iadd__",0,2,argv
))) SWIG_fail
;
26346 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26347 _v
= SWIG_CheckState(res
);
26349 if (!_v
) goto check_1
;
26350 return _wrap_DateTime___iadd____SWIG_0(self
, argc
, argv
);
26355 return _wrap_DateTime___iadd____SWIG_1(self
, argc
, argv
);
26359 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
26364 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26365 PyObject
*resultobj
= 0;
26366 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26367 wxTimeSpan
*arg2
= 0 ;
26368 wxDateTime
*result
= 0 ;
26374 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26376 if (!SWIG_IsOK(res1
)) {
26377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26379 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26380 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26381 if (!SWIG_IsOK(res2
)) {
26382 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26385 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26387 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26391 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
26392 result
= (wxDateTime
*) &_result_ref
;
26394 wxPyEndAllowThreads(__tstate
);
26395 if (PyErr_Occurred()) SWIG_fail
;
26397 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26404 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26405 PyObject
*resultobj
= 0;
26406 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26407 wxDateSpan
*arg2
= 0 ;
26408 wxDateTime
*result
= 0 ;
26414 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26416 if (!SWIG_IsOK(res1
)) {
26417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26419 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26420 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26421 if (!SWIG_IsOK(res2
)) {
26422 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26425 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26427 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26431 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
26432 result
= (wxDateTime
*) &_result_ref
;
26434 wxPyEndAllowThreads(__tstate
);
26435 if (PyErr_Occurred()) SWIG_fail
;
26437 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26444 SWIGINTERN PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
26448 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___isub__",0,2,argv
))) SWIG_fail
;
26453 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26454 _v
= SWIG_CheckState(res
);
26456 if (!_v
) goto check_1
;
26457 return _wrap_DateTime___isub____SWIG_0(self
, argc
, argv
);
26462 return _wrap_DateTime___isub____SWIG_1(self
, argc
, argv
);
26466 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
26471 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26472 PyObject
*resultobj
= 0;
26473 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26474 wxTimeSpan
*arg2
= 0 ;
26481 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26483 if (!SWIG_IsOK(res1
)) {
26484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26486 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26487 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26488 if (!SWIG_IsOK(res2
)) {
26489 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26492 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26494 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26497 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
26498 wxPyEndAllowThreads(__tstate
);
26499 if (PyErr_Occurred()) SWIG_fail
;
26501 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26508 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26509 PyObject
*resultobj
= 0;
26510 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26511 wxDateSpan
*arg2
= 0 ;
26518 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26520 if (!SWIG_IsOK(res1
)) {
26521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26523 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26524 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26525 if (!SWIG_IsOK(res2
)) {
26526 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26529 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26531 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26534 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
26535 wxPyEndAllowThreads(__tstate
);
26536 if (PyErr_Occurred()) SWIG_fail
;
26538 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26545 SWIGINTERN PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
26549 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___add__",0,2,argv
))) SWIG_fail
;
26554 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26555 _v
= SWIG_CheckState(res
);
26557 if (!_v
) goto check_1
;
26558 return _wrap_DateTime___add____SWIG_0(self
, argc
, argv
);
26563 return _wrap_DateTime___add____SWIG_1(self
, argc
, argv
);
26567 Py_INCREF(Py_NotImplemented
);
26568 return Py_NotImplemented
;
26572 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26573 PyObject
*resultobj
= 0;
26574 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26575 wxDateTime
*arg2
= 0 ;
26582 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26584 if (!SWIG_IsOK(res1
)) {
26585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26587 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26588 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26589 if (!SWIG_IsOK(res2
)) {
26590 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26593 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26595 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26598 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
26599 wxPyEndAllowThreads(__tstate
);
26600 if (PyErr_Occurred()) SWIG_fail
;
26602 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
26609 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26610 PyObject
*resultobj
= 0;
26611 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26612 wxTimeSpan
*arg2
= 0 ;
26619 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26621 if (!SWIG_IsOK(res1
)) {
26622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26624 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26625 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26626 if (!SWIG_IsOK(res2
)) {
26627 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26630 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26632 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26635 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
26636 wxPyEndAllowThreads(__tstate
);
26637 if (PyErr_Occurred()) SWIG_fail
;
26639 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26646 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26647 PyObject
*resultobj
= 0;
26648 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26649 wxDateSpan
*arg2
= 0 ;
26656 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26658 if (!SWIG_IsOK(res1
)) {
26659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26661 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26662 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26663 if (!SWIG_IsOK(res2
)) {
26664 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26667 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26669 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26672 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
26673 wxPyEndAllowThreads(__tstate
);
26674 if (PyErr_Occurred()) SWIG_fail
;
26676 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26683 SWIGINTERN PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
26687 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___sub__",0,2,argv
))) SWIG_fail
;
26692 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDateTime
, 0);
26693 _v
= SWIG_CheckState(res
);
26695 if (!_v
) goto check_1
;
26696 return _wrap_DateTime___sub____SWIG_0(self
, argc
, argv
);
26703 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26704 _v
= SWIG_CheckState(res
);
26706 if (!_v
) goto check_2
;
26707 return _wrap_DateTime___sub____SWIG_1(self
, argc
, argv
);
26712 return _wrap_DateTime___sub____SWIG_2(self
, argc
, argv
);
26716 Py_INCREF(Py_NotImplemented
);
26717 return Py_NotImplemented
;
26721 SWIGINTERN PyObject
*_wrap_DateTime___lt__(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___lt__",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___lt__" "', 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___lt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26746 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26749 result
= (bool)wxDateTime___lt__(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___le__(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___le__",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___le__" "', 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___le__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26787 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26790 result
= (bool)wxDateTime___le__(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___gt__(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___gt__",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___gt__" "', 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___gt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26828 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26831 result
= (bool)wxDateTime___gt__(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___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26845 PyObject
*resultobj
= 0;
26846 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26847 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26853 PyObject
* obj0
= 0 ;
26854 PyObject
* obj1
= 0 ;
26855 char * kwnames
[] = {
26856 (char *) "self",(char *) "other", NULL
26859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26861 if (!SWIG_IsOK(res1
)) {
26862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ge__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26864 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26865 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26866 if (!SWIG_IsOK(res2
)) {
26867 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ge__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26869 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26872 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
26873 wxPyEndAllowThreads(__tstate
);
26874 if (PyErr_Occurred()) SWIG_fail
;
26877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26885 SWIGINTERN PyObject
*_wrap_DateTime___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26886 PyObject
*resultobj
= 0;
26887 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26888 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26894 PyObject
* obj0
= 0 ;
26895 PyObject
* obj1
= 0 ;
26896 char * kwnames
[] = {
26897 (char *) "self",(char *) "other", NULL
26900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26902 if (!SWIG_IsOK(res1
)) {
26903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___eq__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26905 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26906 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26907 if (!SWIG_IsOK(res2
)) {
26908 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___eq__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26910 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26913 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
26914 wxPyEndAllowThreads(__tstate
);
26915 if (PyErr_Occurred()) SWIG_fail
;
26918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26926 SWIGINTERN PyObject
*_wrap_DateTime___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26927 PyObject
*resultobj
= 0;
26928 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26929 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26935 PyObject
* obj0
= 0 ;
26936 PyObject
* obj1
= 0 ;
26937 char * kwnames
[] = {
26938 (char *) "self",(char *) "other", NULL
26941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26943 if (!SWIG_IsOK(res1
)) {
26944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ne__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26946 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26947 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26948 if (!SWIG_IsOK(res2
)) {
26949 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ne__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26951 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26954 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
26955 wxPyEndAllowThreads(__tstate
);
26956 if (PyErr_Occurred()) SWIG_fail
;
26959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26967 SWIGINTERN PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26968 PyObject
*resultobj
= 0;
26969 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26970 wxString
*arg2
= 0 ;
26974 bool temp2
= false ;
26975 PyObject
* obj0
= 0 ;
26976 PyObject
* obj1
= 0 ;
26977 char * kwnames
[] = {
26978 (char *) "self",(char *) "date", NULL
26981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26983 if (!SWIG_IsOK(res1
)) {
26984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseRfc822Date" "', expected argument " "1"" of type '" "wxDateTime *""'");
26986 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26988 arg2
= wxString_in_helper(obj1
);
26989 if (arg2
== NULL
) SWIG_fail
;
26993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26994 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
26995 wxPyEndAllowThreads(__tstate
);
26996 if (PyErr_Occurred()) SWIG_fail
;
26998 resultobj
= SWIG_From_int(static_cast< int >(result
));
27013 SWIGINTERN PyObject
*_wrap_DateTime_ParseFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27014 PyObject
*resultobj
= 0;
27015 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27016 wxString
*arg2
= 0 ;
27017 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
27018 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
27019 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
27020 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
27024 bool temp2
= false ;
27025 bool temp3
= false ;
27028 PyObject
* obj0
= 0 ;
27029 PyObject
* obj1
= 0 ;
27030 PyObject
* obj2
= 0 ;
27031 PyObject
* obj3
= 0 ;
27032 char * kwnames
[] = {
27033 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
27036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27038 if (!SWIG_IsOK(res1
)) {
27039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseFormat" "', expected argument " "1"" of type '" "wxDateTime *""'");
27041 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27043 arg2
= wxString_in_helper(obj1
);
27044 if (arg2
== NULL
) SWIG_fail
;
27049 arg3
= wxString_in_helper(obj2
);
27050 if (arg3
== NULL
) SWIG_fail
;
27055 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27056 if (!SWIG_IsOK(res4
)) {
27057 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
27060 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
27062 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
27065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27066 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
27067 wxPyEndAllowThreads(__tstate
);
27068 if (PyErr_Occurred()) SWIG_fail
;
27070 resultobj
= SWIG_From_int(static_cast< int >(result
));
27093 SWIGINTERN PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27094 PyObject
*resultobj
= 0;
27095 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27096 wxString
*arg2
= 0 ;
27100 bool temp2
= false ;
27101 PyObject
* obj0
= 0 ;
27102 PyObject
* obj1
= 0 ;
27103 char * kwnames
[] = {
27104 (char *) "self",(char *) "datetime", NULL
27107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27109 if (!SWIG_IsOK(res1
)) {
27110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
27112 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27114 arg2
= wxString_in_helper(obj1
);
27115 if (arg2
== NULL
) SWIG_fail
;
27119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27120 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
27121 wxPyEndAllowThreads(__tstate
);
27122 if (PyErr_Occurred()) SWIG_fail
;
27124 resultobj
= SWIG_From_int(static_cast< int >(result
));
27139 SWIGINTERN PyObject
*_wrap_DateTime_ParseDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27140 PyObject
*resultobj
= 0;
27141 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27142 wxString
*arg2
= 0 ;
27146 bool temp2
= false ;
27147 PyObject
* obj0
= 0 ;
27148 PyObject
* obj1
= 0 ;
27149 char * kwnames
[] = {
27150 (char *) "self",(char *) "date", NULL
27153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27155 if (!SWIG_IsOK(res1
)) {
27156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDate" "', expected argument " "1"" of type '" "wxDateTime *""'");
27158 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27160 arg2
= wxString_in_helper(obj1
);
27161 if (arg2
== NULL
) SWIG_fail
;
27165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27166 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
27167 wxPyEndAllowThreads(__tstate
);
27168 if (PyErr_Occurred()) SWIG_fail
;
27170 resultobj
= SWIG_From_int(static_cast< int >(result
));
27185 SWIGINTERN PyObject
*_wrap_DateTime_ParseTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27186 PyObject
*resultobj
= 0;
27187 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27188 wxString
*arg2
= 0 ;
27192 bool temp2
= false ;
27193 PyObject
* obj0
= 0 ;
27194 PyObject
* obj1
= 0 ;
27195 char * kwnames
[] = {
27196 (char *) "self",(char *) "time", NULL
27199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27201 if (!SWIG_IsOK(res1
)) {
27202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
27204 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27206 arg2
= wxString_in_helper(obj1
);
27207 if (arg2
== NULL
) SWIG_fail
;
27211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27212 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
27213 wxPyEndAllowThreads(__tstate
);
27214 if (PyErr_Occurred()) SWIG_fail
;
27216 resultobj
= SWIG_From_int(static_cast< int >(result
));
27231 SWIGINTERN PyObject
*_wrap_DateTime_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27232 PyObject
*resultobj
= 0;
27233 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27234 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
27235 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
27236 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
27237 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
27241 bool temp2
= false ;
27242 bool temp3
= false ;
27243 PyObject
* obj0
= 0 ;
27244 PyObject
* obj1
= 0 ;
27245 PyObject
* obj2
= 0 ;
27246 char * kwnames
[] = {
27247 (char *) "self",(char *) "format",(char *) "tz", NULL
27250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27252 if (!SWIG_IsOK(res1
)) {
27253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Format" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27255 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27258 arg2
= wxString_in_helper(obj1
);
27259 if (arg2
== NULL
) SWIG_fail
;
27265 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
27270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27271 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
27272 wxPyEndAllowThreads(__tstate
);
27273 if (PyErr_Occurred()) SWIG_fail
;
27277 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27279 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27287 if (temp3
) delete arg3
;
27296 if (temp3
) delete arg3
;
27302 SWIGINTERN PyObject
*_wrap_DateTime_FormatDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27303 PyObject
*resultobj
= 0;
27304 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27308 PyObject
*swig_obj
[1] ;
27310 if (!args
) SWIG_fail
;
27311 swig_obj
[0] = args
;
27312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27313 if (!SWIG_IsOK(res1
)) {
27314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27316 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27319 result
= ((wxDateTime
const *)arg1
)->FormatDate();
27320 wxPyEndAllowThreads(__tstate
);
27321 if (PyErr_Occurred()) SWIG_fail
;
27325 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27327 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27336 SWIGINTERN PyObject
*_wrap_DateTime_FormatTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27337 PyObject
*resultobj
= 0;
27338 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27342 PyObject
*swig_obj
[1] ;
27344 if (!args
) SWIG_fail
;
27345 swig_obj
[0] = args
;
27346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27347 if (!SWIG_IsOK(res1
)) {
27348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27350 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27353 result
= ((wxDateTime
const *)arg1
)->FormatTime();
27354 wxPyEndAllowThreads(__tstate
);
27355 if (PyErr_Occurred()) SWIG_fail
;
27359 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27361 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27370 SWIGINTERN PyObject
*_wrap_DateTime_FormatISODate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27371 PyObject
*resultobj
= 0;
27372 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27376 PyObject
*swig_obj
[1] ;
27378 if (!args
) SWIG_fail
;
27379 swig_obj
[0] = args
;
27380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27381 if (!SWIG_IsOK(res1
)) {
27382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISODate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27384 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27387 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
27388 wxPyEndAllowThreads(__tstate
);
27389 if (PyErr_Occurred()) SWIG_fail
;
27393 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27395 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27404 SWIGINTERN PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27405 PyObject
*resultobj
= 0;
27406 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27410 PyObject
*swig_obj
[1] ;
27412 if (!args
) SWIG_fail
;
27413 swig_obj
[0] = args
;
27414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27415 if (!SWIG_IsOK(res1
)) {
27416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISOTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27418 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27421 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
27422 wxPyEndAllowThreads(__tstate
);
27423 if (PyErr_Occurred()) SWIG_fail
;
27427 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27429 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27438 SWIGINTERN PyObject
*DateTime_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27440 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27441 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateTime
, SWIG_NewClientData(obj
));
27442 return SWIG_Py_Void();
27445 SWIGINTERN PyObject
*DateTime_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27446 return SWIG_Python_InitShadowInstance(args
);
27449 SWIGINTERN PyObject
*_wrap_TimeSpan_Milliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27450 PyObject
*resultobj
= 0;
27455 PyObject
* obj0
= 0 ;
27456 char * kwnames
[] = {
27457 (char *) "ms", NULL
27460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Milliseconds",kwnames
,&obj0
)) SWIG_fail
;
27461 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27462 if (!SWIG_IsOK(ecode1
)) {
27463 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Milliseconds" "', expected argument " "1"" of type '" "long""'");
27465 arg1
= static_cast< long >(val1
);
27467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27468 result
= wxTimeSpan::Milliseconds(arg1
);
27469 wxPyEndAllowThreads(__tstate
);
27470 if (PyErr_Occurred()) SWIG_fail
;
27472 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27479 SWIGINTERN PyObject
*_wrap_TimeSpan_Millisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27480 PyObject
*resultobj
= 0;
27483 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Millisecond",0,0,0)) SWIG_fail
;
27485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27486 result
= wxTimeSpan::Millisecond();
27487 wxPyEndAllowThreads(__tstate
);
27488 if (PyErr_Occurred()) SWIG_fail
;
27490 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27497 SWIGINTERN PyObject
*_wrap_TimeSpan_Seconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27498 PyObject
*resultobj
= 0;
27503 PyObject
* obj0
= 0 ;
27504 char * kwnames
[] = {
27505 (char *) "sec", NULL
27508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) SWIG_fail
;
27509 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27510 if (!SWIG_IsOK(ecode1
)) {
27511 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Seconds" "', expected argument " "1"" of type '" "long""'");
27513 arg1
= static_cast< long >(val1
);
27515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27516 result
= wxTimeSpan::Seconds(arg1
);
27517 wxPyEndAllowThreads(__tstate
);
27518 if (PyErr_Occurred()) SWIG_fail
;
27520 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27527 SWIGINTERN PyObject
*_wrap_TimeSpan_Second(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27528 PyObject
*resultobj
= 0;
27531 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Second",0,0,0)) SWIG_fail
;
27533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27534 result
= wxTimeSpan::Second();
27535 wxPyEndAllowThreads(__tstate
);
27536 if (PyErr_Occurred()) SWIG_fail
;
27538 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27545 SWIGINTERN PyObject
*_wrap_TimeSpan_Minutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27546 PyObject
*resultobj
= 0;
27551 PyObject
* obj0
= 0 ;
27552 char * kwnames
[] = {
27553 (char *) "min", NULL
27556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) SWIG_fail
;
27557 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27558 if (!SWIG_IsOK(ecode1
)) {
27559 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Minutes" "', expected argument " "1"" of type '" "long""'");
27561 arg1
= static_cast< long >(val1
);
27563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27564 result
= wxTimeSpan::Minutes(arg1
);
27565 wxPyEndAllowThreads(__tstate
);
27566 if (PyErr_Occurred()) SWIG_fail
;
27568 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27575 SWIGINTERN PyObject
*_wrap_TimeSpan_Minute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27576 PyObject
*resultobj
= 0;
27579 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Minute",0,0,0)) SWIG_fail
;
27581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27582 result
= wxTimeSpan::Minute();
27583 wxPyEndAllowThreads(__tstate
);
27584 if (PyErr_Occurred()) SWIG_fail
;
27586 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27593 SWIGINTERN PyObject
*_wrap_TimeSpan_Hours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27594 PyObject
*resultobj
= 0;
27599 PyObject
* obj0
= 0 ;
27600 char * kwnames
[] = {
27601 (char *) "hours", NULL
27604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) SWIG_fail
;
27605 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27606 if (!SWIG_IsOK(ecode1
)) {
27607 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Hours" "', expected argument " "1"" of type '" "long""'");
27609 arg1
= static_cast< long >(val1
);
27611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27612 result
= wxTimeSpan::Hours(arg1
);
27613 wxPyEndAllowThreads(__tstate
);
27614 if (PyErr_Occurred()) SWIG_fail
;
27616 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27623 SWIGINTERN PyObject
*_wrap_TimeSpan_Hour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27624 PyObject
*resultobj
= 0;
27627 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Hour",0,0,0)) SWIG_fail
;
27629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27630 result
= wxTimeSpan::Hour();
27631 wxPyEndAllowThreads(__tstate
);
27632 if (PyErr_Occurred()) SWIG_fail
;
27634 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27641 SWIGINTERN PyObject
*_wrap_TimeSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27642 PyObject
*resultobj
= 0;
27647 PyObject
* obj0
= 0 ;
27648 char * kwnames
[] = {
27649 (char *) "days", NULL
27652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
27653 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27654 if (!SWIG_IsOK(ecode1
)) {
27655 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Days" "', expected argument " "1"" of type '" "long""'");
27657 arg1
= static_cast< long >(val1
);
27659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27660 result
= wxTimeSpan::Days(arg1
);
27661 wxPyEndAllowThreads(__tstate
);
27662 if (PyErr_Occurred()) SWIG_fail
;
27664 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27671 SWIGINTERN PyObject
*_wrap_TimeSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27672 PyObject
*resultobj
= 0;
27675 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Day",0,0,0)) SWIG_fail
;
27677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27678 result
= wxTimeSpan::Day();
27679 wxPyEndAllowThreads(__tstate
);
27680 if (PyErr_Occurred()) SWIG_fail
;
27682 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27689 SWIGINTERN PyObject
*_wrap_TimeSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27690 PyObject
*resultobj
= 0;
27695 PyObject
* obj0
= 0 ;
27696 char * kwnames
[] = {
27697 (char *) "days", NULL
27700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
27701 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27702 if (!SWIG_IsOK(ecode1
)) {
27703 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Weeks" "', expected argument " "1"" of type '" "long""'");
27705 arg1
= static_cast< long >(val1
);
27707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27708 result
= wxTimeSpan::Weeks(arg1
);
27709 wxPyEndAllowThreads(__tstate
);
27710 if (PyErr_Occurred()) SWIG_fail
;
27712 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27719 SWIGINTERN PyObject
*_wrap_TimeSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27720 PyObject
*resultobj
= 0;
27723 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Week",0,0,0)) SWIG_fail
;
27725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27726 result
= wxTimeSpan::Week();
27727 wxPyEndAllowThreads(__tstate
);
27728 if (PyErr_Occurred()) SWIG_fail
;
27730 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27737 SWIGINTERN PyObject
*_wrap_new_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27738 PyObject
*resultobj
= 0;
27739 long arg1
= (long) 0 ;
27740 long arg2
= (long) 0 ;
27741 long arg3
= (long) 0 ;
27742 long arg4
= (long) 0 ;
27743 wxTimeSpan
*result
= 0 ;
27752 PyObject
* obj0
= 0 ;
27753 PyObject
* obj1
= 0 ;
27754 PyObject
* obj2
= 0 ;
27755 PyObject
* obj3
= 0 ;
27756 char * kwnames
[] = {
27757 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
27760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27762 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27763 if (!SWIG_IsOK(ecode1
)) {
27764 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimeSpan" "', expected argument " "1"" of type '" "long""'");
27766 arg1
= static_cast< long >(val1
);
27769 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
27770 if (!SWIG_IsOK(ecode2
)) {
27771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimeSpan" "', expected argument " "2"" of type '" "long""'");
27773 arg2
= static_cast< long >(val2
);
27776 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
27777 if (!SWIG_IsOK(ecode3
)) {
27778 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimeSpan" "', expected argument " "3"" of type '" "long""'");
27780 arg3
= static_cast< long >(val3
);
27783 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
27784 if (!SWIG_IsOK(ecode4
)) {
27785 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TimeSpan" "', expected argument " "4"" of type '" "long""'");
27787 arg4
= static_cast< long >(val4
);
27790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27791 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
27792 wxPyEndAllowThreads(__tstate
);
27793 if (PyErr_Occurred()) SWIG_fail
;
27795 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_NEW
| 0 );
27802 SWIGINTERN PyObject
*_wrap_delete_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27803 PyObject
*resultobj
= 0;
27804 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27807 PyObject
*swig_obj
[1] ;
27809 if (!args
) SWIG_fail
;
27810 swig_obj
[0] = args
;
27811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
27812 if (!SWIG_IsOK(res1
)) {
27813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimeSpan" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27815 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27820 wxPyEndAllowThreads(__tstate
);
27821 if (PyErr_Occurred()) SWIG_fail
;
27823 resultobj
= SWIG_Py_Void();
27830 SWIGINTERN PyObject
*_wrap_TimeSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27831 PyObject
*resultobj
= 0;
27832 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27833 wxTimeSpan
*arg2
= 0 ;
27834 wxTimeSpan
*result
= 0 ;
27839 PyObject
* obj0
= 0 ;
27840 PyObject
* obj1
= 0 ;
27841 char * kwnames
[] = {
27842 (char *) "self",(char *) "diff", NULL
27845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27847 if (!SWIG_IsOK(res1
)) {
27848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Add" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27850 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27851 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27852 if (!SWIG_IsOK(res2
)) {
27853 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27856 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27858 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27862 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
27863 result
= (wxTimeSpan
*) &_result_ref
;
27865 wxPyEndAllowThreads(__tstate
);
27866 if (PyErr_Occurred()) SWIG_fail
;
27868 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27875 SWIGINTERN PyObject
*_wrap_TimeSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27876 PyObject
*resultobj
= 0;
27877 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27878 wxTimeSpan
*arg2
= 0 ;
27879 wxTimeSpan
*result
= 0 ;
27884 PyObject
* obj0
= 0 ;
27885 PyObject
* obj1
= 0 ;
27886 char * kwnames
[] = {
27887 (char *) "self",(char *) "diff", NULL
27890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27892 if (!SWIG_IsOK(res1
)) {
27893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Subtract" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27895 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27896 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27897 if (!SWIG_IsOK(res2
)) {
27898 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27901 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27903 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27907 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
27908 result
= (wxTimeSpan
*) &_result_ref
;
27910 wxPyEndAllowThreads(__tstate
);
27911 if (PyErr_Occurred()) SWIG_fail
;
27913 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27920 SWIGINTERN PyObject
*_wrap_TimeSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27921 PyObject
*resultobj
= 0;
27922 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27924 wxTimeSpan
*result
= 0 ;
27929 PyObject
* obj0
= 0 ;
27930 PyObject
* obj1
= 0 ;
27931 char * kwnames
[] = {
27932 (char *) "self",(char *) "n", NULL
27935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27937 if (!SWIG_IsOK(res1
)) {
27938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Multiply" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27940 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27941 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27942 if (!SWIG_IsOK(ecode2
)) {
27943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
27945 arg2
= static_cast< int >(val2
);
27947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27949 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
27950 result
= (wxTimeSpan
*) &_result_ref
;
27952 wxPyEndAllowThreads(__tstate
);
27953 if (PyErr_Occurred()) SWIG_fail
;
27955 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27962 SWIGINTERN PyObject
*_wrap_TimeSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27963 PyObject
*resultobj
= 0;
27964 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27965 wxTimeSpan
*result
= 0 ;
27968 PyObject
*swig_obj
[1] ;
27970 if (!args
) SWIG_fail
;
27971 swig_obj
[0] = args
;
27972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27973 if (!SWIG_IsOK(res1
)) {
27974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Neg" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27976 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27980 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
27981 result
= (wxTimeSpan
*) &_result_ref
;
27983 wxPyEndAllowThreads(__tstate
);
27984 if (PyErr_Occurred()) SWIG_fail
;
27986 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27993 SWIGINTERN PyObject
*_wrap_TimeSpan_Abs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27994 PyObject
*resultobj
= 0;
27995 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27999 PyObject
*swig_obj
[1] ;
28001 if (!args
) SWIG_fail
;
28002 swig_obj
[0] = args
;
28003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28004 if (!SWIG_IsOK(res1
)) {
28005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Abs" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28007 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28010 result
= ((wxTimeSpan
const *)arg1
)->Abs();
28011 wxPyEndAllowThreads(__tstate
);
28012 if (PyErr_Occurred()) SWIG_fail
;
28014 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28021 SWIGINTERN PyObject
*_wrap_TimeSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28022 PyObject
*resultobj
= 0;
28023 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28024 wxTimeSpan
*arg2
= 0 ;
28025 wxTimeSpan
*result
= 0 ;
28030 PyObject
* obj0
= 0 ;
28031 PyObject
* obj1
= 0 ;
28032 char * kwnames
[] = {
28033 (char *) "self",(char *) "diff", NULL
28036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
28038 if (!SWIG_IsOK(res1
)) {
28039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___iadd__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28041 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28042 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28043 if (!SWIG_IsOK(res2
)) {
28044 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28047 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28049 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28053 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
28054 result
= (wxTimeSpan
*) &_result_ref
;
28056 wxPyEndAllowThreads(__tstate
);
28057 if (PyErr_Occurred()) SWIG_fail
;
28059 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28066 SWIGINTERN PyObject
*_wrap_TimeSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28067 PyObject
*resultobj
= 0;
28068 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28069 wxTimeSpan
*arg2
= 0 ;
28070 wxTimeSpan
*result
= 0 ;
28075 PyObject
* obj0
= 0 ;
28076 PyObject
* obj1
= 0 ;
28077 char * kwnames
[] = {
28078 (char *) "self",(char *) "diff", NULL
28081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
28083 if (!SWIG_IsOK(res1
)) {
28084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___isub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28086 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28087 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28088 if (!SWIG_IsOK(res2
)) {
28089 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28092 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28094 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28098 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
28099 result
= (wxTimeSpan
*) &_result_ref
;
28101 wxPyEndAllowThreads(__tstate
);
28102 if (PyErr_Occurred()) SWIG_fail
;
28104 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28111 SWIGINTERN PyObject
*_wrap_TimeSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28112 PyObject
*resultobj
= 0;
28113 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28115 wxTimeSpan
*result
= 0 ;
28120 PyObject
* obj0
= 0 ;
28121 PyObject
* obj1
= 0 ;
28122 char * kwnames
[] = {
28123 (char *) "self",(char *) "n", NULL
28126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
28128 if (!SWIG_IsOK(res1
)) {
28129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___imul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28131 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28132 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28133 if (!SWIG_IsOK(ecode2
)) {
28134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___imul__" "', expected argument " "2"" of type '" "int""'");
28136 arg2
= static_cast< int >(val2
);
28138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28140 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
28141 result
= (wxTimeSpan
*) &_result_ref
;
28143 wxPyEndAllowThreads(__tstate
);
28144 if (PyErr_Occurred()) SWIG_fail
;
28146 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28153 SWIGINTERN PyObject
*_wrap_TimeSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28154 PyObject
*resultobj
= 0;
28155 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28156 wxTimeSpan
*result
= 0 ;
28159 PyObject
*swig_obj
[1] ;
28161 if (!args
) SWIG_fail
;
28162 swig_obj
[0] = args
;
28163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28164 if (!SWIG_IsOK(res1
)) {
28165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___neg__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28167 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28171 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
28172 result
= (wxTimeSpan
*) &_result_ref
;
28174 wxPyEndAllowThreads(__tstate
);
28175 if (PyErr_Occurred()) SWIG_fail
;
28177 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28184 SWIGINTERN PyObject
*_wrap_TimeSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28185 PyObject
*resultobj
= 0;
28186 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28187 wxTimeSpan
*arg2
= 0 ;
28193 PyObject
* obj0
= 0 ;
28194 PyObject
* obj1
= 0 ;
28195 char * kwnames
[] = {
28196 (char *) "self",(char *) "other", NULL
28199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",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___add__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28204 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28205 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28206 if (!SWIG_IsOK(res2
)) {
28207 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28210 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28212 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28215 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
28216 wxPyEndAllowThreads(__tstate
);
28217 if (PyErr_Occurred()) SWIG_fail
;
28219 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28226 SWIGINTERN PyObject
*_wrap_TimeSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28227 PyObject
*resultobj
= 0;
28228 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28229 wxTimeSpan
*arg2
= 0 ;
28235 PyObject
* obj0
= 0 ;
28236 PyObject
* obj1
= 0 ;
28237 char * kwnames
[] = {
28238 (char *) "self",(char *) "other", NULL
28241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28243 if (!SWIG_IsOK(res1
)) {
28244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___sub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28246 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28247 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28248 if (!SWIG_IsOK(res2
)) {
28249 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28252 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28254 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28257 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
28258 wxPyEndAllowThreads(__tstate
);
28259 if (PyErr_Occurred()) SWIG_fail
;
28261 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28268 SWIGINTERN PyObject
*_wrap_TimeSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28269 PyObject
*resultobj
= 0;
28270 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28277 PyObject
* obj0
= 0 ;
28278 PyObject
* obj1
= 0 ;
28279 char * kwnames
[] = {
28280 (char *) "self",(char *) "n", NULL
28283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28285 if (!SWIG_IsOK(res1
)) {
28286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___mul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28288 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28289 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28290 if (!SWIG_IsOK(ecode2
)) {
28291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___mul__" "', expected argument " "2"" of type '" "int""'");
28293 arg2
= static_cast< int >(val2
);
28295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28296 result
= wxTimeSpan___mul__(arg1
,arg2
);
28297 wxPyEndAllowThreads(__tstate
);
28298 if (PyErr_Occurred()) SWIG_fail
;
28300 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28307 SWIGINTERN PyObject
*_wrap_TimeSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28308 PyObject
*resultobj
= 0;
28309 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28316 PyObject
* obj0
= 0 ;
28317 PyObject
* obj1
= 0 ;
28318 char * kwnames
[] = {
28319 (char *) "self",(char *) "n", NULL
28322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28324 if (!SWIG_IsOK(res1
)) {
28325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___rmul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28327 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28328 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28329 if (!SWIG_IsOK(ecode2
)) {
28330 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
28332 arg2
= static_cast< int >(val2
);
28334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28335 result
= wxTimeSpan___rmul__(arg1
,arg2
);
28336 wxPyEndAllowThreads(__tstate
);
28337 if (PyErr_Occurred()) SWIG_fail
;
28339 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28346 SWIGINTERN PyObject
*_wrap_TimeSpan___lt__(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___lt__",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___lt__" "', 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___lt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28371 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28374 result
= (bool)wxTimeSpan___lt__(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___le__(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___le__",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___le__" "', 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___le__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28412 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28415 result
= (bool)wxTimeSpan___le__(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___gt__(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___gt__",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___gt__" "', 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___gt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28453 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28456 result
= (bool)wxTimeSpan___gt__(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___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28470 PyObject
*resultobj
= 0;
28471 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28472 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28478 PyObject
* obj0
= 0 ;
28479 PyObject
* obj1
= 0 ;
28480 char * kwnames
[] = {
28481 (char *) "self",(char *) "other", NULL
28484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28486 if (!SWIG_IsOK(res1
)) {
28487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ge__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28489 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28490 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28491 if (!SWIG_IsOK(res2
)) {
28492 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ge__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28494 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28497 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
28498 wxPyEndAllowThreads(__tstate
);
28499 if (PyErr_Occurred()) SWIG_fail
;
28502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28510 SWIGINTERN PyObject
*_wrap_TimeSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28511 PyObject
*resultobj
= 0;
28512 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28513 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28519 PyObject
* obj0
= 0 ;
28520 PyObject
* obj1
= 0 ;
28521 char * kwnames
[] = {
28522 (char *) "self",(char *) "other", NULL
28525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28527 if (!SWIG_IsOK(res1
)) {
28528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___eq__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28530 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28531 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28532 if (!SWIG_IsOK(res2
)) {
28533 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___eq__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28535 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28538 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
28539 wxPyEndAllowThreads(__tstate
);
28540 if (PyErr_Occurred()) SWIG_fail
;
28543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28551 SWIGINTERN PyObject
*_wrap_TimeSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28552 PyObject
*resultobj
= 0;
28553 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28554 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28560 PyObject
* obj0
= 0 ;
28561 PyObject
* obj1
= 0 ;
28562 char * kwnames
[] = {
28563 (char *) "self",(char *) "other", NULL
28566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28568 if (!SWIG_IsOK(res1
)) {
28569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ne__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28571 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28572 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28573 if (!SWIG_IsOK(res2
)) {
28574 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ne__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28576 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28579 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
28580 wxPyEndAllowThreads(__tstate
);
28581 if (PyErr_Occurred()) SWIG_fail
;
28584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28592 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28593 PyObject
*resultobj
= 0;
28594 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28598 PyObject
*swig_obj
[1] ;
28600 if (!args
) SWIG_fail
;
28601 swig_obj
[0] = args
;
28602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28603 if (!SWIG_IsOK(res1
)) {
28604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNull" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28606 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28609 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
28610 wxPyEndAllowThreads(__tstate
);
28611 if (PyErr_Occurred()) SWIG_fail
;
28614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28622 SWIGINTERN PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28623 PyObject
*resultobj
= 0;
28624 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28628 PyObject
*swig_obj
[1] ;
28630 if (!args
) SWIG_fail
;
28631 swig_obj
[0] = args
;
28632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28633 if (!SWIG_IsOK(res1
)) {
28634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsPositive" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28636 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28639 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
28640 wxPyEndAllowThreads(__tstate
);
28641 if (PyErr_Occurred()) SWIG_fail
;
28644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28652 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28653 PyObject
*resultobj
= 0;
28654 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28658 PyObject
*swig_obj
[1] ;
28660 if (!args
) SWIG_fail
;
28661 swig_obj
[0] = args
;
28662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28663 if (!SWIG_IsOK(res1
)) {
28664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNegative" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28666 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28669 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
28670 wxPyEndAllowThreads(__tstate
);
28671 if (PyErr_Occurred()) SWIG_fail
;
28674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28682 SWIGINTERN PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28683 PyObject
*resultobj
= 0;
28684 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28685 wxTimeSpan
*arg2
= 0 ;
28691 PyObject
* obj0
= 0 ;
28692 PyObject
* obj1
= 0 ;
28693 char * kwnames
[] = {
28694 (char *) "self",(char *) "ts", NULL
28697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28699 if (!SWIG_IsOK(res1
)) {
28700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28702 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28703 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28704 if (!SWIG_IsOK(res2
)) {
28705 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28708 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28710 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28713 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
28714 wxPyEndAllowThreads(__tstate
);
28715 if (PyErr_Occurred()) SWIG_fail
;
28718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28726 SWIGINTERN PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28727 PyObject
*resultobj
= 0;
28728 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28729 wxTimeSpan
*arg2
= 0 ;
28735 PyObject
* obj0
= 0 ;
28736 PyObject
* obj1
= 0 ;
28737 char * kwnames
[] = {
28738 (char *) "self",(char *) "ts", NULL
28741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28743 if (!SWIG_IsOK(res1
)) {
28744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28746 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28747 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28748 if (!SWIG_IsOK(res2
)) {
28749 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28752 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28754 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28757 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
28758 wxPyEndAllowThreads(__tstate
);
28759 if (PyErr_Occurred()) SWIG_fail
;
28762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28770 SWIGINTERN PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28771 PyObject
*resultobj
= 0;
28772 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28773 wxTimeSpan
*arg2
= 0 ;
28779 PyObject
* obj0
= 0 ;
28780 PyObject
* obj1
= 0 ;
28781 char * kwnames
[] = {
28782 (char *) "self",(char *) "t", NULL
28785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28787 if (!SWIG_IsOK(res1
)) {
28788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28790 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28791 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28792 if (!SWIG_IsOK(res2
)) {
28793 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28796 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28798 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28801 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
28802 wxPyEndAllowThreads(__tstate
);
28803 if (PyErr_Occurred()) SWIG_fail
;
28806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28814 SWIGINTERN PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28815 PyObject
*resultobj
= 0;
28816 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28820 PyObject
*swig_obj
[1] ;
28822 if (!args
) SWIG_fail
;
28823 swig_obj
[0] = args
;
28824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28825 if (!SWIG_IsOK(res1
)) {
28826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetWeeks" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28828 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28831 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
28832 wxPyEndAllowThreads(__tstate
);
28833 if (PyErr_Occurred()) SWIG_fail
;
28835 resultobj
= SWIG_From_int(static_cast< int >(result
));
28842 SWIGINTERN PyObject
*_wrap_TimeSpan_GetDays(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_GetDays" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28856 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28859 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
28860 wxPyEndAllowThreads(__tstate
);
28861 if (PyErr_Occurred()) SWIG_fail
;
28863 resultobj
= SWIG_From_int(static_cast< int >(result
));
28870 SWIGINTERN PyObject
*_wrap_TimeSpan_GetHours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28871 PyObject
*resultobj
= 0;
28872 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28876 PyObject
*swig_obj
[1] ;
28878 if (!args
) SWIG_fail
;
28879 swig_obj
[0] = args
;
28880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28881 if (!SWIG_IsOK(res1
)) {
28882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetHours" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28884 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28887 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
28888 wxPyEndAllowThreads(__tstate
);
28889 if (PyErr_Occurred()) SWIG_fail
;
28891 resultobj
= SWIG_From_int(static_cast< int >(result
));
28898 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28899 PyObject
*resultobj
= 0;
28900 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28904 PyObject
*swig_obj
[1] ;
28906 if (!args
) SWIG_fail
;
28907 swig_obj
[0] = args
;
28908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28909 if (!SWIG_IsOK(res1
)) {
28910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMinutes" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28912 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28915 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
28916 wxPyEndAllowThreads(__tstate
);
28917 if (PyErr_Occurred()) SWIG_fail
;
28919 resultobj
= SWIG_From_int(static_cast< int >(result
));
28926 SWIGINTERN PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28927 PyObject
*resultobj
= 0;
28928 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28932 PyObject
*swig_obj
[1] ;
28934 if (!args
) SWIG_fail
;
28935 swig_obj
[0] = args
;
28936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28937 if (!SWIG_IsOK(res1
)) {
28938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetSeconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28940 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28943 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
28944 wxPyEndAllowThreads(__tstate
);
28945 if (PyErr_Occurred()) SWIG_fail
;
28948 PyObject
*hi
, *lo
, *shifter
, *shifted
;
28949 hi
= PyLong_FromLong( (&result
)->GetHi() );
28950 lo
= PyLong_FromLong( (&result
)->GetLo() );
28951 shifter
= PyLong_FromLong(32);
28952 shifted
= PyNumber_Lshift(hi
, shifter
);
28953 resultobj
= PyNumber_Or(shifted
, lo
);
28956 Py_DECREF(shifter
);
28957 Py_DECREF(shifted
);
28965 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28966 PyObject
*resultobj
= 0;
28967 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28971 PyObject
*swig_obj
[1] ;
28973 if (!args
) SWIG_fail
;
28974 swig_obj
[0] = args
;
28975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28976 if (!SWIG_IsOK(res1
)) {
28977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMilliseconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28979 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28982 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
28983 wxPyEndAllowThreads(__tstate
);
28984 if (PyErr_Occurred()) SWIG_fail
;
28987 PyObject
*hi
, *lo
, *shifter
, *shifted
;
28988 hi
= PyLong_FromLong( (&result
)->GetHi() );
28989 lo
= PyLong_FromLong( (&result
)->GetLo() );
28990 shifter
= PyLong_FromLong(32);
28991 shifted
= PyNumber_Lshift(hi
, shifter
);
28992 resultobj
= PyNumber_Or(shifted
, lo
);
28995 Py_DECREF(shifter
);
28996 Py_DECREF(shifted
);
29004 SWIGINTERN PyObject
*_wrap_TimeSpan_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29005 PyObject
*resultobj
= 0;
29006 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29007 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
29008 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
29012 bool temp2
= false ;
29013 PyObject
* obj0
= 0 ;
29014 PyObject
* obj1
= 0 ;
29015 char * kwnames
[] = {
29016 (char *) "self",(char *) "format", NULL
29019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29021 if (!SWIG_IsOK(res1
)) {
29022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Format" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29024 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29027 arg2
= wxString_in_helper(obj1
);
29028 if (arg2
== NULL
) SWIG_fail
;
29033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29034 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
29035 wxPyEndAllowThreads(__tstate
);
29036 if (PyErr_Occurred()) SWIG_fail
;
29040 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29042 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29059 SWIGINTERN PyObject
*TimeSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29061 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29062 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimeSpan
, SWIG_NewClientData(obj
));
29063 return SWIG_Py_Void();
29066 SWIGINTERN PyObject
*TimeSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29067 return SWIG_Python_InitShadowInstance(args
);
29070 SWIGINTERN PyObject
*_wrap_new_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29071 PyObject
*resultobj
= 0;
29072 int arg1
= (int) 0 ;
29073 int arg2
= (int) 0 ;
29074 int arg3
= (int) 0 ;
29075 int arg4
= (int) 0 ;
29076 wxDateSpan
*result
= 0 ;
29085 PyObject
* obj0
= 0 ;
29086 PyObject
* obj1
= 0 ;
29087 PyObject
* obj2
= 0 ;
29088 PyObject
* obj3
= 0 ;
29089 char * kwnames
[] = {
29090 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
29093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29095 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29096 if (!SWIG_IsOK(ecode1
)) {
29097 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateSpan" "', expected argument " "1"" of type '" "int""'");
29099 arg1
= static_cast< int >(val1
);
29102 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29103 if (!SWIG_IsOK(ecode2
)) {
29104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateSpan" "', expected argument " "2"" of type '" "int""'");
29106 arg2
= static_cast< int >(val2
);
29109 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29110 if (!SWIG_IsOK(ecode3
)) {
29111 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateSpan" "', expected argument " "3"" of type '" "int""'");
29113 arg3
= static_cast< int >(val3
);
29116 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29117 if (!SWIG_IsOK(ecode4
)) {
29118 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateSpan" "', expected argument " "4"" of type '" "int""'");
29120 arg4
= static_cast< int >(val4
);
29123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29124 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
29125 wxPyEndAllowThreads(__tstate
);
29126 if (PyErr_Occurred()) SWIG_fail
;
29128 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_NEW
| 0 );
29135 SWIGINTERN PyObject
*_wrap_delete_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29136 PyObject
*resultobj
= 0;
29137 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29140 PyObject
*swig_obj
[1] ;
29142 if (!args
) SWIG_fail
;
29143 swig_obj
[0] = args
;
29144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
29145 if (!SWIG_IsOK(res1
)) {
29146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateSpan" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29148 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29153 wxPyEndAllowThreads(__tstate
);
29154 if (PyErr_Occurred()) SWIG_fail
;
29156 resultobj
= SWIG_Py_Void();
29163 SWIGINTERN PyObject
*_wrap_DateSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29164 PyObject
*resultobj
= 0;
29169 PyObject
* obj0
= 0 ;
29170 char * kwnames
[] = {
29171 (char *) "days", NULL
29174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
29175 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29176 if (!SWIG_IsOK(ecode1
)) {
29177 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Days" "', expected argument " "1"" of type '" "int""'");
29179 arg1
= static_cast< int >(val1
);
29181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29182 result
= wxDateSpan::Days(arg1
);
29183 wxPyEndAllowThreads(__tstate
);
29184 if (PyErr_Occurred()) SWIG_fail
;
29186 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29193 SWIGINTERN PyObject
*_wrap_DateSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29194 PyObject
*resultobj
= 0;
29197 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Day",0,0,0)) SWIG_fail
;
29199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29200 result
= wxDateSpan::Day();
29201 wxPyEndAllowThreads(__tstate
);
29202 if (PyErr_Occurred()) SWIG_fail
;
29204 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29211 SWIGINTERN PyObject
*_wrap_DateSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29212 PyObject
*resultobj
= 0;
29217 PyObject
* obj0
= 0 ;
29218 char * kwnames
[] = {
29219 (char *) "weeks", NULL
29222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
29223 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29224 if (!SWIG_IsOK(ecode1
)) {
29225 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Weeks" "', expected argument " "1"" of type '" "int""'");
29227 arg1
= static_cast< int >(val1
);
29229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29230 result
= wxDateSpan::Weeks(arg1
);
29231 wxPyEndAllowThreads(__tstate
);
29232 if (PyErr_Occurred()) SWIG_fail
;
29234 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29241 SWIGINTERN PyObject
*_wrap_DateSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29242 PyObject
*resultobj
= 0;
29245 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Week",0,0,0)) SWIG_fail
;
29247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29248 result
= wxDateSpan::Week();
29249 wxPyEndAllowThreads(__tstate
);
29250 if (PyErr_Occurred()) SWIG_fail
;
29252 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29259 SWIGINTERN PyObject
*_wrap_DateSpan_Months(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29260 PyObject
*resultobj
= 0;
29265 PyObject
* obj0
= 0 ;
29266 char * kwnames
[] = {
29267 (char *) "mon", NULL
29270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) SWIG_fail
;
29271 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29272 if (!SWIG_IsOK(ecode1
)) {
29273 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Months" "', expected argument " "1"" of type '" "int""'");
29275 arg1
= static_cast< int >(val1
);
29277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29278 result
= wxDateSpan::Months(arg1
);
29279 wxPyEndAllowThreads(__tstate
);
29280 if (PyErr_Occurred()) SWIG_fail
;
29282 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29289 SWIGINTERN PyObject
*_wrap_DateSpan_Month(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29290 PyObject
*resultobj
= 0;
29293 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Month",0,0,0)) SWIG_fail
;
29295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29296 result
= wxDateSpan::Month();
29297 wxPyEndAllowThreads(__tstate
);
29298 if (PyErr_Occurred()) SWIG_fail
;
29300 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29307 SWIGINTERN PyObject
*_wrap_DateSpan_Years(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29308 PyObject
*resultobj
= 0;
29313 PyObject
* obj0
= 0 ;
29314 char * kwnames
[] = {
29315 (char *) "years", NULL
29318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) SWIG_fail
;
29319 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29320 if (!SWIG_IsOK(ecode1
)) {
29321 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Years" "', expected argument " "1"" of type '" "int""'");
29323 arg1
= static_cast< int >(val1
);
29325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29326 result
= wxDateSpan::Years(arg1
);
29327 wxPyEndAllowThreads(__tstate
);
29328 if (PyErr_Occurred()) SWIG_fail
;
29330 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29337 SWIGINTERN PyObject
*_wrap_DateSpan_Year(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29338 PyObject
*resultobj
= 0;
29341 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Year",0,0,0)) SWIG_fail
;
29343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29344 result
= wxDateSpan::Year();
29345 wxPyEndAllowThreads(__tstate
);
29346 if (PyErr_Occurred()) SWIG_fail
;
29348 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29355 SWIGINTERN PyObject
*_wrap_DateSpan_SetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29356 PyObject
*resultobj
= 0;
29357 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29359 wxDateSpan
*result
= 0 ;
29364 PyObject
* obj0
= 0 ;
29365 PyObject
* obj1
= 0 ;
29366 char * kwnames
[] = {
29367 (char *) "self",(char *) "n", NULL
29370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29372 if (!SWIG_IsOK(res1
)) {
29373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetYears" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29375 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29376 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29377 if (!SWIG_IsOK(ecode2
)) {
29378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetYears" "', expected argument " "2"" of type '" "int""'");
29380 arg2
= static_cast< int >(val2
);
29382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29384 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
29385 result
= (wxDateSpan
*) &_result_ref
;
29387 wxPyEndAllowThreads(__tstate
);
29388 if (PyErr_Occurred()) SWIG_fail
;
29390 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29397 SWIGINTERN PyObject
*_wrap_DateSpan_SetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29398 PyObject
*resultobj
= 0;
29399 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29401 wxDateSpan
*result
= 0 ;
29406 PyObject
* obj0
= 0 ;
29407 PyObject
* obj1
= 0 ;
29408 char * kwnames
[] = {
29409 (char *) "self",(char *) "n", NULL
29412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29414 if (!SWIG_IsOK(res1
)) {
29415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetMonths" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29417 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29419 if (!SWIG_IsOK(ecode2
)) {
29420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetMonths" "', expected argument " "2"" of type '" "int""'");
29422 arg2
= static_cast< int >(val2
);
29424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29426 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
29427 result
= (wxDateSpan
*) &_result_ref
;
29429 wxPyEndAllowThreads(__tstate
);
29430 if (PyErr_Occurred()) SWIG_fail
;
29432 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29439 SWIGINTERN PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29440 PyObject
*resultobj
= 0;
29441 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29443 wxDateSpan
*result
= 0 ;
29448 PyObject
* obj0
= 0 ;
29449 PyObject
* obj1
= 0 ;
29450 char * kwnames
[] = {
29451 (char *) "self",(char *) "n", NULL
29454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29456 if (!SWIG_IsOK(res1
)) {
29457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetWeeks" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29459 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29460 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29461 if (!SWIG_IsOK(ecode2
)) {
29462 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetWeeks" "', expected argument " "2"" of type '" "int""'");
29464 arg2
= static_cast< int >(val2
);
29466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29468 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
29469 result
= (wxDateSpan
*) &_result_ref
;
29471 wxPyEndAllowThreads(__tstate
);
29472 if (PyErr_Occurred()) SWIG_fail
;
29474 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29481 SWIGINTERN PyObject
*_wrap_DateSpan_SetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29482 PyObject
*resultobj
= 0;
29483 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29485 wxDateSpan
*result
= 0 ;
29490 PyObject
* obj0
= 0 ;
29491 PyObject
* obj1
= 0 ;
29492 char * kwnames
[] = {
29493 (char *) "self",(char *) "n", NULL
29496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29498 if (!SWIG_IsOK(res1
)) {
29499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetDays" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29501 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29502 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29503 if (!SWIG_IsOK(ecode2
)) {
29504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetDays" "', expected argument " "2"" of type '" "int""'");
29506 arg2
= static_cast< int >(val2
);
29508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29510 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
29511 result
= (wxDateSpan
*) &_result_ref
;
29513 wxPyEndAllowThreads(__tstate
);
29514 if (PyErr_Occurred()) SWIG_fail
;
29516 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29523 SWIGINTERN PyObject
*_wrap_DateSpan_GetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29524 PyObject
*resultobj
= 0;
29525 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29529 PyObject
*swig_obj
[1] ;
29531 if (!args
) SWIG_fail
;
29532 swig_obj
[0] = args
;
29533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29534 if (!SWIG_IsOK(res1
)) {
29535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetYears" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29537 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29540 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
29541 wxPyEndAllowThreads(__tstate
);
29542 if (PyErr_Occurred()) SWIG_fail
;
29544 resultobj
= SWIG_From_int(static_cast< int >(result
));
29551 SWIGINTERN PyObject
*_wrap_DateSpan_GetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29552 PyObject
*resultobj
= 0;
29553 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29557 PyObject
*swig_obj
[1] ;
29559 if (!args
) SWIG_fail
;
29560 swig_obj
[0] = args
;
29561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29562 if (!SWIG_IsOK(res1
)) {
29563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetMonths" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29565 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29568 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
29569 wxPyEndAllowThreads(__tstate
);
29570 if (PyErr_Occurred()) SWIG_fail
;
29572 resultobj
= SWIG_From_int(static_cast< int >(result
));
29579 SWIGINTERN PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29580 PyObject
*resultobj
= 0;
29581 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29585 PyObject
*swig_obj
[1] ;
29587 if (!args
) SWIG_fail
;
29588 swig_obj
[0] = args
;
29589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29590 if (!SWIG_IsOK(res1
)) {
29591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetWeeks" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29593 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29596 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
29597 wxPyEndAllowThreads(__tstate
);
29598 if (PyErr_Occurred()) SWIG_fail
;
29600 resultobj
= SWIG_From_int(static_cast< int >(result
));
29607 SWIGINTERN PyObject
*_wrap_DateSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29608 PyObject
*resultobj
= 0;
29609 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29613 PyObject
*swig_obj
[1] ;
29615 if (!args
) SWIG_fail
;
29616 swig_obj
[0] = args
;
29617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29618 if (!SWIG_IsOK(res1
)) {
29619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29621 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29624 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
29625 wxPyEndAllowThreads(__tstate
);
29626 if (PyErr_Occurred()) SWIG_fail
;
29628 resultobj
= SWIG_From_int(static_cast< int >(result
));
29635 SWIGINTERN PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29636 PyObject
*resultobj
= 0;
29637 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29641 PyObject
*swig_obj
[1] ;
29643 if (!args
) SWIG_fail
;
29644 swig_obj
[0] = args
;
29645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29646 if (!SWIG_IsOK(res1
)) {
29647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetTotalDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29649 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29652 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
29653 wxPyEndAllowThreads(__tstate
);
29654 if (PyErr_Occurred()) SWIG_fail
;
29656 resultobj
= SWIG_From_int(static_cast< int >(result
));
29663 SWIGINTERN PyObject
*_wrap_DateSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29664 PyObject
*resultobj
= 0;
29665 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29666 wxDateSpan
*arg2
= 0 ;
29667 wxDateSpan
*result
= 0 ;
29672 PyObject
* obj0
= 0 ;
29673 PyObject
* obj1
= 0 ;
29674 char * kwnames
[] = {
29675 (char *) "self",(char *) "other", NULL
29678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29680 if (!SWIG_IsOK(res1
)) {
29681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Add" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29683 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29684 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29685 if (!SWIG_IsOK(res2
)) {
29686 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29689 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29691 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29695 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
29696 result
= (wxDateSpan
*) &_result_ref
;
29698 wxPyEndAllowThreads(__tstate
);
29699 if (PyErr_Occurred()) SWIG_fail
;
29701 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29708 SWIGINTERN PyObject
*_wrap_DateSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29709 PyObject
*resultobj
= 0;
29710 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29711 wxDateSpan
*arg2
= 0 ;
29712 wxDateSpan
*result
= 0 ;
29717 PyObject
* obj0
= 0 ;
29718 PyObject
* obj1
= 0 ;
29719 char * kwnames
[] = {
29720 (char *) "self",(char *) "other", NULL
29723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29725 if (!SWIG_IsOK(res1
)) {
29726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Subtract" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29728 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29729 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29730 if (!SWIG_IsOK(res2
)) {
29731 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29734 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29736 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29740 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
29741 result
= (wxDateSpan
*) &_result_ref
;
29743 wxPyEndAllowThreads(__tstate
);
29744 if (PyErr_Occurred()) SWIG_fail
;
29746 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29753 SWIGINTERN PyObject
*_wrap_DateSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29754 PyObject
*resultobj
= 0;
29755 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29756 wxDateSpan
*result
= 0 ;
29759 PyObject
*swig_obj
[1] ;
29761 if (!args
) SWIG_fail
;
29762 swig_obj
[0] = args
;
29763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29764 if (!SWIG_IsOK(res1
)) {
29765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Neg" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29767 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29771 wxDateSpan
&_result_ref
= (arg1
)->Neg();
29772 result
= (wxDateSpan
*) &_result_ref
;
29774 wxPyEndAllowThreads(__tstate
);
29775 if (PyErr_Occurred()) SWIG_fail
;
29777 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29784 SWIGINTERN PyObject
*_wrap_DateSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29785 PyObject
*resultobj
= 0;
29786 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29788 wxDateSpan
*result
= 0 ;
29793 PyObject
* obj0
= 0 ;
29794 PyObject
* obj1
= 0 ;
29795 char * kwnames
[] = {
29796 (char *) "self",(char *) "factor", NULL
29799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29801 if (!SWIG_IsOK(res1
)) {
29802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Multiply" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29804 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29805 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29806 if (!SWIG_IsOK(ecode2
)) {
29807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
29809 arg2
= static_cast< int >(val2
);
29811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29813 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
29814 result
= (wxDateSpan
*) &_result_ref
;
29816 wxPyEndAllowThreads(__tstate
);
29817 if (PyErr_Occurred()) SWIG_fail
;
29819 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29826 SWIGINTERN PyObject
*_wrap_DateSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29827 PyObject
*resultobj
= 0;
29828 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29829 wxDateSpan
*arg2
= 0 ;
29830 wxDateSpan
*result
= 0 ;
29835 PyObject
* obj0
= 0 ;
29836 PyObject
* obj1
= 0 ;
29837 char * kwnames
[] = {
29838 (char *) "self",(char *) "other", NULL
29841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
29843 if (!SWIG_IsOK(res1
)) {
29844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___iadd__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29846 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29847 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29848 if (!SWIG_IsOK(res2
)) {
29849 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29852 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29854 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29858 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
29859 result
= (wxDateSpan
*) &_result_ref
;
29861 wxPyEndAllowThreads(__tstate
);
29862 if (PyErr_Occurred()) SWIG_fail
;
29864 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29871 SWIGINTERN PyObject
*_wrap_DateSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29872 PyObject
*resultobj
= 0;
29873 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29874 wxDateSpan
*arg2
= 0 ;
29875 wxDateSpan
*result
= 0 ;
29880 PyObject
* obj0
= 0 ;
29881 PyObject
* obj1
= 0 ;
29882 char * kwnames
[] = {
29883 (char *) "self",(char *) "other", NULL
29886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
29888 if (!SWIG_IsOK(res1
)) {
29889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___isub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29891 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29892 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29893 if (!SWIG_IsOK(res2
)) {
29894 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29897 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29899 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29903 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
29904 result
= (wxDateSpan
*) &_result_ref
;
29906 wxPyEndAllowThreads(__tstate
);
29907 if (PyErr_Occurred()) SWIG_fail
;
29909 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29916 SWIGINTERN PyObject
*_wrap_DateSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29917 PyObject
*resultobj
= 0;
29918 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29919 wxDateSpan
*result
= 0 ;
29922 PyObject
*swig_obj
[1] ;
29924 if (!args
) SWIG_fail
;
29925 swig_obj
[0] = args
;
29926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29927 if (!SWIG_IsOK(res1
)) {
29928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___neg__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29930 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29934 wxDateSpan
&_result_ref
= (arg1
)->operator -();
29935 result
= (wxDateSpan
*) &_result_ref
;
29937 wxPyEndAllowThreads(__tstate
);
29938 if (PyErr_Occurred()) SWIG_fail
;
29940 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29947 SWIGINTERN PyObject
*_wrap_DateSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29948 PyObject
*resultobj
= 0;
29949 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29951 wxDateSpan
*result
= 0 ;
29956 PyObject
* obj0
= 0 ;
29957 PyObject
* obj1
= 0 ;
29958 char * kwnames
[] = {
29959 (char *) "self",(char *) "factor", NULL
29962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
29964 if (!SWIG_IsOK(res1
)) {
29965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___imul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29967 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29968 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29969 if (!SWIG_IsOK(ecode2
)) {
29970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___imul__" "', expected argument " "2"" of type '" "int""'");
29972 arg2
= static_cast< int >(val2
);
29974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29976 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
29977 result
= (wxDateSpan
*) &_result_ref
;
29979 wxPyEndAllowThreads(__tstate
);
29980 if (PyErr_Occurred()) SWIG_fail
;
29982 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29989 SWIGINTERN PyObject
*_wrap_DateSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29990 PyObject
*resultobj
= 0;
29991 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29992 wxDateSpan
*arg2
= 0 ;
29998 PyObject
* obj0
= 0 ;
29999 PyObject
* obj1
= 0 ;
30000 char * kwnames
[] = {
30001 (char *) "self",(char *) "other", NULL
30004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",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___add__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30009 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30010 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30011 if (!SWIG_IsOK(res2
)) {
30012 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30015 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30017 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30020 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
30021 wxPyEndAllowThreads(__tstate
);
30022 if (PyErr_Occurred()) SWIG_fail
;
30024 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30031 SWIGINTERN PyObject
*_wrap_DateSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30032 PyObject
*resultobj
= 0;
30033 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30034 wxDateSpan
*arg2
= 0 ;
30040 PyObject
* obj0
= 0 ;
30041 PyObject
* obj1
= 0 ;
30042 char * kwnames
[] = {
30043 (char *) "self",(char *) "other", NULL
30046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30048 if (!SWIG_IsOK(res1
)) {
30049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___sub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30051 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30052 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30053 if (!SWIG_IsOK(res2
)) {
30054 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30057 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30059 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30062 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
30063 wxPyEndAllowThreads(__tstate
);
30064 if (PyErr_Occurred()) SWIG_fail
;
30066 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30073 SWIGINTERN PyObject
*_wrap_DateSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30074 PyObject
*resultobj
= 0;
30075 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30082 PyObject
* obj0
= 0 ;
30083 PyObject
* obj1
= 0 ;
30084 char * kwnames
[] = {
30085 (char *) "self",(char *) "n", NULL
30088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30090 if (!SWIG_IsOK(res1
)) {
30091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___mul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30093 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30094 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30095 if (!SWIG_IsOK(ecode2
)) {
30096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___mul__" "', expected argument " "2"" of type '" "int""'");
30098 arg2
= static_cast< int >(val2
);
30100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30101 result
= wxDateSpan___mul__(arg1
,arg2
);
30102 wxPyEndAllowThreads(__tstate
);
30103 if (PyErr_Occurred()) SWIG_fail
;
30105 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30112 SWIGINTERN PyObject
*_wrap_DateSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30113 PyObject
*resultobj
= 0;
30114 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30121 PyObject
* obj0
= 0 ;
30122 PyObject
* obj1
= 0 ;
30123 char * kwnames
[] = {
30124 (char *) "self",(char *) "n", NULL
30127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30129 if (!SWIG_IsOK(res1
)) {
30130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___rmul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30132 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30133 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30134 if (!SWIG_IsOK(ecode2
)) {
30135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
30137 arg2
= static_cast< int >(val2
);
30139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30140 result
= wxDateSpan___rmul__(arg1
,arg2
);
30141 wxPyEndAllowThreads(__tstate
);
30142 if (PyErr_Occurred()) SWIG_fail
;
30144 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30151 SWIGINTERN PyObject
*_wrap_DateSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30152 PyObject
*resultobj
= 0;
30153 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30154 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
30160 PyObject
* obj0
= 0 ;
30161 PyObject
* obj1
= 0 ;
30162 char * kwnames
[] = {
30163 (char *) "self",(char *) "other", NULL
30166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30168 if (!SWIG_IsOK(res1
)) {
30169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___eq__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30171 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30172 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30173 if (!SWIG_IsOK(res2
)) {
30174 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___eq__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
30176 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30179 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
30180 wxPyEndAllowThreads(__tstate
);
30181 if (PyErr_Occurred()) SWIG_fail
;
30184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30192 SWIGINTERN PyObject
*_wrap_DateSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30193 PyObject
*resultobj
= 0;
30194 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30195 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
30201 PyObject
* obj0
= 0 ;
30202 PyObject
* obj1
= 0 ;
30203 char * kwnames
[] = {
30204 (char *) "self",(char *) "other", NULL
30207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30209 if (!SWIG_IsOK(res1
)) {
30210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___ne__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30212 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30213 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30214 if (!SWIG_IsOK(res2
)) {
30215 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___ne__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
30217 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30220 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
30221 wxPyEndAllowThreads(__tstate
);
30222 if (PyErr_Occurred()) SWIG_fail
;
30225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30233 SWIGINTERN PyObject
*DateSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30235 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30236 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateSpan
, SWIG_NewClientData(obj
));
30237 return SWIG_Py_Void();
30240 SWIGINTERN PyObject
*DateSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30241 return SWIG_Python_InitShadowInstance(args
);
30244 SWIGINTERN PyObject
*_wrap_GetLocalTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30245 PyObject
*resultobj
= 0;
30248 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTime",0,0,0)) SWIG_fail
;
30250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30251 result
= (long)wxGetLocalTime();
30252 wxPyEndAllowThreads(__tstate
);
30253 if (PyErr_Occurred()) SWIG_fail
;
30255 resultobj
= SWIG_From_long(static_cast< long >(result
));
30262 SWIGINTERN PyObject
*_wrap_GetUTCTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30263 PyObject
*resultobj
= 0;
30266 if (!SWIG_Python_UnpackTuple(args
,"GetUTCTime",0,0,0)) SWIG_fail
;
30268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30269 result
= (long)wxGetUTCTime();
30270 wxPyEndAllowThreads(__tstate
);
30271 if (PyErr_Occurred()) SWIG_fail
;
30273 resultobj
= SWIG_From_long(static_cast< long >(result
));
30280 SWIGINTERN PyObject
*_wrap_GetCurrentTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30281 PyObject
*resultobj
= 0;
30284 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentTime",0,0,0)) SWIG_fail
;
30286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30287 result
= (long)wxGetCurrentTime();
30288 wxPyEndAllowThreads(__tstate
);
30289 if (PyErr_Occurred()) SWIG_fail
;
30291 resultobj
= SWIG_From_long(static_cast< long >(result
));
30298 SWIGINTERN PyObject
*_wrap_GetLocalTimeMillis(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30299 PyObject
*resultobj
= 0;
30302 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTimeMillis",0,0,0)) SWIG_fail
;
30304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30305 result
= wxGetLocalTimeMillis();
30306 wxPyEndAllowThreads(__tstate
);
30307 if (PyErr_Occurred()) SWIG_fail
;
30310 PyObject
*hi
, *lo
, *shifter
, *shifted
;
30311 hi
= PyLong_FromLong( (&result
)->GetHi() );
30312 lo
= PyLong_FromLong( (&result
)->GetLo() );
30313 shifter
= PyLong_FromLong(32);
30314 shifted
= PyNumber_Lshift(hi
, shifter
);
30315 resultobj
= PyNumber_Or(shifted
, lo
);
30318 Py_DECREF(shifter
);
30319 Py_DECREF(shifted
);
30327 SWIGINTERN
int DefaultDateTime_set(PyObject
*) {
30328 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTime is read-only.");
30333 SWIGINTERN PyObject
*DefaultDateTime_get(void) {
30334 PyObject
*pyobj
= 0;
30336 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0 );
30341 SWIGINTERN PyObject
*_wrap_new_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30342 PyObject
*resultobj
= 0;
30343 wxDataFormatId arg1
;
30344 wxDataFormat
*result
= 0 ;
30347 PyObject
* obj0
= 0 ;
30348 char * kwnames
[] = {
30349 (char *) "type", NULL
30352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) SWIG_fail
;
30353 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30354 if (!SWIG_IsOK(ecode1
)) {
30355 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DataFormat" "', expected argument " "1"" of type '" "wxDataFormatId""'");
30357 arg1
= static_cast< wxDataFormatId
>(val1
);
30359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30360 result
= (wxDataFormat
*)new wxDataFormat(arg1
);
30361 wxPyEndAllowThreads(__tstate
);
30362 if (PyErr_Occurred()) SWIG_fail
;
30364 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_NEW
| 0 );
30371 SWIGINTERN PyObject
*_wrap_new_CustomDataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30372 PyObject
*resultobj
= 0;
30373 wxString
*arg1
= 0 ;
30374 wxDataFormat
*result
= 0 ;
30375 bool temp1
= false ;
30376 PyObject
* obj0
= 0 ;
30377 char * kwnames
[] = {
30378 (char *) "format", NULL
30381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) SWIG_fail
;
30383 arg1
= wxString_in_helper(obj0
);
30384 if (arg1
== NULL
) SWIG_fail
;
30388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30389 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
30390 wxPyEndAllowThreads(__tstate
);
30391 if (PyErr_Occurred()) SWIG_fail
;
30393 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
30408 SWIGINTERN PyObject
*_wrap_delete_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30409 PyObject
*resultobj
= 0;
30410 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30413 PyObject
*swig_obj
[1] ;
30415 if (!args
) SWIG_fail
;
30416 swig_obj
[0] = args
;
30417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_DISOWN
| 0 );
30418 if (!SWIG_IsOK(res1
)) {
30419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataFormat" "', expected argument " "1"" of type '" "wxDataFormat *""'");
30421 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30426 wxPyEndAllowThreads(__tstate
);
30427 if (PyErr_Occurred()) SWIG_fail
;
30429 resultobj
= SWIG_Py_Void();
30436 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30437 PyObject
*resultobj
= 0;
30438 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30439 wxDataFormatId arg2
;
30446 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30448 if (!SWIG_IsOK(res1
)) {
30449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30451 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30452 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
30453 if (!SWIG_IsOK(ecode2
)) {
30454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
30456 arg2
= static_cast< wxDataFormatId
>(val2
);
30458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30459 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==(arg2
);
30460 wxPyEndAllowThreads(__tstate
);
30461 if (PyErr_Occurred()) SWIG_fail
;
30464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30472 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30473 PyObject
*resultobj
= 0;
30474 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30475 wxDataFormatId arg2
;
30482 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30484 if (!SWIG_IsOK(res1
)) {
30485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30487 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30488 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
30489 if (!SWIG_IsOK(ecode2
)) {
30490 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
30492 arg2
= static_cast< wxDataFormatId
>(val2
);
30494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30495 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=(arg2
);
30496 wxPyEndAllowThreads(__tstate
);
30497 if (PyErr_Occurred()) SWIG_fail
;
30500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30508 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30509 PyObject
*resultobj
= 0;
30510 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30511 wxDataFormat
*arg2
= 0 ;
30518 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30520 if (!SWIG_IsOK(res1
)) {
30521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30523 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30524 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30525 if (!SWIG_IsOK(res2
)) {
30526 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30529 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30531 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30534 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
30535 wxPyEndAllowThreads(__tstate
);
30536 if (PyErr_Occurred()) SWIG_fail
;
30539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30547 SWIGINTERN PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
30551 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___eq__",0,2,argv
))) SWIG_fail
;
30556 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
30557 _v
= SWIG_CheckState(res
);
30559 if (!_v
) goto check_1
;
30560 return _wrap_DataFormat___eq____SWIG_1(self
, argc
, argv
);
30565 return _wrap_DataFormat___eq____SWIG_0(self
, argc
, argv
);
30569 Py_INCREF(Py_NotImplemented
);
30570 return Py_NotImplemented
;
30574 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30575 PyObject
*resultobj
= 0;
30576 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30577 wxDataFormat
*arg2
= 0 ;
30584 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30586 if (!SWIG_IsOK(res1
)) {
30587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30589 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30590 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30591 if (!SWIG_IsOK(res2
)) {
30592 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30595 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30597 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30600 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
30601 wxPyEndAllowThreads(__tstate
);
30602 if (PyErr_Occurred()) SWIG_fail
;
30605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30613 SWIGINTERN PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
30617 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___ne__",0,2,argv
))) SWIG_fail
;
30622 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
30623 _v
= SWIG_CheckState(res
);
30625 if (!_v
) goto check_1
;
30626 return _wrap_DataFormat___ne____SWIG_1(self
, argc
, argv
);
30631 return _wrap_DataFormat___ne____SWIG_0(self
, argc
, argv
);
30635 Py_INCREF(Py_NotImplemented
);
30636 return Py_NotImplemented
;
30640 SWIGINTERN PyObject
*_wrap_DataFormat_SetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30641 PyObject
*resultobj
= 0;
30642 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30643 wxDataFormatId arg2
;
30648 PyObject
* obj0
= 0 ;
30649 PyObject
* obj1
= 0 ;
30650 char * kwnames
[] = {
30651 (char *) "self",(char *) "format", NULL
30654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30656 if (!SWIG_IsOK(res1
)) {
30657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetType" "', expected argument " "1"" of type '" "wxDataFormat *""'");
30659 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30660 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30661 if (!SWIG_IsOK(ecode2
)) {
30662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat_SetType" "', expected argument " "2"" of type '" "wxDataFormatId""'");
30664 arg2
= static_cast< wxDataFormatId
>(val2
);
30666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30667 (arg1
)->SetType(arg2
);
30668 wxPyEndAllowThreads(__tstate
);
30669 if (PyErr_Occurred()) SWIG_fail
;
30671 resultobj
= SWIG_Py_Void();
30678 SWIGINTERN PyObject
*_wrap_DataFormat_GetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30679 PyObject
*resultobj
= 0;
30680 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30681 wxDataFormatId result
;
30684 PyObject
*swig_obj
[1] ;
30686 if (!args
) SWIG_fail
;
30687 swig_obj
[0] = args
;
30688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30689 if (!SWIG_IsOK(res1
)) {
30690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_GetType" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30692 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30695 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
30696 wxPyEndAllowThreads(__tstate
);
30697 if (PyErr_Occurred()) SWIG_fail
;
30699 resultobj
= SWIG_From_int(static_cast< int >(result
));
30706 SWIGINTERN PyObject
*_wrap_DataFormat_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30707 PyObject
*resultobj
= 0;
30708 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30712 PyObject
*swig_obj
[1] ;
30714 if (!args
) SWIG_fail
;
30715 swig_obj
[0] = args
;
30716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30717 if (!SWIG_IsOK(res1
)) {
30718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_GetId" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30720 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30723 result
= ((wxDataFormat
const *)arg1
)->GetId();
30724 wxPyEndAllowThreads(__tstate
);
30725 if (PyErr_Occurred()) SWIG_fail
;
30729 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30731 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30740 SWIGINTERN PyObject
*_wrap_DataFormat_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30741 PyObject
*resultobj
= 0;
30742 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30743 wxString
*arg2
= 0 ;
30746 bool temp2
= false ;
30747 PyObject
* obj0
= 0 ;
30748 PyObject
* obj1
= 0 ;
30749 char * kwnames
[] = {
30750 (char *) "self",(char *) "format", NULL
30753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30755 if (!SWIG_IsOK(res1
)) {
30756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetId" "', expected argument " "1"" of type '" "wxDataFormat *""'");
30758 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30760 arg2
= wxString_in_helper(obj1
);
30761 if (arg2
== NULL
) SWIG_fail
;
30765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30766 (arg1
)->SetId((wxString
const &)*arg2
);
30767 wxPyEndAllowThreads(__tstate
);
30768 if (PyErr_Occurred()) SWIG_fail
;
30770 resultobj
= SWIG_Py_Void();
30785 SWIGINTERN PyObject
*DataFormat_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30787 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30788 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataFormat
, SWIG_NewClientData(obj
));
30789 return SWIG_Py_Void();
30792 SWIGINTERN PyObject
*DataFormat_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30793 return SWIG_Python_InitShadowInstance(args
);
30796 SWIGINTERN
int FormatInvalid_set(PyObject
*) {
30797 SWIG_Error(SWIG_AttributeError
,"Variable FormatInvalid is read-only.");
30802 SWIGINTERN PyObject
*FormatInvalid_get(void) {
30803 PyObject
*pyobj
= 0;
30805 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0 );
30810 SWIGINTERN PyObject
*_wrap_delete_DataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30811 PyObject
*resultobj
= 0;
30812 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30815 PyObject
*swig_obj
[1] ;
30817 if (!args
) SWIG_fail
;
30818 swig_obj
[0] = args
;
30819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
30820 if (!SWIG_IsOK(res1
)) {
30821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataObject" "', expected argument " "1"" of type '" "wxDataObject *""'");
30823 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30828 wxPyEndAllowThreads(__tstate
);
30829 if (PyErr_Occurred()) SWIG_fail
;
30831 resultobj
= SWIG_Py_Void();
30838 SWIGINTERN PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30839 PyObject
*resultobj
= 0;
30840 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30841 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
30842 SwigValueWrapper
<wxDataFormat
> result
;
30847 PyObject
* obj0
= 0 ;
30848 PyObject
* obj1
= 0 ;
30849 char * kwnames
[] = {
30850 (char *) "self",(char *) "dir", NULL
30853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30855 if (!SWIG_IsOK(res1
)) {
30856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30858 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30860 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30861 if (!SWIG_IsOK(ecode2
)) {
30862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
30864 arg2
= static_cast< wxDataObject::Direction
>(val2
);
30867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30868 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat(arg2
);
30869 wxPyEndAllowThreads(__tstate
);
30870 if (PyErr_Occurred()) SWIG_fail
;
30872 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
30879 SWIGINTERN PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30880 PyObject
*resultobj
= 0;
30881 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30882 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
30888 PyObject
* obj0
= 0 ;
30889 PyObject
* obj1
= 0 ;
30890 char * kwnames
[] = {
30891 (char *) "self",(char *) "dir", NULL
30894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30896 if (!SWIG_IsOK(res1
)) {
30897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetFormatCount" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30899 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30901 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30902 if (!SWIG_IsOK(ecode2
)) {
30903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetFormatCount" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
30905 arg2
= static_cast< wxDataObject::Direction
>(val2
);
30908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30909 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount(arg2
);
30910 wxPyEndAllowThreads(__tstate
);
30911 if (PyErr_Occurred()) SWIG_fail
;
30913 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
30920 SWIGINTERN PyObject
*_wrap_DataObject_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30921 PyObject
*resultobj
= 0;
30922 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30923 wxDataFormat
*arg2
= 0 ;
30924 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
30932 PyObject
* obj0
= 0 ;
30933 PyObject
* obj1
= 0 ;
30934 PyObject
* obj2
= 0 ;
30935 char * kwnames
[] = {
30936 (char *) "self",(char *) "format",(char *) "dir", NULL
30939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30941 if (!SWIG_IsOK(res1
)) {
30942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_IsSupported" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30944 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30945 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30946 if (!SWIG_IsOK(res2
)) {
30947 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30950 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30952 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30954 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30955 if (!SWIG_IsOK(ecode3
)) {
30956 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObject_IsSupported" "', expected argument " "3"" of type '" "wxDataObject::Direction""'");
30958 arg3
= static_cast< wxDataObject::Direction
>(val3
);
30961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30962 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,arg3
);
30963 wxPyEndAllowThreads(__tstate
);
30964 if (PyErr_Occurred()) SWIG_fail
;
30967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30975 SWIGINTERN PyObject
*_wrap_DataObject_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30976 PyObject
*resultobj
= 0;
30977 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30978 wxDataFormat
*arg2
= 0 ;
30984 PyObject
* obj0
= 0 ;
30985 PyObject
* obj1
= 0 ;
30986 char * kwnames
[] = {
30987 (char *) "self",(char *) "format", NULL
30990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30992 if (!SWIG_IsOK(res1
)) {
30993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataSize" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30995 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30996 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30997 if (!SWIG_IsOK(res2
)) {
30998 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31001 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31003 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31006 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
31007 wxPyEndAllowThreads(__tstate
);
31008 if (PyErr_Occurred()) SWIG_fail
;
31010 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
31017 SWIGINTERN PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31018 PyObject
*resultobj
= 0;
31019 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
31020 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
31021 PyObject
*result
= 0 ;
31026 PyObject
* obj0
= 0 ;
31027 PyObject
* obj1
= 0 ;
31028 char * kwnames
[] = {
31029 (char *) "self",(char *) "dir", NULL
31032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
31034 if (!SWIG_IsOK(res1
)) {
31035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetAllFormats" "', expected argument " "1"" of type '" "wxDataObject *""'");
31037 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
31039 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31040 if (!SWIG_IsOK(ecode2
)) {
31041 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetAllFormats" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
31043 arg2
= static_cast< wxDataObject::Direction
>(val2
);
31046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31047 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,arg2
);
31048 wxPyEndAllowThreads(__tstate
);
31049 if (PyErr_Occurred()) SWIG_fail
;
31051 resultobj
= result
;
31058 SWIGINTERN PyObject
*_wrap_DataObject_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31059 PyObject
*resultobj
= 0;
31060 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
31061 wxDataFormat
*arg2
= 0 ;
31062 PyObject
*result
= 0 ;
31067 PyObject
* obj0
= 0 ;
31068 PyObject
* obj1
= 0 ;
31069 char * kwnames
[] = {
31070 (char *) "self",(char *) "format", NULL
31073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
31075 if (!SWIG_IsOK(res1
)) {
31076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataHere" "', expected argument " "1"" of type '" "wxDataObject *""'");
31078 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
31079 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31080 if (!SWIG_IsOK(res2
)) {
31081 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31084 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31086 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31089 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
31090 wxPyEndAllowThreads(__tstate
);
31091 if (PyErr_Occurred()) SWIG_fail
;
31093 resultobj
= result
;
31100 SWIGINTERN PyObject
*_wrap_DataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31101 PyObject
*resultobj
= 0;
31102 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
31103 wxDataFormat
*arg2
= 0 ;
31104 PyObject
*arg3
= (PyObject
*) 0 ;
31110 PyObject
* obj0
= 0 ;
31111 PyObject
* obj1
= 0 ;
31112 PyObject
* obj2
= 0 ;
31113 char * kwnames
[] = {
31114 (char *) "self",(char *) "format",(char *) "data", NULL
31117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
31119 if (!SWIG_IsOK(res1
)) {
31120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_SetData" "', expected argument " "1"" of type '" "wxDataObject *""'");
31122 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
31123 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31124 if (!SWIG_IsOK(res2
)) {
31125 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31128 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31130 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31134 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
31135 wxPyEndAllowThreads(__tstate
);
31136 if (PyErr_Occurred()) SWIG_fail
;
31139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31147 SWIGINTERN PyObject
*DataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31149 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31150 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObject
, SWIG_NewClientData(obj
));
31151 return SWIG_Py_Void();
31154 SWIGINTERN PyObject
*_wrap_new_DataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31155 PyObject
*resultobj
= 0;
31156 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
31157 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
31158 wxDataObjectSimple
*result
= 0 ;
31161 PyObject
* obj0
= 0 ;
31162 char * kwnames
[] = {
31163 (char *) "format", NULL
31166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
31168 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31169 if (!SWIG_IsOK(res1
)) {
31170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31173 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31175 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31179 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
31180 wxPyEndAllowThreads(__tstate
);
31181 if (PyErr_Occurred()) SWIG_fail
;
31183 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
31190 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31191 PyObject
*resultobj
= 0;
31192 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31193 wxDataFormat
*result
= 0 ;
31196 PyObject
*swig_obj
[1] ;
31198 if (!args
) SWIG_fail
;
31199 swig_obj
[0] = args
;
31200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31201 if (!SWIG_IsOK(res1
)) {
31202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31204 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31208 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
31209 result
= (wxDataFormat
*) &_result_ref
;
31211 wxPyEndAllowThreads(__tstate
);
31212 if (PyErr_Occurred()) SWIG_fail
;
31214 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31221 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31222 PyObject
*resultobj
= 0;
31223 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31224 wxDataFormat
*arg2
= 0 ;
31229 PyObject
* obj0
= 0 ;
31230 PyObject
* obj1
= 0 ;
31231 char * kwnames
[] = {
31232 (char *) "self",(char *) "format", NULL
31235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31237 if (!SWIG_IsOK(res1
)) {
31238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31240 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31241 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31242 if (!SWIG_IsOK(res2
)) {
31243 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31246 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31248 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31251 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
31252 wxPyEndAllowThreads(__tstate
);
31253 if (PyErr_Occurred()) SWIG_fail
;
31255 resultobj
= SWIG_Py_Void();
31262 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31263 PyObject
*resultobj
= 0;
31264 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31268 PyObject
*swig_obj
[1] ;
31270 if (!args
) SWIG_fail
;
31271 swig_obj
[0] = args
;
31272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31273 if (!SWIG_IsOK(res1
)) {
31274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataSize" "', expected argument " "1"" of type '" "wxDataObjectSimple const *""'");
31276 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31279 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
31280 wxPyEndAllowThreads(__tstate
);
31281 if (PyErr_Occurred()) SWIG_fail
;
31283 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
31290 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31291 PyObject
*resultobj
= 0;
31292 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31293 PyObject
*result
= 0 ;
31296 PyObject
*swig_obj
[1] ;
31298 if (!args
) SWIG_fail
;
31299 swig_obj
[0] = args
;
31300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31301 if (!SWIG_IsOK(res1
)) {
31302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataHere" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31304 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31307 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
31308 wxPyEndAllowThreads(__tstate
);
31309 if (PyErr_Occurred()) SWIG_fail
;
31311 resultobj
= result
;
31318 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31319 PyObject
*resultobj
= 0;
31320 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31321 PyObject
*arg2
= (PyObject
*) 0 ;
31325 PyObject
* obj0
= 0 ;
31326 PyObject
* obj1
= 0 ;
31327 char * kwnames
[] = {
31328 (char *) "self",(char *) "data", NULL
31331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31333 if (!SWIG_IsOK(res1
)) {
31334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetData" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31336 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31340 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
31341 wxPyEndAllowThreads(__tstate
);
31342 if (PyErr_Occurred()) SWIG_fail
;
31345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31353 SWIGINTERN PyObject
*DataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31355 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31356 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectSimple
, SWIG_NewClientData(obj
));
31357 return SWIG_Py_Void();
31360 SWIGINTERN PyObject
*DataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31361 return SWIG_Python_InitShadowInstance(args
);
31364 SWIGINTERN PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31365 PyObject
*resultobj
= 0;
31366 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
31367 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
31368 wxPyDataObjectSimple
*result
= 0 ;
31371 PyObject
* obj0
= 0 ;
31372 char * kwnames
[] = {
31373 (char *) "format", NULL
31376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
31378 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31379 if (!SWIG_IsOK(res1
)) {
31380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31383 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31385 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31389 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
31390 wxPyEndAllowThreads(__tstate
);
31391 if (PyErr_Occurred()) SWIG_fail
;
31393 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
31400 SWIGINTERN PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31401 PyObject
*resultobj
= 0;
31402 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
31403 PyObject
*arg2
= (PyObject
*) 0 ;
31404 PyObject
*arg3
= (PyObject
*) 0 ;
31407 PyObject
* obj0
= 0 ;
31408 PyObject
* obj1
= 0 ;
31409 PyObject
* obj2
= 0 ;
31410 char * kwnames
[] = {
31411 (char *) "self",(char *) "self",(char *) "_class", NULL
31414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDataObjectSimple
, 0 | 0 );
31416 if (!SWIG_IsOK(res1
)) {
31417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyDataObjectSimple__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDataObjectSimple *""'");
31419 arg1
= reinterpret_cast< wxPyDataObjectSimple
* >(argp1
);
31423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31424 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31425 wxPyEndAllowThreads(__tstate
);
31426 if (PyErr_Occurred()) SWIG_fail
;
31428 resultobj
= SWIG_Py_Void();
31435 SWIGINTERN PyObject
*PyDataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31437 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31438 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_NewClientData(obj
));
31439 return SWIG_Py_Void();
31442 SWIGINTERN PyObject
*PyDataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31443 return SWIG_Python_InitShadowInstance(args
);
31446 SWIGINTERN PyObject
*_wrap_new_DataObjectComposite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31447 PyObject
*resultobj
= 0;
31448 wxDataObjectComposite
*result
= 0 ;
31450 if (!SWIG_Python_UnpackTuple(args
,"new_DataObjectComposite",0,0,0)) SWIG_fail
;
31452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31453 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
31454 wxPyEndAllowThreads(__tstate
);
31455 if (PyErr_Occurred()) SWIG_fail
;
31457 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_NEW
| 0 );
31464 SWIGINTERN PyObject
*_wrap_DataObjectComposite_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31465 PyObject
*resultobj
= 0;
31466 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
31467 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
31468 bool arg3
= (bool) false ;
31474 PyObject
* obj0
= 0 ;
31475 PyObject
* obj1
= 0 ;
31476 PyObject
* obj2
= 0 ;
31477 char * kwnames
[] = {
31478 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
31481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
31483 if (!SWIG_IsOK(res1
)) {
31484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_Add" "', expected argument " "1"" of type '" "wxDataObjectComposite *""'");
31486 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
31487 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_DISOWN
| 0 );
31488 if (!SWIG_IsOK(res2
)) {
31489 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectComposite_Add" "', expected argument " "2"" of type '" "wxDataObjectSimple *""'");
31492 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
31493 if (!SWIG_IsOK(ecode3
)) {
31494 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObjectComposite_Add" "', expected argument " "3"" of type '" "bool""'");
31496 arg3
= static_cast< bool >(val3
);
31499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31500 (arg1
)->Add(arg2
,arg3
);
31501 wxPyEndAllowThreads(__tstate
);
31502 if (PyErr_Occurred()) SWIG_fail
;
31504 resultobj
= SWIG_Py_Void();
31511 SWIGINTERN PyObject
*_wrap_DataObjectComposite_GetReceivedFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31512 PyObject
*resultobj
= 0;
31513 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
31514 SwigValueWrapper
<wxDataFormat
> result
;
31517 PyObject
*swig_obj
[1] ;
31519 if (!args
) SWIG_fail
;
31520 swig_obj
[0] = args
;
31521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
31522 if (!SWIG_IsOK(res1
)) {
31523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_GetReceivedFormat" "', expected argument " "1"" of type '" "wxDataObjectComposite const *""'");
31525 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
31527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31528 result
= ((wxDataObjectComposite
const *)arg1
)->GetReceivedFormat();
31529 wxPyEndAllowThreads(__tstate
);
31530 if (PyErr_Occurred()) SWIG_fail
;
31532 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
31539 SWIGINTERN PyObject
*DataObjectComposite_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31541 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31542 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectComposite
, SWIG_NewClientData(obj
));
31543 return SWIG_Py_Void();
31546 SWIGINTERN PyObject
*DataObjectComposite_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31547 return SWIG_Python_InitShadowInstance(args
);
31550 SWIGINTERN PyObject
*_wrap_new_TextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31551 PyObject
*resultobj
= 0;
31552 wxString
const &arg1_defvalue
= wxPyEmptyString
;
31553 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
31554 wxTextDataObject
*result
= 0 ;
31555 bool temp1
= false ;
31556 PyObject
* obj0
= 0 ;
31557 char * kwnames
[] = {
31558 (char *) "text", NULL
31561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) SWIG_fail
;
31564 arg1
= wxString_in_helper(obj0
);
31565 if (arg1
== NULL
) SWIG_fail
;
31570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31571 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
31572 wxPyEndAllowThreads(__tstate
);
31573 if (PyErr_Occurred()) SWIG_fail
;
31575 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_NEW
| 0 );
31590 SWIGINTERN PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31591 PyObject
*resultobj
= 0;
31592 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
31596 PyObject
*swig_obj
[1] ;
31598 if (!args
) SWIG_fail
;
31599 swig_obj
[0] = args
;
31600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
31601 if (!SWIG_IsOK(res1
)) {
31602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetTextLength" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
31604 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
31606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31607 result
= (size_t)(arg1
)->GetTextLength();
31608 wxPyEndAllowThreads(__tstate
);
31609 if (PyErr_Occurred()) SWIG_fail
;
31611 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
31618 SWIGINTERN PyObject
*_wrap_TextDataObject_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31619 PyObject
*resultobj
= 0;
31620 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
31624 PyObject
*swig_obj
[1] ;
31626 if (!args
) SWIG_fail
;
31627 swig_obj
[0] = args
;
31628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
31629 if (!SWIG_IsOK(res1
)) {
31630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
31632 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
31634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31635 result
= (arg1
)->GetText();
31636 wxPyEndAllowThreads(__tstate
);
31637 if (PyErr_Occurred()) SWIG_fail
;
31641 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31643 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31652 SWIGINTERN PyObject
*_wrap_TextDataObject_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31653 PyObject
*resultobj
= 0;
31654 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
31655 wxString
*arg2
= 0 ;
31658 bool temp2
= false ;
31659 PyObject
* obj0
= 0 ;
31660 PyObject
* obj1
= 0 ;
31661 char * kwnames
[] = {
31662 (char *) "self",(char *) "text", NULL
31665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
31667 if (!SWIG_IsOK(res1
)) {
31668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_SetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
31670 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
31672 arg2
= wxString_in_helper(obj1
);
31673 if (arg2
== NULL
) SWIG_fail
;
31677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31678 (arg1
)->SetText((wxString
const &)*arg2
);
31679 wxPyEndAllowThreads(__tstate
);
31680 if (PyErr_Occurred()) SWIG_fail
;
31682 resultobj
= SWIG_Py_Void();
31697 SWIGINTERN PyObject
*TextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31699 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31700 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextDataObject
, SWIG_NewClientData(obj
));
31701 return SWIG_Py_Void();
31704 SWIGINTERN PyObject
*TextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31705 return SWIG_Python_InitShadowInstance(args
);
31708 SWIGINTERN PyObject
*_wrap_new_PyTextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31709 PyObject
*resultobj
= 0;
31710 wxString
const &arg1_defvalue
= wxPyEmptyString
;
31711 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
31712 wxPyTextDataObject
*result
= 0 ;
31713 bool temp1
= false ;
31714 PyObject
* obj0
= 0 ;
31715 char * kwnames
[] = {
31716 (char *) "text", NULL
31719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) SWIG_fail
;
31722 arg1
= wxString_in_helper(obj0
);
31723 if (arg1
== NULL
) SWIG_fail
;
31728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31729 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
31730 wxPyEndAllowThreads(__tstate
);
31731 if (PyErr_Occurred()) SWIG_fail
;
31733 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_NEW
| 0 );
31748 SWIGINTERN PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31749 PyObject
*resultobj
= 0;
31750 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
31751 PyObject
*arg2
= (PyObject
*) 0 ;
31752 PyObject
*arg3
= (PyObject
*) 0 ;
31755 PyObject
* obj0
= 0 ;
31756 PyObject
* obj1
= 0 ;
31757 PyObject
* obj2
= 0 ;
31758 char * kwnames
[] = {
31759 (char *) "self",(char *) "self",(char *) "_class", NULL
31762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDataObject
, 0 | 0 );
31764 if (!SWIG_IsOK(res1
)) {
31765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTextDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDataObject *""'");
31767 arg1
= reinterpret_cast< wxPyTextDataObject
* >(argp1
);
31771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31772 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31773 wxPyEndAllowThreads(__tstate
);
31774 if (PyErr_Occurred()) SWIG_fail
;
31776 resultobj
= SWIG_Py_Void();
31783 SWIGINTERN PyObject
*PyTextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31785 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31786 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDataObject
, SWIG_NewClientData(obj
));
31787 return SWIG_Py_Void();
31790 SWIGINTERN PyObject
*PyTextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31791 return SWIG_Python_InitShadowInstance(args
);
31794 SWIGINTERN PyObject
*_wrap_new_BitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31795 PyObject
*resultobj
= 0;
31796 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
31797 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
31798 wxBitmapDataObject
*result
= 0 ;
31801 PyObject
* obj0
= 0 ;
31802 char * kwnames
[] = {
31803 (char *) "bitmap", NULL
31806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
31808 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31809 if (!SWIG_IsOK(res1
)) {
31810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31813 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31815 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
31818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31819 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
31820 wxPyEndAllowThreads(__tstate
);
31821 if (PyErr_Occurred()) SWIG_fail
;
31823 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
31830 SWIGINTERN PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31831 PyObject
*resultobj
= 0;
31832 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
31836 PyObject
*swig_obj
[1] ;
31838 if (!args
) SWIG_fail
;
31839 swig_obj
[0] = args
;
31840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
31841 if (!SWIG_IsOK(res1
)) {
31842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_GetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject const *""'");
31844 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
31846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31847 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
31848 wxPyEndAllowThreads(__tstate
);
31849 if (PyErr_Occurred()) SWIG_fail
;
31851 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
31858 SWIGINTERN PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31859 PyObject
*resultobj
= 0;
31860 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
31861 wxBitmap
*arg2
= 0 ;
31866 PyObject
* obj0
= 0 ;
31867 PyObject
* obj1
= 0 ;
31868 char * kwnames
[] = {
31869 (char *) "self",(char *) "bitmap", NULL
31872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
31874 if (!SWIG_IsOK(res1
)) {
31875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject *""'");
31877 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
31878 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31879 if (!SWIG_IsOK(res2
)) {
31880 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31883 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31885 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31888 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
31889 wxPyEndAllowThreads(__tstate
);
31890 if (PyErr_Occurred()) SWIG_fail
;
31892 resultobj
= SWIG_Py_Void();
31899 SWIGINTERN PyObject
*BitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31901 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31902 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapDataObject
, SWIG_NewClientData(obj
));
31903 return SWIG_Py_Void();
31906 SWIGINTERN PyObject
*BitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31907 return SWIG_Python_InitShadowInstance(args
);
31910 SWIGINTERN PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31911 PyObject
*resultobj
= 0;
31912 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
31913 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
31914 wxPyBitmapDataObject
*result
= 0 ;
31917 PyObject
* obj0
= 0 ;
31918 char * kwnames
[] = {
31919 (char *) "bitmap", NULL
31922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
31924 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31925 if (!SWIG_IsOK(res1
)) {
31926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31929 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31931 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
31934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31935 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
31936 wxPyEndAllowThreads(__tstate
);
31937 if (PyErr_Occurred()) SWIG_fail
;
31939 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
31946 SWIGINTERN PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31947 PyObject
*resultobj
= 0;
31948 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
31949 PyObject
*arg2
= (PyObject
*) 0 ;
31950 PyObject
*arg3
= (PyObject
*) 0 ;
31953 PyObject
* obj0
= 0 ;
31954 PyObject
* obj1
= 0 ;
31955 PyObject
* obj2
= 0 ;
31956 char * kwnames
[] = {
31957 (char *) "self",(char *) "self",(char *) "_class", NULL
31960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyBitmapDataObject
, 0 | 0 );
31962 if (!SWIG_IsOK(res1
)) {
31963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyBitmapDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyBitmapDataObject *""'");
31965 arg1
= reinterpret_cast< wxPyBitmapDataObject
* >(argp1
);
31969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31970 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31971 wxPyEndAllowThreads(__tstate
);
31972 if (PyErr_Occurred()) SWIG_fail
;
31974 resultobj
= SWIG_Py_Void();
31981 SWIGINTERN PyObject
*PyBitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31983 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31984 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_NewClientData(obj
));
31985 return SWIG_Py_Void();
31988 SWIGINTERN PyObject
*PyBitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31989 return SWIG_Python_InitShadowInstance(args
);
31992 SWIGINTERN PyObject
*_wrap_new_FileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31993 PyObject
*resultobj
= 0;
31994 wxFileDataObject
*result
= 0 ;
31996 if (!SWIG_Python_UnpackTuple(args
,"new_FileDataObject",0,0,0)) SWIG_fail
;
31998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31999 result
= (wxFileDataObject
*)new wxFileDataObject();
32000 wxPyEndAllowThreads(__tstate
);
32001 if (PyErr_Occurred()) SWIG_fail
;
32003 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_NEW
| 0 );
32010 SWIGINTERN PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32011 PyObject
*resultobj
= 0;
32012 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
32013 wxArrayString
*result
= 0 ;
32016 PyObject
*swig_obj
[1] ;
32018 if (!args
) SWIG_fail
;
32019 swig_obj
[0] = args
;
32020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
32021 if (!SWIG_IsOK(res1
)) {
32022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_GetFilenames" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
32024 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
32026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32028 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
32029 result
= (wxArrayString
*) &_result_ref
;
32031 wxPyEndAllowThreads(__tstate
);
32032 if (PyErr_Occurred()) SWIG_fail
;
32035 resultobj
= wxArrayString2PyList_helper(*result
);
32043 SWIGINTERN PyObject
*_wrap_FileDataObject_AddFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32044 PyObject
*resultobj
= 0;
32045 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
32046 wxString
*arg2
= 0 ;
32049 bool temp2
= false ;
32050 PyObject
* obj0
= 0 ;
32051 PyObject
* obj1
= 0 ;
32052 char * kwnames
[] = {
32053 (char *) "self",(char *) "filename", NULL
32056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
32058 if (!SWIG_IsOK(res1
)) {
32059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_AddFile" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
32061 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
32063 arg2
= wxString_in_helper(obj1
);
32064 if (arg2
== NULL
) SWIG_fail
;
32068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32069 (arg1
)->AddFile((wxString
const &)*arg2
);
32070 wxPyEndAllowThreads(__tstate
);
32071 if (PyErr_Occurred()) SWIG_fail
;
32073 resultobj
= SWIG_Py_Void();
32088 SWIGINTERN PyObject
*FileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32090 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32091 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDataObject
, SWIG_NewClientData(obj
));
32092 return SWIG_Py_Void();
32095 SWIGINTERN PyObject
*FileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32096 return SWIG_Python_InitShadowInstance(args
);
32099 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
32100 PyObject
*resultobj
= 0;
32101 wxDataFormat
*arg1
= 0 ;
32102 wxCustomDataObject
*result
= 0 ;
32106 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
32107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32108 if (!SWIG_IsOK(res1
)) {
32109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32112 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32114 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
32116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32117 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
32118 wxPyEndAllowThreads(__tstate
);
32119 if (PyErr_Occurred()) SWIG_fail
;
32121 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
32128 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
32129 PyObject
*resultobj
= 0;
32130 wxString
*arg1
= 0 ;
32131 wxCustomDataObject
*result
= 0 ;
32132 bool temp1
= false ;
32134 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
32136 arg1
= wxString_in_helper(swig_obj
[0]);
32137 if (arg1
== NULL
) SWIG_fail
;
32141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32142 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
32143 wxPyEndAllowThreads(__tstate
);
32144 if (PyErr_Occurred()) SWIG_fail
;
32146 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
32161 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
32162 PyObject
*resultobj
= 0;
32163 wxCustomDataObject
*result
= 0 ;
32165 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
32167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32168 result
= (wxCustomDataObject
*)new wxCustomDataObject();
32169 wxPyEndAllowThreads(__tstate
);
32170 if (PyErr_Occurred()) SWIG_fail
;
32172 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
32179 SWIGINTERN PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
32183 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_CustomDataObject",0,1,argv
))) SWIG_fail
;
32186 return _wrap_new_CustomDataObject__SWIG_2(self
, argc
, argv
);
32192 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
32195 if (!_v
) goto check_2
;
32196 return _wrap_new_CustomDataObject__SWIG_1(self
, argc
, argv
);
32201 return _wrap_new_CustomDataObject__SWIG_0(self
, argc
, argv
);
32205 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
32210 SWIGINTERN PyObject
*_wrap_CustomDataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32211 PyObject
*resultobj
= 0;
32212 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
32213 PyObject
*arg2
= (PyObject
*) 0 ;
32217 PyObject
* obj0
= 0 ;
32218 PyObject
* obj1
= 0 ;
32219 char * kwnames
[] = {
32220 (char *) "self",(char *) "data", NULL
32223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
32225 if (!SWIG_IsOK(res1
)) {
32226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_SetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
32228 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
32231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32232 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
32233 wxPyEndAllowThreads(__tstate
);
32234 if (PyErr_Occurred()) SWIG_fail
;
32237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32245 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32246 PyObject
*resultobj
= 0;
32247 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
32251 PyObject
*swig_obj
[1] ;
32253 if (!args
) SWIG_fail
;
32254 swig_obj
[0] = args
;
32255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
32256 if (!SWIG_IsOK(res1
)) {
32257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetSize" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
32259 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
32261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32262 result
= (size_t)(arg1
)->GetSize();
32263 wxPyEndAllowThreads(__tstate
);
32264 if (PyErr_Occurred()) SWIG_fail
;
32266 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32273 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32274 PyObject
*resultobj
= 0;
32275 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
32276 PyObject
*result
= 0 ;
32279 PyObject
*swig_obj
[1] ;
32281 if (!args
) SWIG_fail
;
32282 swig_obj
[0] = args
;
32283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
32284 if (!SWIG_IsOK(res1
)) {
32285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
32287 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
32289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32290 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
32291 wxPyEndAllowThreads(__tstate
);
32292 if (PyErr_Occurred()) SWIG_fail
;
32294 resultobj
= result
;
32301 SWIGINTERN PyObject
*CustomDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32303 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32304 SWIG_TypeNewClientData(SWIGTYPE_p_wxCustomDataObject
, SWIG_NewClientData(obj
));
32305 return SWIG_Py_Void();
32308 SWIGINTERN PyObject
*CustomDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32309 return SWIG_Python_InitShadowInstance(args
);
32312 SWIGINTERN PyObject
*_wrap_new_URLDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32313 PyObject
*resultobj
= 0;
32314 wxURLDataObject
*result
= 0 ;
32316 if (!SWIG_Python_UnpackTuple(args
,"new_URLDataObject",0,0,0)) SWIG_fail
;
32318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32319 result
= (wxURLDataObject
*)new wxURLDataObject();
32320 wxPyEndAllowThreads(__tstate
);
32321 if (PyErr_Occurred()) SWIG_fail
;
32323 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_NEW
| 0 );
32330 SWIGINTERN PyObject
*_wrap_URLDataObject_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32331 PyObject
*resultobj
= 0;
32332 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
32336 PyObject
*swig_obj
[1] ;
32338 if (!args
) SWIG_fail
;
32339 swig_obj
[0] = args
;
32340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
32341 if (!SWIG_IsOK(res1
)) {
32342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_GetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
32344 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
32346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32347 result
= (arg1
)->GetURL();
32348 wxPyEndAllowThreads(__tstate
);
32349 if (PyErr_Occurred()) SWIG_fail
;
32353 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32355 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32364 SWIGINTERN PyObject
*_wrap_URLDataObject_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32365 PyObject
*resultobj
= 0;
32366 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
32367 wxString
*arg2
= 0 ;
32370 bool temp2
= false ;
32371 PyObject
* obj0
= 0 ;
32372 PyObject
* obj1
= 0 ;
32373 char * kwnames
[] = {
32374 (char *) "self",(char *) "url", NULL
32377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
32379 if (!SWIG_IsOK(res1
)) {
32380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_SetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
32382 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
32384 arg2
= wxString_in_helper(obj1
);
32385 if (arg2
== NULL
) SWIG_fail
;
32389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32390 (arg1
)->SetURL((wxString
const &)*arg2
);
32391 wxPyEndAllowThreads(__tstate
);
32392 if (PyErr_Occurred()) SWIG_fail
;
32394 resultobj
= SWIG_Py_Void();
32409 SWIGINTERN PyObject
*URLDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32411 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32412 SWIG_TypeNewClientData(SWIGTYPE_p_wxURLDataObject
, SWIG_NewClientData(obj
));
32413 return SWIG_Py_Void();
32416 SWIGINTERN PyObject
*URLDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32417 return SWIG_Python_InitShadowInstance(args
);
32420 SWIGINTERN PyObject
*_wrap_new_MetafileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32421 PyObject
*resultobj
= 0;
32422 wxMetafileDataObject
*result
= 0 ;
32424 if (!SWIG_Python_UnpackTuple(args
,"new_MetafileDataObject",0,0,0)) SWIG_fail
;
32426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32427 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
32428 wxPyEndAllowThreads(__tstate
);
32429 if (PyErr_Occurred()) SWIG_fail
;
32431 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_NEW
| 0 );
32438 SWIGINTERN PyObject
*MetafileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32440 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32441 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetafileDataObject
, SWIG_NewClientData(obj
));
32442 return SWIG_Py_Void();
32445 SWIGINTERN PyObject
*MetafileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32446 return SWIG_Python_InitShadowInstance(args
);
32449 SWIGINTERN PyObject
*_wrap_IsDragResultOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32450 PyObject
*resultobj
= 0;
32451 wxDragResult arg1
;
32455 PyObject
* obj0
= 0 ;
32456 char * kwnames
[] = {
32457 (char *) "res", NULL
32460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) SWIG_fail
;
32461 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32462 if (!SWIG_IsOK(ecode1
)) {
32463 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsDragResultOk" "', expected argument " "1"" of type '" "wxDragResult""'");
32465 arg1
= static_cast< wxDragResult
>(val1
);
32467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32468 result
= (bool)wxIsDragResultOk(arg1
);
32469 wxPyEndAllowThreads(__tstate
);
32470 if (PyErr_Occurred()) SWIG_fail
;
32473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32481 SWIGINTERN PyObject
*_wrap_new_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32482 PyObject
*resultobj
= 0;
32483 wxWindow
*arg1
= (wxWindow
*) 0 ;
32484 wxIcon
const &arg2_defvalue
= wxNullIcon
;
32485 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
32486 wxIcon
const &arg3_defvalue
= wxNullIcon
;
32487 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
32488 wxIcon
const &arg4_defvalue
= wxNullIcon
;
32489 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
32490 wxPyDropSource
*result
= 0 ;
32499 PyObject
* obj0
= 0 ;
32500 PyObject
* obj1
= 0 ;
32501 PyObject
* obj2
= 0 ;
32502 PyObject
* obj3
= 0 ;
32503 char * kwnames
[] = {
32504 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
32507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32509 if (!SWIG_IsOK(res1
)) {
32510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropSource" "', expected argument " "1"" of type '" "wxWindow *""'");
32512 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32514 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
32515 if (!SWIG_IsOK(res2
)) {
32516 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxIcon const &""'");
32519 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxIcon const &""'");
32521 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
32524 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxIcon
, 0 | 0);
32525 if (!SWIG_IsOK(res3
)) {
32526 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxIcon const &""'");
32529 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxIcon const &""'");
32531 arg3
= reinterpret_cast< wxIcon
* >(argp3
);
32534 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxIcon
, 0 | 0);
32535 if (!SWIG_IsOK(res4
)) {
32536 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxIcon const &""'");
32539 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxIcon const &""'");
32541 arg4
= reinterpret_cast< wxIcon
* >(argp4
);
32544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32545 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
32546 wxPyEndAllowThreads(__tstate
);
32547 if (PyErr_Occurred()) SWIG_fail
;
32549 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_NEW
| 0 );
32556 SWIGINTERN PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32557 PyObject
*resultobj
= 0;
32558 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32559 PyObject
*arg2
= (PyObject
*) 0 ;
32560 PyObject
*arg3
= (PyObject
*) 0 ;
32566 PyObject
* obj0
= 0 ;
32567 PyObject
* obj1
= 0 ;
32568 PyObject
* obj2
= 0 ;
32569 PyObject
* obj3
= 0 ;
32570 char * kwnames
[] = {
32571 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
32574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32576 if (!SWIG_IsOK(res1
)) {
32577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32579 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32582 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32583 if (!SWIG_IsOK(ecode4
)) {
32584 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
32586 arg4
= static_cast< int >(val4
);
32588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32589 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
32590 wxPyEndAllowThreads(__tstate
);
32591 if (PyErr_Occurred()) SWIG_fail
;
32593 resultobj
= SWIG_Py_Void();
32600 SWIGINTERN PyObject
*_wrap_delete_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32601 PyObject
*resultobj
= 0;
32602 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32605 PyObject
*swig_obj
[1] ;
32607 if (!args
) SWIG_fail
;
32608 swig_obj
[0] = args
;
32609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_DISOWN
| 0 );
32610 if (!SWIG_IsOK(res1
)) {
32611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropSource" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32613 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32618 wxPyEndAllowThreads(__tstate
);
32619 if (PyErr_Occurred()) SWIG_fail
;
32621 resultobj
= SWIG_Py_Void();
32628 SWIGINTERN PyObject
*_wrap_DropSource_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32629 PyObject
*resultobj
= 0;
32630 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32631 wxDataObject
*arg2
= 0 ;
32636 PyObject
* obj0
= 0 ;
32637 PyObject
* obj1
= 0 ;
32638 char * kwnames
[] = {
32639 (char *) "self",(char *) "data", NULL
32642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32644 if (!SWIG_IsOK(res1
)) {
32645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetData" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32647 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32648 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
32649 if (!SWIG_IsOK(res2
)) {
32650 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
32653 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
32655 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
32657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32658 (arg1
)->SetData(*arg2
);
32659 wxPyEndAllowThreads(__tstate
);
32660 if (PyErr_Occurred()) SWIG_fail
;
32662 resultobj
= SWIG_Py_Void();
32669 SWIGINTERN PyObject
*_wrap_DropSource_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32670 PyObject
*resultobj
= 0;
32671 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32672 wxDataObject
*result
= 0 ;
32675 PyObject
*swig_obj
[1] ;
32677 if (!args
) SWIG_fail
;
32678 swig_obj
[0] = args
;
32679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32680 if (!SWIG_IsOK(res1
)) {
32681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32683 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32686 result
= (wxDataObject
*)(arg1
)->GetDataObject();
32687 wxPyEndAllowThreads(__tstate
);
32688 if (PyErr_Occurred()) SWIG_fail
;
32690 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
32697 SWIGINTERN PyObject
*_wrap_DropSource_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32698 PyObject
*resultobj
= 0;
32699 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32700 wxDragResult arg2
;
32701 wxCursor
*arg3
= 0 ;
32708 PyObject
* obj0
= 0 ;
32709 PyObject
* obj1
= 0 ;
32710 PyObject
* obj2
= 0 ;
32711 char * kwnames
[] = {
32712 (char *) "self",(char *) "res",(char *) "cursor", NULL
32715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32717 if (!SWIG_IsOK(res1
)) {
32718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetCursor" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32720 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32721 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32722 if (!SWIG_IsOK(ecode2
)) {
32723 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_SetCursor" "', expected argument " "2"" of type '" "wxDragResult""'");
32725 arg2
= static_cast< wxDragResult
>(val2
);
32726 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxCursor
, 0 | 0);
32727 if (!SWIG_IsOK(res3
)) {
32728 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
32731 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
32733 arg3
= reinterpret_cast< wxCursor
* >(argp3
);
32735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32736 (arg1
)->SetCursor(arg2
,(wxCursor
const &)*arg3
);
32737 wxPyEndAllowThreads(__tstate
);
32738 if (PyErr_Occurred()) SWIG_fail
;
32740 resultobj
= SWIG_Py_Void();
32747 SWIGINTERN PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32748 PyObject
*resultobj
= 0;
32749 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32750 int arg2
= (int) wxDrag_CopyOnly
;
32751 wxDragResult result
;
32756 PyObject
* obj0
= 0 ;
32757 PyObject
* obj1
= 0 ;
32758 char * kwnames
[] = {
32759 (char *) "self",(char *) "flags", NULL
32762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32764 if (!SWIG_IsOK(res1
)) {
32765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_DoDragDrop" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32767 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32769 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32770 if (!SWIG_IsOK(ecode2
)) {
32771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_DoDragDrop" "', expected argument " "2"" of type '" "int""'");
32773 arg2
= static_cast< int >(val2
);
32776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32777 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
32778 wxPyEndAllowThreads(__tstate
);
32779 if (PyErr_Occurred()) SWIG_fail
;
32781 resultobj
= SWIG_From_int(static_cast< int >(result
));
32788 SWIGINTERN PyObject
*_wrap_DropSource_GiveFeedback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32789 PyObject
*resultobj
= 0;
32790 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32791 wxDragResult arg2
;
32797 PyObject
* obj0
= 0 ;
32798 PyObject
* obj1
= 0 ;
32799 char * kwnames
[] = {
32800 (char *) "self",(char *) "effect", NULL
32803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_GiveFeedback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32805 if (!SWIG_IsOK(res1
)) {
32806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GiveFeedback" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32808 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32809 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32810 if (!SWIG_IsOK(ecode2
)) {
32811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_GiveFeedback" "', expected argument " "2"" of type '" "wxDragResult""'");
32813 arg2
= static_cast< wxDragResult
>(val2
);
32815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32816 result
= (bool)(arg1
)->GiveFeedback(arg2
);
32817 wxPyEndAllowThreads(__tstate
);
32818 if (PyErr_Occurred()) SWIG_fail
;
32821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32829 SWIGINTERN PyObject
*DropSource_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32831 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32832 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropSource
, SWIG_NewClientData(obj
));
32833 return SWIG_Py_Void();
32836 SWIGINTERN PyObject
*DropSource_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32837 return SWIG_Python_InitShadowInstance(args
);
32840 SWIGINTERN PyObject
*_wrap_new_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32841 PyObject
*resultobj
= 0;
32842 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
32843 wxPyDropTarget
*result
= 0 ;
32845 PyObject
* obj0
= 0 ;
32846 char * kwnames
[] = {
32847 (char *) "dataObject", NULL
32850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) SWIG_fail
;
32852 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
32853 if (!SWIG_IsOK(res1
)) {
32854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropTarget" "', expected argument " "1"" of type '" "wxDataObject *""'");
32858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32859 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
32860 wxPyEndAllowThreads(__tstate
);
32861 if (PyErr_Occurred()) SWIG_fail
;
32863 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_NEW
| 0 );
32870 SWIGINTERN PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32871 PyObject
*resultobj
= 0;
32872 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32873 PyObject
*arg2
= (PyObject
*) 0 ;
32874 PyObject
*arg3
= (PyObject
*) 0 ;
32877 PyObject
* obj0
= 0 ;
32878 PyObject
* obj1
= 0 ;
32879 PyObject
* obj2
= 0 ;
32880 char * kwnames
[] = {
32881 (char *) "self",(char *) "self",(char *) "_class", NULL
32884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32886 if (!SWIG_IsOK(res1
)) {
32887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32889 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32894 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32895 wxPyEndAllowThreads(__tstate
);
32896 if (PyErr_Occurred()) SWIG_fail
;
32898 resultobj
= SWIG_Py_Void();
32905 SWIGINTERN PyObject
*_wrap_delete_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32906 PyObject
*resultobj
= 0;
32907 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32910 PyObject
*swig_obj
[1] ;
32912 if (!args
) SWIG_fail
;
32913 swig_obj
[0] = args
;
32914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_DISOWN
| 0 );
32915 if (!SWIG_IsOK(res1
)) {
32916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropTarget" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32918 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32923 wxPyEndAllowThreads(__tstate
);
32924 if (PyErr_Occurred()) SWIG_fail
;
32926 resultobj
= SWIG_Py_Void();
32933 SWIGINTERN PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32934 PyObject
*resultobj
= 0;
32935 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32936 wxDataObject
*result
= 0 ;
32939 PyObject
*swig_obj
[1] ;
32941 if (!args
) SWIG_fail
;
32942 swig_obj
[0] = args
;
32943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32944 if (!SWIG_IsOK(res1
)) {
32945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32947 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32950 result
= (wxDataObject
*)(arg1
)->GetDataObject();
32951 wxPyEndAllowThreads(__tstate
);
32952 if (PyErr_Occurred()) SWIG_fail
;
32954 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
32961 SWIGINTERN PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32962 PyObject
*resultobj
= 0;
32963 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32964 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
32968 PyObject
* obj0
= 0 ;
32969 PyObject
* obj1
= 0 ;
32970 char * kwnames
[] = {
32971 (char *) "self",(char *) "dataObject", NULL
32974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32976 if (!SWIG_IsOK(res1
)) {
32977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32979 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32980 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
32981 if (!SWIG_IsOK(res2
)) {
32982 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropTarget_SetDataObject" "', expected argument " "2"" of type '" "wxDataObject *""'");
32985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32986 (arg1
)->SetDataObject(arg2
);
32987 wxPyEndAllowThreads(__tstate
);
32988 if (PyErr_Occurred()) SWIG_fail
;
32990 resultobj
= SWIG_Py_Void();
32997 SWIGINTERN PyObject
*_wrap_DropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32998 PyObject
*resultobj
= 0;
32999 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33002 wxDragResult arg4
;
33003 wxDragResult result
;
33012 PyObject
* obj0
= 0 ;
33013 PyObject
* obj1
= 0 ;
33014 PyObject
* obj2
= 0 ;
33015 PyObject
* obj3
= 0 ;
33016 char * kwnames
[] = {
33017 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33022 if (!SWIG_IsOK(res1
)) {
33023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33025 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33026 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33027 if (!SWIG_IsOK(ecode2
)) {
33028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
33030 arg2
= static_cast< int >(val2
);
33031 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33032 if (!SWIG_IsOK(ecode3
)) {
33033 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
33035 arg3
= static_cast< int >(val3
);
33036 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33037 if (!SWIG_IsOK(ecode4
)) {
33038 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
33040 arg4
= static_cast< wxDragResult
>(val4
);
33042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33043 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
33044 wxPyEndAllowThreads(__tstate
);
33045 if (PyErr_Occurred()) SWIG_fail
;
33047 resultobj
= SWIG_From_int(static_cast< int >(result
));
33054 SWIGINTERN PyObject
*_wrap_DropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33055 PyObject
*resultobj
= 0;
33056 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33059 wxDragResult arg4
;
33060 wxDragResult result
;
33069 PyObject
* obj0
= 0 ;
33070 PyObject
* obj1
= 0 ;
33071 PyObject
* obj2
= 0 ;
33072 PyObject
* obj3
= 0 ;
33073 char * kwnames
[] = {
33074 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33079 if (!SWIG_IsOK(res1
)) {
33080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33082 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33083 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33084 if (!SWIG_IsOK(ecode2
)) {
33085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
33087 arg2
= static_cast< int >(val2
);
33088 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33089 if (!SWIG_IsOK(ecode3
)) {
33090 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
33092 arg3
= static_cast< int >(val3
);
33093 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33094 if (!SWIG_IsOK(ecode4
)) {
33095 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
33097 arg4
= static_cast< wxDragResult
>(val4
);
33099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33100 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
33101 wxPyEndAllowThreads(__tstate
);
33102 if (PyErr_Occurred()) SWIG_fail
;
33104 resultobj
= SWIG_From_int(static_cast< int >(result
));
33111 SWIGINTERN PyObject
*_wrap_DropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33112 PyObject
*resultobj
= 0;
33113 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33116 PyObject
*swig_obj
[1] ;
33118 if (!args
) SWIG_fail
;
33119 swig_obj
[0] = args
;
33120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33121 if (!SWIG_IsOK(res1
)) {
33122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33124 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33128 wxPyEndAllowThreads(__tstate
);
33129 if (PyErr_Occurred()) SWIG_fail
;
33131 resultobj
= SWIG_Py_Void();
33138 SWIGINTERN PyObject
*_wrap_DropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33139 PyObject
*resultobj
= 0;
33140 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33150 PyObject
* obj0
= 0 ;
33151 PyObject
* obj1
= 0 ;
33152 PyObject
* obj2
= 0 ;
33153 char * kwnames
[] = {
33154 (char *) "self",(char *) "x",(char *) "y", NULL
33157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33159 if (!SWIG_IsOK(res1
)) {
33160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33162 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33163 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33164 if (!SWIG_IsOK(ecode2
)) {
33165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
33167 arg2
= static_cast< int >(val2
);
33168 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33169 if (!SWIG_IsOK(ecode3
)) {
33170 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
33172 arg3
= static_cast< int >(val3
);
33174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33175 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
33176 wxPyEndAllowThreads(__tstate
);
33177 if (PyErr_Occurred()) SWIG_fail
;
33180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33188 SWIGINTERN PyObject
*_wrap_DropTarget_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33189 PyObject
*resultobj
= 0;
33190 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33194 PyObject
*swig_obj
[1] ;
33196 if (!args
) SWIG_fail
;
33197 swig_obj
[0] = args
;
33198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33199 if (!SWIG_IsOK(res1
)) {
33200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetData" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33202 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33205 result
= (bool)(arg1
)->GetData();
33206 wxPyEndAllowThreads(__tstate
);
33207 if (PyErr_Occurred()) SWIG_fail
;
33210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33218 SWIGINTERN PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33219 PyObject
*resultobj
= 0;
33220 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33221 wxDragResult arg2
;
33226 PyObject
* obj0
= 0 ;
33227 PyObject
* obj1
= 0 ;
33228 char * kwnames
[] = {
33229 (char *) "self",(char *) "action", NULL
33232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33234 if (!SWIG_IsOK(res1
)) {
33235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33237 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33238 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33239 if (!SWIG_IsOK(ecode2
)) {
33240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "2"" of type '" "wxDragResult""'");
33242 arg2
= static_cast< wxDragResult
>(val2
);
33244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33245 (arg1
)->SetDefaultAction(arg2
);
33246 wxPyEndAllowThreads(__tstate
);
33247 if (PyErr_Occurred()) SWIG_fail
;
33249 resultobj
= SWIG_Py_Void();
33256 SWIGINTERN PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33257 PyObject
*resultobj
= 0;
33258 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33259 wxDragResult result
;
33262 PyObject
*swig_obj
[1] ;
33264 if (!args
) SWIG_fail
;
33265 swig_obj
[0] = args
;
33266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33267 if (!SWIG_IsOK(res1
)) {
33268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33270 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33273 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
33274 wxPyEndAllowThreads(__tstate
);
33275 if (PyErr_Occurred()) SWIG_fail
;
33277 resultobj
= SWIG_From_int(static_cast< int >(result
));
33284 SWIGINTERN PyObject
*DropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33286 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33287 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropTarget
, SWIG_NewClientData(obj
));
33288 return SWIG_Py_Void();
33291 SWIGINTERN PyObject
*DropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33292 return SWIG_Python_InitShadowInstance(args
);
33295 SWIGINTERN PyObject
*_wrap_new_TextDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33296 PyObject
*resultobj
= 0;
33297 wxPyTextDropTarget
*result
= 0 ;
33299 if (!SWIG_Python_UnpackTuple(args
,"new_TextDropTarget",0,0,0)) SWIG_fail
;
33301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33302 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
33303 wxPyEndAllowThreads(__tstate
);
33304 if (PyErr_Occurred()) SWIG_fail
;
33306 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_NEW
| 0 );
33313 SWIGINTERN PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33314 PyObject
*resultobj
= 0;
33315 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33316 PyObject
*arg2
= (PyObject
*) 0 ;
33317 PyObject
*arg3
= (PyObject
*) 0 ;
33320 PyObject
* obj0
= 0 ;
33321 PyObject
* obj1
= 0 ;
33322 PyObject
* obj2
= 0 ;
33323 char * kwnames
[] = {
33324 (char *) "self",(char *) "self",(char *) "_class", NULL
33327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33329 if (!SWIG_IsOK(res1
)) {
33330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33332 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33337 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33338 wxPyEndAllowThreads(__tstate
);
33339 if (PyErr_Occurred()) SWIG_fail
;
33341 resultobj
= SWIG_Py_Void();
33348 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDropText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33349 PyObject
*resultobj
= 0;
33350 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33353 wxString
*arg4
= 0 ;
33361 bool temp4
= false ;
33362 PyObject
* obj0
= 0 ;
33363 PyObject
* obj1
= 0 ;
33364 PyObject
* obj2
= 0 ;
33365 PyObject
* obj3
= 0 ;
33366 char * kwnames
[] = {
33367 (char *) "self",(char *) "x",(char *) "y",(char *) "text", NULL
33370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDropText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33372 if (!SWIG_IsOK(res1
)) {
33373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33375 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33376 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33377 if (!SWIG_IsOK(ecode2
)) {
33378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "2"" of type '" "int""'");
33380 arg2
= static_cast< int >(val2
);
33381 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33382 if (!SWIG_IsOK(ecode3
)) {
33383 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "3"" of type '" "int""'");
33385 arg3
= static_cast< int >(val3
);
33387 arg4
= wxString_in_helper(obj3
);
33388 if (arg4
== NULL
) SWIG_fail
;
33392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33393 result
= (bool)(arg1
)->OnDropText(arg2
,arg3
,(wxString
const &)*arg4
);
33394 wxPyEndAllowThreads(__tstate
);
33395 if (PyErr_Occurred()) SWIG_fail
;
33398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33414 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33415 PyObject
*resultobj
= 0;
33416 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33419 wxDragResult arg4
;
33420 wxDragResult result
;
33429 PyObject
* obj0
= 0 ;
33430 PyObject
* obj1
= 0 ;
33431 PyObject
* obj2
= 0 ;
33432 PyObject
* obj3
= 0 ;
33433 char * kwnames
[] = {
33434 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33439 if (!SWIG_IsOK(res1
)) {
33440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33442 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33443 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33444 if (!SWIG_IsOK(ecode2
)) {
33445 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
33447 arg2
= static_cast< int >(val2
);
33448 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33449 if (!SWIG_IsOK(ecode3
)) {
33450 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
33452 arg3
= static_cast< int >(val3
);
33453 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33454 if (!SWIG_IsOK(ecode4
)) {
33455 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
33457 arg4
= static_cast< wxDragResult
>(val4
);
33459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33460 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
33461 wxPyEndAllowThreads(__tstate
);
33462 if (PyErr_Occurred()) SWIG_fail
;
33464 resultobj
= SWIG_From_int(static_cast< int >(result
));
33471 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33472 PyObject
*resultobj
= 0;
33473 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33476 wxDragResult arg4
;
33477 wxDragResult result
;
33486 PyObject
* obj0
= 0 ;
33487 PyObject
* obj1
= 0 ;
33488 PyObject
* obj2
= 0 ;
33489 PyObject
* obj3
= 0 ;
33490 char * kwnames
[] = {
33491 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33496 if (!SWIG_IsOK(res1
)) {
33497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33499 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33501 if (!SWIG_IsOK(ecode2
)) {
33502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
33504 arg2
= static_cast< int >(val2
);
33505 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33506 if (!SWIG_IsOK(ecode3
)) {
33507 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
33509 arg3
= static_cast< int >(val3
);
33510 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33511 if (!SWIG_IsOK(ecode4
)) {
33512 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
33514 arg4
= static_cast< wxDragResult
>(val4
);
33516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33517 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
33518 wxPyEndAllowThreads(__tstate
);
33519 if (PyErr_Occurred()) SWIG_fail
;
33521 resultobj
= SWIG_From_int(static_cast< int >(result
));
33528 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33529 PyObject
*resultobj
= 0;
33530 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33533 PyObject
*swig_obj
[1] ;
33535 if (!args
) SWIG_fail
;
33536 swig_obj
[0] = args
;
33537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33538 if (!SWIG_IsOK(res1
)) {
33539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33541 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33545 wxPyEndAllowThreads(__tstate
);
33546 if (PyErr_Occurred()) SWIG_fail
;
33548 resultobj
= SWIG_Py_Void();
33555 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33556 PyObject
*resultobj
= 0;
33557 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33567 PyObject
* obj0
= 0 ;
33568 PyObject
* obj1
= 0 ;
33569 PyObject
* obj2
= 0 ;
33570 char * kwnames
[] = {
33571 (char *) "self",(char *) "x",(char *) "y", NULL
33574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) 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_OnDrop" "', 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_OnDrop" "', 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_OnDrop" "', expected argument " "3"" of type '" "int""'");
33589 arg3
= static_cast< int >(val3
);
33591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33592 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
33593 wxPyEndAllowThreads(__tstate
);
33594 if (PyErr_Occurred()) SWIG_fail
;
33597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33605 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33606 PyObject
*resultobj
= 0;
33607 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33610 wxDragResult arg4
;
33611 wxDragResult result
;
33620 PyObject
* obj0
= 0 ;
33621 PyObject
* obj1
= 0 ;
33622 PyObject
* obj2
= 0 ;
33623 PyObject
* obj3
= 0 ;
33624 char * kwnames
[] = {
33625 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33630 if (!SWIG_IsOK(res1
)) {
33631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33633 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33634 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33635 if (!SWIG_IsOK(ecode2
)) {
33636 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
33638 arg2
= static_cast< int >(val2
);
33639 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33640 if (!SWIG_IsOK(ecode3
)) {
33641 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
33643 arg3
= static_cast< int >(val3
);
33644 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33645 if (!SWIG_IsOK(ecode4
)) {
33646 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
33648 arg4
= static_cast< wxDragResult
>(val4
);
33650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33651 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
33652 wxPyEndAllowThreads(__tstate
);
33653 if (PyErr_Occurred()) SWIG_fail
;
33655 resultobj
= SWIG_From_int(static_cast< int >(result
));
33662 SWIGINTERN PyObject
*TextDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33664 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33665 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDropTarget
, SWIG_NewClientData(obj
));
33666 return SWIG_Py_Void();
33669 SWIGINTERN PyObject
*TextDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33670 return SWIG_Python_InitShadowInstance(args
);
33673 SWIGINTERN PyObject
*_wrap_new_FileDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33674 PyObject
*resultobj
= 0;
33675 wxPyFileDropTarget
*result
= 0 ;
33677 if (!SWIG_Python_UnpackTuple(args
,"new_FileDropTarget",0,0,0)) SWIG_fail
;
33679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33680 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
33681 wxPyEndAllowThreads(__tstate
);
33682 if (PyErr_Occurred()) SWIG_fail
;
33684 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_NEW
| 0 );
33691 SWIGINTERN PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33692 PyObject
*resultobj
= 0;
33693 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33694 PyObject
*arg2
= (PyObject
*) 0 ;
33695 PyObject
*arg3
= (PyObject
*) 0 ;
33698 PyObject
* obj0
= 0 ;
33699 PyObject
* obj1
= 0 ;
33700 PyObject
* obj2
= 0 ;
33701 char * kwnames
[] = {
33702 (char *) "self",(char *) "self",(char *) "_class", NULL
33705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33707 if (!SWIG_IsOK(res1
)) {
33708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33710 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33715 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33716 wxPyEndAllowThreads(__tstate
);
33717 if (PyErr_Occurred()) SWIG_fail
;
33719 resultobj
= SWIG_Py_Void();
33726 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDropFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33727 PyObject
*resultobj
= 0;
33728 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33731 wxArrayString
*arg4
= 0 ;
33739 bool temp4
= false ;
33740 PyObject
* obj0
= 0 ;
33741 PyObject
* obj1
= 0 ;
33742 PyObject
* obj2
= 0 ;
33743 PyObject
* obj3
= 0 ;
33744 char * kwnames
[] = {
33745 (char *) "self",(char *) "x",(char *) "y",(char *) "filenames", NULL
33748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDropFiles",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33750 if (!SWIG_IsOK(res1
)) {
33751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33753 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33754 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33755 if (!SWIG_IsOK(ecode2
)) {
33756 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "2"" of type '" "int""'");
33758 arg2
= static_cast< int >(val2
);
33759 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33760 if (!SWIG_IsOK(ecode3
)) {
33761 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "3"" of type '" "int""'");
33763 arg3
= static_cast< int >(val3
);
33765 if (! PySequence_Check(obj3
)) {
33766 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
33769 arg4
= new wxArrayString
;
33771 int i
, len
=PySequence_Length(obj3
);
33772 for (i
=0; i
<len
; i
++) {
33773 PyObject
* item
= PySequence_GetItem(obj3
, i
);
33774 wxString
* s
= wxString_in_helper(item
);
33775 if (PyErr_Occurred()) SWIG_fail
;
33782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33783 result
= (bool)(arg1
)->OnDropFiles(arg2
,arg3
,(wxArrayString
const &)*arg4
);
33784 wxPyEndAllowThreads(__tstate
);
33785 if (PyErr_Occurred()) SWIG_fail
;
33788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33791 if (temp4
) delete arg4
;
33796 if (temp4
) delete arg4
;
33802 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33803 PyObject
*resultobj
= 0;
33804 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33807 wxDragResult arg4
;
33808 wxDragResult result
;
33817 PyObject
* obj0
= 0 ;
33818 PyObject
* obj1
= 0 ;
33819 PyObject
* obj2
= 0 ;
33820 PyObject
* obj3
= 0 ;
33821 char * kwnames
[] = {
33822 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33827 if (!SWIG_IsOK(res1
)) {
33828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33830 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33831 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33832 if (!SWIG_IsOK(ecode2
)) {
33833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
33835 arg2
= static_cast< int >(val2
);
33836 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33837 if (!SWIG_IsOK(ecode3
)) {
33838 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
33840 arg3
= static_cast< int >(val3
);
33841 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33842 if (!SWIG_IsOK(ecode4
)) {
33843 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
33845 arg4
= static_cast< wxDragResult
>(val4
);
33847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33848 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
33849 wxPyEndAllowThreads(__tstate
);
33850 if (PyErr_Occurred()) SWIG_fail
;
33852 resultobj
= SWIG_From_int(static_cast< int >(result
));
33859 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33860 PyObject
*resultobj
= 0;
33861 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33864 wxDragResult arg4
;
33865 wxDragResult result
;
33874 PyObject
* obj0
= 0 ;
33875 PyObject
* obj1
= 0 ;
33876 PyObject
* obj2
= 0 ;
33877 PyObject
* obj3
= 0 ;
33878 char * kwnames
[] = {
33879 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33884 if (!SWIG_IsOK(res1
)) {
33885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33887 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33888 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33889 if (!SWIG_IsOK(ecode2
)) {
33890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
33892 arg2
= static_cast< int >(val2
);
33893 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33894 if (!SWIG_IsOK(ecode3
)) {
33895 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
33897 arg3
= static_cast< int >(val3
);
33898 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33899 if (!SWIG_IsOK(ecode4
)) {
33900 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
33902 arg4
= static_cast< wxDragResult
>(val4
);
33904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33905 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
33906 wxPyEndAllowThreads(__tstate
);
33907 if (PyErr_Occurred()) SWIG_fail
;
33909 resultobj
= SWIG_From_int(static_cast< int >(result
));
33916 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33917 PyObject
*resultobj
= 0;
33918 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33921 PyObject
*swig_obj
[1] ;
33923 if (!args
) SWIG_fail
;
33924 swig_obj
[0] = args
;
33925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33926 if (!SWIG_IsOK(res1
)) {
33927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33929 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33933 wxPyEndAllowThreads(__tstate
);
33934 if (PyErr_Occurred()) SWIG_fail
;
33936 resultobj
= SWIG_Py_Void();
33943 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33944 PyObject
*resultobj
= 0;
33945 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33955 PyObject
* obj0
= 0 ;
33956 PyObject
* obj1
= 0 ;
33957 PyObject
* obj2
= 0 ;
33958 char * kwnames
[] = {
33959 (char *) "self",(char *) "x",(char *) "y", NULL
33962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) 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_OnDrop" "', 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_OnDrop" "', 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_OnDrop" "', expected argument " "3"" of type '" "int""'");
33977 arg3
= static_cast< int >(val3
);
33979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33980 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
33981 wxPyEndAllowThreads(__tstate
);
33982 if (PyErr_Occurred()) SWIG_fail
;
33985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33993 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33994 PyObject
*resultobj
= 0;
33995 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33998 wxDragResult arg4
;
33999 wxDragResult result
;
34008 PyObject
* obj0
= 0 ;
34009 PyObject
* obj1
= 0 ;
34010 PyObject
* obj2
= 0 ;
34011 PyObject
* obj3
= 0 ;
34012 char * kwnames
[] = {
34013 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
34018 if (!SWIG_IsOK(res1
)) {
34019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
34021 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
34022 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34023 if (!SWIG_IsOK(ecode2
)) {
34024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
34026 arg2
= static_cast< int >(val2
);
34027 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34028 if (!SWIG_IsOK(ecode3
)) {
34029 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
34031 arg3
= static_cast< int >(val3
);
34032 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34033 if (!SWIG_IsOK(ecode4
)) {
34034 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
34036 arg4
= static_cast< wxDragResult
>(val4
);
34038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34039 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
34040 wxPyEndAllowThreads(__tstate
);
34041 if (PyErr_Occurred()) SWIG_fail
;
34043 resultobj
= SWIG_From_int(static_cast< int >(result
));
34050 SWIGINTERN PyObject
*FileDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34052 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34053 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFileDropTarget
, SWIG_NewClientData(obj
));
34054 return SWIG_Py_Void();
34057 SWIGINTERN PyObject
*FileDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34058 return SWIG_Python_InitShadowInstance(args
);
34061 SWIGINTERN PyObject
*_wrap_new_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34062 PyObject
*resultobj
= 0;
34063 wxClipboard
*result
= 0 ;
34065 if (!SWIG_Python_UnpackTuple(args
,"new_Clipboard",0,0,0)) SWIG_fail
;
34067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34068 result
= (wxClipboard
*)new wxClipboard();
34069 wxPyEndAllowThreads(__tstate
);
34070 if (PyErr_Occurred()) SWIG_fail
;
34072 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, SWIG_POINTER_NEW
| 0 );
34079 SWIGINTERN PyObject
*_wrap_delete_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34080 PyObject
*resultobj
= 0;
34081 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34084 PyObject
*swig_obj
[1] ;
34086 if (!args
) SWIG_fail
;
34087 swig_obj
[0] = args
;
34088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, SWIG_POINTER_DISOWN
| 0 );
34089 if (!SWIG_IsOK(res1
)) {
34090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Clipboard" "', expected argument " "1"" of type '" "wxClipboard *""'");
34092 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34097 wxPyEndAllowThreads(__tstate
);
34098 if (PyErr_Occurred()) SWIG_fail
;
34100 resultobj
= SWIG_Py_Void();
34107 SWIGINTERN PyObject
*_wrap_Clipboard_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34108 PyObject
*resultobj
= 0;
34109 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34113 PyObject
*swig_obj
[1] ;
34115 if (!args
) SWIG_fail
;
34116 swig_obj
[0] = args
;
34117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34118 if (!SWIG_IsOK(res1
)) {
34119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Open" "', expected argument " "1"" of type '" "wxClipboard *""'");
34121 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34124 result
= (bool)(arg1
)->Open();
34125 wxPyEndAllowThreads(__tstate
);
34126 if (PyErr_Occurred()) SWIG_fail
;
34129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34137 SWIGINTERN PyObject
*_wrap_Clipboard_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34138 PyObject
*resultobj
= 0;
34139 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34142 PyObject
*swig_obj
[1] ;
34144 if (!args
) SWIG_fail
;
34145 swig_obj
[0] = args
;
34146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34147 if (!SWIG_IsOK(res1
)) {
34148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Close" "', expected argument " "1"" of type '" "wxClipboard *""'");
34150 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34154 wxPyEndAllowThreads(__tstate
);
34155 if (PyErr_Occurred()) SWIG_fail
;
34157 resultobj
= SWIG_Py_Void();
34164 SWIGINTERN PyObject
*_wrap_Clipboard_IsOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34165 PyObject
*resultobj
= 0;
34166 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34170 PyObject
*swig_obj
[1] ;
34172 if (!args
) SWIG_fail
;
34173 swig_obj
[0] = args
;
34174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34175 if (!SWIG_IsOK(res1
)) {
34176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsOpened" "', expected argument " "1"" of type '" "wxClipboard const *""'");
34178 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34181 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
34182 wxPyEndAllowThreads(__tstate
);
34183 if (PyErr_Occurred()) SWIG_fail
;
34186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34194 SWIGINTERN PyObject
*_wrap_Clipboard_AddData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34195 PyObject
*resultobj
= 0;
34196 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34197 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
34202 PyObject
* obj0
= 0 ;
34203 PyObject
* obj1
= 0 ;
34204 char * kwnames
[] = {
34205 (char *) "self",(char *) "data", NULL
34208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34210 if (!SWIG_IsOK(res1
)) {
34211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_AddData" "', expected argument " "1"" of type '" "wxClipboard *""'");
34213 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34214 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
34215 if (!SWIG_IsOK(res2
)) {
34216 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_AddData" "', expected argument " "2"" of type '" "wxDataObject *""'");
34219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34220 result
= (bool)(arg1
)->AddData(arg2
);
34221 wxPyEndAllowThreads(__tstate
);
34222 if (PyErr_Occurred()) SWIG_fail
;
34225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34233 SWIGINTERN PyObject
*_wrap_Clipboard_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34234 PyObject
*resultobj
= 0;
34235 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34236 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
34241 PyObject
* obj0
= 0 ;
34242 PyObject
* obj1
= 0 ;
34243 char * kwnames
[] = {
34244 (char *) "self",(char *) "data", NULL
34247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34249 if (!SWIG_IsOK(res1
)) {
34250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_SetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
34252 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34253 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
34254 if (!SWIG_IsOK(res2
)) {
34255 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_SetData" "', expected argument " "2"" of type '" "wxDataObject *""'");
34258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34259 result
= (bool)(arg1
)->SetData(arg2
);
34260 wxPyEndAllowThreads(__tstate
);
34261 if (PyErr_Occurred()) SWIG_fail
;
34264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34272 SWIGINTERN PyObject
*_wrap_Clipboard_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34273 PyObject
*resultobj
= 0;
34274 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34275 wxDataFormat
*arg2
= 0 ;
34281 PyObject
* obj0
= 0 ;
34282 PyObject
* obj1
= 0 ;
34283 char * kwnames
[] = {
34284 (char *) "self",(char *) "format", NULL
34287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34289 if (!SWIG_IsOK(res1
)) {
34290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsSupported" "', expected argument " "1"" of type '" "wxClipboard *""'");
34292 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34293 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
34294 if (!SWIG_IsOK(res2
)) {
34295 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
34298 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
34300 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
34302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34303 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
34304 wxPyEndAllowThreads(__tstate
);
34305 if (PyErr_Occurred()) SWIG_fail
;
34308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34316 SWIGINTERN PyObject
*_wrap_Clipboard_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34317 PyObject
*resultobj
= 0;
34318 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34319 wxDataObject
*arg2
= 0 ;
34325 PyObject
* obj0
= 0 ;
34326 PyObject
* obj1
= 0 ;
34327 char * kwnames
[] = {
34328 (char *) "self",(char *) "data", NULL
34331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34333 if (!SWIG_IsOK(res1
)) {
34334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_GetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
34336 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34337 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
34338 if (!SWIG_IsOK(res2
)) {
34339 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
34342 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
34344 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
34346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34347 result
= (bool)(arg1
)->GetData(*arg2
);
34348 wxPyEndAllowThreads(__tstate
);
34349 if (PyErr_Occurred()) SWIG_fail
;
34352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34360 SWIGINTERN PyObject
*_wrap_Clipboard_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34361 PyObject
*resultobj
= 0;
34362 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34365 PyObject
*swig_obj
[1] ;
34367 if (!args
) SWIG_fail
;
34368 swig_obj
[0] = args
;
34369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34370 if (!SWIG_IsOK(res1
)) {
34371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Clear" "', expected argument " "1"" of type '" "wxClipboard *""'");
34373 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34377 wxPyEndAllowThreads(__tstate
);
34378 if (PyErr_Occurred()) SWIG_fail
;
34380 resultobj
= SWIG_Py_Void();
34387 SWIGINTERN PyObject
*_wrap_Clipboard_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34388 PyObject
*resultobj
= 0;
34389 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34393 PyObject
*swig_obj
[1] ;
34395 if (!args
) SWIG_fail
;
34396 swig_obj
[0] = args
;
34397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34398 if (!SWIG_IsOK(res1
)) {
34399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Flush" "', expected argument " "1"" of type '" "wxClipboard *""'");
34401 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34404 result
= (bool)(arg1
)->Flush();
34405 wxPyEndAllowThreads(__tstate
);
34406 if (PyErr_Occurred()) SWIG_fail
;
34409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34417 SWIGINTERN PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34418 PyObject
*resultobj
= 0;
34419 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34420 bool arg2
= (bool) true ;
34425 PyObject
* obj0
= 0 ;
34426 PyObject
* obj1
= 0 ;
34427 char * kwnames
[] = {
34428 (char *) "self",(char *) "primary", NULL
34431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34433 if (!SWIG_IsOK(res1
)) {
34434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "1"" of type '" "wxClipboard *""'");
34436 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34438 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
34439 if (!SWIG_IsOK(ecode2
)) {
34440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "2"" of type '" "bool""'");
34442 arg2
= static_cast< bool >(val2
);
34445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34446 (arg1
)->UsePrimarySelection(arg2
);
34447 wxPyEndAllowThreads(__tstate
);
34448 if (PyErr_Occurred()) SWIG_fail
;
34450 resultobj
= SWIG_Py_Void();
34457 SWIGINTERN PyObject
*_wrap_Clipboard_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34458 PyObject
*resultobj
= 0;
34459 wxClipboard
*result
= 0 ;
34461 if (!SWIG_Python_UnpackTuple(args
,"Clipboard_Get",0,0,0)) SWIG_fail
;
34463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34464 result
= (wxClipboard
*)wxClipboard::Get();
34465 wxPyEndAllowThreads(__tstate
);
34466 if (PyErr_Occurred()) SWIG_fail
;
34468 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, 0 | 0 );
34475 SWIGINTERN PyObject
*Clipboard_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34477 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34478 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboard
, SWIG_NewClientData(obj
));
34479 return SWIG_Py_Void();
34482 SWIGINTERN PyObject
*Clipboard_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34483 return SWIG_Python_InitShadowInstance(args
);
34486 SWIGINTERN PyObject
*_wrap_new_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34487 PyObject
*resultobj
= 0;
34488 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
34489 wxClipboardLocker
*result
= 0 ;
34492 PyObject
* obj0
= 0 ;
34493 char * kwnames
[] = {
34494 (char *) "clipboard", NULL
34497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) SWIG_fail
;
34499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34500 if (!SWIG_IsOK(res1
)) {
34501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboard *""'");
34503 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34507 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
34508 wxPyEndAllowThreads(__tstate
);
34509 if (PyErr_Occurred()) SWIG_fail
;
34511 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_NEW
| 0 );
34518 SWIGINTERN PyObject
*_wrap_delete_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34519 PyObject
*resultobj
= 0;
34520 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
34523 PyObject
*swig_obj
[1] ;
34525 if (!args
) SWIG_fail
;
34526 swig_obj
[0] = args
;
34527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_DISOWN
| 0 );
34528 if (!SWIG_IsOK(res1
)) {
34529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
34531 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
34533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34536 wxPyEndAllowThreads(__tstate
);
34537 if (PyErr_Occurred()) SWIG_fail
;
34539 resultobj
= SWIG_Py_Void();
34546 SWIGINTERN PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34547 PyObject
*resultobj
= 0;
34548 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
34552 PyObject
*swig_obj
[1] ;
34554 if (!args
) SWIG_fail
;
34555 swig_obj
[0] = args
;
34556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, 0 | 0 );
34557 if (!SWIG_IsOK(res1
)) {
34558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ClipboardLocker___nonzero__" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
34560 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
34562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34563 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
34564 wxPyEndAllowThreads(__tstate
);
34565 if (PyErr_Occurred()) SWIG_fail
;
34568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34576 SWIGINTERN PyObject
*ClipboardLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34578 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34579 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboardLocker
, SWIG_NewClientData(obj
));
34580 return SWIG_Py_Void();
34583 SWIGINTERN PyObject
*ClipboardLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34584 return SWIG_Python_InitShadowInstance(args
);
34587 SWIGINTERN PyObject
*_wrap_new_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34588 PyObject
*resultobj
= 0;
34589 int arg1
= (int) 0 ;
34590 int arg2
= (int) 0 ;
34591 int arg3
= (int) 0 ;
34592 int arg4
= (int) 0 ;
34593 wxVideoMode
*result
= 0 ;
34602 PyObject
* obj0
= 0 ;
34603 PyObject
* obj1
= 0 ;
34604 PyObject
* obj2
= 0 ;
34605 PyObject
* obj3
= 0 ;
34606 char * kwnames
[] = {
34607 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
34610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34612 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34613 if (!SWIG_IsOK(ecode1
)) {
34614 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_VideoMode" "', expected argument " "1"" of type '" "int""'");
34616 arg1
= static_cast< int >(val1
);
34619 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34620 if (!SWIG_IsOK(ecode2
)) {
34621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VideoMode" "', expected argument " "2"" of type '" "int""'");
34623 arg2
= static_cast< int >(val2
);
34626 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34627 if (!SWIG_IsOK(ecode3
)) {
34628 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_VideoMode" "', expected argument " "3"" of type '" "int""'");
34630 arg3
= static_cast< int >(val3
);
34633 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34634 if (!SWIG_IsOK(ecode4
)) {
34635 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_VideoMode" "', expected argument " "4"" of type '" "int""'");
34637 arg4
= static_cast< int >(val4
);
34640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34641 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
34642 wxPyEndAllowThreads(__tstate
);
34643 if (PyErr_Occurred()) SWIG_fail
;
34645 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_NEW
| 0 );
34652 SWIGINTERN PyObject
*_wrap_delete_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34653 PyObject
*resultobj
= 0;
34654 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34657 PyObject
*swig_obj
[1] ;
34659 if (!args
) SWIG_fail
;
34660 swig_obj
[0] = args
;
34661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_DISOWN
| 0 );
34662 if (!SWIG_IsOK(res1
)) {
34663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_VideoMode" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34665 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34670 wxPyEndAllowThreads(__tstate
);
34671 if (PyErr_Occurred()) SWIG_fail
;
34673 resultobj
= SWIG_Py_Void();
34680 SWIGINTERN PyObject
*_wrap_VideoMode_Matches(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34681 PyObject
*resultobj
= 0;
34682 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34683 wxVideoMode
*arg2
= 0 ;
34689 PyObject
* obj0
= 0 ;
34690 PyObject
* obj1
= 0 ;
34691 char * kwnames
[] = {
34692 (char *) "self",(char *) "other", NULL
34695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34697 if (!SWIG_IsOK(res1
)) {
34698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_Matches" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34700 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34701 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
34702 if (!SWIG_IsOK(res2
)) {
34703 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
34706 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
34708 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
34710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34711 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
34712 wxPyEndAllowThreads(__tstate
);
34713 if (PyErr_Occurred()) SWIG_fail
;
34716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34724 SWIGINTERN PyObject
*_wrap_VideoMode_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34725 PyObject
*resultobj
= 0;
34726 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34730 PyObject
*swig_obj
[1] ;
34732 if (!args
) SWIG_fail
;
34733 swig_obj
[0] = args
;
34734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34735 if (!SWIG_IsOK(res1
)) {
34736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetWidth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34738 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34741 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
34742 wxPyEndAllowThreads(__tstate
);
34743 if (PyErr_Occurred()) SWIG_fail
;
34745 resultobj
= SWIG_From_int(static_cast< int >(result
));
34752 SWIGINTERN PyObject
*_wrap_VideoMode_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34753 PyObject
*resultobj
= 0;
34754 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34758 PyObject
*swig_obj
[1] ;
34760 if (!args
) SWIG_fail
;
34761 swig_obj
[0] = args
;
34762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34763 if (!SWIG_IsOK(res1
)) {
34764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetHeight" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34766 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34769 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
34770 wxPyEndAllowThreads(__tstate
);
34771 if (PyErr_Occurred()) SWIG_fail
;
34773 resultobj
= SWIG_From_int(static_cast< int >(result
));
34780 SWIGINTERN PyObject
*_wrap_VideoMode_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34781 PyObject
*resultobj
= 0;
34782 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34786 PyObject
*swig_obj
[1] ;
34788 if (!args
) SWIG_fail
;
34789 swig_obj
[0] = args
;
34790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34791 if (!SWIG_IsOK(res1
)) {
34792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetDepth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34794 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34797 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
34798 wxPyEndAllowThreads(__tstate
);
34799 if (PyErr_Occurred()) SWIG_fail
;
34801 resultobj
= SWIG_From_int(static_cast< int >(result
));
34808 SWIGINTERN PyObject
*_wrap_VideoMode_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34809 PyObject
*resultobj
= 0;
34810 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34814 PyObject
*swig_obj
[1] ;
34816 if (!args
) SWIG_fail
;
34817 swig_obj
[0] = args
;
34818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34819 if (!SWIG_IsOK(res1
)) {
34820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_IsOk" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34822 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34825 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
34826 wxPyEndAllowThreads(__tstate
);
34827 if (PyErr_Occurred()) SWIG_fail
;
34830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34838 SWIGINTERN PyObject
*_wrap_VideoMode___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34839 PyObject
*resultobj
= 0;
34840 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34841 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
34847 PyObject
* obj0
= 0 ;
34848 PyObject
* obj1
= 0 ;
34849 char * kwnames
[] = {
34850 (char *) "self",(char *) "other", NULL
34853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34855 if (!SWIG_IsOK(res1
)) {
34856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___eq__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34858 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34859 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34860 if (!SWIG_IsOK(res2
)) {
34861 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___eq__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
34863 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
34865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34866 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
34867 wxPyEndAllowThreads(__tstate
);
34868 if (PyErr_Occurred()) SWIG_fail
;
34871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34879 SWIGINTERN PyObject
*_wrap_VideoMode___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34880 PyObject
*resultobj
= 0;
34881 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34882 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
34888 PyObject
* obj0
= 0 ;
34889 PyObject
* obj1
= 0 ;
34890 char * kwnames
[] = {
34891 (char *) "self",(char *) "other", NULL
34894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34896 if (!SWIG_IsOK(res1
)) {
34897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___ne__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34899 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34900 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34901 if (!SWIG_IsOK(res2
)) {
34902 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___ne__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
34904 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
34906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34907 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
34908 wxPyEndAllowThreads(__tstate
);
34909 if (PyErr_Occurred()) SWIG_fail
;
34912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34920 SWIGINTERN PyObject
*_wrap_VideoMode_w_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34921 PyObject
*resultobj
= 0;
34922 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34928 PyObject
*swig_obj
[2] ;
34930 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_w_set",2,2,swig_obj
)) SWIG_fail
;
34931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34932 if (!SWIG_IsOK(res1
)) {
34933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34935 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34936 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34937 if (!SWIG_IsOK(ecode2
)) {
34938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_w_set" "', expected argument " "2"" of type '" "int""'");
34940 arg2
= static_cast< int >(val2
);
34941 if (arg1
) (arg1
)->w
= arg2
;
34943 resultobj
= SWIG_Py_Void();
34950 SWIGINTERN PyObject
*_wrap_VideoMode_w_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34951 PyObject
*resultobj
= 0;
34952 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34956 PyObject
*swig_obj
[1] ;
34958 if (!args
) SWIG_fail
;
34959 swig_obj
[0] = args
;
34960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34961 if (!SWIG_IsOK(res1
)) {
34962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34964 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34965 result
= (int) ((arg1
)->w
);
34966 resultobj
= SWIG_From_int(static_cast< int >(result
));
34973 SWIGINTERN PyObject
*_wrap_VideoMode_h_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34974 PyObject
*resultobj
= 0;
34975 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34981 PyObject
*swig_obj
[2] ;
34983 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_h_set",2,2,swig_obj
)) SWIG_fail
;
34984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34985 if (!SWIG_IsOK(res1
)) {
34986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34988 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34989 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34990 if (!SWIG_IsOK(ecode2
)) {
34991 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_h_set" "', expected argument " "2"" of type '" "int""'");
34993 arg2
= static_cast< int >(val2
);
34994 if (arg1
) (arg1
)->h
= arg2
;
34996 resultobj
= SWIG_Py_Void();
35003 SWIGINTERN PyObject
*_wrap_VideoMode_h_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35004 PyObject
*resultobj
= 0;
35005 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35009 PyObject
*swig_obj
[1] ;
35011 if (!args
) SWIG_fail
;
35012 swig_obj
[0] = args
;
35013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35014 if (!SWIG_IsOK(res1
)) {
35015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35017 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35018 result
= (int) ((arg1
)->h
);
35019 resultobj
= SWIG_From_int(static_cast< int >(result
));
35026 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35027 PyObject
*resultobj
= 0;
35028 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35034 PyObject
*swig_obj
[2] ;
35036 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_bpp_set",2,2,swig_obj
)) SWIG_fail
;
35037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35038 if (!SWIG_IsOK(res1
)) {
35039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35041 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35042 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
35043 if (!SWIG_IsOK(ecode2
)) {
35044 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_bpp_set" "', expected argument " "2"" of type '" "int""'");
35046 arg2
= static_cast< int >(val2
);
35047 if (arg1
) (arg1
)->bpp
= arg2
;
35049 resultobj
= SWIG_Py_Void();
35056 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35057 PyObject
*resultobj
= 0;
35058 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35062 PyObject
*swig_obj
[1] ;
35064 if (!args
) SWIG_fail
;
35065 swig_obj
[0] = args
;
35066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35067 if (!SWIG_IsOK(res1
)) {
35068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35070 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35071 result
= (int) ((arg1
)->bpp
);
35072 resultobj
= SWIG_From_int(static_cast< int >(result
));
35079 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35080 PyObject
*resultobj
= 0;
35081 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35087 PyObject
*swig_obj
[2] ;
35089 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_refresh_set",2,2,swig_obj
)) SWIG_fail
;
35090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35091 if (!SWIG_IsOK(res1
)) {
35092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35094 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35095 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
35096 if (!SWIG_IsOK(ecode2
)) {
35097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_refresh_set" "', expected argument " "2"" of type '" "int""'");
35099 arg2
= static_cast< int >(val2
);
35100 if (arg1
) (arg1
)->refresh
= arg2
;
35102 resultobj
= SWIG_Py_Void();
35109 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35110 PyObject
*resultobj
= 0;
35111 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35115 PyObject
*swig_obj
[1] ;
35117 if (!args
) SWIG_fail
;
35118 swig_obj
[0] = args
;
35119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35120 if (!SWIG_IsOK(res1
)) {
35121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35123 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35124 result
= (int) ((arg1
)->refresh
);
35125 resultobj
= SWIG_From_int(static_cast< int >(result
));
35132 SWIGINTERN PyObject
*VideoMode_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35134 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35135 SWIG_TypeNewClientData(SWIGTYPE_p_wxVideoMode
, SWIG_NewClientData(obj
));
35136 return SWIG_Py_Void();
35139 SWIGINTERN PyObject
*VideoMode_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35140 return SWIG_Python_InitShadowInstance(args
);
35143 SWIGINTERN
int DefaultVideoMode_set(PyObject
*) {
35144 SWIG_Error(SWIG_AttributeError
,"Variable DefaultVideoMode is read-only.");
35149 SWIGINTERN PyObject
*DefaultVideoMode_get(void) {
35150 PyObject
*pyobj
= 0;
35152 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0 );
35157 SWIGINTERN PyObject
*_wrap_new_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35158 PyObject
*resultobj
= 0;
35159 size_t arg1
= (size_t) 0 ;
35160 wxDisplay
*result
= 0 ;
35163 PyObject
* obj0
= 0 ;
35164 char * kwnames
[] = {
35165 (char *) "index", NULL
35168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) SWIG_fail
;
35170 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
35171 if (!SWIG_IsOK(ecode1
)) {
35172 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Display" "', expected argument " "1"" of type '" "size_t""'");
35174 arg1
= static_cast< size_t >(val1
);
35177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35178 result
= (wxDisplay
*)new wxDisplay(arg1
);
35179 wxPyEndAllowThreads(__tstate
);
35180 if (PyErr_Occurred()) SWIG_fail
;
35182 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDisplay
, SWIG_POINTER_NEW
| 0 );
35189 SWIGINTERN PyObject
*_wrap_delete_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35190 PyObject
*resultobj
= 0;
35191 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35194 PyObject
*swig_obj
[1] ;
35196 if (!args
) SWIG_fail
;
35197 swig_obj
[0] = args
;
35198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, SWIG_POINTER_DISOWN
| 0 );
35199 if (!SWIG_IsOK(res1
)) {
35200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Display" "', expected argument " "1"" of type '" "wxDisplay *""'");
35202 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35207 wxPyEndAllowThreads(__tstate
);
35208 if (PyErr_Occurred()) SWIG_fail
;
35210 resultobj
= SWIG_Py_Void();
35217 SWIGINTERN PyObject
*_wrap_Display_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35218 PyObject
*resultobj
= 0;
35221 if (!SWIG_Python_UnpackTuple(args
,"Display_GetCount",0,0,0)) SWIG_fail
;
35223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35224 result
= (size_t)wxDisplay::GetCount();
35225 wxPyEndAllowThreads(__tstate
);
35226 if (PyErr_Occurred()) SWIG_fail
;
35228 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35235 SWIGINTERN PyObject
*_wrap_Display_GetFromPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35236 PyObject
*resultobj
= 0;
35237 wxPoint
*arg1
= 0 ;
35240 PyObject
* obj0
= 0 ;
35241 char * kwnames
[] = {
35242 (char *) "pt", NULL
35245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) SWIG_fail
;
35248 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
35251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35252 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
35253 wxPyEndAllowThreads(__tstate
);
35254 if (PyErr_Occurred()) SWIG_fail
;
35256 resultobj
= SWIG_From_int(static_cast< int >(result
));
35263 SWIGINTERN PyObject
*_wrap_Display_GetFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35264 PyObject
*resultobj
= 0;
35265 wxWindow
*arg1
= (wxWindow
*) 0 ;
35269 PyObject
* obj0
= 0 ;
35270 char * kwnames
[] = {
35271 (char *) "window", NULL
35274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) SWIG_fail
;
35275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35276 if (!SWIG_IsOK(res1
)) {
35277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetFromWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
35279 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35282 result
= (int)wxDisplay::GetFromWindow(arg1
);
35283 wxPyEndAllowThreads(__tstate
);
35284 if (PyErr_Occurred()) SWIG_fail
;
35286 resultobj
= SWIG_From_int(static_cast< int >(result
));
35293 SWIGINTERN PyObject
*_wrap_Display_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35294 PyObject
*resultobj
= 0;
35295 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35299 PyObject
*swig_obj
[1] ;
35301 if (!args
) SWIG_fail
;
35302 swig_obj
[0] = args
;
35303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35304 if (!SWIG_IsOK(res1
)) {
35305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsOk" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35307 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35310 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
35311 wxPyEndAllowThreads(__tstate
);
35312 if (PyErr_Occurred()) SWIG_fail
;
35315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35323 SWIGINTERN PyObject
*_wrap_Display_GetGeometry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35324 PyObject
*resultobj
= 0;
35325 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35329 PyObject
*swig_obj
[1] ;
35331 if (!args
) SWIG_fail
;
35332 swig_obj
[0] = args
;
35333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35334 if (!SWIG_IsOK(res1
)) {
35335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetGeometry" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35337 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35340 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
35341 wxPyEndAllowThreads(__tstate
);
35342 if (PyErr_Occurred()) SWIG_fail
;
35344 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35351 SWIGINTERN PyObject
*_wrap_Display_GetClientArea(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35352 PyObject
*resultobj
= 0;
35353 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35357 PyObject
*swig_obj
[1] ;
35359 if (!args
) SWIG_fail
;
35360 swig_obj
[0] = args
;
35361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35362 if (!SWIG_IsOK(res1
)) {
35363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetClientArea" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35365 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35368 result
= ((wxDisplay
const *)arg1
)->GetClientArea();
35369 wxPyEndAllowThreads(__tstate
);
35370 if (PyErr_Occurred()) SWIG_fail
;
35372 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35379 SWIGINTERN PyObject
*_wrap_Display_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35380 PyObject
*resultobj
= 0;
35381 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35385 PyObject
*swig_obj
[1] ;
35387 if (!args
) SWIG_fail
;
35388 swig_obj
[0] = args
;
35389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35390 if (!SWIG_IsOK(res1
)) {
35391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetName" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35393 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35396 result
= ((wxDisplay
const *)arg1
)->GetName();
35397 wxPyEndAllowThreads(__tstate
);
35398 if (PyErr_Occurred()) SWIG_fail
;
35402 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35404 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35413 SWIGINTERN PyObject
*_wrap_Display_IsPrimary(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35414 PyObject
*resultobj
= 0;
35415 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35419 PyObject
*swig_obj
[1] ;
35421 if (!args
) SWIG_fail
;
35422 swig_obj
[0] = args
;
35423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35424 if (!SWIG_IsOK(res1
)) {
35425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsPrimary" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35427 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35430 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
35431 wxPyEndAllowThreads(__tstate
);
35432 if (PyErr_Occurred()) SWIG_fail
;
35435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35443 SWIGINTERN PyObject
*_wrap_Display_GetModes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35444 PyObject
*resultobj
= 0;
35445 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35446 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
35447 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
35448 PyObject
*result
= 0 ;
35453 PyObject
* obj0
= 0 ;
35454 PyObject
* obj1
= 0 ;
35455 char * kwnames
[] = {
35456 (char *) "self",(char *) "mode", NULL
35459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35461 if (!SWIG_IsOK(res1
)) {
35462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetModes" "', expected argument " "1"" of type '" "wxDisplay *""'");
35464 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35466 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
35467 if (!SWIG_IsOK(res2
)) {
35468 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35471 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35473 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
35476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35477 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
35478 wxPyEndAllowThreads(__tstate
);
35479 if (PyErr_Occurred()) SWIG_fail
;
35481 resultobj
= result
;
35488 SWIGINTERN PyObject
*_wrap_Display_GetCurrentMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35489 PyObject
*resultobj
= 0;
35490 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35491 wxVideoMode result
;
35494 PyObject
*swig_obj
[1] ;
35496 if (!args
) SWIG_fail
;
35497 swig_obj
[0] = args
;
35498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35499 if (!SWIG_IsOK(res1
)) {
35500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetCurrentMode" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35502 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35505 result
= wxDisplay_GetCurrentMode((wxDisplay
const *)arg1
);
35506 wxPyEndAllowThreads(__tstate
);
35507 if (PyErr_Occurred()) SWIG_fail
;
35509 resultobj
= SWIG_NewPointerObj((new wxVideoMode(static_cast< const wxVideoMode
& >(result
))), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_OWN
| 0 );
35516 SWIGINTERN PyObject
*_wrap_Display_ChangeMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35517 PyObject
*resultobj
= 0;
35518 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35519 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
35520 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
35526 PyObject
* obj0
= 0 ;
35527 PyObject
* obj1
= 0 ;
35528 char * kwnames
[] = {
35529 (char *) "self",(char *) "mode", NULL
35532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35534 if (!SWIG_IsOK(res1
)) {
35535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ChangeMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
35537 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35539 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
35540 if (!SWIG_IsOK(res2
)) {
35541 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35544 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35546 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
35549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35550 result
= (bool)wxDisplay_ChangeMode(arg1
,(wxVideoMode
const &)*arg2
);
35551 wxPyEndAllowThreads(__tstate
);
35552 if (PyErr_Occurred()) SWIG_fail
;
35555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35563 SWIGINTERN PyObject
*_wrap_Display_ResetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35564 PyObject
*resultobj
= 0;
35565 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35568 PyObject
*swig_obj
[1] ;
35570 if (!args
) SWIG_fail
;
35571 swig_obj
[0] = args
;
35572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35573 if (!SWIG_IsOK(res1
)) {
35574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ResetMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
35576 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35579 wxDisplay_ResetMode(arg1
);
35580 wxPyEndAllowThreads(__tstate
);
35581 if (PyErr_Occurred()) SWIG_fail
;
35583 resultobj
= SWIG_Py_Void();
35590 SWIGINTERN PyObject
*Display_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35592 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35593 SWIG_TypeNewClientData(SWIGTYPE_p_wxDisplay
, SWIG_NewClientData(obj
));
35594 return SWIG_Py_Void();
35597 SWIGINTERN PyObject
*Display_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35598 return SWIG_Python_InitShadowInstance(args
);
35601 SWIGINTERN PyObject
*_wrap_StandardPaths_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35602 PyObject
*resultobj
= 0;
35603 wxStandardPaths
*result
= 0 ;
35605 if (!SWIG_Python_UnpackTuple(args
,"StandardPaths_Get",0,0,0)) SWIG_fail
;
35607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35608 result
= (wxStandardPaths
*)wxStandardPaths_Get();
35609 wxPyEndAllowThreads(__tstate
);
35610 if (PyErr_Occurred()) SWIG_fail
;
35612 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35619 SWIGINTERN PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35620 PyObject
*resultobj
= 0;
35621 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35625 PyObject
*swig_obj
[1] ;
35627 if (!args
) SWIG_fail
;
35628 swig_obj
[0] = args
;
35629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35630 if (!SWIG_IsOK(res1
)) {
35631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35633 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35636 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
35637 wxPyEndAllowThreads(__tstate
);
35638 if (PyErr_Occurred()) SWIG_fail
;
35642 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35644 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35653 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35654 PyObject
*resultobj
= 0;
35655 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35659 PyObject
*swig_obj
[1] ;
35661 if (!args
) SWIG_fail
;
35662 swig_obj
[0] = args
;
35663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35664 if (!SWIG_IsOK(res1
)) {
35665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35667 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35670 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
35671 wxPyEndAllowThreads(__tstate
);
35672 if (PyErr_Occurred()) SWIG_fail
;
35676 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35678 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35687 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35688 PyObject
*resultobj
= 0;
35689 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35693 PyObject
*swig_obj
[1] ;
35695 if (!args
) SWIG_fail
;
35696 swig_obj
[0] = args
;
35697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35698 if (!SWIG_IsOK(res1
)) {
35699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35701 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35704 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
35705 wxPyEndAllowThreads(__tstate
);
35706 if (PyErr_Occurred()) SWIG_fail
;
35710 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35712 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35721 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35722 PyObject
*resultobj
= 0;
35723 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35727 PyObject
*swig_obj
[1] ;
35729 if (!args
) SWIG_fail
;
35730 swig_obj
[0] = args
;
35731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35732 if (!SWIG_IsOK(res1
)) {
35733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35735 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35738 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
35739 wxPyEndAllowThreads(__tstate
);
35740 if (PyErr_Occurred()) SWIG_fail
;
35744 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35746 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35755 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35756 PyObject
*resultobj
= 0;
35757 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35761 PyObject
*swig_obj
[1] ;
35763 if (!args
) SWIG_fail
;
35764 swig_obj
[0] = args
;
35765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35766 if (!SWIG_IsOK(res1
)) {
35767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35769 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35772 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
35773 wxPyEndAllowThreads(__tstate
);
35774 if (PyErr_Occurred()) SWIG_fail
;
35778 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35780 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35789 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35790 PyObject
*resultobj
= 0;
35791 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35795 PyObject
*swig_obj
[1] ;
35797 if (!args
) SWIG_fail
;
35798 swig_obj
[0] = args
;
35799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35800 if (!SWIG_IsOK(res1
)) {
35801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35803 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35806 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
35807 wxPyEndAllowThreads(__tstate
);
35808 if (PyErr_Occurred()) SWIG_fail
;
35812 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35814 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35823 SWIGINTERN PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35824 PyObject
*resultobj
= 0;
35825 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35829 PyObject
*swig_obj
[1] ;
35831 if (!args
) SWIG_fail
;
35832 swig_obj
[0] = args
;
35833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35834 if (!SWIG_IsOK(res1
)) {
35835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetPluginsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35837 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35840 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
35841 wxPyEndAllowThreads(__tstate
);
35842 if (PyErr_Occurred()) SWIG_fail
;
35846 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35848 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35857 SWIGINTERN PyObject
*_wrap_StandardPaths_GetResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35858 PyObject
*resultobj
= 0;
35859 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35863 PyObject
*swig_obj
[1] ;
35865 if (!args
) SWIG_fail
;
35866 swig_obj
[0] = args
;
35867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35868 if (!SWIG_IsOK(res1
)) {
35869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35871 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35874 result
= ((wxStandardPaths
const *)arg1
)->GetResourcesDir();
35875 wxPyEndAllowThreads(__tstate
);
35876 if (PyErr_Occurred()) SWIG_fail
;
35880 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35882 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35891 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalizedResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35892 PyObject
*resultobj
= 0;
35893 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35894 wxString
*arg2
= 0 ;
35895 wxStandardPaths::ResourceCat arg3
= (wxStandardPaths::ResourceCat
) wxStandardPaths::ResourceCat_None
;
35899 bool temp2
= false ;
35902 PyObject
* obj0
= 0 ;
35903 PyObject
* obj1
= 0 ;
35904 PyObject
* obj2
= 0 ;
35905 char * kwnames
[] = {
35906 (char *) "self",(char *) "lang",(char *) "category", NULL
35909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StandardPaths_GetLocalizedResourcesDir",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35911 if (!SWIG_IsOK(res1
)) {
35912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35914 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35916 arg2
= wxString_in_helper(obj1
);
35917 if (arg2
== NULL
) SWIG_fail
;
35921 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35922 if (!SWIG_IsOK(ecode3
)) {
35923 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "3"" of type '" "wxStandardPaths::ResourceCat""'");
35925 arg3
= static_cast< wxStandardPaths::ResourceCat
>(val3
);
35928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35929 result
= ((wxStandardPaths
const *)arg1
)->GetLocalizedResourcesDir((wxString
const &)*arg2
,arg3
);
35930 wxPyEndAllowThreads(__tstate
);
35931 if (PyErr_Occurred()) SWIG_fail
;
35935 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35937 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35954 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDocumentsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35955 PyObject
*resultobj
= 0;
35956 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35960 PyObject
*swig_obj
[1] ;
35962 if (!args
) SWIG_fail
;
35963 swig_obj
[0] = args
;
35964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35965 if (!SWIG_IsOK(res1
)) {
35966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDocumentsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35968 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35971 result
= ((wxStandardPaths
const *)arg1
)->GetDocumentsDir();
35972 wxPyEndAllowThreads(__tstate
);
35973 if (PyErr_Occurred()) SWIG_fail
;
35977 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35979 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35988 SWIGINTERN PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35989 PyObject
*resultobj
= 0;
35990 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35991 wxString
*arg2
= 0 ;
35994 bool temp2
= false ;
35995 PyObject
* obj0
= 0 ;
35996 PyObject
* obj1
= 0 ;
35997 char * kwnames
[] = {
35998 (char *) "self",(char *) "prefix", NULL
36001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36003 if (!SWIG_IsOK(res1
)) {
36004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_SetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths *""'");
36006 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36008 arg2
= wxString_in_helper(obj1
);
36009 if (arg2
== NULL
) SWIG_fail
;
36013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36014 (arg1
)->SetInstallPrefix((wxString
const &)*arg2
);
36015 wxPyEndAllowThreads(__tstate
);
36016 if (PyErr_Occurred()) SWIG_fail
;
36018 resultobj
= SWIG_Py_Void();
36033 SWIGINTERN PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36034 PyObject
*resultobj
= 0;
36035 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36039 PyObject
*swig_obj
[1] ;
36041 if (!args
) SWIG_fail
;
36042 swig_obj
[0] = args
;
36043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36044 if (!SWIG_IsOK(res1
)) {
36045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36047 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36050 result
= ((wxStandardPaths
const *)arg1
)->GetInstallPrefix();
36051 wxPyEndAllowThreads(__tstate
);
36052 if (PyErr_Occurred()) SWIG_fail
;
36056 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36058 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36067 SWIGINTERN PyObject
*StandardPaths_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36069 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36070 SWIG_TypeNewClientData(SWIGTYPE_p_wxStandardPaths
, SWIG_NewClientData(obj
));
36071 return SWIG_Py_Void();
36074 SWIGINTERN PyObject
*_wrap_new_PowerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36075 PyObject
*resultobj
= 0;
36077 wxPowerEvent
*result
= 0 ;
36080 PyObject
* obj0
= 0 ;
36081 char * kwnames
[] = {
36082 (char *) "evtType", NULL
36085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PowerEvent",kwnames
,&obj0
)) SWIG_fail
;
36086 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
36087 if (!SWIG_IsOK(ecode1
)) {
36088 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PowerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
36090 arg1
= static_cast< wxEventType
>(val1
);
36092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36093 result
= (wxPowerEvent
*)new wxPowerEvent(arg1
);
36094 wxPyEndAllowThreads(__tstate
);
36095 if (PyErr_Occurred()) SWIG_fail
;
36097 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPowerEvent
, SWIG_POINTER_NEW
| 0 );
36104 SWIGINTERN PyObject
*_wrap_PowerEvent_Veto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36105 PyObject
*resultobj
= 0;
36106 wxPowerEvent
*arg1
= (wxPowerEvent
*) 0 ;
36109 PyObject
*swig_obj
[1] ;
36111 if (!args
) SWIG_fail
;
36112 swig_obj
[0] = args
;
36113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPowerEvent
, 0 | 0 );
36114 if (!SWIG_IsOK(res1
)) {
36115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PowerEvent_Veto" "', expected argument " "1"" of type '" "wxPowerEvent *""'");
36117 arg1
= reinterpret_cast< wxPowerEvent
* >(argp1
);
36119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36121 wxPyEndAllowThreads(__tstate
);
36122 if (PyErr_Occurred()) SWIG_fail
;
36124 resultobj
= SWIG_Py_Void();
36131 SWIGINTERN PyObject
*_wrap_PowerEvent_IsVetoed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36132 PyObject
*resultobj
= 0;
36133 wxPowerEvent
*arg1
= (wxPowerEvent
*) 0 ;
36137 PyObject
*swig_obj
[1] ;
36139 if (!args
) SWIG_fail
;
36140 swig_obj
[0] = args
;
36141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPowerEvent
, 0 | 0 );
36142 if (!SWIG_IsOK(res1
)) {
36143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PowerEvent_IsVetoed" "', expected argument " "1"" of type '" "wxPowerEvent const *""'");
36145 arg1
= reinterpret_cast< wxPowerEvent
* >(argp1
);
36147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36148 result
= (bool)((wxPowerEvent
const *)arg1
)->IsVetoed();
36149 wxPyEndAllowThreads(__tstate
);
36150 if (PyErr_Occurred()) SWIG_fail
;
36153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36161 SWIGINTERN PyObject
*PowerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36163 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36164 SWIG_TypeNewClientData(SWIGTYPE_p_wxPowerEvent
, SWIG_NewClientData(obj
));
36165 return SWIG_Py_Void();
36168 SWIGINTERN PyObject
*PowerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36169 return SWIG_Python_InitShadowInstance(args
);
36172 SWIGINTERN PyObject
*_wrap_GetPowerType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36173 PyObject
*resultobj
= 0;
36174 wxPowerType result
;
36176 if (!SWIG_Python_UnpackTuple(args
,"GetPowerType",0,0,0)) SWIG_fail
;
36178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36179 result
= (wxPowerType
)wxGetPowerType();
36180 wxPyEndAllowThreads(__tstate
);
36181 if (PyErr_Occurred()) SWIG_fail
;
36183 resultobj
= SWIG_From_int(static_cast< int >(result
));
36190 SWIGINTERN PyObject
*_wrap_GetBatteryState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36191 PyObject
*resultobj
= 0;
36192 wxBatteryState result
;
36194 if (!SWIG_Python_UnpackTuple(args
,"GetBatteryState",0,0,0)) SWIG_fail
;
36196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36197 result
= (wxBatteryState
)wxGetBatteryState();
36198 wxPyEndAllowThreads(__tstate
);
36199 if (PyErr_Occurred()) SWIG_fail
;
36201 resultobj
= SWIG_From_int(static_cast< int >(result
));
36208 static PyMethodDef SwigMethods
[] = {
36209 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36210 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36211 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36212 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36213 { (char *)"SystemSettings_GetScreenType", (PyCFunction
)_wrap_SystemSettings_GetScreenType
, METH_NOARGS
, NULL
},
36214 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36215 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
36216 { (char *)"new_SystemOptions", (PyCFunction
)_wrap_new_SystemOptions
, METH_NOARGS
, NULL
},
36217 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36218 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36219 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36220 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36221 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36222 { (char *)"SystemOptions_IsFalse", (PyCFunction
) _wrap_SystemOptions_IsFalse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36223 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
36224 { (char *)"SystemOptions_swiginit", SystemOptions_swiginit
, METH_VARARGS
, NULL
},
36225 { (char *)"NewId", (PyCFunction
)_wrap_NewId
, METH_NOARGS
, NULL
},
36226 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36227 { (char *)"GetCurrentId", (PyCFunction
)_wrap_GetCurrentId
, METH_NOARGS
, NULL
},
36228 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36229 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36230 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36231 { (char *)"Bell", (PyCFunction
)_wrap_Bell
, METH_NOARGS
, NULL
},
36232 { (char *)"EndBusyCursor", (PyCFunction
)_wrap_EndBusyCursor
, METH_NOARGS
, NULL
},
36233 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36234 { (char *)"IsBusy", (PyCFunction
)_wrap_IsBusy
, METH_NOARGS
, NULL
},
36235 { (char *)"Now", (PyCFunction
)_wrap_Now
, METH_NOARGS
, NULL
},
36236 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36237 { (char *)"StartTimer", (PyCFunction
)_wrap_StartTimer
, METH_NOARGS
, NULL
},
36238 { (char *)"GetOsVersion", (PyCFunction
)_wrap_GetOsVersion
, METH_NOARGS
, NULL
},
36239 { (char *)"GetOsDescription", (PyCFunction
)_wrap_GetOsDescription
, METH_NOARGS
, NULL
},
36240 { (char *)"GetFreeMemory", (PyCFunction
)_wrap_GetFreeMemory
, METH_NOARGS
, NULL
},
36241 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36242 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36243 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36244 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36245 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36246 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36247 { (char *)"GetEmailAddress", (PyCFunction
)_wrap_GetEmailAddress
, METH_NOARGS
, NULL
},
36248 { (char *)"GetHostName", (PyCFunction
)_wrap_GetHostName
, METH_NOARGS
, NULL
},
36249 { (char *)"GetFullHostName", (PyCFunction
)_wrap_GetFullHostName
, METH_NOARGS
, NULL
},
36250 { (char *)"GetUserId", (PyCFunction
)_wrap_GetUserId
, METH_NOARGS
, NULL
},
36251 { (char *)"GetUserName", (PyCFunction
)_wrap_GetUserName
, METH_NOARGS
, NULL
},
36252 { (char *)"GetHomeDir", (PyCFunction
)_wrap_GetHomeDir
, METH_NOARGS
, NULL
},
36253 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36254 { (char *)"GetProcessId", (PyCFunction
)_wrap_GetProcessId
, METH_NOARGS
, NULL
},
36255 { (char *)"Trap", (PyCFunction
)_wrap_Trap
, METH_NOARGS
, NULL
},
36256 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36257 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36258 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36259 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36260 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36261 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36262 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36263 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36264 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36265 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36266 { (char *)"ColourDisplay", (PyCFunction
)_wrap_ColourDisplay
, METH_NOARGS
, NULL
},
36267 { (char *)"DisplayDepth", (PyCFunction
)_wrap_DisplayDepth
, METH_NOARGS
, NULL
},
36268 { (char *)"GetDisplayDepth", (PyCFunction
)_wrap_GetDisplayDepth
, METH_NOARGS
, NULL
},
36269 { (char *)"DisplaySize", (PyCFunction
)_wrap_DisplaySize
, METH_NOARGS
, NULL
},
36270 { (char *)"GetDisplaySize", (PyCFunction
)_wrap_GetDisplaySize
, METH_NOARGS
, NULL
},
36271 { (char *)"DisplaySizeMM", (PyCFunction
)_wrap_DisplaySizeMM
, METH_NOARGS
, NULL
},
36272 { (char *)"GetDisplaySizeMM", (PyCFunction
)_wrap_GetDisplaySizeMM
, METH_NOARGS
, NULL
},
36273 { (char *)"ClientDisplayRect", (PyCFunction
)_wrap_ClientDisplayRect
, METH_NOARGS
, NULL
},
36274 { (char *)"GetClientDisplayRect", (PyCFunction
)_wrap_GetClientDisplayRect
, METH_NOARGS
, NULL
},
36275 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36276 { (char *)"GetXDisplay", (PyCFunction
)_wrap_GetXDisplay
, METH_NOARGS
, NULL
},
36277 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36278 { (char *)"GetMousePosition", (PyCFunction
)_wrap_GetMousePosition
, METH_NOARGS
, NULL
},
36279 { (char *)"FindWindowAtPointer", (PyCFunction
)_wrap_FindWindowAtPointer
, METH_NOARGS
, NULL
},
36280 { (char *)"GetActiveWindow", (PyCFunction
)_wrap_GetActiveWindow
, METH_NOARGS
, NULL
},
36281 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36282 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36283 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36284 { (char *)"LaunchDefaultBrowser", (PyCFunction
) _wrap_LaunchDefaultBrowser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36285 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36286 { (char *)"new_MouseState", (PyCFunction
)_wrap_new_MouseState
, METH_NOARGS
, NULL
},
36287 { (char *)"delete_MouseState", (PyCFunction
)_wrap_delete_MouseState
, METH_O
, NULL
},
36288 { (char *)"MouseState_GetX", (PyCFunction
)_wrap_MouseState_GetX
, METH_O
, NULL
},
36289 { (char *)"MouseState_GetY", (PyCFunction
)_wrap_MouseState_GetY
, METH_O
, NULL
},
36290 { (char *)"MouseState_LeftDown", (PyCFunction
)_wrap_MouseState_LeftDown
, METH_O
, NULL
},
36291 { (char *)"MouseState_MiddleDown", (PyCFunction
)_wrap_MouseState_MiddleDown
, METH_O
, NULL
},
36292 { (char *)"MouseState_RightDown", (PyCFunction
)_wrap_MouseState_RightDown
, METH_O
, NULL
},
36293 { (char *)"MouseState_ControlDown", (PyCFunction
)_wrap_MouseState_ControlDown
, METH_O
, NULL
},
36294 { (char *)"MouseState_ShiftDown", (PyCFunction
)_wrap_MouseState_ShiftDown
, METH_O
, NULL
},
36295 { (char *)"MouseState_AltDown", (PyCFunction
)_wrap_MouseState_AltDown
, METH_O
, NULL
},
36296 { (char *)"MouseState_MetaDown", (PyCFunction
)_wrap_MouseState_MetaDown
, METH_O
, NULL
},
36297 { (char *)"MouseState_CmdDown", (PyCFunction
)_wrap_MouseState_CmdDown
, METH_O
, NULL
},
36298 { (char *)"MouseState_SetX", (PyCFunction
) _wrap_MouseState_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36299 { (char *)"MouseState_SetY", (PyCFunction
) _wrap_MouseState_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36300 { (char *)"MouseState_SetLeftDown", (PyCFunction
) _wrap_MouseState_SetLeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36301 { (char *)"MouseState_SetMiddleDown", (PyCFunction
) _wrap_MouseState_SetMiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36302 { (char *)"MouseState_SetRightDown", (PyCFunction
) _wrap_MouseState_SetRightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36303 { (char *)"MouseState_SetControlDown", (PyCFunction
) _wrap_MouseState_SetControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36304 { (char *)"MouseState_SetShiftDown", (PyCFunction
) _wrap_MouseState_SetShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36305 { (char *)"MouseState_SetAltDown", (PyCFunction
) _wrap_MouseState_SetAltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36306 { (char *)"MouseState_SetMetaDown", (PyCFunction
) _wrap_MouseState_SetMetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36307 { (char *)"MouseState_swigregister", MouseState_swigregister
, METH_VARARGS
, NULL
},
36308 { (char *)"MouseState_swiginit", MouseState_swiginit
, METH_VARARGS
, NULL
},
36309 { (char *)"GetMouseState", (PyCFunction
)_wrap_GetMouseState
, METH_NOARGS
, NULL
},
36310 { (char *)"WakeUpMainThread", (PyCFunction
)_wrap_WakeUpMainThread
, METH_NOARGS
, NULL
},
36311 { (char *)"MutexGuiEnter", (PyCFunction
)_wrap_MutexGuiEnter
, METH_NOARGS
, NULL
},
36312 { (char *)"MutexGuiLeave", (PyCFunction
)_wrap_MutexGuiLeave
, METH_NOARGS
, NULL
},
36313 { (char *)"new_MutexGuiLocker", (PyCFunction
)_wrap_new_MutexGuiLocker
, METH_NOARGS
, NULL
},
36314 { (char *)"delete_MutexGuiLocker", (PyCFunction
)_wrap_delete_MutexGuiLocker
, METH_O
, NULL
},
36315 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
36316 { (char *)"MutexGuiLocker_swiginit", MutexGuiLocker_swiginit
, METH_VARARGS
, NULL
},
36317 { (char *)"Thread_IsMain", (PyCFunction
)_wrap_Thread_IsMain
, METH_NOARGS
, NULL
},
36318 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36319 { (char *)"delete_ToolTip", (PyCFunction
)_wrap_delete_ToolTip
, METH_O
, NULL
},
36320 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36321 { (char *)"ToolTip_GetTip", (PyCFunction
)_wrap_ToolTip_GetTip
, METH_O
, NULL
},
36322 { (char *)"ToolTip_GetWindow", (PyCFunction
)_wrap_ToolTip_GetWindow
, METH_O
, NULL
},
36323 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36324 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36325 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
36326 { (char *)"ToolTip_swiginit", ToolTip_swiginit
, METH_VARARGS
, NULL
},
36327 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36328 { (char *)"delete_Caret", (PyCFunction
)_wrap_delete_Caret
, METH_O
, NULL
},
36329 { (char *)"Caret_Destroy", (PyCFunction
)_wrap_Caret_Destroy
, METH_O
, NULL
},
36330 { (char *)"Caret_IsOk", (PyCFunction
)_wrap_Caret_IsOk
, METH_O
, NULL
},
36331 { (char *)"Caret_IsVisible", (PyCFunction
)_wrap_Caret_IsVisible
, METH_O
, NULL
},
36332 { (char *)"Caret_GetPosition", (PyCFunction
)_wrap_Caret_GetPosition
, METH_O
, NULL
},
36333 { (char *)"Caret_GetPositionTuple", (PyCFunction
)_wrap_Caret_GetPositionTuple
, METH_O
, NULL
},
36334 { (char *)"Caret_GetSize", (PyCFunction
)_wrap_Caret_GetSize
, METH_O
, NULL
},
36335 { (char *)"Caret_GetSizeTuple", (PyCFunction
)_wrap_Caret_GetSizeTuple
, METH_O
, NULL
},
36336 { (char *)"Caret_GetWindow", (PyCFunction
)_wrap_Caret_GetWindow
, METH_O
, NULL
},
36337 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36338 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36339 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36340 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36341 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36342 { (char *)"Caret_Hide", (PyCFunction
)_wrap_Caret_Hide
, METH_O
, NULL
},
36343 { (char *)"Caret_GetBlinkTime", (PyCFunction
)_wrap_Caret_GetBlinkTime
, METH_NOARGS
, NULL
},
36344 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36345 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
36346 { (char *)"Caret_swiginit", Caret_swiginit
, METH_VARARGS
, NULL
},
36347 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36348 { (char *)"delete_BusyCursor", (PyCFunction
)_wrap_delete_BusyCursor
, METH_O
, NULL
},
36349 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
36350 { (char *)"BusyCursor_swiginit", BusyCursor_swiginit
, METH_VARARGS
, NULL
},
36351 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36352 { (char *)"delete_WindowDisabler", (PyCFunction
)_wrap_delete_WindowDisabler
, METH_O
, NULL
},
36353 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
36354 { (char *)"WindowDisabler_swiginit", WindowDisabler_swiginit
, METH_VARARGS
, NULL
},
36355 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36356 { (char *)"delete_BusyInfo", (PyCFunction
)_wrap_delete_BusyInfo
, METH_O
, NULL
},
36357 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
36358 { (char *)"BusyInfo_swiginit", BusyInfo_swiginit
, METH_VARARGS
, NULL
},
36359 { (char *)"new_StopWatch", (PyCFunction
)_wrap_new_StopWatch
, METH_NOARGS
, NULL
},
36360 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36361 { (char *)"StopWatch_Pause", (PyCFunction
)_wrap_StopWatch_Pause
, METH_O
, NULL
},
36362 { (char *)"StopWatch_Resume", (PyCFunction
)_wrap_StopWatch_Resume
, METH_O
, NULL
},
36363 { (char *)"StopWatch_Time", (PyCFunction
)_wrap_StopWatch_Time
, METH_O
, NULL
},
36364 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
36365 { (char *)"StopWatch_swiginit", StopWatch_swiginit
, METH_VARARGS
, NULL
},
36366 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36367 { (char *)"delete_FileHistory", (PyCFunction
)_wrap_delete_FileHistory
, METH_O
, NULL
},
36368 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36369 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36370 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
)_wrap_FileHistory_GetMaxFiles
, METH_O
, NULL
},
36371 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36372 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36373 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36374 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36375 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
)_wrap_FileHistory_AddFilesToMenu
, METH_O
, NULL
},
36376 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36377 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36378 { (char *)"FileHistory_GetCount", (PyCFunction
)_wrap_FileHistory_GetCount
, METH_O
, NULL
},
36379 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
36380 { (char *)"FileHistory_swiginit", FileHistory_swiginit
, METH_VARARGS
, NULL
},
36381 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36382 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
)_wrap_new_PreSingleInstanceChecker
, METH_NOARGS
, NULL
},
36383 { (char *)"delete_SingleInstanceChecker", (PyCFunction
)_wrap_delete_SingleInstanceChecker
, METH_O
, NULL
},
36384 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36385 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
)_wrap_SingleInstanceChecker_IsAnotherRunning
, METH_O
, NULL
},
36386 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
36387 { (char *)"SingleInstanceChecker_swiginit", SingleInstanceChecker_swiginit
, METH_VARARGS
, NULL
},
36388 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36389 { (char *)"delete_TipProvider", (PyCFunction
)_wrap_delete_TipProvider
, METH_O
, NULL
},
36390 { (char *)"TipProvider_GetTip", (PyCFunction
)_wrap_TipProvider_GetTip
, METH_O
, NULL
},
36391 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
)_wrap_TipProvider_GetCurrentTip
, METH_O
, NULL
},
36392 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36393 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
36394 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36395 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36396 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
36397 { (char *)"PyTipProvider_swiginit", PyTipProvider_swiginit
, METH_VARARGS
, NULL
},
36398 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36399 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36400 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36401 { (char *)"delete_Timer", (PyCFunction
)_wrap_delete_Timer
, METH_O
, NULL
},
36402 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36403 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36404 { (char *)"Timer_GetOwner", (PyCFunction
)_wrap_Timer_GetOwner
, METH_O
, NULL
},
36405 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36406 { (char *)"Timer_Stop", (PyCFunction
)_wrap_Timer_Stop
, METH_O
, NULL
},
36407 { (char *)"Timer_Notify", (PyCFunction
)_wrap_Timer_Notify
, METH_O
, NULL
},
36408 { (char *)"Timer_IsRunning", (PyCFunction
)_wrap_Timer_IsRunning
, METH_O
, NULL
},
36409 { (char *)"Timer_GetInterval", (PyCFunction
)_wrap_Timer_GetInterval
, METH_O
, NULL
},
36410 { (char *)"Timer_GetId", (PyCFunction
)_wrap_Timer_GetId
, METH_O
, NULL
},
36411 { (char *)"Timer_IsOneShot", (PyCFunction
)_wrap_Timer_IsOneShot
, METH_O
, NULL
},
36412 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
36413 { (char *)"Timer_swiginit", Timer_swiginit
, METH_VARARGS
, NULL
},
36414 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36415 { (char *)"TimerEvent_GetInterval", (PyCFunction
)_wrap_TimerEvent_GetInterval
, METH_O
, NULL
},
36416 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
36417 { (char *)"TimerEvent_swiginit", TimerEvent_swiginit
, METH_VARARGS
, NULL
},
36418 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
36419 { (char *)"delete_TimerRunner", (PyCFunction
)_wrap_delete_TimerRunner
, METH_O
, NULL
},
36420 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36421 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
36422 { (char *)"TimerRunner_swiginit", TimerRunner_swiginit
, METH_VARARGS
, NULL
},
36423 { (char *)"new_Log", (PyCFunction
)_wrap_new_Log
, METH_NOARGS
, NULL
},
36424 { (char *)"delete_Log", (PyCFunction
)_wrap_delete_Log
, METH_O
, NULL
},
36425 { (char *)"Log_IsEnabled", (PyCFunction
)_wrap_Log_IsEnabled
, METH_NOARGS
, NULL
},
36426 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36427 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36428 { (char *)"Log_Flush", (PyCFunction
)_wrap_Log_Flush
, METH_O
, NULL
},
36429 { (char *)"Log_FlushActive", (PyCFunction
)_wrap_Log_FlushActive
, METH_NOARGS
, NULL
},
36430 { (char *)"Log_GetActiveTarget", (PyCFunction
)_wrap_Log_GetActiveTarget
, METH_NOARGS
, NULL
},
36431 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36432 { (char *)"Log_Suspend", (PyCFunction
)_wrap_Log_Suspend
, METH_NOARGS
, NULL
},
36433 { (char *)"Log_Resume", (PyCFunction
)_wrap_Log_Resume
, METH_NOARGS
, NULL
},
36434 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36435 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36436 { (char *)"Log_DontCreateOnDemand", (PyCFunction
)_wrap_Log_DontCreateOnDemand
, METH_NOARGS
, NULL
},
36437 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36438 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36439 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36440 { (char *)"Log_ClearTraceMasks", (PyCFunction
)_wrap_Log_ClearTraceMasks
, METH_NOARGS
, NULL
},
36441 { (char *)"Log_GetTraceMasks", (PyCFunction
)_wrap_Log_GetTraceMasks
, METH_NOARGS
, NULL
},
36442 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36443 { (char *)"Log_GetVerbose", (PyCFunction
)_wrap_Log_GetVerbose
, METH_NOARGS
, NULL
},
36444 { (char *)"Log_GetTraceMask", (PyCFunction
)_wrap_Log_GetTraceMask
, METH_NOARGS
, NULL
},
36445 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36446 { (char *)"Log_GetLogLevel", (PyCFunction
)_wrap_Log_GetLogLevel
, METH_NOARGS
, NULL
},
36447 { (char *)"Log_GetTimestamp", (PyCFunction
)_wrap_Log_GetTimestamp
, METH_NOARGS
, NULL
},
36448 { (char *)"Log_TimeStamp", (PyCFunction
)_wrap_Log_TimeStamp
, METH_NOARGS
, NULL
},
36449 { (char *)"Log_Destroy", (PyCFunction
)_wrap_Log_Destroy
, METH_O
, NULL
},
36450 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
36451 { (char *)"Log_swiginit", Log_swiginit
, METH_VARARGS
, NULL
},
36452 { (char *)"new_LogStderr", (PyCFunction
)_wrap_new_LogStderr
, METH_NOARGS
, NULL
},
36453 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
36454 { (char *)"LogStderr_swiginit", LogStderr_swiginit
, METH_VARARGS
, NULL
},
36455 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36456 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
36457 { (char *)"LogTextCtrl_swiginit", LogTextCtrl_swiginit
, METH_VARARGS
, NULL
},
36458 { (char *)"new_LogGui", (PyCFunction
)_wrap_new_LogGui
, METH_NOARGS
, NULL
},
36459 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
36460 { (char *)"LogGui_swiginit", LogGui_swiginit
, METH_VARARGS
, NULL
},
36461 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36462 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36463 { (char *)"LogWindow_GetFrame", (PyCFunction
)_wrap_LogWindow_GetFrame
, METH_O
, NULL
},
36464 { (char *)"LogWindow_GetOldLog", (PyCFunction
)_wrap_LogWindow_GetOldLog
, METH_O
, NULL
},
36465 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
)_wrap_LogWindow_IsPassingMessages
, METH_O
, NULL
},
36466 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36467 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
36468 { (char *)"LogWindow_swiginit", LogWindow_swiginit
, METH_VARARGS
, NULL
},
36469 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36470 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36471 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36472 { (char *)"LogChain_IsPassingMessages", (PyCFunction
)_wrap_LogChain_IsPassingMessages
, METH_O
, NULL
},
36473 { (char *)"LogChain_GetOldLog", (PyCFunction
)_wrap_LogChain_GetOldLog
, METH_O
, NULL
},
36474 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
36475 { (char *)"LogChain_swiginit", LogChain_swiginit
, METH_VARARGS
, NULL
},
36476 { (char *)"new_LogBuffer", (PyCFunction
)_wrap_new_LogBuffer
, METH_NOARGS
, NULL
},
36477 { (char *)"LogBuffer_GetBuffer", (PyCFunction
)_wrap_LogBuffer_GetBuffer
, METH_O
, NULL
},
36478 { (char *)"LogBuffer_swigregister", LogBuffer_swigregister
, METH_VARARGS
, NULL
},
36479 { (char *)"LogBuffer_swiginit", LogBuffer_swiginit
, METH_VARARGS
, NULL
},
36480 { (char *)"SysErrorCode", (PyCFunction
)_wrap_SysErrorCode
, METH_NOARGS
, NULL
},
36481 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36482 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36483 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36484 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36485 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36486 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36487 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36488 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36489 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36490 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36491 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36492 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36493 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
36494 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36495 { (char *)"new_LogNull", (PyCFunction
)_wrap_new_LogNull
, METH_NOARGS
, NULL
},
36496 { (char *)"delete_LogNull", (PyCFunction
)_wrap_delete_LogNull
, METH_O
, NULL
},
36497 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
36498 { (char *)"LogNull_swiginit", LogNull_swiginit
, METH_VARARGS
, NULL
},
36499 { (char *)"new_PyLog", (PyCFunction
)_wrap_new_PyLog
, METH_NOARGS
, NULL
},
36500 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36501 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
36502 { (char *)"PyLog_swiginit", PyLog_swiginit
, METH_VARARGS
, NULL
},
36503 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36504 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36505 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36506 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36507 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36508 { (char *)"Process_OnTerminate", (PyCFunction
) _wrap_Process_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36509 { (char *)"Process_Redirect", (PyCFunction
)_wrap_Process_Redirect
, METH_O
, NULL
},
36510 { (char *)"Process_IsRedirected", (PyCFunction
)_wrap_Process_IsRedirected
, METH_O
, NULL
},
36511 { (char *)"Process_Detach", (PyCFunction
)_wrap_Process_Detach
, METH_O
, NULL
},
36512 { (char *)"Process_GetInputStream", (PyCFunction
)_wrap_Process_GetInputStream
, METH_O
, NULL
},
36513 { (char *)"Process_GetErrorStream", (PyCFunction
)_wrap_Process_GetErrorStream
, METH_O
, NULL
},
36514 { (char *)"Process_GetOutputStream", (PyCFunction
)_wrap_Process_GetOutputStream
, METH_O
, NULL
},
36515 { (char *)"Process_CloseOutput", (PyCFunction
)_wrap_Process_CloseOutput
, METH_O
, NULL
},
36516 { (char *)"Process_IsInputOpened", (PyCFunction
)_wrap_Process_IsInputOpened
, METH_O
, NULL
},
36517 { (char *)"Process_IsInputAvailable", (PyCFunction
)_wrap_Process_IsInputAvailable
, METH_O
, NULL
},
36518 { (char *)"Process_IsErrorAvailable", (PyCFunction
)_wrap_Process_IsErrorAvailable
, METH_O
, NULL
},
36519 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
36520 { (char *)"Process_swiginit", Process_swiginit
, METH_VARARGS
, NULL
},
36521 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36522 { (char *)"ProcessEvent_GetPid", (PyCFunction
)_wrap_ProcessEvent_GetPid
, METH_O
, NULL
},
36523 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
)_wrap_ProcessEvent_GetExitCode
, METH_O
, NULL
},
36524 { (char *)"ProcessEvent_m_pid_set", _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
, NULL
},
36525 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
)_wrap_ProcessEvent_m_pid_get
, METH_O
, NULL
},
36526 { (char *)"ProcessEvent_m_exitcode_set", _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
, NULL
},
36527 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
)_wrap_ProcessEvent_m_exitcode_get
, METH_O
, NULL
},
36528 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
36529 { (char *)"ProcessEvent_swiginit", ProcessEvent_swiginit
, METH_VARARGS
, NULL
},
36530 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36531 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36532 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36533 { (char *)"delete_Joystick", (PyCFunction
)_wrap_delete_Joystick
, METH_O
, NULL
},
36534 { (char *)"Joystick_GetPosition", (PyCFunction
)_wrap_Joystick_GetPosition
, METH_O
, NULL
},
36535 { (char *)"Joystick_GetZPosition", (PyCFunction
)_wrap_Joystick_GetZPosition
, METH_O
, NULL
},
36536 { (char *)"Joystick_GetButtonState", (PyCFunction
)_wrap_Joystick_GetButtonState
, METH_O
, NULL
},
36537 { (char *)"Joystick_GetPOVPosition", (PyCFunction
)_wrap_Joystick_GetPOVPosition
, METH_O
, NULL
},
36538 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
)_wrap_Joystick_GetPOVCTSPosition
, METH_O
, NULL
},
36539 { (char *)"Joystick_GetRudderPosition", (PyCFunction
)_wrap_Joystick_GetRudderPosition
, METH_O
, NULL
},
36540 { (char *)"Joystick_GetUPosition", (PyCFunction
)_wrap_Joystick_GetUPosition
, METH_O
, NULL
},
36541 { (char *)"Joystick_GetVPosition", (PyCFunction
)_wrap_Joystick_GetVPosition
, METH_O
, NULL
},
36542 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
)_wrap_Joystick_GetMovementThreshold
, METH_O
, NULL
},
36543 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36544 { (char *)"Joystick_IsOk", (PyCFunction
)_wrap_Joystick_IsOk
, METH_O
, NULL
},
36545 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
)_wrap_Joystick_GetNumberJoysticks
, METH_O
, NULL
},
36546 { (char *)"Joystick_GetManufacturerId", (PyCFunction
)_wrap_Joystick_GetManufacturerId
, METH_O
, NULL
},
36547 { (char *)"Joystick_GetProductId", (PyCFunction
)_wrap_Joystick_GetProductId
, METH_O
, NULL
},
36548 { (char *)"Joystick_GetProductName", (PyCFunction
)_wrap_Joystick_GetProductName
, METH_O
, NULL
},
36549 { (char *)"Joystick_GetXMin", (PyCFunction
)_wrap_Joystick_GetXMin
, METH_O
, NULL
},
36550 { (char *)"Joystick_GetYMin", (PyCFunction
)_wrap_Joystick_GetYMin
, METH_O
, NULL
},
36551 { (char *)"Joystick_GetZMin", (PyCFunction
)_wrap_Joystick_GetZMin
, METH_O
, NULL
},
36552 { (char *)"Joystick_GetXMax", (PyCFunction
)_wrap_Joystick_GetXMax
, METH_O
, NULL
},
36553 { (char *)"Joystick_GetYMax", (PyCFunction
)_wrap_Joystick_GetYMax
, METH_O
, NULL
},
36554 { (char *)"Joystick_GetZMax", (PyCFunction
)_wrap_Joystick_GetZMax
, METH_O
, NULL
},
36555 { (char *)"Joystick_GetNumberButtons", (PyCFunction
)_wrap_Joystick_GetNumberButtons
, METH_O
, NULL
},
36556 { (char *)"Joystick_GetNumberAxes", (PyCFunction
)_wrap_Joystick_GetNumberAxes
, METH_O
, NULL
},
36557 { (char *)"Joystick_GetMaxButtons", (PyCFunction
)_wrap_Joystick_GetMaxButtons
, METH_O
, NULL
},
36558 { (char *)"Joystick_GetMaxAxes", (PyCFunction
)_wrap_Joystick_GetMaxAxes
, METH_O
, NULL
},
36559 { (char *)"Joystick_GetPollingMin", (PyCFunction
)_wrap_Joystick_GetPollingMin
, METH_O
, NULL
},
36560 { (char *)"Joystick_GetPollingMax", (PyCFunction
)_wrap_Joystick_GetPollingMax
, METH_O
, NULL
},
36561 { (char *)"Joystick_GetRudderMin", (PyCFunction
)_wrap_Joystick_GetRudderMin
, METH_O
, NULL
},
36562 { (char *)"Joystick_GetRudderMax", (PyCFunction
)_wrap_Joystick_GetRudderMax
, METH_O
, NULL
},
36563 { (char *)"Joystick_GetUMin", (PyCFunction
)_wrap_Joystick_GetUMin
, METH_O
, NULL
},
36564 { (char *)"Joystick_GetUMax", (PyCFunction
)_wrap_Joystick_GetUMax
, METH_O
, NULL
},
36565 { (char *)"Joystick_GetVMin", (PyCFunction
)_wrap_Joystick_GetVMin
, METH_O
, NULL
},
36566 { (char *)"Joystick_GetVMax", (PyCFunction
)_wrap_Joystick_GetVMax
, METH_O
, NULL
},
36567 { (char *)"Joystick_HasRudder", (PyCFunction
)_wrap_Joystick_HasRudder
, METH_O
, NULL
},
36568 { (char *)"Joystick_HasZ", (PyCFunction
)_wrap_Joystick_HasZ
, METH_O
, NULL
},
36569 { (char *)"Joystick_HasU", (PyCFunction
)_wrap_Joystick_HasU
, METH_O
, NULL
},
36570 { (char *)"Joystick_HasV", (PyCFunction
)_wrap_Joystick_HasV
, METH_O
, NULL
},
36571 { (char *)"Joystick_HasPOV", (PyCFunction
)_wrap_Joystick_HasPOV
, METH_O
, NULL
},
36572 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
)_wrap_Joystick_HasPOV4Dir
, METH_O
, NULL
},
36573 { (char *)"Joystick_HasPOVCTS", (PyCFunction
)_wrap_Joystick_HasPOVCTS
, METH_O
, NULL
},
36574 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36575 { (char *)"Joystick_ReleaseCapture", (PyCFunction
)_wrap_Joystick_ReleaseCapture
, METH_O
, NULL
},
36576 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
36577 { (char *)"Joystick_swiginit", Joystick_swiginit
, METH_VARARGS
, NULL
},
36578 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36579 { (char *)"JoystickEvent_GetPosition", (PyCFunction
)_wrap_JoystickEvent_GetPosition
, METH_O
, NULL
},
36580 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
)_wrap_JoystickEvent_GetZPosition
, METH_O
, NULL
},
36581 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
)_wrap_JoystickEvent_GetButtonState
, METH_O
, NULL
},
36582 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
)_wrap_JoystickEvent_GetButtonChange
, METH_O
, NULL
},
36583 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
)_wrap_JoystickEvent_GetJoystick
, METH_O
, NULL
},
36584 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36585 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36586 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36587 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36588 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36589 { (char *)"JoystickEvent_IsButton", (PyCFunction
)_wrap_JoystickEvent_IsButton
, METH_O
, NULL
},
36590 { (char *)"JoystickEvent_IsMove", (PyCFunction
)_wrap_JoystickEvent_IsMove
, METH_O
, NULL
},
36591 { (char *)"JoystickEvent_IsZMove", (PyCFunction
)_wrap_JoystickEvent_IsZMove
, METH_O
, NULL
},
36592 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36593 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36594 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36595 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
36596 { (char *)"JoystickEvent_swiginit", JoystickEvent_swiginit
, METH_VARARGS
, NULL
},
36597 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36598 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36599 { (char *)"delete_Sound", (PyCFunction
)_wrap_delete_Sound
, METH_O
, NULL
},
36600 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36601 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36602 { (char *)"Sound_IsOk", (PyCFunction
)_wrap_Sound_IsOk
, METH_O
, NULL
},
36603 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36604 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36605 { (char *)"Sound_Stop", (PyCFunction
)_wrap_Sound_Stop
, METH_NOARGS
, NULL
},
36606 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
36607 { (char *)"Sound_swiginit", Sound_swiginit
, METH_VARARGS
, NULL
},
36608 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36609 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36610 { (char *)"new_NullFileTypeInfo", (PyCFunction
)_wrap_new_NullFileTypeInfo
, METH_NOARGS
, NULL
},
36611 { (char *)"FileTypeInfo_IsValid", (PyCFunction
)_wrap_FileTypeInfo_IsValid
, METH_O
, NULL
},
36612 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36613 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36614 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
)_wrap_FileTypeInfo_GetMimeType
, METH_O
, NULL
},
36615 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
)_wrap_FileTypeInfo_GetOpenCommand
, METH_O
, NULL
},
36616 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
)_wrap_FileTypeInfo_GetPrintCommand
, METH_O
, NULL
},
36617 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
)_wrap_FileTypeInfo_GetShortDesc
, METH_O
, NULL
},
36618 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
)_wrap_FileTypeInfo_GetDescription
, METH_O
, NULL
},
36619 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
)_wrap_FileTypeInfo_GetExtensions
, METH_O
, NULL
},
36620 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
)_wrap_FileTypeInfo_GetExtensionsCount
, METH_O
, NULL
},
36621 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
)_wrap_FileTypeInfo_GetIconFile
, METH_O
, NULL
},
36622 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
)_wrap_FileTypeInfo_GetIconIndex
, METH_O
, NULL
},
36623 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
36624 { (char *)"FileTypeInfo_swiginit", FileTypeInfo_swiginit
, METH_VARARGS
, NULL
},
36625 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36626 { (char *)"delete_FileType", (PyCFunction
)_wrap_delete_FileType
, METH_O
, NULL
},
36627 { (char *)"FileType_GetMimeType", (PyCFunction
)_wrap_FileType_GetMimeType
, METH_O
, NULL
},
36628 { (char *)"FileType_GetMimeTypes", (PyCFunction
)_wrap_FileType_GetMimeTypes
, METH_O
, NULL
},
36629 { (char *)"FileType_GetExtensions", (PyCFunction
)_wrap_FileType_GetExtensions
, METH_O
, NULL
},
36630 { (char *)"FileType_GetIcon", (PyCFunction
)_wrap_FileType_GetIcon
, METH_O
, NULL
},
36631 { (char *)"FileType_GetIconInfo", (PyCFunction
)_wrap_FileType_GetIconInfo
, METH_O
, NULL
},
36632 { (char *)"FileType_GetDescription", (PyCFunction
)_wrap_FileType_GetDescription
, METH_O
, NULL
},
36633 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36634 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36635 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36636 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36637 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36638 { (char *)"FileType_Unassociate", (PyCFunction
)_wrap_FileType_Unassociate
, METH_O
, NULL
},
36639 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36640 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
36641 { (char *)"FileType_swiginit", FileType_swiginit
, METH_VARARGS
, NULL
},
36642 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36643 { (char *)"new_MimeTypesManager", (PyCFunction
)_wrap_new_MimeTypesManager
, METH_NOARGS
, NULL
},
36644 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36645 { (char *)"MimeTypesManager_ClearData", (PyCFunction
)_wrap_MimeTypesManager_ClearData
, METH_O
, NULL
},
36646 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36647 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36648 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36649 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36650 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
)_wrap_MimeTypesManager_EnumAllFileTypes
, METH_O
, NULL
},
36651 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36652 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36653 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36654 { (char *)"delete_MimeTypesManager", (PyCFunction
)_wrap_delete_MimeTypesManager
, METH_O
, NULL
},
36655 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
36656 { (char *)"MimeTypesManager_swiginit", MimeTypesManager_swiginit
, METH_VARARGS
, NULL
},
36657 { (char *)"new_ArtProvider", (PyCFunction
)_wrap_new_ArtProvider
, METH_NOARGS
, NULL
},
36658 { (char *)"delete_ArtProvider", (PyCFunction
)_wrap_delete_ArtProvider
, METH_O
, NULL
},
36659 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36660 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36661 { (char *)"ArtProvider_PopProvider", (PyCFunction
)_wrap_ArtProvider_PopProvider
, METH_NOARGS
, NULL
},
36662 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36663 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36664 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36665 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36666 { (char *)"ArtProvider_Destroy", (PyCFunction
)_wrap_ArtProvider_Destroy
, METH_O
, NULL
},
36667 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
36668 { (char *)"ArtProvider_swiginit", ArtProvider_swiginit
, METH_VARARGS
, NULL
},
36669 { (char *)"delete_ConfigBase", (PyCFunction
)_wrap_delete_ConfigBase
, METH_O
, NULL
},
36670 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36671 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36672 { (char *)"ConfigBase_Create", (PyCFunction
)_wrap_ConfigBase_Create
, METH_NOARGS
, NULL
},
36673 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
)_wrap_ConfigBase_DontCreateOnDemand
, METH_NOARGS
, NULL
},
36674 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36675 { (char *)"ConfigBase_GetPath", (PyCFunction
)_wrap_ConfigBase_GetPath
, METH_O
, NULL
},
36676 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
)_wrap_ConfigBase_GetFirstGroup
, METH_O
, NULL
},
36677 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36678 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
)_wrap_ConfigBase_GetFirstEntry
, METH_O
, NULL
},
36679 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36680 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36681 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36682 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36683 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36684 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36685 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36686 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36687 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36688 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36689 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36690 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36691 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36692 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36693 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36694 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36695 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36696 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36697 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36698 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36699 { (char *)"ConfigBase_DeleteAll", (PyCFunction
)_wrap_ConfigBase_DeleteAll
, METH_O
, NULL
},
36700 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36701 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
)_wrap_ConfigBase_IsExpandingEnvVars
, METH_O
, NULL
},
36702 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36703 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
)_wrap_ConfigBase_IsRecordingDefaults
, METH_O
, NULL
},
36704 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36705 { (char *)"ConfigBase_GetAppName", (PyCFunction
)_wrap_ConfigBase_GetAppName
, METH_O
, NULL
},
36706 { (char *)"ConfigBase_GetVendorName", (PyCFunction
)_wrap_ConfigBase_GetVendorName
, METH_O
, NULL
},
36707 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36708 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36709 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36710 { (char *)"ConfigBase_GetStyle", (PyCFunction
)_wrap_ConfigBase_GetStyle
, METH_O
, NULL
},
36711 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
36712 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36713 { (char *)"delete_Config", (PyCFunction
)_wrap_delete_Config
, METH_O
, NULL
},
36714 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
36715 { (char *)"Config_swiginit", Config_swiginit
, METH_VARARGS
, NULL
},
36716 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36717 { (char *)"delete_FileConfig", (PyCFunction
)_wrap_delete_FileConfig
, METH_O
, NULL
},
36718 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
36719 { (char *)"FileConfig_swiginit", FileConfig_swiginit
, METH_VARARGS
, NULL
},
36720 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36721 { (char *)"delete_ConfigPathChanger", (PyCFunction
)_wrap_delete_ConfigPathChanger
, METH_O
, NULL
},
36722 { (char *)"ConfigPathChanger_Name", (PyCFunction
)_wrap_ConfigPathChanger_Name
, METH_O
, NULL
},
36723 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
36724 { (char *)"ConfigPathChanger_swiginit", ConfigPathChanger_swiginit
, METH_VARARGS
, NULL
},
36725 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36726 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36727 { (char *)"DateTime_GetCountry", (PyCFunction
)_wrap_DateTime_GetCountry
, METH_NOARGS
, NULL
},
36728 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36729 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36730 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36731 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36732 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36733 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36734 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36735 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36736 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36737 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36738 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
)_wrap_DateTime_GetAmPmStrings
, METH_NOARGS
, NULL
},
36739 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36740 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36741 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36742 { (char *)"DateTime_Now", (PyCFunction
)_wrap_DateTime_Now
, METH_NOARGS
, NULL
},
36743 { (char *)"DateTime_UNow", (PyCFunction
)_wrap_DateTime_UNow
, METH_NOARGS
, NULL
},
36744 { (char *)"DateTime_Today", (PyCFunction
)_wrap_DateTime_Today
, METH_NOARGS
, NULL
},
36745 { (char *)"new_DateTime", (PyCFunction
)_wrap_new_DateTime
, METH_NOARGS
, NULL
},
36746 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36747 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36748 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36749 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36750 { (char *)"new_DateTimeFromDateTime", (PyCFunction
) _wrap_new_DateTimeFromDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36751 { (char *)"delete_DateTime", (PyCFunction
)_wrap_delete_DateTime
, METH_O
, NULL
},
36752 { (char *)"DateTime_SetToCurrent", (PyCFunction
)_wrap_DateTime_SetToCurrent
, METH_O
, NULL
},
36753 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36754 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36755 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36756 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36757 { (char *)"DateTime_ResetTime", (PyCFunction
)_wrap_DateTime_ResetTime
, METH_O
, NULL
},
36758 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36759 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36760 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36761 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36762 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36763 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36764 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36765 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36766 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36767 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36768 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36769 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36770 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36771 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36772 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36773 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36774 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36775 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36776 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36777 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36778 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36779 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36780 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36781 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetJulianDayNumber
, METH_O
, NULL
},
36782 { (char *)"DateTime_GetJDN", (PyCFunction
)_wrap_DateTime_GetJDN
, METH_O
, NULL
},
36783 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetModifiedJulianDayNumber
, METH_O
, NULL
},
36784 { (char *)"DateTime_GetMJD", (PyCFunction
)_wrap_DateTime_GetMJD
, METH_O
, NULL
},
36785 { (char *)"DateTime_GetRataDie", (PyCFunction
)_wrap_DateTime_GetRataDie
, METH_O
, NULL
},
36786 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36787 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36788 { (char *)"DateTime_FromTimezone", (PyCFunction
) _wrap_DateTime_FromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36789 { (char *)"DateTime_MakeFromTimezone", (PyCFunction
) _wrap_DateTime_MakeFromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36790 { (char *)"DateTime_ToUTC", (PyCFunction
) _wrap_DateTime_ToUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36791 { (char *)"DateTime_MakeUTC", (PyCFunction
) _wrap_DateTime_MakeUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36792 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36793 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36794 { (char *)"DateTime_FromUTC", (PyCFunction
) _wrap_DateTime_FromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36795 { (char *)"DateTime_MakeFromUTC", (PyCFunction
) _wrap_DateTime_MakeFromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36796 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36797 { (char *)"DateTime_IsValid", (PyCFunction
)_wrap_DateTime_IsValid
, METH_O
, NULL
},
36798 { (char *)"DateTime_GetTicks", (PyCFunction
)_wrap_DateTime_GetTicks
, METH_O
, NULL
},
36799 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36800 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36801 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36802 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36803 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36804 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36805 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36806 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36807 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36808 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36809 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36810 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36811 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36812 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36813 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36814 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36815 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36816 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36817 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36818 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36819 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36820 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36821 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36822 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36823 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36824 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
36825 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
36826 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
36827 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
36828 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36829 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36830 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36831 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36832 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36833 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36834 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36835 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36836 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36837 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36838 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36839 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36840 { (char *)"DateTime_FormatDate", (PyCFunction
)_wrap_DateTime_FormatDate
, METH_O
, NULL
},
36841 { (char *)"DateTime_FormatTime", (PyCFunction
)_wrap_DateTime_FormatTime
, METH_O
, NULL
},
36842 { (char *)"DateTime_FormatISODate", (PyCFunction
)_wrap_DateTime_FormatISODate
, METH_O
, NULL
},
36843 { (char *)"DateTime_FormatISOTime", (PyCFunction
)_wrap_DateTime_FormatISOTime
, METH_O
, NULL
},
36844 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
36845 { (char *)"DateTime_swiginit", DateTime_swiginit
, METH_VARARGS
, NULL
},
36846 { (char *)"TimeSpan_Milliseconds", (PyCFunction
) _wrap_TimeSpan_Milliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36847 { (char *)"TimeSpan_Millisecond", (PyCFunction
)_wrap_TimeSpan_Millisecond
, METH_NOARGS
, NULL
},
36848 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36849 { (char *)"TimeSpan_Second", (PyCFunction
)_wrap_TimeSpan_Second
, METH_NOARGS
, NULL
},
36850 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36851 { (char *)"TimeSpan_Minute", (PyCFunction
)_wrap_TimeSpan_Minute
, METH_NOARGS
, NULL
},
36852 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36853 { (char *)"TimeSpan_Hour", (PyCFunction
)_wrap_TimeSpan_Hour
, METH_NOARGS
, NULL
},
36854 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36855 { (char *)"TimeSpan_Day", (PyCFunction
)_wrap_TimeSpan_Day
, METH_NOARGS
, NULL
},
36856 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36857 { (char *)"TimeSpan_Week", (PyCFunction
)_wrap_TimeSpan_Week
, METH_NOARGS
, NULL
},
36858 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36859 { (char *)"delete_TimeSpan", (PyCFunction
)_wrap_delete_TimeSpan
, METH_O
, NULL
},
36860 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36861 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36862 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36863 { (char *)"TimeSpan_Neg", (PyCFunction
)_wrap_TimeSpan_Neg
, METH_O
, NULL
},
36864 { (char *)"TimeSpan_Abs", (PyCFunction
)_wrap_TimeSpan_Abs
, METH_O
, NULL
},
36865 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36866 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36867 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36868 { (char *)"TimeSpan___neg__", (PyCFunction
)_wrap_TimeSpan___neg__
, METH_O
, NULL
},
36869 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36870 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36871 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36872 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36873 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36874 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36875 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36876 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36877 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36878 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36879 { (char *)"TimeSpan_IsNull", (PyCFunction
)_wrap_TimeSpan_IsNull
, METH_O
, NULL
},
36880 { (char *)"TimeSpan_IsPositive", (PyCFunction
)_wrap_TimeSpan_IsPositive
, METH_O
, NULL
},
36881 { (char *)"TimeSpan_IsNegative", (PyCFunction
)_wrap_TimeSpan_IsNegative
, METH_O
, NULL
},
36882 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36883 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36884 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36885 { (char *)"TimeSpan_GetWeeks", (PyCFunction
)_wrap_TimeSpan_GetWeeks
, METH_O
, NULL
},
36886 { (char *)"TimeSpan_GetDays", (PyCFunction
)_wrap_TimeSpan_GetDays
, METH_O
, NULL
},
36887 { (char *)"TimeSpan_GetHours", (PyCFunction
)_wrap_TimeSpan_GetHours
, METH_O
, NULL
},
36888 { (char *)"TimeSpan_GetMinutes", (PyCFunction
)_wrap_TimeSpan_GetMinutes
, METH_O
, NULL
},
36889 { (char *)"TimeSpan_GetSeconds", (PyCFunction
)_wrap_TimeSpan_GetSeconds
, METH_O
, NULL
},
36890 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
)_wrap_TimeSpan_GetMilliseconds
, METH_O
, NULL
},
36891 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36892 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
36893 { (char *)"TimeSpan_swiginit", TimeSpan_swiginit
, METH_VARARGS
, NULL
},
36894 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36895 { (char *)"delete_DateSpan", (PyCFunction
)_wrap_delete_DateSpan
, METH_O
, NULL
},
36896 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36897 { (char *)"DateSpan_Day", (PyCFunction
)_wrap_DateSpan_Day
, METH_NOARGS
, NULL
},
36898 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36899 { (char *)"DateSpan_Week", (PyCFunction
)_wrap_DateSpan_Week
, METH_NOARGS
, NULL
},
36900 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36901 { (char *)"DateSpan_Month", (PyCFunction
)_wrap_DateSpan_Month
, METH_NOARGS
, NULL
},
36902 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36903 { (char *)"DateSpan_Year", (PyCFunction
)_wrap_DateSpan_Year
, METH_NOARGS
, NULL
},
36904 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36905 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36906 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36907 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36908 { (char *)"DateSpan_GetYears", (PyCFunction
)_wrap_DateSpan_GetYears
, METH_O
, NULL
},
36909 { (char *)"DateSpan_GetMonths", (PyCFunction
)_wrap_DateSpan_GetMonths
, METH_O
, NULL
},
36910 { (char *)"DateSpan_GetWeeks", (PyCFunction
)_wrap_DateSpan_GetWeeks
, METH_O
, NULL
},
36911 { (char *)"DateSpan_GetDays", (PyCFunction
)_wrap_DateSpan_GetDays
, METH_O
, NULL
},
36912 { (char *)"DateSpan_GetTotalDays", (PyCFunction
)_wrap_DateSpan_GetTotalDays
, METH_O
, NULL
},
36913 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36914 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36915 { (char *)"DateSpan_Neg", (PyCFunction
)_wrap_DateSpan_Neg
, METH_O
, NULL
},
36916 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36917 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36918 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36919 { (char *)"DateSpan___neg__", (PyCFunction
)_wrap_DateSpan___neg__
, METH_O
, NULL
},
36920 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36921 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36922 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36923 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36924 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36925 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36926 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36927 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
36928 { (char *)"DateSpan_swiginit", DateSpan_swiginit
, METH_VARARGS
, NULL
},
36929 { (char *)"GetLocalTime", (PyCFunction
)_wrap_GetLocalTime
, METH_NOARGS
, NULL
},
36930 { (char *)"GetUTCTime", (PyCFunction
)_wrap_GetUTCTime
, METH_NOARGS
, NULL
},
36931 { (char *)"GetCurrentTime", (PyCFunction
)_wrap_GetCurrentTime
, METH_NOARGS
, NULL
},
36932 { (char *)"GetLocalTimeMillis", (PyCFunction
)_wrap_GetLocalTimeMillis
, METH_NOARGS
, NULL
},
36933 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36934 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36935 { (char *)"delete_DataFormat", (PyCFunction
)_wrap_delete_DataFormat
, METH_O
, NULL
},
36936 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
36937 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
36938 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36939 { (char *)"DataFormat_GetType", (PyCFunction
)_wrap_DataFormat_GetType
, METH_O
, NULL
},
36940 { (char *)"DataFormat_GetId", (PyCFunction
)_wrap_DataFormat_GetId
, METH_O
, NULL
},
36941 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36942 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
36943 { (char *)"DataFormat_swiginit", DataFormat_swiginit
, METH_VARARGS
, NULL
},
36944 { (char *)"delete_DataObject", (PyCFunction
)_wrap_delete_DataObject
, METH_O
, NULL
},
36945 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36946 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36947 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36948 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36949 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36950 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36951 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36952 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
36953 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36954 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
)_wrap_DataObjectSimple_GetFormat
, METH_O
, NULL
},
36955 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36956 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
)_wrap_DataObjectSimple_GetDataSize
, METH_O
, NULL
},
36957 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
)_wrap_DataObjectSimple_GetDataHere
, METH_O
, NULL
},
36958 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36959 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
36960 { (char *)"DataObjectSimple_swiginit", DataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
36961 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36962 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36963 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
36964 { (char *)"PyDataObjectSimple_swiginit", PyDataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
36965 { (char *)"new_DataObjectComposite", (PyCFunction
)_wrap_new_DataObjectComposite
, METH_NOARGS
, NULL
},
36966 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36967 { (char *)"DataObjectComposite_GetReceivedFormat", (PyCFunction
)_wrap_DataObjectComposite_GetReceivedFormat
, METH_O
, NULL
},
36968 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
36969 { (char *)"DataObjectComposite_swiginit", DataObjectComposite_swiginit
, METH_VARARGS
, NULL
},
36970 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36971 { (char *)"TextDataObject_GetTextLength", (PyCFunction
)_wrap_TextDataObject_GetTextLength
, METH_O
, NULL
},
36972 { (char *)"TextDataObject_GetText", (PyCFunction
)_wrap_TextDataObject_GetText
, METH_O
, NULL
},
36973 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36974 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
36975 { (char *)"TextDataObject_swiginit", TextDataObject_swiginit
, METH_VARARGS
, NULL
},
36976 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36977 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36978 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
36979 { (char *)"PyTextDataObject_swiginit", PyTextDataObject_swiginit
, METH_VARARGS
, NULL
},
36980 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36981 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
)_wrap_BitmapDataObject_GetBitmap
, METH_O
, NULL
},
36982 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36983 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
36984 { (char *)"BitmapDataObject_swiginit", BitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
36985 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36986 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36987 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
36988 { (char *)"PyBitmapDataObject_swiginit", PyBitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
36989 { (char *)"new_FileDataObject", (PyCFunction
)_wrap_new_FileDataObject
, METH_NOARGS
, NULL
},
36990 { (char *)"FileDataObject_GetFilenames", (PyCFunction
)_wrap_FileDataObject_GetFilenames
, METH_O
, NULL
},
36991 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36992 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
36993 { (char *)"FileDataObject_swiginit", FileDataObject_swiginit
, METH_VARARGS
, NULL
},
36994 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
36995 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36996 { (char *)"CustomDataObject_GetSize", (PyCFunction
)_wrap_CustomDataObject_GetSize
, METH_O
, NULL
},
36997 { (char *)"CustomDataObject_GetData", (PyCFunction
)_wrap_CustomDataObject_GetData
, METH_O
, NULL
},
36998 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
36999 { (char *)"CustomDataObject_swiginit", CustomDataObject_swiginit
, METH_VARARGS
, NULL
},
37000 { (char *)"new_URLDataObject", (PyCFunction
)_wrap_new_URLDataObject
, METH_NOARGS
, NULL
},
37001 { (char *)"URLDataObject_GetURL", (PyCFunction
)_wrap_URLDataObject_GetURL
, METH_O
, NULL
},
37002 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37003 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
37004 { (char *)"URLDataObject_swiginit", URLDataObject_swiginit
, METH_VARARGS
, NULL
},
37005 { (char *)"new_MetafileDataObject", (PyCFunction
)_wrap_new_MetafileDataObject
, METH_NOARGS
, NULL
},
37006 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
37007 { (char *)"MetafileDataObject_swiginit", MetafileDataObject_swiginit
, METH_VARARGS
, NULL
},
37008 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37009 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37010 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37011 { (char *)"delete_DropSource", (PyCFunction
)_wrap_delete_DropSource
, METH_O
, NULL
},
37012 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37013 { (char *)"DropSource_GetDataObject", (PyCFunction
)_wrap_DropSource_GetDataObject
, METH_O
, NULL
},
37014 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37015 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37016 { (char *)"DropSource_GiveFeedback", (PyCFunction
) _wrap_DropSource_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37017 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
37018 { (char *)"DropSource_swiginit", DropSource_swiginit
, METH_VARARGS
, NULL
},
37019 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37020 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37021 { (char *)"delete_DropTarget", (PyCFunction
)_wrap_delete_DropTarget
, METH_O
, NULL
},
37022 { (char *)"DropTarget_GetDataObject", (PyCFunction
)_wrap_DropTarget_GetDataObject
, METH_O
, NULL
},
37023 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37024 { (char *)"DropTarget_OnEnter", (PyCFunction
) _wrap_DropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37025 { (char *)"DropTarget_OnDragOver", (PyCFunction
) _wrap_DropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37026 { (char *)"DropTarget_OnLeave", (PyCFunction
)_wrap_DropTarget_OnLeave
, METH_O
, NULL
},
37027 { (char *)"DropTarget_OnDrop", (PyCFunction
) _wrap_DropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37028 { (char *)"DropTarget_GetData", (PyCFunction
)_wrap_DropTarget_GetData
, METH_O
, NULL
},
37029 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37030 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
)_wrap_DropTarget_GetDefaultAction
, METH_O
, NULL
},
37031 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
37032 { (char *)"DropTarget_swiginit", DropTarget_swiginit
, METH_VARARGS
, NULL
},
37033 { (char *)"new_TextDropTarget", (PyCFunction
)_wrap_new_TextDropTarget
, METH_NOARGS
, NULL
},
37034 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37035 { (char *)"TextDropTarget_OnDropText", (PyCFunction
) _wrap_TextDropTarget_OnDropText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37036 { (char *)"TextDropTarget_OnEnter", (PyCFunction
) _wrap_TextDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37037 { (char *)"TextDropTarget_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37038 { (char *)"TextDropTarget_OnLeave", (PyCFunction
)_wrap_TextDropTarget_OnLeave
, METH_O
, NULL
},
37039 { (char *)"TextDropTarget_OnDrop", (PyCFunction
) _wrap_TextDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37040 { (char *)"TextDropTarget_OnData", (PyCFunction
) _wrap_TextDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37041 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
37042 { (char *)"TextDropTarget_swiginit", TextDropTarget_swiginit
, METH_VARARGS
, NULL
},
37043 { (char *)"new_FileDropTarget", (PyCFunction
)_wrap_new_FileDropTarget
, METH_NOARGS
, NULL
},
37044 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37045 { (char *)"FileDropTarget_OnDropFiles", (PyCFunction
) _wrap_FileDropTarget_OnDropFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37046 { (char *)"FileDropTarget_OnEnter", (PyCFunction
) _wrap_FileDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37047 { (char *)"FileDropTarget_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37048 { (char *)"FileDropTarget_OnLeave", (PyCFunction
)_wrap_FileDropTarget_OnLeave
, METH_O
, NULL
},
37049 { (char *)"FileDropTarget_OnDrop", (PyCFunction
) _wrap_FileDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37050 { (char *)"FileDropTarget_OnData", (PyCFunction
) _wrap_FileDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37051 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
37052 { (char *)"FileDropTarget_swiginit", FileDropTarget_swiginit
, METH_VARARGS
, NULL
},
37053 { (char *)"new_Clipboard", (PyCFunction
)_wrap_new_Clipboard
, METH_NOARGS
, NULL
},
37054 { (char *)"delete_Clipboard", (PyCFunction
)_wrap_delete_Clipboard
, METH_O
, NULL
},
37055 { (char *)"Clipboard_Open", (PyCFunction
)_wrap_Clipboard_Open
, METH_O
, NULL
},
37056 { (char *)"Clipboard_Close", (PyCFunction
)_wrap_Clipboard_Close
, METH_O
, NULL
},
37057 { (char *)"Clipboard_IsOpened", (PyCFunction
)_wrap_Clipboard_IsOpened
, METH_O
, NULL
},
37058 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37059 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37060 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37061 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37062 { (char *)"Clipboard_Clear", (PyCFunction
)_wrap_Clipboard_Clear
, METH_O
, NULL
},
37063 { (char *)"Clipboard_Flush", (PyCFunction
)_wrap_Clipboard_Flush
, METH_O
, NULL
},
37064 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37065 { (char *)"Clipboard_Get", (PyCFunction
)_wrap_Clipboard_Get
, METH_NOARGS
, NULL
},
37066 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
37067 { (char *)"Clipboard_swiginit", Clipboard_swiginit
, METH_VARARGS
, NULL
},
37068 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37069 { (char *)"delete_ClipboardLocker", (PyCFunction
)_wrap_delete_ClipboardLocker
, METH_O
, NULL
},
37070 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
)_wrap_ClipboardLocker___nonzero__
, METH_O
, NULL
},
37071 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
37072 { (char *)"ClipboardLocker_swiginit", ClipboardLocker_swiginit
, METH_VARARGS
, NULL
},
37073 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37074 { (char *)"delete_VideoMode", (PyCFunction
)_wrap_delete_VideoMode
, METH_O
, NULL
},
37075 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37076 { (char *)"VideoMode_GetWidth", (PyCFunction
)_wrap_VideoMode_GetWidth
, METH_O
, NULL
},
37077 { (char *)"VideoMode_GetHeight", (PyCFunction
)_wrap_VideoMode_GetHeight
, METH_O
, NULL
},
37078 { (char *)"VideoMode_GetDepth", (PyCFunction
)_wrap_VideoMode_GetDepth
, METH_O
, NULL
},
37079 { (char *)"VideoMode_IsOk", (PyCFunction
)_wrap_VideoMode_IsOk
, METH_O
, NULL
},
37080 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37081 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37082 { (char *)"VideoMode_w_set", _wrap_VideoMode_w_set
, METH_VARARGS
, NULL
},
37083 { (char *)"VideoMode_w_get", (PyCFunction
)_wrap_VideoMode_w_get
, METH_O
, NULL
},
37084 { (char *)"VideoMode_h_set", _wrap_VideoMode_h_set
, METH_VARARGS
, NULL
},
37085 { (char *)"VideoMode_h_get", (PyCFunction
)_wrap_VideoMode_h_get
, METH_O
, NULL
},
37086 { (char *)"VideoMode_bpp_set", _wrap_VideoMode_bpp_set
, METH_VARARGS
, NULL
},
37087 { (char *)"VideoMode_bpp_get", (PyCFunction
)_wrap_VideoMode_bpp_get
, METH_O
, NULL
},
37088 { (char *)"VideoMode_refresh_set", _wrap_VideoMode_refresh_set
, METH_VARARGS
, NULL
},
37089 { (char *)"VideoMode_refresh_get", (PyCFunction
)_wrap_VideoMode_refresh_get
, METH_O
, NULL
},
37090 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
37091 { (char *)"VideoMode_swiginit", VideoMode_swiginit
, METH_VARARGS
, NULL
},
37092 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37093 { (char *)"delete_Display", (PyCFunction
)_wrap_delete_Display
, METH_O
, NULL
},
37094 { (char *)"Display_GetCount", (PyCFunction
)_wrap_Display_GetCount
, METH_NOARGS
, NULL
},
37095 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37096 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37097 { (char *)"Display_IsOk", (PyCFunction
)_wrap_Display_IsOk
, METH_O
, NULL
},
37098 { (char *)"Display_GetGeometry", (PyCFunction
)_wrap_Display_GetGeometry
, METH_O
, NULL
},
37099 { (char *)"Display_GetClientArea", (PyCFunction
)_wrap_Display_GetClientArea
, METH_O
, NULL
},
37100 { (char *)"Display_GetName", (PyCFunction
)_wrap_Display_GetName
, METH_O
, NULL
},
37101 { (char *)"Display_IsPrimary", (PyCFunction
)_wrap_Display_IsPrimary
, METH_O
, NULL
},
37102 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37103 { (char *)"Display_GetCurrentMode", (PyCFunction
)_wrap_Display_GetCurrentMode
, METH_O
, NULL
},
37104 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37105 { (char *)"Display_ResetMode", (PyCFunction
)_wrap_Display_ResetMode
, METH_O
, NULL
},
37106 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
37107 { (char *)"Display_swiginit", Display_swiginit
, METH_VARARGS
, NULL
},
37108 { (char *)"StandardPaths_Get", (PyCFunction
)_wrap_StandardPaths_Get
, METH_NOARGS
, NULL
},
37109 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
)_wrap_StandardPaths_GetConfigDir
, METH_O
, NULL
},
37110 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
)_wrap_StandardPaths_GetUserConfigDir
, METH_O
, NULL
},
37111 { (char *)"StandardPaths_GetDataDir", (PyCFunction
)_wrap_StandardPaths_GetDataDir
, METH_O
, NULL
},
37112 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetLocalDataDir
, METH_O
, NULL
},
37113 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserDataDir
, METH_O
, NULL
},
37114 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserLocalDataDir
, METH_O
, NULL
},
37115 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
)_wrap_StandardPaths_GetPluginsDir
, METH_O
, NULL
},
37116 { (char *)"StandardPaths_GetResourcesDir", (PyCFunction
)_wrap_StandardPaths_GetResourcesDir
, METH_O
, NULL
},
37117 { (char *)"StandardPaths_GetLocalizedResourcesDir", (PyCFunction
) _wrap_StandardPaths_GetLocalizedResourcesDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37118 { (char *)"StandardPaths_GetDocumentsDir", (PyCFunction
)_wrap_StandardPaths_GetDocumentsDir
, METH_O
, NULL
},
37119 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37120 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
)_wrap_StandardPaths_GetInstallPrefix
, METH_O
, NULL
},
37121 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
37122 { (char *)"new_PowerEvent", (PyCFunction
) _wrap_new_PowerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37123 { (char *)"PowerEvent_Veto", (PyCFunction
)_wrap_PowerEvent_Veto
, METH_O
, NULL
},
37124 { (char *)"PowerEvent_IsVetoed", (PyCFunction
)_wrap_PowerEvent_IsVetoed
, METH_O
, NULL
},
37125 { (char *)"PowerEvent_swigregister", PowerEvent_swigregister
, METH_VARARGS
, NULL
},
37126 { (char *)"PowerEvent_swiginit", PowerEvent_swiginit
, METH_VARARGS
, NULL
},
37127 { (char *)"GetPowerType", (PyCFunction
)_wrap_GetPowerType
, METH_NOARGS
, NULL
},
37128 { (char *)"GetBatteryState", (PyCFunction
)_wrap_GetBatteryState
, METH_NOARGS
, NULL
},
37129 { NULL
, NULL
, 0, NULL
}
37133 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
37135 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
37136 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
37138 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
37139 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
37141 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
37142 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
37144 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
37145 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
37147 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
37148 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
37150 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
37151 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
37153 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
37154 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
37156 static void *_p_wxPowerEventTo_p_wxEvent(void *x
) {
37157 return (void *)((wxEvent
*) ((wxPowerEvent
*) x
));
37159 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
37160 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
37162 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
37163 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
37165 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
37166 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
37168 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
37169 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
37171 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
37172 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
37174 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
37175 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
37177 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
37178 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
37180 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
37181 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
37183 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
37184 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
37186 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
37187 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
37189 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
37190 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
37192 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
37193 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
37195 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
37196 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
37198 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
37199 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
37201 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
37202 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
37204 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
37205 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
37207 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
37208 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
37210 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
37211 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
37213 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
37214 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
37216 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
37217 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
37219 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
37220 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
37222 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
37223 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
37225 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
37226 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
37228 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
37229 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
37231 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
37232 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
37234 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
37235 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
37237 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
37238 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
37240 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
37241 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
37243 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
37244 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
37246 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
37247 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
37249 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
37250 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
37252 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
37253 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
37255 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
37256 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
37258 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
37259 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
37261 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
37262 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
37264 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
37265 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
37267 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
37268 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
37270 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
37271 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
37273 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
37274 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
37276 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
37277 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
37279 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
37280 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
37282 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
37283 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
37285 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
37286 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
37288 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
37289 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
37291 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
37292 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
37294 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
37295 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
37297 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
37298 return (void *)((wxDataObject
*) ((wxURLDataObject
*) x
));
37300 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
37301 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
37303 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
37304 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
37306 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
37307 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
37309 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
37310 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
37312 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
37313 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
37315 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
37316 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
37318 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
37319 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
37321 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
37322 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
37324 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
37325 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
37327 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
37328 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
37330 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
37331 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
37333 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
37334 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
37336 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
37337 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
37339 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
37340 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
37342 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
37343 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
37345 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
37346 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
37348 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
37349 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
37351 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
37352 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
37354 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
37355 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
37357 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
37358 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
37360 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
37361 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
37363 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
37364 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
37366 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
37367 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
37369 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
37370 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
37372 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
37373 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
37375 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
37376 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
37378 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
37379 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
37381 static void *_p_wxSizerTo_p_wxObject(void *x
) {
37382 return (void *)((wxObject
*) ((wxSizer
*) x
));
37384 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
37385 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
37387 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
37388 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
37390 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
37391 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
37393 static void *_p_wxEventTo_p_wxObject(void *x
) {
37394 return (void *)((wxObject
*) ((wxEvent
*) x
));
37396 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
37397 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
37399 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
37400 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
37402 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
37403 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
37405 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
37406 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
37408 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
37409 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
37411 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
37412 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
37414 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
37415 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
37417 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
37418 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
37420 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
37421 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
37423 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
37424 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
37426 static void *_p_wxControlTo_p_wxObject(void *x
) {
37427 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
37429 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
37430 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
37432 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
37433 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
37435 static void *_p_wxPowerEventTo_p_wxObject(void *x
) {
37436 return (void *)((wxObject
*) (wxEvent
*) ((wxPowerEvent
*) x
));
37438 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
37439 return (void *)((wxObject
*) ((wxFSFile
*) x
));
37441 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
37442 return (void *)((wxObject
*) ((wxClipboard
*) x
));
37444 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
37445 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
37447 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
37448 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
37450 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
37451 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
37453 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
37454 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
37456 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
37457 return (void *)((wxObject
*) ((wxToolTip
*) x
));
37459 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
37460 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
37462 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
37463 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
37465 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
37466 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
37468 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
37469 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
37471 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
37472 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
37474 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
37475 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
37477 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
37478 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
37480 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
37481 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
37483 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
37484 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
37486 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
37487 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
37489 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
37490 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
37492 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
37493 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
37495 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
37496 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
37498 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
37499 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
37501 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
37502 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
37504 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
37505 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
37507 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
37508 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
37510 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
37511 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
37513 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
37514 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
37516 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
37517 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
37519 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
37520 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
37522 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
37523 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
37525 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
37526 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
37528 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
37529 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
37531 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
37532 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
37534 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
37535 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
37537 static void *_p_wxImageTo_p_wxObject(void *x
) {
37538 return (void *)((wxObject
*) ((wxImage
*) x
));
37540 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
37541 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
37543 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
37544 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
37546 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
37547 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
37549 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
37550 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
37552 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
37553 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
37555 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
37556 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
37558 static void *_p_wxWindowTo_p_wxObject(void *x
) {
37559 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
37561 static void *_p_wxMenuTo_p_wxObject(void *x
) {
37562 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
37564 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
37565 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
37567 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
37568 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
37570 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
37571 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
37573 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
37574 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
37576 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
37577 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
37579 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
37580 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
37582 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
37583 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
37585 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
37586 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
37588 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
37589 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
37591 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
37592 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
37594 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
37595 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
37597 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
37598 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
37600 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
37601 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
37603 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
37604 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
37606 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
37607 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
37609 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
37610 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
37612 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
37613 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
37615 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
37616 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
37618 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
37619 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
37621 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
37622 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
37624 static void *_p_wxLogBufferTo_p_wxLog(void *x
) {
37625 return (void *)((wxLog
*) ((wxLogBuffer
*) x
));
37627 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
37628 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
37630 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
37631 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
37633 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
37634 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
37636 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
37637 return (void *)((wxLog
*) ((wxLogChain
*) x
));
37639 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
37640 return (void *)((wxLog
*) ((wxLogGui
*) x
));
37642 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
37643 return (void *)((wxLog
*) ((wxPyLog
*) x
));
37645 static void *_p_wxControlTo_p_wxWindow(void *x
) {
37646 return (void *)((wxWindow
*) ((wxControl
*) x
));
37648 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
37649 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
37651 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
37652 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
37654 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
37655 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
37657 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
37658 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
37660 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
37661 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};
37662 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
37663 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
37664 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
37665 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, (void*)0, 0};
37666 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
37667 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
37668 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
37669 static swig_type_info _swigt__p_wxBitmapDataObject
= {"_p_wxBitmapDataObject", "wxBitmapDataObject *", 0, 0, (void*)0, 0};
37670 static swig_type_info _swigt__p_wxBusyCursor
= {"_p_wxBusyCursor", "wxBusyCursor *", 0, 0, (void*)0, 0};
37671 static swig_type_info _swigt__p_wxBusyInfo
= {"_p_wxBusyInfo", "wxBusyInfo *", 0, 0, (void*)0, 0};
37672 static swig_type_info _swigt__p_wxCaret
= {"_p_wxCaret", "wxCaret *", 0, 0, (void*)0, 0};
37673 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
37674 static swig_type_info _swigt__p_wxClipboard
= {"_p_wxClipboard", "wxClipboard *", 0, 0, (void*)0, 0};
37675 static swig_type_info _swigt__p_wxClipboardLocker
= {"_p_wxClipboardLocker", "wxClipboardLocker *", 0, 0, (void*)0, 0};
37676 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
37677 static swig_type_info _swigt__p_wxConfig
= {"_p_wxConfig", "wxConfig *", 0, 0, (void*)0, 0};
37678 static swig_type_info _swigt__p_wxConfigBase
= {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0};
37679 static swig_type_info _swigt__p_wxConfigPathChanger
= {"_p_wxConfigPathChanger", "wxConfigPathChanger *", 0, 0, (void*)0, 0};
37680 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
37681 static swig_type_info _swigt__p_wxCustomDataObject
= {"_p_wxCustomDataObject", "wxCustomDataObject *", 0, 0, (void*)0, 0};
37682 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
37683 static swig_type_info _swigt__p_wxDataFormat
= {"_p_wxDataFormat", "wxDataFormat *", 0, 0, (void*)0, 0};
37684 static swig_type_info _swigt__p_wxDataObject
= {"_p_wxDataObject", "wxDataObject *", 0, 0, (void*)0, 0};
37685 static swig_type_info _swigt__p_wxDataObjectComposite
= {"_p_wxDataObjectComposite", "wxDataObjectComposite *", 0, 0, (void*)0, 0};
37686 static swig_type_info _swigt__p_wxDataObjectSimple
= {"_p_wxDataObjectSimple", "wxDataObjectSimple *", 0, 0, (void*)0, 0};
37687 static swig_type_info _swigt__p_wxDateSpan
= {"_p_wxDateSpan", "wxDateSpan *", 0, 0, (void*)0, 0};
37688 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
37689 static swig_type_info _swigt__p_wxDateTime__TimeZone
= {"_p_wxDateTime__TimeZone", "wxDateTime::TimeZone *", 0, 0, (void*)0, 0};
37690 static swig_type_info _swigt__p_wxDisplay
= {"_p_wxDisplay", "wxDisplay *", 0, 0, (void*)0, 0};
37691 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
37692 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
37693 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
37694 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
37695 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
37696 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
37697 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
37698 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
37699 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
37700 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
37701 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
37702 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
37703 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
37704 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
37705 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
37706 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
37707 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
37708 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
37709 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
37710 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
37711 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
37712 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
37713 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
37714 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
37715 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
37716 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
37717 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
37718 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
37719 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
37720 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
37721 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
37722 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
37723 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
37724 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
37725 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
37726 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
37727 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
37728 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
37729 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
37730 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
37731 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
37732 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
37733 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
37734 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
37735 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
37736 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
37737 static swig_type_info _swigt__p_wxFileConfig
= {"_p_wxFileConfig", "wxFileConfig *", 0, 0, (void*)0, 0};
37738 static swig_type_info _swigt__p_wxFileDataObject
= {"_p_wxFileDataObject", "wxFileDataObject *", 0, 0, (void*)0, 0};
37739 static swig_type_info _swigt__p_wxFileHistory
= {"_p_wxFileHistory", "wxFileHistory *", 0, 0, (void*)0, 0};
37740 static swig_type_info _swigt__p_wxFileType
= {"_p_wxFileType", "wxFileType *", 0, 0, (void*)0, 0};
37741 static swig_type_info _swigt__p_wxFileTypeInfo
= {"_p_wxFileTypeInfo", "wxFileTypeInfo *", 0, 0, (void*)0, 0};
37742 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
37743 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
37744 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
37745 static swig_type_info _swigt__p_wxJoystick
= {"_p_wxJoystick", "wxJoystick *", 0, 0, (void*)0, 0};
37746 static swig_type_info _swigt__p_wxJoystickEvent
= {"_p_wxJoystickEvent", "wxJoystickEvent *", 0, 0, (void*)0, 0};
37747 static swig_type_info _swigt__p_wxKillError
= {"_p_wxKillError", "enum wxKillError *|wxKillError *", 0, 0, (void*)0, 0};
37748 static swig_type_info _swigt__p_wxLog
= {"_p_wxLog", "wxLog *", 0, 0, (void*)0, 0};
37749 static swig_type_info _swigt__p_wxLogBuffer
= {"_p_wxLogBuffer", "wxLogBuffer *", 0, 0, (void*)0, 0};
37750 static swig_type_info _swigt__p_wxLogChain
= {"_p_wxLogChain", "wxLogChain *", 0, 0, (void*)0, 0};
37751 static swig_type_info _swigt__p_wxLogGui
= {"_p_wxLogGui", "wxLogGui *", 0, 0, (void*)0, 0};
37752 static swig_type_info _swigt__p_wxLogNull
= {"_p_wxLogNull", "wxLogNull *", 0, 0, (void*)0, 0};
37753 static swig_type_info _swigt__p_wxLogStderr
= {"_p_wxLogStderr", "wxLogStderr *", 0, 0, (void*)0, 0};
37754 static swig_type_info _swigt__p_wxLogTextCtrl
= {"_p_wxLogTextCtrl", "wxLogTextCtrl *", 0, 0, (void*)0, 0};
37755 static swig_type_info _swigt__p_wxLogWindow
= {"_p_wxLogWindow", "wxLogWindow *", 0, 0, (void*)0, 0};
37756 static swig_type_info _swigt__p_wxMemorySize
= {"_p_wxMemorySize", "wxMemorySize *", 0, 0, (void*)0, 0};
37757 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
37758 static swig_type_info _swigt__p_wxMetafileDataObject
= {"_p_wxMetafileDataObject", "wxMetafileDataObject *", 0, 0, (void*)0, 0};
37759 static swig_type_info _swigt__p_wxMimeTypesManager
= {"_p_wxMimeTypesManager", "wxMimeTypesManager *", 0, 0, (void*)0, 0};
37760 static swig_type_info _swigt__p_wxMouseState
= {"_p_wxMouseState", "wxMouseState *", 0, 0, (void*)0, 0};
37761 static swig_type_info _swigt__p_wxMutexGuiLocker
= {"_p_wxMutexGuiLocker", "wxMutexGuiLocker *", 0, 0, (void*)0, 0};
37762 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
37763 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
37764 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
37765 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
37766 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
37767 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
37768 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
37769 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
37770 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
37771 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
37772 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
37773 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
37774 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
37775 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
37776 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
37777 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
37778 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
37779 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
37780 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
37781 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
37782 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
37783 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
37784 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
37785 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
37786 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
37787 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
37788 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
37789 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
37790 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
37791 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
37792 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
37793 static swig_type_info _swigt__p_wxOutputStream
= {"_p_wxOutputStream", "wxOutputStream *", 0, 0, (void*)0, 0};
37794 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
37795 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
37796 static swig_type_info _swigt__p_wxPowerEvent
= {"_p_wxPowerEvent", "wxPowerEvent *", 0, 0, (void*)0, 0};
37797 static swig_type_info _swigt__p_wxProcessEvent
= {"_p_wxProcessEvent", "wxProcessEvent *", 0, 0, (void*)0, 0};
37798 static swig_type_info _swigt__p_wxPyArtProvider
= {"_p_wxPyArtProvider", "wxPyArtProvider *", 0, 0, (void*)0, 0};
37799 static swig_type_info _swigt__p_wxPyBitmapDataObject
= {"_p_wxPyBitmapDataObject", "wxPyBitmapDataObject *", 0, 0, (void*)0, 0};
37800 static swig_type_info _swigt__p_wxPyDataObjectSimple
= {"_p_wxPyDataObjectSimple", "wxPyDataObjectSimple *", 0, 0, (void*)0, 0};
37801 static swig_type_info _swigt__p_wxPyDropSource
= {"_p_wxPyDropSource", "wxPyDropSource *", 0, 0, (void*)0, 0};
37802 static swig_type_info _swigt__p_wxPyDropTarget
= {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, (void*)0, 0};
37803 static swig_type_info _swigt__p_wxPyFileDropTarget
= {"_p_wxPyFileDropTarget", "wxPyFileDropTarget *", 0, 0, (void*)0, 0};
37804 static swig_type_info _swigt__p_wxPyLog
= {"_p_wxPyLog", "wxPyLog *", 0, 0, (void*)0, 0};
37805 static swig_type_info _swigt__p_wxPyProcess
= {"_p_wxPyProcess", "wxPyProcess *", 0, 0, (void*)0, 0};
37806 static swig_type_info _swigt__p_wxPyTextDataObject
= {"_p_wxPyTextDataObject", "wxPyTextDataObject *", 0, 0, (void*)0, 0};
37807 static swig_type_info _swigt__p_wxPyTextDropTarget
= {"_p_wxPyTextDropTarget", "wxPyTextDropTarget *", 0, 0, (void*)0, 0};
37808 static swig_type_info _swigt__p_wxPyTimer
= {"_p_wxPyTimer", "wxPyTimer *", 0, 0, (void*)0, 0};
37809 static swig_type_info _swigt__p_wxPyTipProvider
= {"_p_wxPyTipProvider", "wxPyTipProvider *", 0, 0, (void*)0, 0};
37810 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
37811 static swig_type_info _swigt__p_wxSingleInstanceChecker
= {"_p_wxSingleInstanceChecker", "wxSingleInstanceChecker *", 0, 0, (void*)0, 0};
37812 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
37813 static swig_type_info _swigt__p_wxSound
= {"_p_wxSound", "wxSound *", 0, 0, (void*)0, 0};
37814 static swig_type_info _swigt__p_wxStandardPaths
= {"_p_wxStandardPaths", "wxStandardPaths *", 0, 0, (void*)0, 0};
37815 static swig_type_info _swigt__p_wxStopWatch
= {"_p_wxStopWatch", "wxStopWatch *", 0, 0, (void*)0, 0};
37816 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
37817 static swig_type_info _swigt__p_wxSystemOptions
= {"_p_wxSystemOptions", "wxSystemOptions *", 0, 0, (void*)0, 0};
37818 static swig_type_info _swigt__p_wxSystemSettings
= {"_p_wxSystemSettings", "wxSystemSettings *", 0, 0, (void*)0, 0};
37819 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
37820 static swig_type_info _swigt__p_wxTextDataObject
= {"_p_wxTextDataObject", "wxTextDataObject *", 0, 0, (void*)0, 0};
37821 static swig_type_info _swigt__p_wxTimeSpan
= {"_p_wxTimeSpan", "wxTimeSpan *", 0, 0, (void*)0, 0};
37822 static swig_type_info _swigt__p_wxTimer
= {"_p_wxTimer", "wxTimer *", 0, 0, (void*)0, 0};
37823 static swig_type_info _swigt__p_wxTimerEvent
= {"_p_wxTimerEvent", "wxTimerEvent *", 0, 0, (void*)0, 0};
37824 static swig_type_info _swigt__p_wxTimerRunner
= {"_p_wxTimerRunner", "wxTimerRunner *", 0, 0, (void*)0, 0};
37825 static swig_type_info _swigt__p_wxTipProvider
= {"_p_wxTipProvider", "wxTipProvider *", 0, 0, (void*)0, 0};
37826 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", "wxToolTip *", 0, 0, (void*)0, 0};
37827 static swig_type_info _swigt__p_wxURLDataObject
= {"_p_wxURLDataObject", "wxURLDataObject *", 0, 0, (void*)0, 0};
37828 static swig_type_info _swigt__p_wxVideoMode
= {"_p_wxVideoMode", "wxVideoMode *", 0, 0, (void*)0, 0};
37829 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
37830 static swig_type_info _swigt__p_wxWindowDisabler
= {"_p_wxWindowDisabler", "wxWindowDisabler *", 0, 0, (void*)0, 0};
37832 static swig_type_info
*swig_type_initial
[] = {
37834 &_swigt__p_form_ops_t
,
37836 &_swigt__p_unsigned_char
,
37837 &_swigt__p_unsigned_int
,
37838 &_swigt__p_unsigned_long
,
37840 &_swigt__p_wxANIHandler
,
37841 &_swigt__p_wxAcceleratorTable
,
37842 &_swigt__p_wxActivateEvent
,
37843 &_swigt__p_wxArrayString
,
37844 &_swigt__p_wxBMPHandler
,
37845 &_swigt__p_wxBitmap
,
37846 &_swigt__p_wxBitmapDataObject
,
37847 &_swigt__p_wxBoxSizer
,
37848 &_swigt__p_wxBusyCursor
,
37849 &_swigt__p_wxBusyInfo
,
37850 &_swigt__p_wxCURHandler
,
37851 &_swigt__p_wxCaret
,
37853 &_swigt__p_wxChildFocusEvent
,
37854 &_swigt__p_wxClipboard
,
37855 &_swigt__p_wxClipboardLocker
,
37856 &_swigt__p_wxClipboardTextEvent
,
37857 &_swigt__p_wxCloseEvent
,
37858 &_swigt__p_wxColour
,
37859 &_swigt__p_wxCommandEvent
,
37860 &_swigt__p_wxConfig
,
37861 &_swigt__p_wxConfigBase
,
37862 &_swigt__p_wxConfigPathChanger
,
37863 &_swigt__p_wxContextMenuEvent
,
37864 &_swigt__p_wxControl
,
37865 &_swigt__p_wxControlWithItems
,
37866 &_swigt__p_wxCursor
,
37867 &_swigt__p_wxCustomDataObject
,
37869 &_swigt__p_wxDataFormat
,
37870 &_swigt__p_wxDataObject
,
37871 &_swigt__p_wxDataObjectComposite
,
37872 &_swigt__p_wxDataObjectSimple
,
37873 &_swigt__p_wxDateEvent
,
37874 &_swigt__p_wxDateSpan
,
37875 &_swigt__p_wxDateTime
,
37876 &_swigt__p_wxDateTime__TimeZone
,
37877 &_swigt__p_wxDisplay
,
37878 &_swigt__p_wxDisplayChangedEvent
,
37879 &_swigt__p_wxDropFilesEvent
,
37880 &_swigt__p_wxDuplexMode
,
37881 &_swigt__p_wxEraseEvent
,
37882 &_swigt__p_wxEvent
,
37883 &_swigt__p_wxEvtHandler
,
37884 &_swigt__p_wxFSFile
,
37885 &_swigt__p_wxFileConfig
,
37886 &_swigt__p_wxFileDataObject
,
37887 &_swigt__p_wxFileHistory
,
37888 &_swigt__p_wxFileSystem
,
37889 &_swigt__p_wxFileType
,
37890 &_swigt__p_wxFileTypeInfo
,
37891 &_swigt__p_wxFlexGridSizer
,
37892 &_swigt__p_wxFocusEvent
,
37894 &_swigt__p_wxFrame
,
37895 &_swigt__p_wxGBSizerItem
,
37896 &_swigt__p_wxGIFHandler
,
37897 &_swigt__p_wxGridBagSizer
,
37898 &_swigt__p_wxGridSizer
,
37899 &_swigt__p_wxICOHandler
,
37901 &_swigt__p_wxIconizeEvent
,
37902 &_swigt__p_wxIdleEvent
,
37903 &_swigt__p_wxImage
,
37904 &_swigt__p_wxImageHandler
,
37905 &_swigt__p_wxIndividualLayoutConstraint
,
37906 &_swigt__p_wxInitDialogEvent
,
37907 &_swigt__p_wxJPEGHandler
,
37908 &_swigt__p_wxJoystick
,
37909 &_swigt__p_wxJoystickEvent
,
37910 &_swigt__p_wxKeyEvent
,
37911 &_swigt__p_wxKillError
,
37912 &_swigt__p_wxLayoutConstraints
,
37914 &_swigt__p_wxLogBuffer
,
37915 &_swigt__p_wxLogChain
,
37916 &_swigt__p_wxLogGui
,
37917 &_swigt__p_wxLogNull
,
37918 &_swigt__p_wxLogStderr
,
37919 &_swigt__p_wxLogTextCtrl
,
37920 &_swigt__p_wxLogWindow
,
37921 &_swigt__p_wxMaximizeEvent
,
37922 &_swigt__p_wxMemorySize
,
37924 &_swigt__p_wxMenuBar
,
37925 &_swigt__p_wxMenuEvent
,
37926 &_swigt__p_wxMenuItem
,
37927 &_swigt__p_wxMetafileDataObject
,
37928 &_swigt__p_wxMimeTypesManager
,
37929 &_swigt__p_wxMouseCaptureChangedEvent
,
37930 &_swigt__p_wxMouseEvent
,
37931 &_swigt__p_wxMouseState
,
37932 &_swigt__p_wxMoveEvent
,
37933 &_swigt__p_wxMutexGuiLocker
,
37934 &_swigt__p_wxNavigationKeyEvent
,
37935 &_swigt__p_wxNcPaintEvent
,
37936 &_swigt__p_wxNotifyEvent
,
37937 &_swigt__p_wxObject
,
37938 &_swigt__p_wxOutputStream
,
37939 &_swigt__p_wxPCXHandler
,
37940 &_swigt__p_wxPNGHandler
,
37941 &_swigt__p_wxPNMHandler
,
37942 &_swigt__p_wxPaintEvent
,
37943 &_swigt__p_wxPaletteChangedEvent
,
37944 &_swigt__p_wxPaperSize
,
37945 &_swigt__p_wxPoint
,
37946 &_swigt__p_wxPowerEvent
,
37947 &_swigt__p_wxProcessEvent
,
37948 &_swigt__p_wxPyApp
,
37949 &_swigt__p_wxPyArtProvider
,
37950 &_swigt__p_wxPyBitmapDataObject
,
37951 &_swigt__p_wxPyCommandEvent
,
37952 &_swigt__p_wxPyDataObjectSimple
,
37953 &_swigt__p_wxPyDropSource
,
37954 &_swigt__p_wxPyDropTarget
,
37955 &_swigt__p_wxPyEvent
,
37956 &_swigt__p_wxPyFileDropTarget
,
37957 &_swigt__p_wxPyImageHandler
,
37958 &_swigt__p_wxPyLog
,
37959 &_swigt__p_wxPyProcess
,
37960 &_swigt__p_wxPySizer
,
37961 &_swigt__p_wxPyTextDataObject
,
37962 &_swigt__p_wxPyTextDropTarget
,
37963 &_swigt__p_wxPyTimer
,
37964 &_swigt__p_wxPyTipProvider
,
37965 &_swigt__p_wxPyValidator
,
37966 &_swigt__p_wxQueryNewPaletteEvent
,
37968 &_swigt__p_wxScrollEvent
,
37969 &_swigt__p_wxScrollWinEvent
,
37970 &_swigt__p_wxSetCursorEvent
,
37971 &_swigt__p_wxShowEvent
,
37972 &_swigt__p_wxSingleInstanceChecker
,
37974 &_swigt__p_wxSizeEvent
,
37975 &_swigt__p_wxSizer
,
37976 &_swigt__p_wxSizerItem
,
37977 &_swigt__p_wxSound
,
37978 &_swigt__p_wxStandardPaths
,
37979 &_swigt__p_wxStaticBoxSizer
,
37980 &_swigt__p_wxStdDialogButtonSizer
,
37981 &_swigt__p_wxStopWatch
,
37982 &_swigt__p_wxString
,
37983 &_swigt__p_wxSysColourChangedEvent
,
37984 &_swigt__p_wxSystemOptions
,
37985 &_swigt__p_wxSystemSettings
,
37986 &_swigt__p_wxTIFFHandler
,
37987 &_swigt__p_wxTextCtrl
,
37988 &_swigt__p_wxTextDataObject
,
37989 &_swigt__p_wxTimeSpan
,
37990 &_swigt__p_wxTimer
,
37991 &_swigt__p_wxTimerEvent
,
37992 &_swigt__p_wxTimerRunner
,
37993 &_swigt__p_wxTipProvider
,
37994 &_swigt__p_wxToolTip
,
37995 &_swigt__p_wxURLDataObject
,
37996 &_swigt__p_wxUpdateUIEvent
,
37997 &_swigt__p_wxValidator
,
37998 &_swigt__p_wxVideoMode
,
37999 &_swigt__p_wxWindow
,
38000 &_swigt__p_wxWindowCreateEvent
,
38001 &_swigt__p_wxWindowDestroyEvent
,
38002 &_swigt__p_wxWindowDisabler
,
38003 &_swigt__p_wxXPMHandler
,
38006 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
38007 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
38008 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
38009 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
38010 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
38011 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
38012 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
38013 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
38014 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
38015 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}};
38016 static swig_cast_info _swigc__p_wxBusyCursor
[] = { {&_swigt__p_wxBusyCursor
, 0, 0, 0},{0, 0, 0, 0}};
38017 static swig_cast_info _swigc__p_wxBusyInfo
[] = { {&_swigt__p_wxBusyInfo
, 0, 0, 0},{0, 0, 0, 0}};
38018 static swig_cast_info _swigc__p_wxCaret
[] = { {&_swigt__p_wxCaret
, 0, 0, 0},{0, 0, 0, 0}};
38019 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
38020 static swig_cast_info _swigc__p_wxClipboard
[] = { {&_swigt__p_wxClipboard
, 0, 0, 0},{0, 0, 0, 0}};
38021 static swig_cast_info _swigc__p_wxClipboardLocker
[] = { {&_swigt__p_wxClipboardLocker
, 0, 0, 0},{0, 0, 0, 0}};
38022 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
38023 static swig_cast_info _swigc__p_wxConfig
[] = { {&_swigt__p_wxConfig
, 0, 0, 0},{0, 0, 0, 0}};
38024 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}};
38025 static swig_cast_info _swigc__p_wxConfigPathChanger
[] = { {&_swigt__p_wxConfigPathChanger
, 0, 0, 0},{0, 0, 0, 0}};
38026 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
38027 static swig_cast_info _swigc__p_wxCustomDataObject
[] = { {&_swigt__p_wxCustomDataObject
, 0, 0, 0},{0, 0, 0, 0}};
38028 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
38029 static swig_cast_info _swigc__p_wxDataFormat
[] = { {&_swigt__p_wxDataFormat
, 0, 0, 0},{0, 0, 0, 0}};
38030 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}};
38031 static swig_cast_info _swigc__p_wxDataObjectComposite
[] = { {&_swigt__p_wxDataObjectComposite
, 0, 0, 0},{0, 0, 0, 0}};
38032 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}};
38033 static swig_cast_info _swigc__p_wxDateSpan
[] = { {&_swigt__p_wxDateSpan
, 0, 0, 0},{0, 0, 0, 0}};
38034 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
38035 static swig_cast_info _swigc__p_wxDateTime__TimeZone
[] = { {&_swigt__p_wxDateTime__TimeZone
, 0, 0, 0},{0, 0, 0, 0}};
38036 static swig_cast_info _swigc__p_wxDisplay
[] = { {&_swigt__p_wxDisplay
, 0, 0, 0},{0, 0, 0, 0}};
38037 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
38038 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
38039 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
38040 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
38041 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
38042 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
38043 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
38044 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
38045 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
38046 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38047 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38048 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
38049 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
38050 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
38051 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
38052 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
38053 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
38054 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
38055 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
38056 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
38057 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
38058 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
38059 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
38060 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
38061 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38062 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38063 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38064 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38065 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
38066 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
38067 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
38068 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
38069 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
38070 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
38071 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38072 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38073 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38074 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
38075 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}};
38076 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
38077 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
38078 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
38079 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
38080 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
38081 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
38082 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}};
38083 static swig_cast_info _swigc__p_wxFileConfig
[] = { {&_swigt__p_wxFileConfig
, 0, 0, 0},{0, 0, 0, 0}};
38084 static swig_cast_info _swigc__p_wxFileDataObject
[] = { {&_swigt__p_wxFileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
38085 static swig_cast_info _swigc__p_wxFileHistory
[] = { {&_swigt__p_wxFileHistory
, 0, 0, 0},{0, 0, 0, 0}};
38086 static swig_cast_info _swigc__p_wxFileType
[] = { {&_swigt__p_wxFileType
, 0, 0, 0},{0, 0, 0, 0}};
38087 static swig_cast_info _swigc__p_wxFileTypeInfo
[] = { {&_swigt__p_wxFileTypeInfo
, 0, 0, 0},{0, 0, 0, 0}};
38088 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
38089 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
38090 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
38091 static swig_cast_info _swigc__p_wxJoystick
[] = { {&_swigt__p_wxJoystick
, 0, 0, 0},{0, 0, 0, 0}};
38092 static swig_cast_info _swigc__p_wxJoystickEvent
[] = { {&_swigt__p_wxJoystickEvent
, 0, 0, 0},{0, 0, 0, 0}};
38093 static swig_cast_info _swigc__p_wxKillError
[] = { {&_swigt__p_wxKillError
, 0, 0, 0},{0, 0, 0, 0}};
38094 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}};
38095 static swig_cast_info _swigc__p_wxLogBuffer
[] = { {&_swigt__p_wxLogBuffer
, 0, 0, 0},{0, 0, 0, 0}};
38096 static swig_cast_info _swigc__p_wxLogChain
[] = { {&_swigt__p_wxLogChain
, 0, 0, 0},{0, 0, 0, 0}};
38097 static swig_cast_info _swigc__p_wxLogGui
[] = { {&_swigt__p_wxLogGui
, 0, 0, 0},{0, 0, 0, 0}};
38098 static swig_cast_info _swigc__p_wxLogNull
[] = { {&_swigt__p_wxLogNull
, 0, 0, 0},{0, 0, 0, 0}};
38099 static swig_cast_info _swigc__p_wxLogStderr
[] = { {&_swigt__p_wxLogStderr
, 0, 0, 0},{0, 0, 0, 0}};
38100 static swig_cast_info _swigc__p_wxLogTextCtrl
[] = { {&_swigt__p_wxLogTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
38101 static swig_cast_info _swigc__p_wxLogWindow
[] = { {&_swigt__p_wxLogWindow
, 0, 0, 0},{0, 0, 0, 0}};
38102 static swig_cast_info _swigc__p_wxMemorySize
[] = { {&_swigt__p_wxMemorySize
, 0, 0, 0},{0, 0, 0, 0}};
38103 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
38104 static swig_cast_info _swigc__p_wxMetafileDataObject
[] = { {&_swigt__p_wxMetafileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
38105 static swig_cast_info _swigc__p_wxMimeTypesManager
[] = { {&_swigt__p_wxMimeTypesManager
, 0, 0, 0},{0, 0, 0, 0}};
38106 static swig_cast_info _swigc__p_wxMouseState
[] = { {&_swigt__p_wxMouseState
, 0, 0, 0},{0, 0, 0, 0}};
38107 static swig_cast_info _swigc__p_wxMutexGuiLocker
[] = { {&_swigt__p_wxMutexGuiLocker
, 0, 0, 0},{0, 0, 0, 0}};
38108 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
38109 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
38110 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
38111 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
38112 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
38113 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
38114 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
38115 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
38116 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
38117 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
38118 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
38119 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
38120 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
38121 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
38122 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
38123 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
38124 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
38125 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
38126 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
38127 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
38128 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
38129 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
38130 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
38131 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
38132 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
38133 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
38134 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
38135 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
38136 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
38137 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
38138 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}};
38139 static swig_cast_info _swigc__p_wxOutputStream
[] = { {&_swigt__p_wxOutputStream
, 0, 0, 0},{0, 0, 0, 0}};
38140 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
38141 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
38142 static swig_cast_info _swigc__p_wxPowerEvent
[] = { {&_swigt__p_wxPowerEvent
, 0, 0, 0},{0, 0, 0, 0}};
38143 static swig_cast_info _swigc__p_wxProcessEvent
[] = { {&_swigt__p_wxProcessEvent
, 0, 0, 0},{0, 0, 0, 0}};
38144 static swig_cast_info _swigc__p_wxPyArtProvider
[] = { {&_swigt__p_wxPyArtProvider
, 0, 0, 0},{0, 0, 0, 0}};
38145 static swig_cast_info _swigc__p_wxPyBitmapDataObject
[] = { {&_swigt__p_wxPyBitmapDataObject
, 0, 0, 0},{0, 0, 0, 0}};
38146 static swig_cast_info _swigc__p_wxPyDataObjectSimple
[] = { {&_swigt__p_wxPyDataObjectSimple
, 0, 0, 0},{0, 0, 0, 0}};
38147 static swig_cast_info _swigc__p_wxPyDropSource
[] = { {&_swigt__p_wxPyDropSource
, 0, 0, 0},{0, 0, 0, 0}};
38148 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}};
38149 static swig_cast_info _swigc__p_wxPyFileDropTarget
[] = { {&_swigt__p_wxPyFileDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
38150 static swig_cast_info _swigc__p_wxPyLog
[] = { {&_swigt__p_wxPyLog
, 0, 0, 0},{0, 0, 0, 0}};
38151 static swig_cast_info _swigc__p_wxPyProcess
[] = { {&_swigt__p_wxPyProcess
, 0, 0, 0},{0, 0, 0, 0}};
38152 static swig_cast_info _swigc__p_wxPyTextDataObject
[] = { {&_swigt__p_wxPyTextDataObject
, 0, 0, 0},{0, 0, 0, 0}};
38153 static swig_cast_info _swigc__p_wxPyTextDropTarget
[] = { {&_swigt__p_wxPyTextDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
38154 static swig_cast_info _swigc__p_wxPyTimer
[] = { {&_swigt__p_wxPyTimer
, 0, 0, 0},{0, 0, 0, 0}};
38155 static swig_cast_info _swigc__p_wxPyTipProvider
[] = { {&_swigt__p_wxPyTipProvider
, 0, 0, 0},{0, 0, 0, 0}};
38156 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
38157 static swig_cast_info _swigc__p_wxSingleInstanceChecker
[] = { {&_swigt__p_wxSingleInstanceChecker
, 0, 0, 0},{0, 0, 0, 0}};
38158 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
38159 static swig_cast_info _swigc__p_wxSound
[] = { {&_swigt__p_wxSound
, 0, 0, 0},{0, 0, 0, 0}};
38160 static swig_cast_info _swigc__p_wxStandardPaths
[] = { {&_swigt__p_wxStandardPaths
, 0, 0, 0},{0, 0, 0, 0}};
38161 static swig_cast_info _swigc__p_wxStopWatch
[] = { {&_swigt__p_wxStopWatch
, 0, 0, 0},{0, 0, 0, 0}};
38162 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
38163 static swig_cast_info _swigc__p_wxSystemOptions
[] = { {&_swigt__p_wxSystemOptions
, 0, 0, 0},{0, 0, 0, 0}};
38164 static swig_cast_info _swigc__p_wxSystemSettings
[] = { {&_swigt__p_wxSystemSettings
, 0, 0, 0},{0, 0, 0, 0}};
38165 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
38166 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}};
38167 static swig_cast_info _swigc__p_wxTimeSpan
[] = { {&_swigt__p_wxTimeSpan
, 0, 0, 0},{0, 0, 0, 0}};
38168 static swig_cast_info _swigc__p_wxTimer
[] = { {&_swigt__p_wxTimer
, 0, 0, 0},{0, 0, 0, 0}};
38169 static swig_cast_info _swigc__p_wxTimerEvent
[] = { {&_swigt__p_wxTimerEvent
, 0, 0, 0},{0, 0, 0, 0}};
38170 static swig_cast_info _swigc__p_wxTimerRunner
[] = { {&_swigt__p_wxTimerRunner
, 0, 0, 0},{0, 0, 0, 0}};
38171 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}};
38172 static swig_cast_info _swigc__p_wxToolTip
[] = { {&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
38173 static swig_cast_info _swigc__p_wxURLDataObject
[] = { {&_swigt__p_wxURLDataObject
, 0, 0, 0},{0, 0, 0, 0}};
38174 static swig_cast_info _swigc__p_wxVideoMode
[] = { {&_swigt__p_wxVideoMode
, 0, 0, 0},{0, 0, 0, 0}};
38175 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}};
38176 static swig_cast_info _swigc__p_wxWindowDisabler
[] = { {&_swigt__p_wxWindowDisabler
, 0, 0, 0},{0, 0, 0, 0}};
38178 static swig_cast_info
*swig_cast_initial
[] = {
38180 _swigc__p_form_ops_t
,
38182 _swigc__p_unsigned_char
,
38183 _swigc__p_unsigned_int
,
38184 _swigc__p_unsigned_long
,
38186 _swigc__p_wxANIHandler
,
38187 _swigc__p_wxAcceleratorTable
,
38188 _swigc__p_wxActivateEvent
,
38189 _swigc__p_wxArrayString
,
38190 _swigc__p_wxBMPHandler
,
38191 _swigc__p_wxBitmap
,
38192 _swigc__p_wxBitmapDataObject
,
38193 _swigc__p_wxBoxSizer
,
38194 _swigc__p_wxBusyCursor
,
38195 _swigc__p_wxBusyInfo
,
38196 _swigc__p_wxCURHandler
,
38199 _swigc__p_wxChildFocusEvent
,
38200 _swigc__p_wxClipboard
,
38201 _swigc__p_wxClipboardLocker
,
38202 _swigc__p_wxClipboardTextEvent
,
38203 _swigc__p_wxCloseEvent
,
38204 _swigc__p_wxColour
,
38205 _swigc__p_wxCommandEvent
,
38206 _swigc__p_wxConfig
,
38207 _swigc__p_wxConfigBase
,
38208 _swigc__p_wxConfigPathChanger
,
38209 _swigc__p_wxContextMenuEvent
,
38210 _swigc__p_wxControl
,
38211 _swigc__p_wxControlWithItems
,
38212 _swigc__p_wxCursor
,
38213 _swigc__p_wxCustomDataObject
,
38215 _swigc__p_wxDataFormat
,
38216 _swigc__p_wxDataObject
,
38217 _swigc__p_wxDataObjectComposite
,
38218 _swigc__p_wxDataObjectSimple
,
38219 _swigc__p_wxDateEvent
,
38220 _swigc__p_wxDateSpan
,
38221 _swigc__p_wxDateTime
,
38222 _swigc__p_wxDateTime__TimeZone
,
38223 _swigc__p_wxDisplay
,
38224 _swigc__p_wxDisplayChangedEvent
,
38225 _swigc__p_wxDropFilesEvent
,
38226 _swigc__p_wxDuplexMode
,
38227 _swigc__p_wxEraseEvent
,
38229 _swigc__p_wxEvtHandler
,
38230 _swigc__p_wxFSFile
,
38231 _swigc__p_wxFileConfig
,
38232 _swigc__p_wxFileDataObject
,
38233 _swigc__p_wxFileHistory
,
38234 _swigc__p_wxFileSystem
,
38235 _swigc__p_wxFileType
,
38236 _swigc__p_wxFileTypeInfo
,
38237 _swigc__p_wxFlexGridSizer
,
38238 _swigc__p_wxFocusEvent
,
38241 _swigc__p_wxGBSizerItem
,
38242 _swigc__p_wxGIFHandler
,
38243 _swigc__p_wxGridBagSizer
,
38244 _swigc__p_wxGridSizer
,
38245 _swigc__p_wxICOHandler
,
38247 _swigc__p_wxIconizeEvent
,
38248 _swigc__p_wxIdleEvent
,
38250 _swigc__p_wxImageHandler
,
38251 _swigc__p_wxIndividualLayoutConstraint
,
38252 _swigc__p_wxInitDialogEvent
,
38253 _swigc__p_wxJPEGHandler
,
38254 _swigc__p_wxJoystick
,
38255 _swigc__p_wxJoystickEvent
,
38256 _swigc__p_wxKeyEvent
,
38257 _swigc__p_wxKillError
,
38258 _swigc__p_wxLayoutConstraints
,
38260 _swigc__p_wxLogBuffer
,
38261 _swigc__p_wxLogChain
,
38262 _swigc__p_wxLogGui
,
38263 _swigc__p_wxLogNull
,
38264 _swigc__p_wxLogStderr
,
38265 _swigc__p_wxLogTextCtrl
,
38266 _swigc__p_wxLogWindow
,
38267 _swigc__p_wxMaximizeEvent
,
38268 _swigc__p_wxMemorySize
,
38270 _swigc__p_wxMenuBar
,
38271 _swigc__p_wxMenuEvent
,
38272 _swigc__p_wxMenuItem
,
38273 _swigc__p_wxMetafileDataObject
,
38274 _swigc__p_wxMimeTypesManager
,
38275 _swigc__p_wxMouseCaptureChangedEvent
,
38276 _swigc__p_wxMouseEvent
,
38277 _swigc__p_wxMouseState
,
38278 _swigc__p_wxMoveEvent
,
38279 _swigc__p_wxMutexGuiLocker
,
38280 _swigc__p_wxNavigationKeyEvent
,
38281 _swigc__p_wxNcPaintEvent
,
38282 _swigc__p_wxNotifyEvent
,
38283 _swigc__p_wxObject
,
38284 _swigc__p_wxOutputStream
,
38285 _swigc__p_wxPCXHandler
,
38286 _swigc__p_wxPNGHandler
,
38287 _swigc__p_wxPNMHandler
,
38288 _swigc__p_wxPaintEvent
,
38289 _swigc__p_wxPaletteChangedEvent
,
38290 _swigc__p_wxPaperSize
,
38292 _swigc__p_wxPowerEvent
,
38293 _swigc__p_wxProcessEvent
,
38295 _swigc__p_wxPyArtProvider
,
38296 _swigc__p_wxPyBitmapDataObject
,
38297 _swigc__p_wxPyCommandEvent
,
38298 _swigc__p_wxPyDataObjectSimple
,
38299 _swigc__p_wxPyDropSource
,
38300 _swigc__p_wxPyDropTarget
,
38301 _swigc__p_wxPyEvent
,
38302 _swigc__p_wxPyFileDropTarget
,
38303 _swigc__p_wxPyImageHandler
,
38305 _swigc__p_wxPyProcess
,
38306 _swigc__p_wxPySizer
,
38307 _swigc__p_wxPyTextDataObject
,
38308 _swigc__p_wxPyTextDropTarget
,
38309 _swigc__p_wxPyTimer
,
38310 _swigc__p_wxPyTipProvider
,
38311 _swigc__p_wxPyValidator
,
38312 _swigc__p_wxQueryNewPaletteEvent
,
38314 _swigc__p_wxScrollEvent
,
38315 _swigc__p_wxScrollWinEvent
,
38316 _swigc__p_wxSetCursorEvent
,
38317 _swigc__p_wxShowEvent
,
38318 _swigc__p_wxSingleInstanceChecker
,
38320 _swigc__p_wxSizeEvent
,
38322 _swigc__p_wxSizerItem
,
38324 _swigc__p_wxStandardPaths
,
38325 _swigc__p_wxStaticBoxSizer
,
38326 _swigc__p_wxStdDialogButtonSizer
,
38327 _swigc__p_wxStopWatch
,
38328 _swigc__p_wxString
,
38329 _swigc__p_wxSysColourChangedEvent
,
38330 _swigc__p_wxSystemOptions
,
38331 _swigc__p_wxSystemSettings
,
38332 _swigc__p_wxTIFFHandler
,
38333 _swigc__p_wxTextCtrl
,
38334 _swigc__p_wxTextDataObject
,
38335 _swigc__p_wxTimeSpan
,
38337 _swigc__p_wxTimerEvent
,
38338 _swigc__p_wxTimerRunner
,
38339 _swigc__p_wxTipProvider
,
38340 _swigc__p_wxToolTip
,
38341 _swigc__p_wxURLDataObject
,
38342 _swigc__p_wxUpdateUIEvent
,
38343 _swigc__p_wxValidator
,
38344 _swigc__p_wxVideoMode
,
38345 _swigc__p_wxWindow
,
38346 _swigc__p_wxWindowCreateEvent
,
38347 _swigc__p_wxWindowDestroyEvent
,
38348 _swigc__p_wxWindowDisabler
,
38349 _swigc__p_wxXPMHandler
,
38353 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
38355 static swig_const_info swig_const_table
[] = {
38356 {0, 0, 0, 0.0, 0, 0}};
38361 /* -----------------------------------------------------------------------------
38362 * Type initialization:
38363 * This problem is tough by the requirement that no dynamic
38364 * memory is used. Also, since swig_type_info structures store pointers to
38365 * swig_cast_info structures and swig_cast_info structures store pointers back
38366 * to swig_type_info structures, we need some lookup code at initialization.
38367 * The idea is that swig generates all the structures that are needed.
38368 * The runtime then collects these partially filled structures.
38369 * The SWIG_InitializeModule function takes these initial arrays out of
38370 * swig_module, and does all the lookup, filling in the swig_module.types
38371 * array with the correct data and linking the correct swig_cast_info
38372 * structures together.
38374 * The generated swig_type_info structures are assigned staticly to an initial
38375 * array. We just loop though that array, and handle each type individually.
38376 * First we lookup if this type has been already loaded, and if so, use the
38377 * loaded structure instead of the generated one. Then we have to fill in the
38378 * cast linked list. The cast data is initially stored in something like a
38379 * two-dimensional array. Each row corresponds to a type (there are the same
38380 * number of rows as there are in the swig_type_initial array). Each entry in
38381 * a column is one of the swig_cast_info structures for that type.
38382 * The cast_initial array is actually an array of arrays, because each row has
38383 * a variable number of columns. So to actually build the cast linked list,
38384 * we find the array of casts associated with the type, and loop through it
38385 * adding the casts to the list. The one last trick we need to do is making
38386 * sure the type pointer in the swig_cast_info struct is correct.
38388 * First off, we lookup the cast->type name to see if it is already loaded.
38389 * There are three cases to handle:
38390 * 1) If the cast->type has already been loaded AND the type we are adding
38391 * casting info to has not been loaded (it is in this module), THEN we
38392 * replace the cast->type pointer with the type pointer that has already
38394 * 2) If BOTH types (the one we are adding casting info to, and the
38395 * cast->type) are loaded, THEN the cast info has already been loaded by
38396 * the previous module so we just ignore it.
38397 * 3) Finally, if cast->type has not already been loaded, then we add that
38398 * swig_cast_info to the linked list (because the cast->type) pointer will
38400 * ----------------------------------------------------------------------------- */
38410 #define SWIGRUNTIME_DEBUG
38414 SWIG_InitializeModule(void *clientdata
) {
38416 swig_module_info
*module_head
;
38417 static int init_run
= 0;
38419 clientdata
= clientdata
;
38421 if (init_run
) return;
38424 /* Initialize the swig_module */
38425 swig_module
.type_initial
= swig_type_initial
;
38426 swig_module
.cast_initial
= swig_cast_initial
;
38428 /* Try and load any already created modules */
38429 module_head
= SWIG_GetModule(clientdata
);
38431 swig_module
.next
= module_head
->next
;
38432 module_head
->next
= &swig_module
;
38434 /* This is the first module loaded */
38435 swig_module
.next
= &swig_module
;
38436 SWIG_SetModule(clientdata
, &swig_module
);
38439 /* Now work on filling in swig_module.types */
38440 #ifdef SWIGRUNTIME_DEBUG
38441 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
38443 for (i
= 0; i
< swig_module
.size
; ++i
) {
38444 swig_type_info
*type
= 0;
38445 swig_type_info
*ret
;
38446 swig_cast_info
*cast
;
38448 #ifdef SWIGRUNTIME_DEBUG
38449 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
38452 /* if there is another module already loaded */
38453 if (swig_module
.next
!= &swig_module
) {
38454 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
38457 /* Overwrite clientdata field */
38458 #ifdef SWIGRUNTIME_DEBUG
38459 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
38461 if (swig_module
.type_initial
[i
]->clientdata
) {
38462 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
38463 #ifdef SWIGRUNTIME_DEBUG
38464 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
38468 type
= swig_module
.type_initial
[i
];
38471 /* Insert casting types */
38472 cast
= swig_module
.cast_initial
[i
];
38473 while (cast
->type
) {
38474 /* Don't need to add information already in the list */
38476 #ifdef SWIGRUNTIME_DEBUG
38477 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
38479 if (swig_module
.next
!= &swig_module
) {
38480 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
38481 #ifdef SWIGRUNTIME_DEBUG
38482 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
38486 if (type
== swig_module
.type_initial
[i
]) {
38487 #ifdef SWIGRUNTIME_DEBUG
38488 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
38493 /* Check for casting already in the list */
38494 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
38495 #ifdef SWIGRUNTIME_DEBUG
38496 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
38498 if (!ocast
) ret
= 0;
38503 #ifdef SWIGRUNTIME_DEBUG
38504 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
38507 type
->cast
->prev
= cast
;
38508 cast
->next
= type
->cast
;
38514 /* Set entry in modules->types array equal to the type */
38515 swig_module
.types
[i
] = type
;
38517 swig_module
.types
[i
] = 0;
38519 #ifdef SWIGRUNTIME_DEBUG
38520 printf("**** SWIG_InitializeModule: Cast List ******\n");
38521 for (i
= 0; i
< swig_module
.size
; ++i
) {
38523 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
38524 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
38525 while (cast
->type
) {
38526 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
38530 printf("---- Total casts: %d\n",j
);
38532 printf("**** SWIG_InitializeModule: Cast List ******\n");
38536 /* This function will propagate the clientdata field of type to
38537 * any new swig_type_info structures that have been added into the list
38538 * of equivalent types. It is like calling
38539 * SWIG_TypeClientData(type, clientdata) a second time.
38542 SWIG_PropagateClientData(void) {
38544 swig_cast_info
*equiv
;
38545 static int init_run
= 0;
38547 if (init_run
) return;
38550 for (i
= 0; i
< swig_module
.size
; i
++) {
38551 if (swig_module
.types
[i
]->clientdata
) {
38552 equiv
= swig_module
.types
[i
]->cast
;
38554 if (!equiv
->converter
) {
38555 if (equiv
->type
&& !equiv
->type
->clientdata
)
38556 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
38558 equiv
= equiv
->next
;
38578 /* Python-specific SWIG API */
38579 #define SWIG_newvarlink() SWIG_Python_newvarlink()
38580 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
38581 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
38583 /* -----------------------------------------------------------------------------
38584 * global variable support code.
38585 * ----------------------------------------------------------------------------- */
38587 typedef struct swig_globalvar
{
38588 char *name
; /* Name of global variable */
38589 PyObject
*(*get_attr
)(void); /* Return the current value */
38590 int (*set_attr
)(PyObject
*); /* Set the value */
38591 struct swig_globalvar
*next
;
38594 typedef struct swig_varlinkobject
{
38596 swig_globalvar
*vars
;
38597 } swig_varlinkobject
;
38599 SWIGINTERN PyObject
*
38600 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
38601 return PyString_FromString("<Swig global variables>");
38604 SWIGINTERN PyObject
*
38605 swig_varlink_str(swig_varlinkobject
*v
) {
38606 PyObject
*str
= PyString_FromString("(");
38607 swig_globalvar
*var
;
38608 for (var
= v
->vars
; var
; var
=var
->next
) {
38609 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
38610 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
38612 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
38617 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
38618 PyObject
*str
= swig_varlink_str(v
);
38619 fprintf(fp
,"Swig global variables ");
38620 fprintf(fp
,"%s\n", PyString_AsString(str
));
38626 swig_varlink_dealloc(swig_varlinkobject
*v
) {
38627 swig_globalvar
*var
= v
->vars
;
38629 swig_globalvar
*n
= var
->next
;
38636 SWIGINTERN PyObject
*
38637 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
38638 PyObject
*res
= NULL
;
38639 swig_globalvar
*var
= v
->vars
;
38641 if (strcmp(var
->name
,n
) == 0) {
38642 res
= (*var
->get_attr
)();
38647 if (res
== NULL
&& !PyErr_Occurred()) {
38648 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
38654 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
38656 swig_globalvar
*var
= v
->vars
;
38658 if (strcmp(var
->name
,n
) == 0) {
38659 res
= (*var
->set_attr
)(p
);
38664 if (res
== 1 && !PyErr_Occurred()) {
38665 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
38670 SWIGINTERN PyTypeObject
*
38671 swig_varlink_type(void) {
38672 static char varlink__doc__
[] = "Swig var link object";
38673 static PyTypeObject varlink_type
;
38674 static int type_init
= 0;
38676 const PyTypeObject tmp
38678 PyObject_HEAD_INIT(NULL
)
38679 0, /* Number of items in variable part (ob_size) */
38680 (char *)"swigvarlink", /* Type name (tp_name) */
38681 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
38682 0, /* Itemsize (tp_itemsize) */
38683 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
38684 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
38685 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
38686 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
38687 0, /* tp_compare */
38688 (reprfunc
) swig_varlink_repr
, /* tp_repr */
38689 0, /* tp_as_number */
38690 0, /* tp_as_sequence */
38691 0, /* tp_as_mapping */
38694 (reprfunc
)swig_varlink_str
, /* tp_str */
38695 0, /* tp_getattro */
38696 0, /* tp_setattro */
38697 0, /* tp_as_buffer */
38699 varlink__doc__
, /* tp_doc */
38700 0, /* tp_traverse */
38702 0, /* tp_richcompare */
38703 0, /* tp_weaklistoffset */
38704 #if PY_VERSION_HEX >= 0x02020000
38705 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
38707 #if PY_VERSION_HEX >= 0x02030000
38710 #ifdef COUNT_ALLOCS
38711 0,0,0,0 /* tp_alloc -> tp_next */
38714 varlink_type
= tmp
;
38715 varlink_type
.ob_type
= &PyType_Type
;
38718 return &varlink_type
;
38721 /* Create a variable linking object for use later */
38722 SWIGINTERN PyObject
*
38723 SWIG_Python_newvarlink(void) {
38724 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
38728 return ((PyObject
*) result
);
38732 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
38733 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
38734 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
38736 size_t size
= strlen(name
)+1;
38737 gv
->name
= (char *)malloc(size
);
38739 strncpy(gv
->name
,name
,size
);
38740 gv
->get_attr
= get_attr
;
38741 gv
->set_attr
= set_attr
;
38742 gv
->next
= v
->vars
;
38748 SWIGINTERN PyObject
*
38750 static PyObject
*_SWIG_globals
= 0;
38751 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
38752 return _SWIG_globals
;
38755 /* -----------------------------------------------------------------------------
38756 * constants/methods manipulation
38757 * ----------------------------------------------------------------------------- */
38759 /* Install Constants */
38761 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
38764 for (i
= 0; constants
[i
].type
; ++i
) {
38765 switch(constants
[i
].type
) {
38766 case SWIG_PY_POINTER
:
38767 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
38769 case SWIG_PY_BINARY
:
38770 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
38777 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
38783 /* -----------------------------------------------------------------------------*/
38784 /* Fix SwigMethods to carry the callback ptrs when needed */
38785 /* -----------------------------------------------------------------------------*/
38788 SWIG_Python_FixMethods(PyMethodDef
*methods
,
38789 swig_const_info
*const_table
,
38790 swig_type_info
**types
,
38791 swig_type_info
**types_initial
) {
38793 for (i
= 0; methods
[i
].ml_name
; ++i
) {
38794 const char *c
= methods
[i
].ml_doc
;
38795 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
38797 swig_const_info
*ci
= 0;
38798 const char *name
= c
+ 10;
38799 for (j
= 0; const_table
[j
].type
; ++j
) {
38800 if (strncmp(const_table
[j
].name
, name
,
38801 strlen(const_table
[j
].name
)) == 0) {
38802 ci
= &(const_table
[j
]);
38807 size_t shift
= (ci
->ptype
) - types
;
38808 swig_type_info
*ty
= types_initial
[shift
];
38809 size_t ldoc
= (c
- methods
[i
].ml_doc
);
38810 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
38811 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
38814 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
38816 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
38818 strncpy(buff
, "swig_ptr: ", 10);
38820 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
38821 methods
[i
].ml_doc
= ndoc
;
38833 /* -----------------------------------------------------------------------------*
38834 * Partial Init method
38835 * -----------------------------------------------------------------------------*/
38840 SWIGEXPORT
void SWIG_init(void) {
38843 /* Fix SwigMethods to carry the callback ptrs when needed */
38844 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
38846 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
38847 d
= PyModule_GetDict(m
);
38849 SWIG_InitializeModule(0);
38850 SWIG_InstallConstants(d
,swig_const_table
);
38853 SWIG_Python_SetConstant(d
, "SYS_OEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_OEM_FIXED_FONT
)));
38854 SWIG_Python_SetConstant(d
, "SYS_ANSI_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_FIXED_FONT
)));
38855 SWIG_Python_SetConstant(d
, "SYS_ANSI_VAR_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_VAR_FONT
)));
38856 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FONT
)));
38857 SWIG_Python_SetConstant(d
, "SYS_DEVICE_DEFAULT_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEVICE_DEFAULT_FONT
)));
38858 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_PALETTE",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_PALETTE
)));
38859 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FIXED_FONT
)));
38860 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_GUI_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_GUI_FONT
)));
38861 SWIG_Python_SetConstant(d
, "SYS_ICONTITLE_FONT",SWIG_From_int(static_cast< int >(wxSYS_ICONTITLE_FONT
)));
38862 SWIG_Python_SetConstant(d
, "SYS_COLOUR_SCROLLBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_SCROLLBAR
)));
38863 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BACKGROUND",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BACKGROUND
)));
38864 SWIG_Python_SetConstant(d
, "SYS_COLOUR_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_DESKTOP
)));
38865 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVECAPTION
)));
38866 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTION
)));
38867 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENU",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENU
)));
38868 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOW
)));
38869 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWFRAME",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWFRAME
)));
38870 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUTEXT
)));
38871 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWTEXT
)));
38872 SWIG_Python_SetConstant(d
, "SYS_COLOUR_CAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_CAPTIONTEXT
)));
38873 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVEBORDER
)));
38874 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVEBORDER
)));
38875 SWIG_Python_SetConstant(d
, "SYS_COLOUR_APPWORKSPACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_APPWORKSPACE
)));
38876 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHT
)));
38877 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHTTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
38878 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNFACE
)));
38879 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DFACE
)));
38880 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNSHADOW
)));
38881 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DSHADOW
)));
38882 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRAYTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRAYTEXT
)));
38883 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNTEXT
)));
38884 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
38885 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHIGHLIGHT
)));
38886 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHILIGHT
)));
38887 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHIGHLIGHT
)));
38888 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHILIGHT
)));
38889 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DDKSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DDKSHADOW
)));
38890 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DLIGHT
)));
38891 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOTEXT
)));
38892 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOBK",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOBK
)));
38893 SWIG_Python_SetConstant(d
, "SYS_COLOUR_LISTBOX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_LISTBOX
)));
38894 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HOTLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HOTLIGHT
)));
38895 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
38896 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTINACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
38897 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUHILIGHT
)));
38898 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUBAR
)));
38899 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MAX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MAX
)));
38900 SWIG_Python_SetConstant(d
, "SYS_MOUSE_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_MOUSE_BUTTONS
)));
38901 SWIG_Python_SetConstant(d
, "SYS_BORDER_X",SWIG_From_int(static_cast< int >(wxSYS_BORDER_X
)));
38902 SWIG_Python_SetConstant(d
, "SYS_BORDER_Y",SWIG_From_int(static_cast< int >(wxSYS_BORDER_Y
)));
38903 SWIG_Python_SetConstant(d
, "SYS_CURSOR_X",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_X
)));
38904 SWIG_Python_SetConstant(d
, "SYS_CURSOR_Y",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_Y
)));
38905 SWIG_Python_SetConstant(d
, "SYS_DCLICK_X",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_X
)));
38906 SWIG_Python_SetConstant(d
, "SYS_DCLICK_Y",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_Y
)));
38907 SWIG_Python_SetConstant(d
, "SYS_DRAG_X",SWIG_From_int(static_cast< int >(wxSYS_DRAG_X
)));
38908 SWIG_Python_SetConstant(d
, "SYS_DRAG_Y",SWIG_From_int(static_cast< int >(wxSYS_DRAG_Y
)));
38909 SWIG_Python_SetConstant(d
, "SYS_EDGE_X",SWIG_From_int(static_cast< int >(wxSYS_EDGE_X
)));
38910 SWIG_Python_SetConstant(d
, "SYS_EDGE_Y",SWIG_From_int(static_cast< int >(wxSYS_EDGE_Y
)));
38911 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_X
)));
38912 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_Y
)));
38913 SWIG_Python_SetConstant(d
, "SYS_HTHUMB_X",SWIG_From_int(static_cast< int >(wxSYS_HTHUMB_X
)));
38914 SWIG_Python_SetConstant(d
, "SYS_ICON_X",SWIG_From_int(static_cast< int >(wxSYS_ICON_X
)));
38915 SWIG_Python_SetConstant(d
, "SYS_ICON_Y",SWIG_From_int(static_cast< int >(wxSYS_ICON_Y
)));
38916 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_X",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_X
)));
38917 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_Y",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_Y
)));
38918 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_X",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_X
)));
38919 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_Y",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_Y
)));
38920 SWIG_Python_SetConstant(d
, "SYS_SCREEN_X",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_X
)));
38921 SWIG_Python_SetConstant(d
, "SYS_SCREEN_Y",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_Y
)));
38922 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_X",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_X
)));
38923 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_Y",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_Y
)));
38924 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_X",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_X
)));
38925 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_Y",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_Y
)));
38926 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_Y
)));
38927 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_X
)));
38928 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_X
)));
38929 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_Y
)));
38930 SWIG_Python_SetConstant(d
, "SYS_VTHUMB_Y",SWIG_From_int(static_cast< int >(wxSYS_VTHUMB_Y
)));
38931 SWIG_Python_SetConstant(d
, "SYS_CAPTION_Y",SWIG_From_int(static_cast< int >(wxSYS_CAPTION_Y
)));
38932 SWIG_Python_SetConstant(d
, "SYS_MENU_Y",SWIG_From_int(static_cast< int >(wxSYS_MENU_Y
)));
38933 SWIG_Python_SetConstant(d
, "SYS_NETWORK_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_NETWORK_PRESENT
)));
38934 SWIG_Python_SetConstant(d
, "SYS_PENWINDOWS_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_PENWINDOWS_PRESENT
)));
38935 SWIG_Python_SetConstant(d
, "SYS_SHOW_SOUNDS",SWIG_From_int(static_cast< int >(wxSYS_SHOW_SOUNDS
)));
38936 SWIG_Python_SetConstant(d
, "SYS_SWAP_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_SWAP_BUTTONS
)));
38937 SWIG_Python_SetConstant(d
, "SYS_CAN_DRAW_FRAME_DECORATIONS",SWIG_From_int(static_cast< int >(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
38938 SWIG_Python_SetConstant(d
, "SYS_CAN_ICONIZE_FRAME",SWIG_From_int(static_cast< int >(wxSYS_CAN_ICONIZE_FRAME
)));
38939 SWIG_Python_SetConstant(d
, "SYS_TABLET_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_TABLET_PRESENT
)));
38940 SWIG_Python_SetConstant(d
, "SYS_SCREEN_NONE",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_NONE
)));
38941 SWIG_Python_SetConstant(d
, "SYS_SCREEN_TINY",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_TINY
)));
38942 SWIG_Python_SetConstant(d
, "SYS_SCREEN_PDA",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_PDA
)));
38943 SWIG_Python_SetConstant(d
, "SYS_SCREEN_SMALL",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_SMALL
)));
38944 SWIG_Python_SetConstant(d
, "SYS_SCREEN_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_DESKTOP
)));
38945 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
38946 SWIG_addvarlink(SWIG_globals(),(char*)"WINDOW_DEFAULT_VARIANT",WINDOW_DEFAULT_VARIANT_get
, WINDOW_DEFAULT_VARIANT_set
);
38947 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
38948 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
38949 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
38950 SWIG_Python_SetConstant(d
, "UNKNOWN_PLATFORM",SWIG_From_int(static_cast< int >(wxUNKNOWN_PLATFORM
)));
38951 SWIG_Python_SetConstant(d
, "CURSES",SWIG_From_int(static_cast< int >(wxCURSES
)));
38952 SWIG_Python_SetConstant(d
, "XVIEW_X",SWIG_From_int(static_cast< int >(wxXVIEW_X
)));
38953 SWIG_Python_SetConstant(d
, "MOTIF_X",SWIG_From_int(static_cast< int >(wxMOTIF_X
)));
38954 SWIG_Python_SetConstant(d
, "COSE_X",SWIG_From_int(static_cast< int >(wxCOSE_X
)));
38955 SWIG_Python_SetConstant(d
, "NEXTSTEP",SWIG_From_int(static_cast< int >(wxNEXTSTEP
)));
38956 SWIG_Python_SetConstant(d
, "MAC",SWIG_From_int(static_cast< int >(wxMAC
)));
38957 SWIG_Python_SetConstant(d
, "MAC_DARWIN",SWIG_From_int(static_cast< int >(wxMAC_DARWIN
)));
38958 SWIG_Python_SetConstant(d
, "BEOS",SWIG_From_int(static_cast< int >(wxBEOS
)));
38959 SWIG_Python_SetConstant(d
, "GTK",SWIG_From_int(static_cast< int >(wxGTK
)));
38960 SWIG_Python_SetConstant(d
, "GTK_WIN32",SWIG_From_int(static_cast< int >(wxGTK_WIN32
)));
38961 SWIG_Python_SetConstant(d
, "GTK_OS2",SWIG_From_int(static_cast< int >(wxGTK_OS2
)));
38962 SWIG_Python_SetConstant(d
, "GTK_BEOS",SWIG_From_int(static_cast< int >(wxGTK_BEOS
)));
38963 SWIG_Python_SetConstant(d
, "GEOS",SWIG_From_int(static_cast< int >(wxGEOS
)));
38964 SWIG_Python_SetConstant(d
, "OS2_PM",SWIG_From_int(static_cast< int >(wxOS2_PM
)));
38965 SWIG_Python_SetConstant(d
, "WINDOWS",SWIG_From_int(static_cast< int >(wxWINDOWS
)));
38966 SWIG_Python_SetConstant(d
, "MICROWINDOWS",SWIG_From_int(static_cast< int >(wxMICROWINDOWS
)));
38967 SWIG_Python_SetConstant(d
, "PENWINDOWS",SWIG_From_int(static_cast< int >(wxPENWINDOWS
)));
38968 SWIG_Python_SetConstant(d
, "WINDOWS_NT",SWIG_From_int(static_cast< int >(wxWINDOWS_NT
)));
38969 SWIG_Python_SetConstant(d
, "WIN32S",SWIG_From_int(static_cast< int >(wxWIN32S
)));
38970 SWIG_Python_SetConstant(d
, "WIN95",SWIG_From_int(static_cast< int >(wxWIN95
)));
38971 SWIG_Python_SetConstant(d
, "WIN386",SWIG_From_int(static_cast< int >(wxWIN386
)));
38972 SWIG_Python_SetConstant(d
, "WINDOWS_CE",SWIG_From_int(static_cast< int >(wxWINDOWS_CE
)));
38973 SWIG_Python_SetConstant(d
, "WINDOWS_POCKETPC",SWIG_From_int(static_cast< int >(wxWINDOWS_POCKETPC
)));
38974 SWIG_Python_SetConstant(d
, "WINDOWS_SMARTPHONE",SWIG_From_int(static_cast< int >(wxWINDOWS_SMARTPHONE
)));
38975 SWIG_Python_SetConstant(d
, "MGL_UNIX",SWIG_From_int(static_cast< int >(wxMGL_UNIX
)));
38976 SWIG_Python_SetConstant(d
, "MGL_X",SWIG_From_int(static_cast< int >(wxMGL_X
)));
38977 SWIG_Python_SetConstant(d
, "MGL_WIN32",SWIG_From_int(static_cast< int >(wxMGL_WIN32
)));
38978 SWIG_Python_SetConstant(d
, "MGL_OS2",SWIG_From_int(static_cast< int >(wxMGL_OS2
)));
38979 SWIG_Python_SetConstant(d
, "MGL_DOS",SWIG_From_int(static_cast< int >(wxMGL_DOS
)));
38980 SWIG_Python_SetConstant(d
, "WINDOWS_OS2",SWIG_From_int(static_cast< int >(wxWINDOWS_OS2
)));
38981 SWIG_Python_SetConstant(d
, "UNIX",SWIG_From_int(static_cast< int >(wxUNIX
)));
38982 SWIG_Python_SetConstant(d
, "X11",SWIG_From_int(static_cast< int >(wxX11
)));
38983 SWIG_Python_SetConstant(d
, "PALMOS",SWIG_From_int(static_cast< int >(wxPALMOS
)));
38984 SWIG_Python_SetConstant(d
, "DOS",SWIG_From_int(static_cast< int >(wxDOS
)));
38985 SWIG_Python_SetConstant(d
, "SHUTDOWN_POWEROFF",SWIG_From_int(static_cast< int >(wxSHUTDOWN_POWEROFF
)));
38986 SWIG_Python_SetConstant(d
, "SHUTDOWN_REBOOT",SWIG_From_int(static_cast< int >(wxSHUTDOWN_REBOOT
)));
38987 SWIG_Python_SetConstant(d
, "TIMER_CONTINUOUS",SWIG_From_int(static_cast< int >(wxTIMER_CONTINUOUS
)));
38988 SWIG_Python_SetConstant(d
, "TIMER_ONE_SHOT",SWIG_From_int(static_cast< int >(wxTIMER_ONE_SHOT
)));
38989 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
38991 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
38993 SWIG_Python_SetConstant(d
, "LOG_FatalError",SWIG_From_int(static_cast< int >(wxLOG_FatalError
)));
38994 SWIG_Python_SetConstant(d
, "LOG_Error",SWIG_From_int(static_cast< int >(wxLOG_Error
)));
38995 SWIG_Python_SetConstant(d
, "LOG_Warning",SWIG_From_int(static_cast< int >(wxLOG_Warning
)));
38996 SWIG_Python_SetConstant(d
, "LOG_Message",SWIG_From_int(static_cast< int >(wxLOG_Message
)));
38997 SWIG_Python_SetConstant(d
, "LOG_Status",SWIG_From_int(static_cast< int >(wxLOG_Status
)));
38998 SWIG_Python_SetConstant(d
, "LOG_Info",SWIG_From_int(static_cast< int >(wxLOG_Info
)));
38999 SWIG_Python_SetConstant(d
, "LOG_Debug",SWIG_From_int(static_cast< int >(wxLOG_Debug
)));
39000 SWIG_Python_SetConstant(d
, "LOG_Trace",SWIG_From_int(static_cast< int >(wxLOG_Trace
)));
39001 SWIG_Python_SetConstant(d
, "LOG_Progress",SWIG_From_int(static_cast< int >(wxLOG_Progress
)));
39002 SWIG_Python_SetConstant(d
, "LOG_User",SWIG_From_int(static_cast< int >(wxLOG_User
)));
39003 SWIG_Python_SetConstant(d
, "LOG_Max",SWIG_From_int(static_cast< int >(wxLOG_Max
)));
39004 SWIG_Python_SetConstant(d
, "TRACE_MemAlloc",SWIG_FromCharPtr("memalloc"));
39005 SWIG_Python_SetConstant(d
, "TRACE_Messages",SWIG_FromCharPtr("messages"));
39006 SWIG_Python_SetConstant(d
, "TRACE_ResAlloc",SWIG_FromCharPtr("resalloc"));
39007 SWIG_Python_SetConstant(d
, "TRACE_RefCount",SWIG_FromCharPtr("refcount"));
39008 SWIG_Python_SetConstant(d
, "TRACE_OleCalls",SWIG_FromCharPtr("ole"));
39009 SWIG_Python_SetConstant(d
, "TraceMemAlloc",SWIG_From_int(static_cast< int >(0x0001)));
39010 SWIG_Python_SetConstant(d
, "TraceMessages",SWIG_From_int(static_cast< int >(0x0002)));
39011 SWIG_Python_SetConstant(d
, "TraceResAlloc",SWIG_From_int(static_cast< int >(0x0004)));
39012 SWIG_Python_SetConstant(d
, "TraceRefCount",SWIG_From_int(static_cast< int >(0x0008)));
39013 SWIG_Python_SetConstant(d
, "TraceOleCalls",SWIG_From_int(static_cast< int >(0x0100)));
39014 SWIG_Python_SetConstant(d
, "PROCESS_DEFAULT",SWIG_From_int(static_cast< int >(wxPROCESS_DEFAULT
)));
39015 SWIG_Python_SetConstant(d
, "PROCESS_REDIRECT",SWIG_From_int(static_cast< int >(wxPROCESS_REDIRECT
)));
39016 SWIG_Python_SetConstant(d
, "KILL_OK",SWIG_From_int(static_cast< int >(wxKILL_OK
)));
39017 SWIG_Python_SetConstant(d
, "KILL_BAD_SIGNAL",SWIG_From_int(static_cast< int >(wxKILL_BAD_SIGNAL
)));
39018 SWIG_Python_SetConstant(d
, "KILL_ACCESS_DENIED",SWIG_From_int(static_cast< int >(wxKILL_ACCESS_DENIED
)));
39019 SWIG_Python_SetConstant(d
, "KILL_NO_PROCESS",SWIG_From_int(static_cast< int >(wxKILL_NO_PROCESS
)));
39020 SWIG_Python_SetConstant(d
, "KILL_ERROR",SWIG_From_int(static_cast< int >(wxKILL_ERROR
)));
39021 SWIG_Python_SetConstant(d
, "KILL_NOCHILDREN",SWIG_From_int(static_cast< int >(wxKILL_NOCHILDREN
)));
39022 SWIG_Python_SetConstant(d
, "KILL_CHILDREN",SWIG_From_int(static_cast< int >(wxKILL_CHILDREN
)));
39023 SWIG_Python_SetConstant(d
, "SIGNONE",SWIG_From_int(static_cast< int >(wxSIGNONE
)));
39024 SWIG_Python_SetConstant(d
, "SIGHUP",SWIG_From_int(static_cast< int >(wxSIGHUP
)));
39025 SWIG_Python_SetConstant(d
, "SIGINT",SWIG_From_int(static_cast< int >(wxSIGINT
)));
39026 SWIG_Python_SetConstant(d
, "SIGQUIT",SWIG_From_int(static_cast< int >(wxSIGQUIT
)));
39027 SWIG_Python_SetConstant(d
, "SIGILL",SWIG_From_int(static_cast< int >(wxSIGILL
)));
39028 SWIG_Python_SetConstant(d
, "SIGTRAP",SWIG_From_int(static_cast< int >(wxSIGTRAP
)));
39029 SWIG_Python_SetConstant(d
, "SIGABRT",SWIG_From_int(static_cast< int >(wxSIGABRT
)));
39030 SWIG_Python_SetConstant(d
, "SIGIOT",SWIG_From_int(static_cast< int >(wxSIGIOT
)));
39031 SWIG_Python_SetConstant(d
, "SIGEMT",SWIG_From_int(static_cast< int >(wxSIGEMT
)));
39032 SWIG_Python_SetConstant(d
, "SIGFPE",SWIG_From_int(static_cast< int >(wxSIGFPE
)));
39033 SWIG_Python_SetConstant(d
, "SIGKILL",SWIG_From_int(static_cast< int >(wxSIGKILL
)));
39034 SWIG_Python_SetConstant(d
, "SIGBUS",SWIG_From_int(static_cast< int >(wxSIGBUS
)));
39035 SWIG_Python_SetConstant(d
, "SIGSEGV",SWIG_From_int(static_cast< int >(wxSIGSEGV
)));
39036 SWIG_Python_SetConstant(d
, "SIGSYS",SWIG_From_int(static_cast< int >(wxSIGSYS
)));
39037 SWIG_Python_SetConstant(d
, "SIGPIPE",SWIG_From_int(static_cast< int >(wxSIGPIPE
)));
39038 SWIG_Python_SetConstant(d
, "SIGALRM",SWIG_From_int(static_cast< int >(wxSIGALRM
)));
39039 SWIG_Python_SetConstant(d
, "SIGTERM",SWIG_From_int(static_cast< int >(wxSIGTERM
)));
39040 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
39041 SWIG_Python_SetConstant(d
, "EXEC_ASYNC",SWIG_From_int(static_cast< int >(wxEXEC_ASYNC
)));
39042 SWIG_Python_SetConstant(d
, "EXEC_SYNC",SWIG_From_int(static_cast< int >(wxEXEC_SYNC
)));
39043 SWIG_Python_SetConstant(d
, "EXEC_NOHIDE",SWIG_From_int(static_cast< int >(wxEXEC_NOHIDE
)));
39044 SWIG_Python_SetConstant(d
, "EXEC_MAKE_GROUP_LEADER",SWIG_From_int(static_cast< int >(wxEXEC_MAKE_GROUP_LEADER
)));
39045 SWIG_Python_SetConstant(d
, "EXEC_NODISABLE",SWIG_From_int(static_cast< int >(wxEXEC_NODISABLE
)));
39047 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
39049 SWIG_Python_SetConstant(d
, "JOYSTICK1",SWIG_From_int(static_cast< int >(wxJOYSTICK1
)));
39050 SWIG_Python_SetConstant(d
, "JOYSTICK2",SWIG_From_int(static_cast< int >(wxJOYSTICK2
)));
39051 SWIG_Python_SetConstant(d
, "JOY_BUTTON_ANY",SWIG_From_int(static_cast< int >(wxJOY_BUTTON_ANY
)));
39052 SWIG_Python_SetConstant(d
, "JOY_BUTTON1",SWIG_From_int(static_cast< int >(wxJOY_BUTTON1
)));
39053 SWIG_Python_SetConstant(d
, "JOY_BUTTON2",SWIG_From_int(static_cast< int >(wxJOY_BUTTON2
)));
39054 SWIG_Python_SetConstant(d
, "JOY_BUTTON3",SWIG_From_int(static_cast< int >(wxJOY_BUTTON3
)));
39055 SWIG_Python_SetConstant(d
, "JOY_BUTTON4",SWIG_From_int(static_cast< int >(wxJOY_BUTTON4
)));
39056 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
39057 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
39058 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
39059 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
39060 SWIG_Python_SetConstant(d
, "SOUND_SYNC",SWIG_From_int(static_cast< int >(wxSOUND_SYNC
)));
39061 SWIG_Python_SetConstant(d
, "SOUND_ASYNC",SWIG_From_int(static_cast< int >(wxSOUND_ASYNC
)));
39062 SWIG_Python_SetConstant(d
, "SOUND_LOOP",SWIG_From_int(static_cast< int >(wxSOUND_LOOP
)));
39063 SWIG_Python_SetConstant(d
, "MAILCAP_STANDARD",SWIG_From_int(static_cast< int >(wxMAILCAP_STANDARD
)));
39064 SWIG_Python_SetConstant(d
, "MAILCAP_NETSCAPE",SWIG_From_int(static_cast< int >(wxMAILCAP_NETSCAPE
)));
39065 SWIG_Python_SetConstant(d
, "MAILCAP_KDE",SWIG_From_int(static_cast< int >(wxMAILCAP_KDE
)));
39066 SWIG_Python_SetConstant(d
, "MAILCAP_GNOME",SWIG_From_int(static_cast< int >(wxMAILCAP_GNOME
)));
39067 SWIG_Python_SetConstant(d
, "MAILCAP_ALL",SWIG_From_int(static_cast< int >(wxMAILCAP_ALL
)));
39068 SWIG_addvarlink(SWIG_globals(),(char*)"TheMimeTypesManager",TheMimeTypesManager_get
, TheMimeTypesManager_set
);
39069 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TOOLBAR",ART_TOOLBAR_get
, ART_TOOLBAR_set
);
39070 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MENU",ART_MENU_get
, ART_MENU_set
);
39071 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FRAME_ICON",ART_FRAME_ICON_get
, ART_FRAME_ICON_set
);
39072 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CMN_DIALOG",ART_CMN_DIALOG_get
, ART_CMN_DIALOG_set
);
39073 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BROWSER",ART_HELP_BROWSER_get
, ART_HELP_BROWSER_set
);
39074 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MESSAGE_BOX",ART_MESSAGE_BOX_get
, ART_MESSAGE_BOX_set
);
39075 SWIG_addvarlink(SWIG_globals(),(char*)"ART_BUTTON",ART_BUTTON_get
, ART_BUTTON_set
);
39076 SWIG_addvarlink(SWIG_globals(),(char*)"ART_OTHER",ART_OTHER_get
, ART_OTHER_set
);
39077 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ADD_BOOKMARK",ART_ADD_BOOKMARK_get
, ART_ADD_BOOKMARK_set
);
39078 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DEL_BOOKMARK",ART_DEL_BOOKMARK_get
, ART_DEL_BOOKMARK_set
);
39079 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SIDE_PANEL",ART_HELP_SIDE_PANEL_get
, ART_HELP_SIDE_PANEL_set
);
39080 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SETTINGS",ART_HELP_SETTINGS_get
, ART_HELP_SETTINGS_set
);
39081 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BOOK",ART_HELP_BOOK_get
, ART_HELP_BOOK_set
);
39082 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_FOLDER",ART_HELP_FOLDER_get
, ART_HELP_FOLDER_set
);
39083 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_PAGE",ART_HELP_PAGE_get
, ART_HELP_PAGE_set
);
39084 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_BACK",ART_GO_BACK_get
, ART_GO_BACK_set
);
39085 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_FORWARD",ART_GO_FORWARD_get
, ART_GO_FORWARD_set
);
39086 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_UP",ART_GO_UP_get
, ART_GO_UP_set
);
39087 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DOWN",ART_GO_DOWN_get
, ART_GO_DOWN_set
);
39088 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_TO_PARENT",ART_GO_TO_PARENT_get
, ART_GO_TO_PARENT_set
);
39089 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_HOME",ART_GO_HOME_get
, ART_GO_HOME_set
);
39090 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_OPEN",ART_FILE_OPEN_get
, ART_FILE_OPEN_set
);
39091 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE",ART_FILE_SAVE_get
, ART_FILE_SAVE_set
);
39092 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE_AS",ART_FILE_SAVE_AS_get
, ART_FILE_SAVE_AS_set
);
39093 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PRINT",ART_PRINT_get
, ART_PRINT_set
);
39094 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP",ART_HELP_get
, ART_HELP_set
);
39095 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TIP",ART_TIP_get
, ART_TIP_set
);
39096 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REPORT_VIEW",ART_REPORT_VIEW_get
, ART_REPORT_VIEW_set
);
39097 SWIG_addvarlink(SWIG_globals(),(char*)"ART_LIST_VIEW",ART_LIST_VIEW_get
, ART_LIST_VIEW_set
);
39098 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW_DIR",ART_NEW_DIR_get
, ART_NEW_DIR_set
);
39099 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HARDDISK",ART_HARDDISK_get
, ART_HARDDISK_set
);
39100 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FLOPPY",ART_FLOPPY_get
, ART_FLOPPY_set
);
39101 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CDROM",ART_CDROM_get
, ART_CDROM_set
);
39102 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REMOVABLE",ART_REMOVABLE_get
, ART_REMOVABLE_set
);
39103 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER",ART_FOLDER_get
, ART_FOLDER_set
);
39104 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER_OPEN",ART_FOLDER_OPEN_get
, ART_FOLDER_OPEN_set
);
39105 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DIR_UP",ART_GO_DIR_UP_get
, ART_GO_DIR_UP_set
);
39106 SWIG_addvarlink(SWIG_globals(),(char*)"ART_EXECUTABLE_FILE",ART_EXECUTABLE_FILE_get
, ART_EXECUTABLE_FILE_set
);
39107 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NORMAL_FILE",ART_NORMAL_FILE_get
, ART_NORMAL_FILE_set
);
39108 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TICK_MARK",ART_TICK_MARK_get
, ART_TICK_MARK_set
);
39109 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CROSS_MARK",ART_CROSS_MARK_get
, ART_CROSS_MARK_set
);
39110 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ERROR",ART_ERROR_get
, ART_ERROR_set
);
39111 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUESTION",ART_QUESTION_get
, ART_QUESTION_set
);
39112 SWIG_addvarlink(SWIG_globals(),(char*)"ART_WARNING",ART_WARNING_get
, ART_WARNING_set
);
39113 SWIG_addvarlink(SWIG_globals(),(char*)"ART_INFORMATION",ART_INFORMATION_get
, ART_INFORMATION_set
);
39114 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MISSING_IMAGE",ART_MISSING_IMAGE_get
, ART_MISSING_IMAGE_set
);
39115 SWIG_addvarlink(SWIG_globals(),(char*)"ART_COPY",ART_COPY_get
, ART_COPY_set
);
39116 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CUT",ART_CUT_get
, ART_CUT_set
);
39117 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PASTE",ART_PASTE_get
, ART_PASTE_set
);
39118 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DELETE",ART_DELETE_get
, ART_DELETE_set
);
39119 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW",ART_NEW_get
, ART_NEW_set
);
39120 SWIG_addvarlink(SWIG_globals(),(char*)"ART_UNDO",ART_UNDO_get
, ART_UNDO_set
);
39121 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REDO",ART_REDO_get
, ART_REDO_set
);
39122 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUIT",ART_QUIT_get
, ART_QUIT_set
);
39123 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND",ART_FIND_get
, ART_FIND_set
);
39124 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND_AND_REPLACE",ART_FIND_AND_REPLACE_get
, ART_FIND_AND_REPLACE_set
);
39126 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
39128 SWIG_Python_SetConstant(d
, "CONFIG_USE_LOCAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_LOCAL_FILE
)));
39129 SWIG_Python_SetConstant(d
, "CONFIG_USE_GLOBAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_GLOBAL_FILE
)));
39130 SWIG_Python_SetConstant(d
, "CONFIG_USE_RELATIVE_PATH",SWIG_From_int(static_cast< int >(wxCONFIG_USE_RELATIVE_PATH
)));
39131 SWIG_Python_SetConstant(d
, "CONFIG_USE_NO_ESCAPE_CHARACTERS",SWIG_From_int(static_cast< int >(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
39132 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Unknown",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Unknown
)));
39133 SWIG_Python_SetConstant(d
, "ConfigBase_Type_String",SWIG_From_int(static_cast< int >(wxConfigBase::Type_String
)));
39134 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Boolean",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Boolean
)));
39135 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Integer",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Integer
)));
39136 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Float",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Float
)));
39137 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTimeFormat",DefaultDateTimeFormat_get
, DefaultDateTimeFormat_set
);
39138 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultTimeSpanFormat",DefaultTimeSpanFormat_get
, DefaultTimeSpanFormat_set
);
39139 SWIG_Python_SetConstant(d
, "DateTime_Local",SWIG_From_int(static_cast< int >(wxDateTime::Local
)));
39140 SWIG_Python_SetConstant(d
, "DateTime_GMT_12",SWIG_From_int(static_cast< int >(wxDateTime::GMT_12
)));
39141 SWIG_Python_SetConstant(d
, "DateTime_GMT_11",SWIG_From_int(static_cast< int >(wxDateTime::GMT_11
)));
39142 SWIG_Python_SetConstant(d
, "DateTime_GMT_10",SWIG_From_int(static_cast< int >(wxDateTime::GMT_10
)));
39143 SWIG_Python_SetConstant(d
, "DateTime_GMT_9",SWIG_From_int(static_cast< int >(wxDateTime::GMT_9
)));
39144 SWIG_Python_SetConstant(d
, "DateTime_GMT_8",SWIG_From_int(static_cast< int >(wxDateTime::GMT_8
)));
39145 SWIG_Python_SetConstant(d
, "DateTime_GMT_7",SWIG_From_int(static_cast< int >(wxDateTime::GMT_7
)));
39146 SWIG_Python_SetConstant(d
, "DateTime_GMT_6",SWIG_From_int(static_cast< int >(wxDateTime::GMT_6
)));
39147 SWIG_Python_SetConstant(d
, "DateTime_GMT_5",SWIG_From_int(static_cast< int >(wxDateTime::GMT_5
)));
39148 SWIG_Python_SetConstant(d
, "DateTime_GMT_4",SWIG_From_int(static_cast< int >(wxDateTime::GMT_4
)));
39149 SWIG_Python_SetConstant(d
, "DateTime_GMT_3",SWIG_From_int(static_cast< int >(wxDateTime::GMT_3
)));
39150 SWIG_Python_SetConstant(d
, "DateTime_GMT_2",SWIG_From_int(static_cast< int >(wxDateTime::GMT_2
)));
39151 SWIG_Python_SetConstant(d
, "DateTime_GMT_1",SWIG_From_int(static_cast< int >(wxDateTime::GMT_1
)));
39152 SWIG_Python_SetConstant(d
, "DateTime_GMT0",SWIG_From_int(static_cast< int >(wxDateTime::GMT0
)));
39153 SWIG_Python_SetConstant(d
, "DateTime_GMT1",SWIG_From_int(static_cast< int >(wxDateTime::GMT1
)));
39154 SWIG_Python_SetConstant(d
, "DateTime_GMT2",SWIG_From_int(static_cast< int >(wxDateTime::GMT2
)));
39155 SWIG_Python_SetConstant(d
, "DateTime_GMT3",SWIG_From_int(static_cast< int >(wxDateTime::GMT3
)));
39156 SWIG_Python_SetConstant(d
, "DateTime_GMT4",SWIG_From_int(static_cast< int >(wxDateTime::GMT4
)));
39157 SWIG_Python_SetConstant(d
, "DateTime_GMT5",SWIG_From_int(static_cast< int >(wxDateTime::GMT5
)));
39158 SWIG_Python_SetConstant(d
, "DateTime_GMT6",SWIG_From_int(static_cast< int >(wxDateTime::GMT6
)));
39159 SWIG_Python_SetConstant(d
, "DateTime_GMT7",SWIG_From_int(static_cast< int >(wxDateTime::GMT7
)));
39160 SWIG_Python_SetConstant(d
, "DateTime_GMT8",SWIG_From_int(static_cast< int >(wxDateTime::GMT8
)));
39161 SWIG_Python_SetConstant(d
, "DateTime_GMT9",SWIG_From_int(static_cast< int >(wxDateTime::GMT9
)));
39162 SWIG_Python_SetConstant(d
, "DateTime_GMT10",SWIG_From_int(static_cast< int >(wxDateTime::GMT10
)));
39163 SWIG_Python_SetConstant(d
, "DateTime_GMT11",SWIG_From_int(static_cast< int >(wxDateTime::GMT11
)));
39164 SWIG_Python_SetConstant(d
, "DateTime_GMT12",SWIG_From_int(static_cast< int >(wxDateTime::GMT12
)));
39165 SWIG_Python_SetConstant(d
, "DateTime_WET",SWIG_From_int(static_cast< int >(wxDateTime::WET
)));
39166 SWIG_Python_SetConstant(d
, "DateTime_WEST",SWIG_From_int(static_cast< int >(wxDateTime::WEST
)));
39167 SWIG_Python_SetConstant(d
, "DateTime_CET",SWIG_From_int(static_cast< int >(wxDateTime::CET
)));
39168 SWIG_Python_SetConstant(d
, "DateTime_CEST",SWIG_From_int(static_cast< int >(wxDateTime::CEST
)));
39169 SWIG_Python_SetConstant(d
, "DateTime_EET",SWIG_From_int(static_cast< int >(wxDateTime::EET
)));
39170 SWIG_Python_SetConstant(d
, "DateTime_EEST",SWIG_From_int(static_cast< int >(wxDateTime::EEST
)));
39171 SWIG_Python_SetConstant(d
, "DateTime_MSK",SWIG_From_int(static_cast< int >(wxDateTime::MSK
)));
39172 SWIG_Python_SetConstant(d
, "DateTime_MSD",SWIG_From_int(static_cast< int >(wxDateTime::MSD
)));
39173 SWIG_Python_SetConstant(d
, "DateTime_AST",SWIG_From_int(static_cast< int >(wxDateTime::AST
)));
39174 SWIG_Python_SetConstant(d
, "DateTime_ADT",SWIG_From_int(static_cast< int >(wxDateTime::ADT
)));
39175 SWIG_Python_SetConstant(d
, "DateTime_EST",SWIG_From_int(static_cast< int >(wxDateTime::EST
)));
39176 SWIG_Python_SetConstant(d
, "DateTime_EDT",SWIG_From_int(static_cast< int >(wxDateTime::EDT
)));
39177 SWIG_Python_SetConstant(d
, "DateTime_CST",SWIG_From_int(static_cast< int >(wxDateTime::CST
)));
39178 SWIG_Python_SetConstant(d
, "DateTime_CDT",SWIG_From_int(static_cast< int >(wxDateTime::CDT
)));
39179 SWIG_Python_SetConstant(d
, "DateTime_MST",SWIG_From_int(static_cast< int >(wxDateTime::MST
)));
39180 SWIG_Python_SetConstant(d
, "DateTime_MDT",SWIG_From_int(static_cast< int >(wxDateTime::MDT
)));
39181 SWIG_Python_SetConstant(d
, "DateTime_PST",SWIG_From_int(static_cast< int >(wxDateTime::PST
)));
39182 SWIG_Python_SetConstant(d
, "DateTime_PDT",SWIG_From_int(static_cast< int >(wxDateTime::PDT
)));
39183 SWIG_Python_SetConstant(d
, "DateTime_HST",SWIG_From_int(static_cast< int >(wxDateTime::HST
)));
39184 SWIG_Python_SetConstant(d
, "DateTime_AKST",SWIG_From_int(static_cast< int >(wxDateTime::AKST
)));
39185 SWIG_Python_SetConstant(d
, "DateTime_AKDT",SWIG_From_int(static_cast< int >(wxDateTime::AKDT
)));
39186 SWIG_Python_SetConstant(d
, "DateTime_A_WST",SWIG_From_int(static_cast< int >(wxDateTime::A_WST
)));
39187 SWIG_Python_SetConstant(d
, "DateTime_A_CST",SWIG_From_int(static_cast< int >(wxDateTime::A_CST
)));
39188 SWIG_Python_SetConstant(d
, "DateTime_A_EST",SWIG_From_int(static_cast< int >(wxDateTime::A_EST
)));
39189 SWIG_Python_SetConstant(d
, "DateTime_A_ESST",SWIG_From_int(static_cast< int >(wxDateTime::A_ESST
)));
39190 SWIG_Python_SetConstant(d
, "DateTime_UTC",SWIG_From_int(static_cast< int >(wxDateTime::UTC
)));
39191 SWIG_Python_SetConstant(d
, "DateTime_Gregorian",SWIG_From_int(static_cast< int >(wxDateTime::Gregorian
)));
39192 SWIG_Python_SetConstant(d
, "DateTime_Julian",SWIG_From_int(static_cast< int >(wxDateTime::Julian
)));
39193 SWIG_Python_SetConstant(d
, "DateTime_Gr_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Unknown
)));
39194 SWIG_Python_SetConstant(d
, "DateTime_Gr_Standard",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Standard
)));
39195 SWIG_Python_SetConstant(d
, "DateTime_Gr_Alaska",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Alaska
)));
39196 SWIG_Python_SetConstant(d
, "DateTime_Gr_Albania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Albania
)));
39197 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria
)));
39198 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Brixen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Brixen
)));
39199 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Salzburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Salzburg
)));
39200 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Tyrol",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Tyrol
)));
39201 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Carinthia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Carinthia
)));
39202 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Styria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Styria
)));
39203 SWIG_Python_SetConstant(d
, "DateTime_Gr_Belgium",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Belgium
)));
39204 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria
)));
39205 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_1
)));
39206 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_2
)));
39207 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_3
)));
39208 SWIG_Python_SetConstant(d
, "DateTime_Gr_Canada",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Canada
)));
39209 SWIG_Python_SetConstant(d
, "DateTime_Gr_China",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China
)));
39210 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_1
)));
39211 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_2
)));
39212 SWIG_Python_SetConstant(d
, "DateTime_Gr_Czechoslovakia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Czechoslovakia
)));
39213 SWIG_Python_SetConstant(d
, "DateTime_Gr_Denmark",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Denmark
)));
39214 SWIG_Python_SetConstant(d
, "DateTime_Gr_Egypt",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Egypt
)));
39215 SWIG_Python_SetConstant(d
, "DateTime_Gr_Estonia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Estonia
)));
39216 SWIG_Python_SetConstant(d
, "DateTime_Gr_Finland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Finland
)));
39217 SWIG_Python_SetConstant(d
, "DateTime_Gr_France",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France
)));
39218 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Alsace",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Alsace
)));
39219 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Lorraine",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Lorraine
)));
39220 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Strasbourg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Strasbourg
)));
39221 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany
)));
39222 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Catholic
)));
39223 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Prussia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Prussia
)));
39224 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Protestant
)));
39225 SWIG_Python_SetConstant(d
, "DateTime_Gr_GreatBritain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_GreatBritain
)));
39226 SWIG_Python_SetConstant(d
, "DateTime_Gr_Greece",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Greece
)));
39227 SWIG_Python_SetConstant(d
, "DateTime_Gr_Hungary",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Hungary
)));
39228 SWIG_Python_SetConstant(d
, "DateTime_Gr_Ireland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Ireland
)));
39229 SWIG_Python_SetConstant(d
, "DateTime_Gr_Italy",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Italy
)));
39230 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan
)));
39231 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_1
)));
39232 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_2
)));
39233 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_3
)));
39234 SWIG_Python_SetConstant(d
, "DateTime_Gr_Latvia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Latvia
)));
39235 SWIG_Python_SetConstant(d
, "DateTime_Gr_Lithuania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Lithuania
)));
39236 SWIG_Python_SetConstant(d
, "DateTime_Gr_Luxemburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Luxemburg
)));
39237 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands
)));
39238 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Groningen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Groningen
)));
39239 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Gelderland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Gelderland
)));
39240 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Utrecht",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Utrecht
)));
39241 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Friesland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Friesland
)));
39242 SWIG_Python_SetConstant(d
, "DateTime_Gr_Norway",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Norway
)));
39243 SWIG_Python_SetConstant(d
, "DateTime_Gr_Poland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Poland
)));
39244 SWIG_Python_SetConstant(d
, "DateTime_Gr_Portugal",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Portugal
)));
39245 SWIG_Python_SetConstant(d
, "DateTime_Gr_Romania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Romania
)));
39246 SWIG_Python_SetConstant(d
, "DateTime_Gr_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Russia
)));
39247 SWIG_Python_SetConstant(d
, "DateTime_Gr_Scotland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Scotland
)));
39248 SWIG_Python_SetConstant(d
, "DateTime_Gr_Spain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Spain
)));
39249 SWIG_Python_SetConstant(d
, "DateTime_Gr_Sweden",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Sweden
)));
39250 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland
)));
39251 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Catholic
)));
39252 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Protestant
)));
39253 SWIG_Python_SetConstant(d
, "DateTime_Gr_Turkey",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Turkey
)));
39254 SWIG_Python_SetConstant(d
, "DateTime_Gr_USA",SWIG_From_int(static_cast< int >(wxDateTime::Gr_USA
)));
39255 SWIG_Python_SetConstant(d
, "DateTime_Gr_Wales",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Wales
)));
39256 SWIG_Python_SetConstant(d
, "DateTime_Gr_Yugoslavia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Yugoslavia
)));
39257 SWIG_Python_SetConstant(d
, "DateTime_Country_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Country_Unknown
)));
39258 SWIG_Python_SetConstant(d
, "DateTime_Country_Default",SWIG_From_int(static_cast< int >(wxDateTime::Country_Default
)));
39259 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_Start",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_Start
)));
39260 SWIG_Python_SetConstant(d
, "DateTime_Country_EEC",SWIG_From_int(static_cast< int >(wxDateTime::Country_EEC
)));
39261 SWIG_Python_SetConstant(d
, "DateTime_France",SWIG_From_int(static_cast< int >(wxDateTime::France
)));
39262 SWIG_Python_SetConstant(d
, "DateTime_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Germany
)));
39263 SWIG_Python_SetConstant(d
, "DateTime_UK",SWIG_From_int(static_cast< int >(wxDateTime::UK
)));
39264 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_End",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_End
)));
39265 SWIG_Python_SetConstant(d
, "DateTime_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Russia
)));
39266 SWIG_Python_SetConstant(d
, "DateTime_USA",SWIG_From_int(static_cast< int >(wxDateTime::USA
)));
39267 SWIG_Python_SetConstant(d
, "DateTime_Jan",SWIG_From_int(static_cast< int >(wxDateTime::Jan
)));
39268 SWIG_Python_SetConstant(d
, "DateTime_Feb",SWIG_From_int(static_cast< int >(wxDateTime::Feb
)));
39269 SWIG_Python_SetConstant(d
, "DateTime_Mar",SWIG_From_int(static_cast< int >(wxDateTime::Mar
)));
39270 SWIG_Python_SetConstant(d
, "DateTime_Apr",SWIG_From_int(static_cast< int >(wxDateTime::Apr
)));
39271 SWIG_Python_SetConstant(d
, "DateTime_May",SWIG_From_int(static_cast< int >(wxDateTime::May
)));
39272 SWIG_Python_SetConstant(d
, "DateTime_Jun",SWIG_From_int(static_cast< int >(wxDateTime::Jun
)));
39273 SWIG_Python_SetConstant(d
, "DateTime_Jul",SWIG_From_int(static_cast< int >(wxDateTime::Jul
)));
39274 SWIG_Python_SetConstant(d
, "DateTime_Aug",SWIG_From_int(static_cast< int >(wxDateTime::Aug
)));
39275 SWIG_Python_SetConstant(d
, "DateTime_Sep",SWIG_From_int(static_cast< int >(wxDateTime::Sep
)));
39276 SWIG_Python_SetConstant(d
, "DateTime_Oct",SWIG_From_int(static_cast< int >(wxDateTime::Oct
)));
39277 SWIG_Python_SetConstant(d
, "DateTime_Nov",SWIG_From_int(static_cast< int >(wxDateTime::Nov
)));
39278 SWIG_Python_SetConstant(d
, "DateTime_Dec",SWIG_From_int(static_cast< int >(wxDateTime::Dec
)));
39279 SWIG_Python_SetConstant(d
, "DateTime_Inv_Month",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Month
)));
39280 SWIG_Python_SetConstant(d
, "DateTime_Sun",SWIG_From_int(static_cast< int >(wxDateTime::Sun
)));
39281 SWIG_Python_SetConstant(d
, "DateTime_Mon",SWIG_From_int(static_cast< int >(wxDateTime::Mon
)));
39282 SWIG_Python_SetConstant(d
, "DateTime_Tue",SWIG_From_int(static_cast< int >(wxDateTime::Tue
)));
39283 SWIG_Python_SetConstant(d
, "DateTime_Wed",SWIG_From_int(static_cast< int >(wxDateTime::Wed
)));
39284 SWIG_Python_SetConstant(d
, "DateTime_Thu",SWIG_From_int(static_cast< int >(wxDateTime::Thu
)));
39285 SWIG_Python_SetConstant(d
, "DateTime_Fri",SWIG_From_int(static_cast< int >(wxDateTime::Fri
)));
39286 SWIG_Python_SetConstant(d
, "DateTime_Sat",SWIG_From_int(static_cast< int >(wxDateTime::Sat
)));
39287 SWIG_Python_SetConstant(d
, "DateTime_Inv_WeekDay",SWIG_From_int(static_cast< int >(wxDateTime::Inv_WeekDay
)));
39288 SWIG_Python_SetConstant(d
, "DateTime_Inv_Year",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Year
)));
39289 SWIG_Python_SetConstant(d
, "DateTime_Name_Full",SWIG_From_int(static_cast< int >(wxDateTime::Name_Full
)));
39290 SWIG_Python_SetConstant(d
, "DateTime_Name_Abbr",SWIG_From_int(static_cast< int >(wxDateTime::Name_Abbr
)));
39291 SWIG_Python_SetConstant(d
, "DateTime_Default_First",SWIG_From_int(static_cast< int >(wxDateTime::Default_First
)));
39292 SWIG_Python_SetConstant(d
, "DateTime_Monday_First",SWIG_From_int(static_cast< int >(wxDateTime::Monday_First
)));
39293 SWIG_Python_SetConstant(d
, "DateTime_Sunday_First",SWIG_From_int(static_cast< int >(wxDateTime::Sunday_First
)));
39294 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTime",DefaultDateTime_get
, DefaultDateTime_set
);
39295 SWIG_Python_SetConstant(d
, "DF_INVALID",SWIG_From_int(static_cast< int >(wxDF_INVALID
)));
39296 SWIG_Python_SetConstant(d
, "DF_TEXT",SWIG_From_int(static_cast< int >(wxDF_TEXT
)));
39297 SWIG_Python_SetConstant(d
, "DF_BITMAP",SWIG_From_int(static_cast< int >(wxDF_BITMAP
)));
39298 SWIG_Python_SetConstant(d
, "DF_METAFILE",SWIG_From_int(static_cast< int >(wxDF_METAFILE
)));
39299 SWIG_Python_SetConstant(d
, "DF_SYLK",SWIG_From_int(static_cast< int >(wxDF_SYLK
)));
39300 SWIG_Python_SetConstant(d
, "DF_DIF",SWIG_From_int(static_cast< int >(wxDF_DIF
)));
39301 SWIG_Python_SetConstant(d
, "DF_TIFF",SWIG_From_int(static_cast< int >(wxDF_TIFF
)));
39302 SWIG_Python_SetConstant(d
, "DF_OEMTEXT",SWIG_From_int(static_cast< int >(wxDF_OEMTEXT
)));
39303 SWIG_Python_SetConstant(d
, "DF_DIB",SWIG_From_int(static_cast< int >(wxDF_DIB
)));
39304 SWIG_Python_SetConstant(d
, "DF_PALETTE",SWIG_From_int(static_cast< int >(wxDF_PALETTE
)));
39305 SWIG_Python_SetConstant(d
, "DF_PENDATA",SWIG_From_int(static_cast< int >(wxDF_PENDATA
)));
39306 SWIG_Python_SetConstant(d
, "DF_RIFF",SWIG_From_int(static_cast< int >(wxDF_RIFF
)));
39307 SWIG_Python_SetConstant(d
, "DF_WAVE",SWIG_From_int(static_cast< int >(wxDF_WAVE
)));
39308 SWIG_Python_SetConstant(d
, "DF_UNICODETEXT",SWIG_From_int(static_cast< int >(wxDF_UNICODETEXT
)));
39309 SWIG_Python_SetConstant(d
, "DF_ENHMETAFILE",SWIG_From_int(static_cast< int >(wxDF_ENHMETAFILE
)));
39310 SWIG_Python_SetConstant(d
, "DF_FILENAME",SWIG_From_int(static_cast< int >(wxDF_FILENAME
)));
39311 SWIG_Python_SetConstant(d
, "DF_LOCALE",SWIG_From_int(static_cast< int >(wxDF_LOCALE
)));
39312 SWIG_Python_SetConstant(d
, "DF_PRIVATE",SWIG_From_int(static_cast< int >(wxDF_PRIVATE
)));
39313 SWIG_Python_SetConstant(d
, "DF_HTML",SWIG_From_int(static_cast< int >(wxDF_HTML
)));
39314 SWIG_Python_SetConstant(d
, "DF_MAX",SWIG_From_int(static_cast< int >(wxDF_MAX
)));
39315 SWIG_addvarlink(SWIG_globals(),(char*)"FormatInvalid",FormatInvalid_get
, FormatInvalid_set
);
39316 SWIG_Python_SetConstant(d
, "DataObject_Get",SWIG_From_int(static_cast< int >(wxDataObject::Get
)));
39317 SWIG_Python_SetConstant(d
, "DataObject_Set",SWIG_From_int(static_cast< int >(wxDataObject::Set
)));
39318 SWIG_Python_SetConstant(d
, "DataObject_Both",SWIG_From_int(static_cast< int >(wxDataObject::Both
)));
39319 SWIG_Python_SetConstant(d
, "Drag_CopyOnly",SWIG_From_int(static_cast< int >(wxDrag_CopyOnly
)));
39320 SWIG_Python_SetConstant(d
, "Drag_AllowMove",SWIG_From_int(static_cast< int >(wxDrag_AllowMove
)));
39321 SWIG_Python_SetConstant(d
, "Drag_DefaultMove",SWIG_From_int(static_cast< int >(wxDrag_DefaultMove
)));
39322 SWIG_Python_SetConstant(d
, "DragError",SWIG_From_int(static_cast< int >(wxDragError
)));
39323 SWIG_Python_SetConstant(d
, "DragNone",SWIG_From_int(static_cast< int >(wxDragNone
)));
39324 SWIG_Python_SetConstant(d
, "DragCopy",SWIG_From_int(static_cast< int >(wxDragCopy
)));
39325 SWIG_Python_SetConstant(d
, "DragMove",SWIG_From_int(static_cast< int >(wxDragMove
)));
39326 SWIG_Python_SetConstant(d
, "DragLink",SWIG_From_int(static_cast< int >(wxDragLink
)));
39327 SWIG_Python_SetConstant(d
, "DragCancel",SWIG_From_int(static_cast< int >(wxDragCancel
)));
39329 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
39330 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
39331 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
39332 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
39334 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultVideoMode",DefaultVideoMode_get
, DefaultVideoMode_set
);
39335 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_None",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_None
)));
39336 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Messages",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Messages
)));
39337 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Max",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Max
)));
39338 SWIG_Python_SetConstant(d
, "POWER_SOCKET",SWIG_From_int(static_cast< int >(wxPOWER_SOCKET
)));
39339 SWIG_Python_SetConstant(d
, "POWER_BATTERY",SWIG_From_int(static_cast< int >(wxPOWER_BATTERY
)));
39340 SWIG_Python_SetConstant(d
, "POWER_UNKNOWN",SWIG_From_int(static_cast< int >(wxPOWER_UNKNOWN
)));
39341 SWIG_Python_SetConstant(d
, "BATTERY_NORMAL_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_NORMAL_STATE
)));
39342 SWIG_Python_SetConstant(d
, "BATTERY_LOW_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_LOW_STATE
)));
39343 SWIG_Python_SetConstant(d
, "BATTERY_CRITICAL_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_CRITICAL_STATE
)));
39344 SWIG_Python_SetConstant(d
, "BATTERY_SHUTDOWN_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_SHUTDOWN_STATE
)));
39345 SWIG_Python_SetConstant(d
, "BATTERY_UNKNOWN_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_UNKNOWN_STATE
)));
39346 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPENDING", PyInt_FromLong(wxEVT_POWER_SUSPENDING
));
39347 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPENDED", PyInt_FromLong(wxEVT_POWER_SUSPENDED
));
39348 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPEND_CANCEL", PyInt_FromLong(wxEVT_POWER_SUSPEND_CANCEL
));
39349 PyDict_SetItemString(d
, "wxEVT_POWER_RESUME", PyInt_FromLong(wxEVT_POWER_RESUME
));