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_wxAboutDialogInfo swig_types[8]
2475 #define SWIGTYPE_p_wxAcceleratorTable swig_types[9]
2476 #define SWIGTYPE_p_wxActivateEvent swig_types[10]
2477 #define SWIGTYPE_p_wxArrayString swig_types[11]
2478 #define SWIGTYPE_p_wxBMPHandler swig_types[12]
2479 #define SWIGTYPE_p_wxBitmap swig_types[13]
2480 #define SWIGTYPE_p_wxBitmapDataObject swig_types[14]
2481 #define SWIGTYPE_p_wxBoxSizer swig_types[15]
2482 #define SWIGTYPE_p_wxBusyCursor swig_types[16]
2483 #define SWIGTYPE_p_wxBusyInfo swig_types[17]
2484 #define SWIGTYPE_p_wxCURHandler swig_types[18]
2485 #define SWIGTYPE_p_wxCaret swig_types[19]
2486 #define SWIGTYPE_p_wxChar swig_types[20]
2487 #define SWIGTYPE_p_wxChildFocusEvent swig_types[21]
2488 #define SWIGTYPE_p_wxClipboard swig_types[22]
2489 #define SWIGTYPE_p_wxClipboardLocker swig_types[23]
2490 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[24]
2491 #define SWIGTYPE_p_wxCloseEvent swig_types[25]
2492 #define SWIGTYPE_p_wxColour swig_types[26]
2493 #define SWIGTYPE_p_wxCommandEvent swig_types[27]
2494 #define SWIGTYPE_p_wxConfig swig_types[28]
2495 #define SWIGTYPE_p_wxConfigBase swig_types[29]
2496 #define SWIGTYPE_p_wxConfigPathChanger swig_types[30]
2497 #define SWIGTYPE_p_wxContextMenuEvent swig_types[31]
2498 #define SWIGTYPE_p_wxControl swig_types[32]
2499 #define SWIGTYPE_p_wxControlWithItems swig_types[33]
2500 #define SWIGTYPE_p_wxCursor swig_types[34]
2501 #define SWIGTYPE_p_wxCustomDataObject swig_types[35]
2502 #define SWIGTYPE_p_wxDC swig_types[36]
2503 #define SWIGTYPE_p_wxDataFormat swig_types[37]
2504 #define SWIGTYPE_p_wxDataObject swig_types[38]
2505 #define SWIGTYPE_p_wxDataObjectComposite swig_types[39]
2506 #define SWIGTYPE_p_wxDataObjectSimple swig_types[40]
2507 #define SWIGTYPE_p_wxDateEvent swig_types[41]
2508 #define SWIGTYPE_p_wxDateSpan swig_types[42]
2509 #define SWIGTYPE_p_wxDateTime swig_types[43]
2510 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[44]
2511 #define SWIGTYPE_p_wxDisplay swig_types[45]
2512 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[46]
2513 #define SWIGTYPE_p_wxDropFilesEvent swig_types[47]
2514 #define SWIGTYPE_p_wxDuplexMode swig_types[48]
2515 #define SWIGTYPE_p_wxEraseEvent swig_types[49]
2516 #define SWIGTYPE_p_wxEvent swig_types[50]
2517 #define SWIGTYPE_p_wxEvtHandler swig_types[51]
2518 #define SWIGTYPE_p_wxFSFile swig_types[52]
2519 #define SWIGTYPE_p_wxFileConfig swig_types[53]
2520 #define SWIGTYPE_p_wxFileDataObject swig_types[54]
2521 #define SWIGTYPE_p_wxFileHistory swig_types[55]
2522 #define SWIGTYPE_p_wxFileSystem swig_types[56]
2523 #define SWIGTYPE_p_wxFileType swig_types[57]
2524 #define SWIGTYPE_p_wxFileTypeInfo swig_types[58]
2525 #define SWIGTYPE_p_wxFlexGridSizer swig_types[59]
2526 #define SWIGTYPE_p_wxFocusEvent swig_types[60]
2527 #define SWIGTYPE_p_wxFont swig_types[61]
2528 #define SWIGTYPE_p_wxFrame swig_types[62]
2529 #define SWIGTYPE_p_wxGBSizerItem swig_types[63]
2530 #define SWIGTYPE_p_wxGIFHandler swig_types[64]
2531 #define SWIGTYPE_p_wxGridBagSizer swig_types[65]
2532 #define SWIGTYPE_p_wxGridSizer swig_types[66]
2533 #define SWIGTYPE_p_wxICOHandler swig_types[67]
2534 #define SWIGTYPE_p_wxIcon swig_types[68]
2535 #define SWIGTYPE_p_wxIconizeEvent swig_types[69]
2536 #define SWIGTYPE_p_wxIdleEvent swig_types[70]
2537 #define SWIGTYPE_p_wxImage swig_types[71]
2538 #define SWIGTYPE_p_wxImageHandler swig_types[72]
2539 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[73]
2540 #define SWIGTYPE_p_wxInitDialogEvent swig_types[74]
2541 #define SWIGTYPE_p_wxJPEGHandler swig_types[75]
2542 #define SWIGTYPE_p_wxJoystick swig_types[76]
2543 #define SWIGTYPE_p_wxJoystickEvent swig_types[77]
2544 #define SWIGTYPE_p_wxKeyEvent swig_types[78]
2545 #define SWIGTYPE_p_wxKillError swig_types[79]
2546 #define SWIGTYPE_p_wxLayoutConstraints swig_types[80]
2547 #define SWIGTYPE_p_wxLog swig_types[81]
2548 #define SWIGTYPE_p_wxLogBuffer swig_types[82]
2549 #define SWIGTYPE_p_wxLogChain swig_types[83]
2550 #define SWIGTYPE_p_wxLogGui swig_types[84]
2551 #define SWIGTYPE_p_wxLogNull swig_types[85]
2552 #define SWIGTYPE_p_wxLogStderr swig_types[86]
2553 #define SWIGTYPE_p_wxLogTextCtrl swig_types[87]
2554 #define SWIGTYPE_p_wxLogWindow swig_types[88]
2555 #define SWIGTYPE_p_wxMaximizeEvent 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_wxMouseCaptureLostEvent swig_types[97]
2564 #define SWIGTYPE_p_wxMouseEvent swig_types[98]
2565 #define SWIGTYPE_p_wxMouseState swig_types[99]
2566 #define SWIGTYPE_p_wxMoveEvent swig_types[100]
2567 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[101]
2568 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[102]
2569 #define SWIGTYPE_p_wxNcPaintEvent swig_types[103]
2570 #define SWIGTYPE_p_wxNotifyEvent swig_types[104]
2571 #define SWIGTYPE_p_wxObject swig_types[105]
2572 #define SWIGTYPE_p_wxOutputStream swig_types[106]
2573 #define SWIGTYPE_p_wxPCXHandler swig_types[107]
2574 #define SWIGTYPE_p_wxPNGHandler swig_types[108]
2575 #define SWIGTYPE_p_wxPNMHandler swig_types[109]
2576 #define SWIGTYPE_p_wxPaintEvent swig_types[110]
2577 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[111]
2578 #define SWIGTYPE_p_wxPaperSize swig_types[112]
2579 #define SWIGTYPE_p_wxPlatformInfo swig_types[113]
2580 #define SWIGTYPE_p_wxPoint swig_types[114]
2581 #define SWIGTYPE_p_wxPowerEvent swig_types[115]
2582 #define SWIGTYPE_p_wxProcessEvent swig_types[116]
2583 #define SWIGTYPE_p_wxPyApp swig_types[117]
2584 #define SWIGTYPE_p_wxPyArtProvider swig_types[118]
2585 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[119]
2586 #define SWIGTYPE_p_wxPyCommandEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[121]
2588 #define SWIGTYPE_p_wxPyDropSource swig_types[122]
2589 #define SWIGTYPE_p_wxPyDropTarget swig_types[123]
2590 #define SWIGTYPE_p_wxPyEvent swig_types[124]
2591 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[125]
2592 #define SWIGTYPE_p_wxPyImageHandler swig_types[126]
2593 #define SWIGTYPE_p_wxPyLog swig_types[127]
2594 #define SWIGTYPE_p_wxPyProcess swig_types[128]
2595 #define SWIGTYPE_p_wxPySizer swig_types[129]
2596 #define SWIGTYPE_p_wxPyTextDataObject swig_types[130]
2597 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[131]
2598 #define SWIGTYPE_p_wxPyTimer swig_types[132]
2599 #define SWIGTYPE_p_wxPyTipProvider swig_types[133]
2600 #define SWIGTYPE_p_wxPyValidator swig_types[134]
2601 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[135]
2602 #define SWIGTYPE_p_wxRect swig_types[136]
2603 #define SWIGTYPE_p_wxScrollEvent swig_types[137]
2604 #define SWIGTYPE_p_wxScrollWinEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSetCursorEvent swig_types[139]
2606 #define SWIGTYPE_p_wxShowEvent swig_types[140]
2607 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[141]
2608 #define SWIGTYPE_p_wxSize swig_types[142]
2609 #define SWIGTYPE_p_wxSizeEvent swig_types[143]
2610 #define SWIGTYPE_p_wxSizer swig_types[144]
2611 #define SWIGTYPE_p_wxSizerItem swig_types[145]
2612 #define SWIGTYPE_p_wxSound swig_types[146]
2613 #define SWIGTYPE_p_wxStandardPaths swig_types[147]
2614 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[148]
2615 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[149]
2616 #define SWIGTYPE_p_wxStopWatch swig_types[150]
2617 #define SWIGTYPE_p_wxString swig_types[151]
2618 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[152]
2619 #define SWIGTYPE_p_wxSystemOptions swig_types[153]
2620 #define SWIGTYPE_p_wxSystemSettings swig_types[154]
2621 #define SWIGTYPE_p_wxTGAHandler swig_types[155]
2622 #define SWIGTYPE_p_wxTIFFHandler swig_types[156]
2623 #define SWIGTYPE_p_wxTextCtrl swig_types[157]
2624 #define SWIGTYPE_p_wxTextDataObject swig_types[158]
2625 #define SWIGTYPE_p_wxTimeSpan swig_types[159]
2626 #define SWIGTYPE_p_wxTimer swig_types[160]
2627 #define SWIGTYPE_p_wxTimerEvent swig_types[161]
2628 #define SWIGTYPE_p_wxTimerRunner swig_types[162]
2629 #define SWIGTYPE_p_wxTipProvider swig_types[163]
2630 #define SWIGTYPE_p_wxToolTip swig_types[164]
2631 #define SWIGTYPE_p_wxURLDataObject swig_types[165]
2632 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[166]
2633 #define SWIGTYPE_p_wxValidator swig_types[167]
2634 #define SWIGTYPE_p_wxVideoMode swig_types[168]
2635 #define SWIGTYPE_p_wxWindow swig_types[169]
2636 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[170]
2637 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[171]
2638 #define SWIGTYPE_p_wxWindowDisabler swig_types[172]
2639 #define SWIGTYPE_p_wxXPMHandler swig_types[173]
2640 static swig_type_info
*swig_types
[175];
2641 static swig_module_info swig_module
= {swig_types
, 174, 0, 0, 0, 0};
2642 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2643 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2645 /* -------- TYPES TABLE (END) -------- */
2647 #if (PY_VERSION_HEX <= 0x02000000)
2648 # if !defined(SWIG_PYTHON_CLASSIC)
2649 # error "This python version requires to use swig with the '-classic' option"
2652 #if (PY_VERSION_HEX <= 0x02020000)
2653 # error "This python version requires to use swig with the '-nomodern' option"
2655 #if (PY_VERSION_HEX <= 0x02020000)
2656 # error "This python version requires to use swig with the '-nomodernargs' option"
2659 # error "This python version requires to use swig with the '-nofastunpack' option"
2662 /*-----------------------------------------------
2663 @(target):= _misc_.so
2664 ------------------------------------------------*/
2665 #define SWIG_init init_misc_
2667 #define SWIG_name "_misc_"
2669 #define SWIGVERSION 0x010329
2672 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2673 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2676 #include <stdexcept>
2680 class PyObject_ptr
{
2685 PyObject_ptr() :_obj(0)
2689 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2694 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2696 if (initial_ref
) Py_XINCREF(_obj
);
2699 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2701 Py_XINCREF(item
._obj
);
2712 operator PyObject
*() const
2717 PyObject
*operator->() const
2726 struct PyObject_var
: PyObject_ptr
{
2727 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2729 PyObject_var
& operator = (PyObject
* obj
)
2739 #include "wx/wxPython/wxPython.h"
2740 #include "wx/wxPython/pyclasses.h"
2741 #include "wx/wxPython/pyistream.h"
2743 static const wxString
wxPyEmptyString(wxEmptyString
);
2747 #define SWIG_From_long PyInt_FromLong
2750 SWIGINTERNINLINE PyObject
*
2751 SWIG_From_int (int value
)
2753 return SWIG_From_long (value
);
2759 # define LLONG_MIN LONG_LONG_MIN
2762 # define LLONG_MAX LONG_LONG_MAX
2765 # define ULLONG_MAX ULONG_LONG_MAX
2770 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2772 if (PyNumber_Check(obj
)) {
2773 if (val
) *val
= PyInt_AsLong(obj
);
2776 return SWIG_TypeError
;
2781 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2784 int res
= SWIG_AsVal_long (obj
, &v
);
2785 if (SWIG_IsOK(res
)) {
2786 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2787 return SWIG_OverflowError
;
2789 if (val
) *val
= static_cast< int >(v
);
2795 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
2797 #include <wx/stockitem.h>
2799 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
2800 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
2801 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
2804 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2806 if (obj
== Py_True
) {
2807 if (val
) *val
= true;
2809 } else if (obj
== Py_False
) {
2810 if (val
) *val
= false;
2814 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2815 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2821 wxMemorySize
wxGetFreeMemory()
2822 { wxPyRaiseNotImplemented(); return 0; }
2826 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2829 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2830 return SWIG_TypeError
;
2833 *val
= (unsigned long)v
;
2838 SWIGINTERNINLINE PyObject
*
2839 SWIG_From_unsigned_SS_long (unsigned long value
)
2841 return (value
> LONG_MAX
) ?
2842 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2846 void* wxGetXDisplay()
2849 return wxGetDisplay();
2856 wxWindow
* FindWindowAtPointer() {
2858 return wxFindWindowAtPointer(unused
);
2862 void wxWakeUpMainThread() {}
2865 bool wxThread_IsMain() {
2866 #ifdef WXP_WITH_THREAD
2867 return wxThread::IsMain();
2873 SWIGINTERN
void wxCaret_Destroy(wxCaret
*self
){
2877 #include <wx/snglinst.h>
2881 #include <wx/msw/private.h>
2882 #include <wx/dynload.h>
2887 bool wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
2898 // This one only partially works. Appears to be an undocumented
2899 // "standard" convention that not all widgets adhear to. For
2900 // example, for some widgets backgrounds or non-client areas may
2902 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
2907 // This one works much better, nearly all widgets and their
2908 // children are captured correctly[**]. Prior to the big
2909 // background erase changes that Vadim did in 2004-2005 this
2910 // method failed badly on XP with Themes activated, most native
2911 // widgets draw only partially, if at all. Without themes it
2912 // worked just like on Win2k. After those changes this method
2915 // ** For example the radio buttons in a wxRadioBox are not its
2916 // children by default, but you can capture it via the panel
2917 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
2918 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
2919 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
2920 PRF_ERASEBKGND
| PRF_OWNED
);
2926 // This one is only defined in the latest SDK and is only
2927 // available on XP. MSDN says it is similar to sending WM_PRINT
2928 // so I expect that it will work similar to the above. Since it
2929 // is avaialble only on XP, it can't be compiled like this and
2930 // will have to be loaded dynamically.
2931 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
2936 // Use PrintWindow if available, or fallback to WM_PRINT
2937 // otherwise. Unfortunately using PrintWindow is even worse than
2938 // WM_PRINT. For most native widgets nothing is drawn to the dc
2939 // at all, with or without Themes.
2940 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
2941 static bool s_triedToLoad
= false;
2942 static PrintWindow_t pfnPrintWindow
= NULL
;
2943 if ( !s_triedToLoad
)
2946 s_triedToLoad
= true;
2947 wxDynamicLibrary
dllUser32(_T("user32.dll"));
2948 if ( dllUser32
.IsLoaded() )
2950 wxLogNull nolog
; // Don't report errors here
2951 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
2956 //printf("Using PrintWindow\n");
2957 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
2961 //printf("Using WM_PRINT\n");
2962 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
2963 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
2964 PRF_ERASEBKGND
| PRF_OWNED
);
2975 #include <wx/tipdlg.h>
2978 SWIGINTERNINLINE PyObject
*
2979 SWIG_From_size_t (size_t value
)
2981 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2985 class wxPyTipProvider
: public wxTipProvider
{
2987 wxPyTipProvider(size_t currentTip
)
2988 : wxTipProvider(currentTip
) {}
2990 DEC_PYCALLBACK_STRING__pure(GetTip
);
2991 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
2995 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
2996 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
2999 SWIGINTERNINLINE
int
3000 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3003 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3004 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3009 IMP_PYCALLBACK__(wxPyTimer
, wxTimer
, Notify
);
3011 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
3013 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
3014 : wxTimer(owner
, id
)
3020 wxPyTimer::~wxPyTimer()
3022 // printf("-=* ~wxPyTimer\n");
3027 SWIGINTERN swig_type_info
*
3028 SWIG_pchar_descriptor()
3030 static int init
= 0;
3031 static swig_type_info
* info
= 0;
3033 info
= SWIG_TypeQuery("_p_char");
3040 SWIGINTERNINLINE PyObject
*
3041 SWIG_FromCharPtrAndSize(const char* carray
, size_t size
)
3044 if (size
> INT_MAX
) {
3045 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3046 return pchar_descriptor
?
3047 SWIG_NewPointerObj(const_cast< char * >(carray
), pchar_descriptor
, 0) : SWIG_Py_Void();
3049 return PyString_FromStringAndSize(carray
, static_cast< int >(size
));
3052 return SWIG_Py_Void();
3057 SWIGINTERNINLINE PyObject
*
3058 SWIG_FromCharPtr(const char *cptr
)
3060 return SWIG_FromCharPtrAndSize(cptr
, (cptr
? strlen(cptr
) : 0));
3065 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
3068 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
3069 if (SWIG_IsOK(res
)) {
3070 if ((v
> UINT_MAX
)) {
3071 return SWIG_OverflowError
;
3073 if (val
) *val
= static_cast< unsigned int >(v
);
3079 SWIGINTERN wxString
wxLog_TimeStamp(){
3081 wxLog::TimeStamp(&msg
);
3084 SWIGINTERN
void wxLog_Destroy(wxLog
*self
){ delete self
; }
3085 // Make some wrappers that double any % signs so they are 'escaped'
3086 void wxPyLogFatalError(const wxString
& msg
)
3089 m
.Replace(wxT("%"), wxT("%%"));
3093 void wxPyLogError(const wxString
& msg
)
3096 m
.Replace(wxT("%"), wxT("%%"));
3100 void wxPyLogWarning(const wxString
& msg
)
3103 m
.Replace(wxT("%"), wxT("%%"));
3107 void wxPyLogMessage(const wxString
& msg
)
3110 m
.Replace(wxT("%"), wxT("%%"));
3114 void wxPyLogInfo(const wxString
& msg
)
3117 m
.Replace(wxT("%"), wxT("%%"));
3121 void wxPyLogDebug(const wxString
& msg
)
3124 m
.Replace(wxT("%"), wxT("%%"));
3128 void wxPyLogVerbose(const wxString
& msg
)
3131 m
.Replace(wxT("%"), wxT("%%"));
3135 void wxPyLogStatus(const wxString
& msg
)
3138 m
.Replace(wxT("%"), wxT("%%"));
3142 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
3145 m
.Replace(wxT("%"), wxT("%%"));
3146 wxLogStatus(pFrame
, m
);
3149 void wxPyLogSysError(const wxString
& msg
)
3152 m
.Replace(wxT("%"), wxT("%%"));
3156 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
3159 m
.Replace(wxT("%"), wxT("%%"));
3160 wxLogGeneric(level
, m
);
3163 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
3166 m
.Replace(wxT("%"), wxT("%%"));
3167 wxLogTrace(mask
, m
);
3170 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
3173 m
.Replace(wxT("%"), wxT("%%"));
3174 wxLogTrace(mask
, m
);
3179 // A wxLog class that can be derived from in wxPython
3180 class wxPyLog
: public wxLog
{
3182 wxPyLog() : wxLog() {}
3184 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
3186 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3187 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
3188 PyObject
* s
= wx2PyString(szString
);
3189 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
3192 wxPyEndBlockThreads(blocked
);
3194 wxLog::DoLog(level
, szString
, t
);
3197 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
3199 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3200 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
3201 PyObject
* s
= wx2PyString(szString
);
3202 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
3205 wxPyEndBlockThreads(blocked
);
3207 wxLog::DoLogString(szString
, t
);
3210 DEC_PYCALLBACK_VOID_(Flush
);
3213 IMP_PYCALLBACK_VOID_(wxPyLog
, wxLog
, Flush
);
3218 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
3221 #include <wx/joystick.h>
3224 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
3225 // A C++ stub class for wxJoystick for platforms that don't have it.
3226 class wxJoystick
: public wxObject
{
3228 wxJoystick(int joystick
= wxJOYSTICK1
) {
3229 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3230 PyErr_SetString(PyExc_NotImplementedError
,
3231 "wxJoystick is not available on this platform.");
3232 wxPyEndBlockThreads(blocked
);
3234 wxPoint
GetPosition() { return wxPoint(-1,-1); }
3235 int GetZPosition() { return -1; }
3236 int GetButtonState() { return -1; }
3237 int GetPOVPosition() { return -1; }
3238 int GetPOVCTSPosition() { return -1; }
3239 int GetRudderPosition() { return -1; }
3240 int GetUPosition() { return -1; }
3241 int GetVPosition() { return -1; }
3242 int GetMovementThreshold() { return -1; }
3243 void SetMovementThreshold(int threshold
) {}
3245 bool IsOk(void) { return false; }
3246 int GetNumberJoysticks() { return -1; }
3247 int GetManufacturerId() { return -1; }
3248 int GetProductId() { return -1; }
3249 wxString
GetProductName() { return wxEmptyString
; }
3250 int GetXMin() { return -1; }
3251 int GetYMin() { return -1; }
3252 int GetZMin() { return -1; }
3253 int GetXMax() { return -1; }
3254 int GetYMax() { return -1; }
3255 int GetZMax() { return -1; }
3256 int GetNumberButtons() { return -1; }
3257 int GetNumberAxes() { return -1; }
3258 int GetMaxButtons() { return -1; }
3259 int GetMaxAxes() { return -1; }
3260 int GetPollingMin() { return -1; }
3261 int GetPollingMax() { return -1; }
3262 int GetRudderMin() { return -1; }
3263 int GetRudderMax() { return -1; }
3264 int GetUMin() { return -1; }
3265 int GetUMax() { return -1; }
3266 int GetVMin() { return -1; }
3267 int GetVMax() { return -1; }
3269 bool HasRudder() { return false; }
3270 bool HasZ() { return false; }
3271 bool HasU() { return false; }
3272 bool HasV() { return false; }
3273 bool HasPOV() { return false; }
3274 bool HasPOV4Dir() { return false; }
3275 bool HasPOVCTS() { return false; }
3277 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
3278 bool ReleaseCapture() { return false; }
3283 #include <wx/sound.h>
3287 // A C++ stub class for wxWave for platforms that don't have it.
3288 class wxSound
: public wxObject
3292 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3293 PyErr_SetString(PyExc_NotImplementedError
,
3294 "wxSound is not available on this platform.");
3295 wxPyEndBlockThreads(blocked
);
3297 wxSound(const wxString
&/*, bool*/) {
3298 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3299 PyErr_SetString(PyExc_NotImplementedError
,
3300 "wxSound is not available on this platform.");
3301 wxPyEndBlockThreads(blocked
);
3303 wxSound(int, const wxByte
*) {
3304 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3305 PyErr_SetString(PyExc_NotImplementedError
,
3306 "wxSound is not available on this platform.");
3307 wxPyEndBlockThreads(blocked
);
3312 bool Create(const wxString
&/*, bool*/) { return false; }
3313 bool Create(int, const wxByte
*) { return false; };
3314 bool IsOk() { return false; };
3315 bool Play(unsigned) const { return false; }
3316 static bool Play(const wxString
&, unsigned) { return false; }
3317 static void Stop() {}
3322 SWIGINTERN wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
3323 if (fileName
.Length() == 0)
3326 return new wxSound(fileName
);
3328 SWIGINTERN wxSound
*new_wxSound(PyObject
*data
){
3329 unsigned char* buffer
; int size
;
3330 wxSound
*sound
= NULL
;
3332 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3333 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
3335 sound
= new wxSound(size
, buffer
);
3337 wxPyEndBlockThreads(blocked
);
3340 SWIGINTERN
bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
3342 unsigned char* buffer
;
3346 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3347 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
3349 rv
= self
->Create(size
, buffer
);
3351 wxPyEndBlockThreads(blocked
);
3354 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3355 PyErr_SetString(PyExc_NotImplementedError
,
3356 "Create from data is not available on this platform.");
3357 wxPyEndBlockThreads(blocked
);
3362 #include <wx/mimetype.h>
3364 SWIGINTERN PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
3366 if (self
->GetMimeType(&str
))
3367 return wx2PyString(str
);
3371 SWIGINTERN PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
3373 if (self
->GetMimeTypes(arr
))
3374 return wxArrayString2PyList_helper(arr
);
3378 SWIGINTERN PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
3380 if (self
->GetExtensions(arr
))
3381 return wxArrayString2PyList_helper(arr
);
3385 SWIGINTERN wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
3387 if (self
->GetIcon(&loc
))
3388 return new wxIcon(loc
);
3392 SWIGINTERN PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
3394 if (self
->GetIcon(&loc
)) {
3395 wxString iconFile
= loc
.GetFileName();
3400 // Make a tuple and put the values in it
3401 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3402 PyObject
* tuple
= PyTuple_New(3);
3403 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
3404 wxT("wxIcon"), true));
3405 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
3406 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
3407 wxPyEndBlockThreads(blocked
);
3413 SWIGINTERN PyObject
*wxFileType_GetDescription(wxFileType
*self
){
3415 if (self
->GetDescription(&str
))
3416 return wx2PyString(str
);
3420 SWIGINTERN PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3422 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
3423 return wx2PyString(str
);
3427 SWIGINTERN PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3429 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
3430 return wx2PyString(str
);
3434 SWIGINTERN PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3435 wxArrayString verbs
;
3436 wxArrayString commands
;
3437 if (self
->GetAllCommands(&verbs
, &commands
,
3438 wxFileType::MessageParameters(filename
, mimetype
))) {
3439 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3440 PyObject
* tuple
= PyTuple_New(2);
3441 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
3442 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
3443 wxPyEndBlockThreads(blocked
);
3449 SWIGINTERN wxString
wxFileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3450 return wxFileType::ExpandCommand(command
,
3451 wxFileType::MessageParameters(filename
, mimetype
));
3453 SWIGINTERN PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
3455 self
->EnumAllFileTypes(arr
);
3456 return wxArrayString2PyList_helper(arr
);
3459 #include <wx/artprov.h>
3461 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
3462 static const wxString
wxPyART_MENU(wxART_MENU
);
3463 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
3464 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
3465 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
3466 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
3467 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
3468 static const wxString
wxPyART_OTHER(wxART_OTHER
);
3469 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
3470 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
3471 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
3472 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
3473 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
3474 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
3475 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
3476 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
3477 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
3478 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
3479 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
3480 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
3481 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
3482 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
3483 static const wxString
wxPyART_FILE_SAVE(wxART_FILE_SAVE
);
3484 static const wxString
wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS
);
3485 static const wxString
wxPyART_PRINT(wxART_PRINT
);
3486 static const wxString
wxPyART_HELP(wxART_HELP
);
3487 static const wxString
wxPyART_TIP(wxART_TIP
);
3488 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
3489 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
3490 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
3491 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
3492 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
3493 static const wxString
wxPyART_CDROM(wxART_CDROM
);
3494 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
3495 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
3496 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
3497 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
3498 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
3499 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
3500 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
3501 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
3502 static const wxString
wxPyART_ERROR(wxART_ERROR
);
3503 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
3504 static const wxString
wxPyART_WARNING(wxART_WARNING
);
3505 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
3506 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
3507 static const wxString
wxPyART_COPY(wxART_COPY
);
3508 static const wxString
wxPyART_CUT(wxART_CUT
);
3509 static const wxString
wxPyART_PASTE(wxART_PASTE
);
3510 static const wxString
wxPyART_DELETE(wxART_DELETE
);
3511 static const wxString
wxPyART_NEW(wxART_NEW
);
3512 static const wxString
wxPyART_UNDO(wxART_UNDO
);
3513 static const wxString
wxPyART_REDO(wxART_REDO
);
3514 static const wxString
wxPyART_QUIT(wxART_QUIT
);
3515 static const wxString
wxPyART_FIND(wxART_FIND
);
3516 static const wxString
wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE
);
3517 // Python aware wxArtProvider
3518 class wxPyArtProvider
: public wxArtProvider
{
3521 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
3522 const wxArtClient
& client
,
3523 const wxSize
& size
) {
3524 wxBitmap rval
= wxNullBitmap
;
3525 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3526 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
3527 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
3531 s1
= wx2PyString(id
);
3532 s2
= wx2PyString(client
);
3533 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
3538 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
3543 wxPyEndBlockThreads(blocked
);
3550 SWIGINTERN
void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
3554 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
3555 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3556 PyObject
* ret
= PyTuple_New(3);
3558 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
3559 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
3560 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
3562 wxPyEndBlockThreads(blocked
);
3566 SWIGINTERN PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
3571 cont
= self
->GetFirstGroup(value
, index
);
3572 return __EnumerationHelper(cont
, value
, index
);
3574 SWIGINTERN PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
3578 cont
= self
->GetNextGroup(value
, index
);
3579 return __EnumerationHelper(cont
, value
, index
);
3581 SWIGINTERN PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
3586 cont
= self
->GetFirstEntry(value
, index
);
3587 return __EnumerationHelper(cont
, value
, index
);
3589 SWIGINTERN PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
3593 cont
= self
->GetNextEntry(value
, index
);
3594 return __EnumerationHelper(cont
, value
, index
);
3596 SWIGINTERN
long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
3598 self
->Read(key
, &rv
, defaultVal
);
3603 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3605 if (PyNumber_Check(obj
)) {
3606 if (val
) *val
= PyFloat_AsDouble(obj
);
3609 return SWIG_TypeError
;
3612 SWIGINTERN
double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
3614 self
->Read(key
, &rv
, defaultVal
);
3618 #define SWIG_From_double PyFloat_FromDouble
3620 SWIGINTERN
bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
3622 self
->Read(key
, &rv
, defaultVal
);
3626 #include <wx/datetime.h>
3628 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
3629 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
3631 #define LOCAL_TZ wxDateTime::Local
3633 SWIGINTERN PyObject
*wxDateTime_GetAmPmStrings(){
3636 wxDateTime::GetAmPmStrings(&am
, &pm
);
3637 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3638 PyObject
* tup
= PyTuple_New(2);
3639 PyTuple_SET_ITEM(tup
, 0, wx2PyString(am
));
3640 PyTuple_SET_ITEM(tup
, 1, wx2PyString(pm
));
3641 wxPyEndBlockThreads(blocked
);
3645 SWIGINTERNINLINE PyObject
*
3646 SWIG_From_unsigned_SS_int (unsigned int value
)
3648 return SWIG_From_unsigned_SS_long (value
);
3651 SWIGINTERN wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
3652 SWIGINTERN wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
3653 SWIGINTERN wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
3654 SWIGINTERN wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
3655 SWIGINTERN wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
3656 SWIGINTERN
bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
3657 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
3658 return (*self
< *other
);
3660 SWIGINTERN
bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
3661 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
3662 return (*self
<= *other
);
3664 SWIGINTERN
bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
3665 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
3666 return (*self
> *other
);
3668 SWIGINTERN
bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
3669 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
3670 return (*self
>= *other
);
3672 SWIGINTERN
bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
3673 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
3674 return (*self
== *other
);
3676 SWIGINTERN
bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
3677 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
3678 return (*self
!= *other
);
3680 SWIGINTERN
int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
3682 const wxChar
* _date
= date
;
3683 rv
= self
->ParseRfc822Date(_date
);
3684 if (rv
== NULL
) return -1;
3687 SWIGINTERN
int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
3689 const wxChar
* _date
= date
;
3690 rv
= self
->ParseFormat(_date
, format
, dateDef
);
3691 if (rv
== NULL
) return -1;
3694 SWIGINTERN
int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
3696 const wxChar
* _datetime
= datetime
;
3697 rv
= self
->ParseDateTime(_datetime
);
3698 if (rv
== NULL
) return -1;
3699 return rv
- _datetime
;
3701 SWIGINTERN
int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
3703 const wxChar
* _date
= date
;
3704 rv
= self
->ParseDate(_date
);
3705 if (rv
== NULL
) return -1;
3708 SWIGINTERN
int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
3710 const wxChar
* _time
= time
;
3711 rv
= self
->ParseTime(_time
);
3712 if (rv
== NULL
) return -1;
3715 SWIGINTERN wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
3716 SWIGINTERN wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
3717 SWIGINTERN wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
3718 SWIGINTERN wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
3719 SWIGINTERN
bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
3720 SWIGINTERN
bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
3721 SWIGINTERN
bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
3722 SWIGINTERN
bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
3723 SWIGINTERN
bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
3724 SWIGINTERN
bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
3725 SWIGINTERN wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
3726 SWIGINTERN wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
3727 SWIGINTERN wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
3728 SWIGINTERN wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
3729 SWIGINTERN
bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
3730 SWIGINTERN
bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
3732 #include <wx/dataobj.h>
3734 SWIGINTERN PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
3735 size_t count
= self
->GetFormatCount(dir
);
3736 wxDataFormat
* formats
= new wxDataFormat
[count
];
3737 self
->GetAllFormats(formats
, dir
);
3739 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3740 PyObject
* list
= PyList_New(count
);
3741 for (size_t i
=0; i
<count
; i
++) {
3742 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
3743 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
3744 PyList_SET_ITEM(list
, i
, obj
); // PyList_SET_ITEM steals a reference
3746 wxPyEndBlockThreads(blocked
);
3750 SWIGINTERN PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
3751 PyObject
* rval
= NULL
;
3752 size_t size
= self
->GetDataSize(format
);
3753 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3755 char* buf
= new char[size
];
3756 if (self
->GetDataHere(format
, buf
))
3757 rval
= PyString_FromStringAndSize(buf
, size
);
3764 wxPyEndBlockThreads(blocked
);
3767 SWIGINTERN
bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
3769 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3770 if (PyString_Check(data
)) {
3771 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
3774 // raise a TypeError if not a string
3775 PyErr_SetString(PyExc_TypeError
, "String expected.");
3778 wxPyEndBlockThreads(blocked
);
3781 SWIGINTERN PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
3782 PyObject
* rval
= NULL
;
3783 size_t size
= self
->GetDataSize();
3784 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3786 char* buf
= new char[size
];
3787 if (self
->GetDataHere(buf
))
3788 rval
= PyString_FromStringAndSize(buf
, size
);
3795 wxPyEndBlockThreads(blocked
);
3798 SWIGINTERN
bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
3800 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3801 if (PyString_Check(data
)) {
3802 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3805 // raise a TypeError if not a string
3806 PyErr_SetString(PyExc_TypeError
, "String expected.");
3809 wxPyEndBlockThreads(blocked
);
3812 // Create a new class for wxPython to use
3813 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
3815 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
3816 : wxDataObjectSimple(format
) {}
3818 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
3819 bool GetDataHere(void *buf
) const;
3820 bool SetData(size_t len
, const void *buf
);
3824 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
3826 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
3827 // We need to get the data for this object and write it to buf. I think
3828 // the best way to do this for wxPython is to have the Python method
3829 // return either a string or None and then act appropriately with the
3833 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3834 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
3836 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3838 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
3840 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
3844 wxPyEndBlockThreads(blocked
);
3848 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) {
3849 // For this one we simply need to make a string from buf and len
3850 // and send it to the Python method.
3852 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3853 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
3854 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
3855 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
3858 wxPyEndBlockThreads(blocked
);
3862 // Create a new class for wxPython to use
3863 class wxPyTextDataObject
: public wxTextDataObject
{
3865 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
3866 : wxTextDataObject(text
) {}
3868 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
3869 DEC_PYCALLBACK_STRING__const(GetText
);
3870 DEC_PYCALLBACK__STRING(SetText
);
3874 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
3875 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
3876 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
3879 // Create a new class for wxPython to use
3880 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
3882 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
3883 : wxBitmapDataObject(bitmap
) {}
3885 wxBitmap
GetBitmap() const;
3886 void SetBitmap(const wxBitmap
& bitmap
);
3890 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
3891 wxBitmap
* rval
= &wxNullBitmap
;
3892 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3893 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
3896 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3898 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
3903 wxPyEndBlockThreads(blocked
);
3907 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
3908 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3909 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
3910 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
3911 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
3914 wxPyEndBlockThreads(blocked
);
3917 SWIGINTERN wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
3918 return new wxCustomDataObject(wxDataFormat(formatName
));
3920 SWIGINTERN
bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
3922 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3923 if (PyString_Check(data
)) {
3924 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3927 // raise a TypeError if not a string
3928 PyErr_SetString(PyExc_TypeError
, "String expected.");
3931 wxPyEndBlockThreads(blocked
);
3934 SWIGINTERN PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
3936 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3937 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
3938 wxPyEndBlockThreads(blocked
);
3942 class wxMetafileDataObject
: public wxDataObjectSimple
3945 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
3949 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
3952 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
3953 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
3954 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
3955 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
3956 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
3959 class wxPyTextDropTarget
: public wxTextDropTarget
{
3961 wxPyTextDropTarget() {}
3963 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
3965 DEC_PYCALLBACK__(OnLeave
);
3966 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3967 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3968 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3969 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3974 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
3975 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
3976 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
3977 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
3978 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
3979 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
3983 class wxPyFileDropTarget
: public wxFileDropTarget
{
3985 wxPyFileDropTarget() {}
3987 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
3989 DEC_PYCALLBACK__(OnLeave
);
3990 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3991 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3992 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3993 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3998 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
3999 const wxArrayString
& filenames
) {
4001 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4002 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
4003 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
4004 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
4007 wxPyEndBlockThreads(blocked
);
4013 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
4014 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
4015 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
4016 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
4017 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
4022 SWIGINTERN
bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
4024 #include <wx/display.h>
4025 #include <wx/vidmode.h>
4027 SWIGINTERN
bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
4028 SWIGINTERN
bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
4031 const wxVideoMode wxDefaultVideoMode
;
4034 SWIGINTERN PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
4036 PyObject
* pyList
= NULL
;
4037 wxArrayVideoModes arr
= self
->GetModes(mode
);
4038 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4039 pyList
= PyList_New(0);
4040 for (size_t i
=0; i
< arr
.GetCount(); i
++)
4042 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
4043 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
4044 PyList_Append(pyList
, pyObj
);
4047 wxPyEndBlockThreads(blocked
);
4050 wxPyRaiseNotImplemented();
4054 SWIGINTERN wxVideoMode
wxDisplay_GetCurrentMode(wxDisplay
const *self
){
4056 return self
->GetCurrentMode();
4058 wxPyRaiseNotImplemented();
4059 return wxDefaultVideoMode
;
4062 SWIGINTERN
bool wxDisplay_ChangeMode(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
4064 return self
->ChangeMode(mode
);
4066 wxPyRaiseNotImplemented();
4070 SWIGINTERN
void wxDisplay_ResetMode(wxDisplay
*self
){
4074 wxPyRaiseNotImplemented();
4078 #include <wx/stdpaths.h>
4080 SWIGINTERN wxStandardPaths
*wxStandardPaths_Get(){
4081 return (wxStandardPaths
*) &wxStandardPaths::Get();
4084 #ifndef wxHAS_POWER_EVENTS
4085 // Dummy class and other definitions for platforms that don't have them
4087 // See wxPython_int.h for wxPowerEvent
4090 wxEVT_POWER_SUSPENDING
,
4091 wxEVT_POWER_SUSPENDED
,
4092 wxEVT_POWER_SUSPEND_CANCEL
,
4096 wxPowerType
wxGetPowerType() { return wxPOWER_UNKNOWN
; }
4097 wxBatteryState
wxGetBatteryState() { return wxBATTERY_UNKNOWN_STATE
; }
4102 #include <wx/aboutdlg.h>
4107 SWIGINTERN PyObject
*_wrap_SystemSettings_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4108 PyObject
*resultobj
= 0;
4109 wxSystemColour arg1
;
4113 PyObject
* obj0
= 0 ;
4114 char * kwnames
[] = {
4115 (char *) "index", NULL
4118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) SWIG_fail
;
4119 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4120 if (!SWIG_IsOK(ecode1
)) {
4121 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetColour" "', expected argument " "1"" of type '" "wxSystemColour""'");
4123 arg1
= static_cast< wxSystemColour
>(val1
);
4125 if (!wxPyCheckForApp()) SWIG_fail
;
4126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4127 result
= wxSystemSettings::GetColour(arg1
);
4128 wxPyEndAllowThreads(__tstate
);
4129 if (PyErr_Occurred()) SWIG_fail
;
4131 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4138 SWIGINTERN PyObject
*_wrap_SystemSettings_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4139 PyObject
*resultobj
= 0;
4144 PyObject
* obj0
= 0 ;
4145 char * kwnames
[] = {
4146 (char *) "index", NULL
4149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) SWIG_fail
;
4150 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4151 if (!SWIG_IsOK(ecode1
)) {
4152 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetFont" "', expected argument " "1"" of type '" "wxSystemFont""'");
4154 arg1
= static_cast< wxSystemFont
>(val1
);
4156 if (!wxPyCheckForApp()) SWIG_fail
;
4157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4158 result
= wxSystemSettings::GetFont(arg1
);
4159 wxPyEndAllowThreads(__tstate
);
4160 if (PyErr_Occurred()) SWIG_fail
;
4162 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
4169 SWIGINTERN PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4170 PyObject
*resultobj
= 0;
4171 wxSystemMetric arg1
;
4172 wxWindow
*arg2
= (wxWindow
*) NULL
;
4178 PyObject
* obj0
= 0 ;
4179 PyObject
* obj1
= 0 ;
4180 char * kwnames
[] = {
4181 (char *) "index",(char *) "win", NULL
4184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SystemSettings_GetMetric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4185 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4186 if (!SWIG_IsOK(ecode1
)) {
4187 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetMetric" "', expected argument " "1"" of type '" "wxSystemMetric""'");
4189 arg1
= static_cast< wxSystemMetric
>(val1
);
4191 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4192 if (!SWIG_IsOK(res2
)) {
4193 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SystemSettings_GetMetric" "', expected argument " "2"" of type '" "wxWindow *""'");
4195 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4198 if (!wxPyCheckForApp()) SWIG_fail
;
4199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4200 result
= (int)wxSystemSettings::GetMetric(arg1
,arg2
);
4201 wxPyEndAllowThreads(__tstate
);
4202 if (PyErr_Occurred()) SWIG_fail
;
4204 resultobj
= SWIG_From_int(static_cast< int >(result
));
4211 SWIGINTERN PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4212 PyObject
*resultobj
= 0;
4213 wxSystemFeature arg1
;
4217 PyObject
* obj0
= 0 ;
4218 char * kwnames
[] = {
4219 (char *) "index", NULL
4222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) SWIG_fail
;
4223 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4224 if (!SWIG_IsOK(ecode1
)) {
4225 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_HasFeature" "', expected argument " "1"" of type '" "wxSystemFeature""'");
4227 arg1
= static_cast< wxSystemFeature
>(val1
);
4229 if (!wxPyCheckForApp()) SWIG_fail
;
4230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4231 result
= (bool)wxSystemSettings::HasFeature(arg1
);
4232 wxPyEndAllowThreads(__tstate
);
4233 if (PyErr_Occurred()) SWIG_fail
;
4236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4244 SWIGINTERN PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4245 PyObject
*resultobj
= 0;
4246 wxSystemScreenType result
;
4248 if (!SWIG_Python_UnpackTuple(args
,"SystemSettings_GetScreenType",0,0,0)) SWIG_fail
;
4250 if (!wxPyCheckForApp()) SWIG_fail
;
4251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4252 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
4253 wxPyEndAllowThreads(__tstate
);
4254 if (PyErr_Occurred()) SWIG_fail
;
4256 resultobj
= SWIG_From_int(static_cast< int >(result
));
4263 SWIGINTERN PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4264 PyObject
*resultobj
= 0;
4265 wxSystemScreenType arg1
;
4268 PyObject
* obj0
= 0 ;
4269 char * kwnames
[] = {
4270 (char *) "screen", NULL
4273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) SWIG_fail
;
4274 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4275 if (!SWIG_IsOK(ecode1
)) {
4276 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_SetScreenType" "', expected argument " "1"" of type '" "wxSystemScreenType""'");
4278 arg1
= static_cast< wxSystemScreenType
>(val1
);
4280 if (!wxPyCheckForApp()) SWIG_fail
;
4281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4282 wxSystemSettings::SetScreenType(arg1
);
4283 wxPyEndAllowThreads(__tstate
);
4284 if (PyErr_Occurred()) SWIG_fail
;
4286 resultobj
= SWIG_Py_Void();
4293 SWIGINTERN PyObject
*SystemSettings_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4295 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4296 SWIG_TypeNewClientData(SWIGTYPE_p_wxSystemSettings
, SWIG_NewClientData(obj
));
4297 return SWIG_Py_Void();
4300 SWIGINTERN
int WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
4301 SWIG_Error(SWIG_AttributeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
4306 SWIGINTERN PyObject
*WINDOW_DEFAULT_VARIANT_get(void) {
4307 PyObject
*pyobj
= 0;
4311 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
4313 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
4320 SWIGINTERN PyObject
*_wrap_new_SystemOptions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4321 PyObject
*resultobj
= 0;
4322 wxSystemOptions
*result
= 0 ;
4324 if (!SWIG_Python_UnpackTuple(args
,"new_SystemOptions",0,0,0)) SWIG_fail
;
4326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4327 result
= (wxSystemOptions
*)new wxSystemOptions();
4328 wxPyEndAllowThreads(__tstate
);
4329 if (PyErr_Occurred()) SWIG_fail
;
4331 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSystemOptions
, SWIG_POINTER_NEW
| 0 );
4338 SWIGINTERN PyObject
*_wrap_SystemOptions_SetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4339 PyObject
*resultobj
= 0;
4340 wxString
*arg1
= 0 ;
4341 wxString
*arg2
= 0 ;
4342 bool temp1
= false ;
4343 bool temp2
= false ;
4344 PyObject
* obj0
= 0 ;
4345 PyObject
* obj1
= 0 ;
4346 char * kwnames
[] = {
4347 (char *) "name",(char *) "value", NULL
4350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4352 arg1
= wxString_in_helper(obj0
);
4353 if (arg1
== NULL
) SWIG_fail
;
4357 arg2
= wxString_in_helper(obj1
);
4358 if (arg2
== NULL
) SWIG_fail
;
4362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4363 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
4364 wxPyEndAllowThreads(__tstate
);
4365 if (PyErr_Occurred()) SWIG_fail
;
4367 resultobj
= SWIG_Py_Void();
4390 SWIGINTERN PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4391 PyObject
*resultobj
= 0;
4392 wxString
*arg1
= 0 ;
4394 bool temp1
= false ;
4397 PyObject
* obj0
= 0 ;
4398 PyObject
* obj1
= 0 ;
4399 char * kwnames
[] = {
4400 (char *) "name",(char *) "value", NULL
4403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4405 arg1
= wxString_in_helper(obj0
);
4406 if (arg1
== NULL
) SWIG_fail
;
4409 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4410 if (!SWIG_IsOK(ecode2
)) {
4411 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SystemOptions_SetOptionInt" "', expected argument " "2"" of type '" "int""'");
4413 arg2
= static_cast< int >(val2
);
4415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4416 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
4417 wxPyEndAllowThreads(__tstate
);
4418 if (PyErr_Occurred()) SWIG_fail
;
4420 resultobj
= SWIG_Py_Void();
4435 SWIGINTERN PyObject
*_wrap_SystemOptions_GetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4436 PyObject
*resultobj
= 0;
4437 wxString
*arg1
= 0 ;
4439 bool temp1
= false ;
4440 PyObject
* obj0
= 0 ;
4441 char * kwnames
[] = {
4442 (char *) "name", NULL
4445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) SWIG_fail
;
4447 arg1
= wxString_in_helper(obj0
);
4448 if (arg1
== NULL
) SWIG_fail
;
4452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4453 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
4454 wxPyEndAllowThreads(__tstate
);
4455 if (PyErr_Occurred()) SWIG_fail
;
4459 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4461 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4478 SWIGINTERN PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4479 PyObject
*resultobj
= 0;
4480 wxString
*arg1
= 0 ;
4482 bool temp1
= false ;
4483 PyObject
* obj0
= 0 ;
4484 char * kwnames
[] = {
4485 (char *) "name", NULL
4488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) SWIG_fail
;
4490 arg1
= wxString_in_helper(obj0
);
4491 if (arg1
== NULL
) SWIG_fail
;
4495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4496 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
4497 wxPyEndAllowThreads(__tstate
);
4498 if (PyErr_Occurred()) SWIG_fail
;
4500 resultobj
= SWIG_From_int(static_cast< int >(result
));
4515 SWIGINTERN PyObject
*_wrap_SystemOptions_HasOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4516 PyObject
*resultobj
= 0;
4517 wxString
*arg1
= 0 ;
4519 bool temp1
= false ;
4520 PyObject
* obj0
= 0 ;
4521 char * kwnames
[] = {
4522 (char *) "name", NULL
4525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) SWIG_fail
;
4527 arg1
= wxString_in_helper(obj0
);
4528 if (arg1
== NULL
) SWIG_fail
;
4532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4533 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
4534 wxPyEndAllowThreads(__tstate
);
4535 if (PyErr_Occurred()) SWIG_fail
;
4538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4554 SWIGINTERN PyObject
*_wrap_SystemOptions_IsFalse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4555 PyObject
*resultobj
= 0;
4556 wxString
*arg1
= 0 ;
4558 bool temp1
= false ;
4559 PyObject
* obj0
= 0 ;
4560 char * kwnames
[] = {
4561 (char *) "name", NULL
4564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_IsFalse",kwnames
,&obj0
)) SWIG_fail
;
4566 arg1
= wxString_in_helper(obj0
);
4567 if (arg1
== NULL
) SWIG_fail
;
4571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4572 result
= (bool)wxSystemOptions::IsFalse((wxString
const &)*arg1
);
4573 wxPyEndAllowThreads(__tstate
);
4574 if (PyErr_Occurred()) SWIG_fail
;
4577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4593 SWIGINTERN PyObject
*SystemOptions_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4595 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4596 SWIG_TypeNewClientData(SWIGTYPE_p_wxSystemOptions
, SWIG_NewClientData(obj
));
4597 return SWIG_Py_Void();
4600 SWIGINTERN PyObject
*SystemOptions_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4601 return SWIG_Python_InitShadowInstance(args
);
4604 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
4605 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
4610 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
4611 PyObject
*pyobj
= 0;
4615 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
4617 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
4624 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
4625 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
4630 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
4631 PyObject
*pyobj
= 0;
4635 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
4637 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
4644 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
4645 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
4650 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
4651 PyObject
*pyobj
= 0;
4655 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
4657 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
4664 SWIGINTERN PyObject
*_wrap_NewId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4665 PyObject
*resultobj
= 0;
4668 if (!SWIG_Python_UnpackTuple(args
,"NewId",0,0,0)) SWIG_fail
;
4670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4671 result
= (long)wxNewId();
4672 wxPyEndAllowThreads(__tstate
);
4673 if (PyErr_Occurred()) SWIG_fail
;
4675 resultobj
= SWIG_From_long(static_cast< long >(result
));
4682 SWIGINTERN PyObject
*_wrap_RegisterId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4683 PyObject
*resultobj
= 0;
4687 PyObject
* obj0
= 0 ;
4688 char * kwnames
[] = {
4692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) SWIG_fail
;
4693 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
4694 if (!SWIG_IsOK(ecode1
)) {
4695 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RegisterId" "', expected argument " "1"" of type '" "long""'");
4697 arg1
= static_cast< long >(val1
);
4699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4701 wxPyEndAllowThreads(__tstate
);
4702 if (PyErr_Occurred()) SWIG_fail
;
4704 resultobj
= SWIG_Py_Void();
4711 SWIGINTERN PyObject
*_wrap_GetCurrentId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4712 PyObject
*resultobj
= 0;
4715 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentId",0,0,0)) SWIG_fail
;
4717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4718 result
= (long)wxGetCurrentId();
4719 wxPyEndAllowThreads(__tstate
);
4720 if (PyErr_Occurred()) SWIG_fail
;
4722 resultobj
= SWIG_From_long(static_cast< long >(result
));
4729 SWIGINTERN PyObject
*_wrap_IsStockID(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4730 PyObject
*resultobj
= 0;
4735 PyObject
* obj0
= 0 ;
4736 char * kwnames
[] = {
4740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) SWIG_fail
;
4741 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4742 if (!SWIG_IsOK(ecode1
)) {
4743 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsStockID" "', expected argument " "1"" of type '" "int""'");
4745 arg1
= static_cast< int >(val1
);
4747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4748 result
= (bool)wxIsStockID(arg1
);
4749 wxPyEndAllowThreads(__tstate
);
4750 if (PyErr_Occurred()) SWIG_fail
;
4753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4761 SWIGINTERN PyObject
*_wrap_IsStockLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4762 PyObject
*resultobj
= 0;
4764 wxString
*arg2
= 0 ;
4768 bool temp2
= false ;
4769 PyObject
* obj0
= 0 ;
4770 PyObject
* obj1
= 0 ;
4771 char * kwnames
[] = {
4772 (char *) "id",(char *) "label", NULL
4775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4776 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4777 if (!SWIG_IsOK(ecode1
)) {
4778 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsStockLabel" "', expected argument " "1"" of type '" "int""'");
4780 arg1
= static_cast< int >(val1
);
4782 arg2
= wxString_in_helper(obj1
);
4783 if (arg2
== NULL
) SWIG_fail
;
4787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4788 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
4789 wxPyEndAllowThreads(__tstate
);
4790 if (PyErr_Occurred()) SWIG_fail
;
4793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4809 SWIGINTERN PyObject
*_wrap_GetStockLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4810 PyObject
*resultobj
= 0;
4812 long arg2
= (long) wxSTOCK_WITH_MNEMONIC
;
4818 PyObject
* obj0
= 0 ;
4819 PyObject
* obj1
= 0 ;
4820 char * kwnames
[] = {
4821 (char *) "id",(char *) "flags", NULL
4824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GetStockLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4825 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4826 if (!SWIG_IsOK(ecode1
)) {
4827 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetStockLabel" "', expected argument " "1"" of type '" "int""'");
4829 arg1
= static_cast< int >(val1
);
4831 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4832 if (!SWIG_IsOK(ecode2
)) {
4833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GetStockLabel" "', expected argument " "2"" of type '" "long""'");
4835 arg2
= static_cast< long >(val2
);
4838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4839 result
= wxGetStockLabel(arg1
,arg2
);
4840 wxPyEndAllowThreads(__tstate
);
4841 if (PyErr_Occurred()) SWIG_fail
;
4845 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4847 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4856 SWIGINTERN PyObject
*_wrap_GetStockHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4857 PyObject
*resultobj
= 0;
4859 wxStockHelpStringClient arg2
= (wxStockHelpStringClient
) wxSTOCK_MENU
;
4865 PyObject
* obj0
= 0 ;
4866 PyObject
* obj1
= 0 ;
4867 char * kwnames
[] = {
4868 (char *) "id",(char *) "client", NULL
4871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GetStockHelpString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4872 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4873 if (!SWIG_IsOK(ecode1
)) {
4874 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetStockHelpString" "', expected argument " "1"" of type '" "int""'");
4876 arg1
= static_cast< int >(val1
);
4878 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4879 if (!SWIG_IsOK(ecode2
)) {
4880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GetStockHelpString" "', expected argument " "2"" of type '" "wxStockHelpStringClient""'");
4882 arg2
= static_cast< wxStockHelpStringClient
>(val2
);
4885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4886 result
= wxGetStockHelpString(arg1
,arg2
);
4887 wxPyEndAllowThreads(__tstate
);
4888 if (PyErr_Occurred()) SWIG_fail
;
4892 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4894 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4903 SWIGINTERN PyObject
*_wrap_Bell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4904 PyObject
*resultobj
= 0;
4906 if (!SWIG_Python_UnpackTuple(args
,"Bell",0,0,0)) SWIG_fail
;
4908 if (!wxPyCheckForApp()) SWIG_fail
;
4909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4911 wxPyEndAllowThreads(__tstate
);
4912 if (PyErr_Occurred()) SWIG_fail
;
4914 resultobj
= SWIG_Py_Void();
4921 SWIGINTERN PyObject
*_wrap_EndBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4922 PyObject
*resultobj
= 0;
4924 if (!SWIG_Python_UnpackTuple(args
,"EndBusyCursor",0,0,0)) SWIG_fail
;
4926 if (!wxPyCheckForApp()) SWIG_fail
;
4927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4929 wxPyEndAllowThreads(__tstate
);
4930 if (PyErr_Occurred()) SWIG_fail
;
4932 resultobj
= SWIG_Py_Void();
4939 SWIGINTERN PyObject
*_wrap_GetElapsedTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4940 PyObject
*resultobj
= 0;
4941 bool arg1
= (bool) true ;
4945 PyObject
* obj0
= 0 ;
4946 char * kwnames
[] = {
4947 (char *) "resetTimer", NULL
4950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) SWIG_fail
;
4952 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
4953 if (!SWIG_IsOK(ecode1
)) {
4954 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetElapsedTime" "', expected argument " "1"" of type '" "bool""'");
4956 arg1
= static_cast< bool >(val1
);
4959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4960 result
= (long)wxGetElapsedTime(arg1
);
4961 wxPyEndAllowThreads(__tstate
);
4962 if (PyErr_Occurred()) SWIG_fail
;
4964 resultobj
= SWIG_From_long(static_cast< long >(result
));
4971 SWIGINTERN PyObject
*_wrap_IsBusy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4972 PyObject
*resultobj
= 0;
4975 if (!SWIG_Python_UnpackTuple(args
,"IsBusy",0,0,0)) SWIG_fail
;
4977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4978 result
= (bool)wxIsBusy();
4979 wxPyEndAllowThreads(__tstate
);
4980 if (PyErr_Occurred()) SWIG_fail
;
4983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4991 SWIGINTERN PyObject
*_wrap_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4992 PyObject
*resultobj
= 0;
4995 if (!SWIG_Python_UnpackTuple(args
,"Now",0,0,0)) SWIG_fail
;
4997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4999 wxPyEndAllowThreads(__tstate
);
5000 if (PyErr_Occurred()) SWIG_fail
;
5004 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5006 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5015 SWIGINTERN PyObject
*_wrap_Shell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5016 PyObject
*resultobj
= 0;
5017 wxString
const &arg1_defvalue
= wxPyEmptyString
;
5018 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5020 bool temp1
= false ;
5021 PyObject
* obj0
= 0 ;
5022 char * kwnames
[] = {
5023 (char *) "command", NULL
5026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) SWIG_fail
;
5029 arg1
= wxString_in_helper(obj0
);
5030 if (arg1
== NULL
) SWIG_fail
;
5035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5036 result
= (bool)wxShell((wxString
const &)*arg1
);
5037 wxPyEndAllowThreads(__tstate
);
5038 if (PyErr_Occurred()) SWIG_fail
;
5041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5057 SWIGINTERN PyObject
*_wrap_StartTimer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5058 PyObject
*resultobj
= 0;
5060 if (!SWIG_Python_UnpackTuple(args
,"StartTimer",0,0,0)) SWIG_fail
;
5062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5064 wxPyEndAllowThreads(__tstate
);
5065 if (PyErr_Occurred()) SWIG_fail
;
5067 resultobj
= SWIG_Py_Void();
5074 SWIGINTERN PyObject
*_wrap_GetOsVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5075 PyObject
*resultobj
= 0;
5076 int *arg1
= (int *) 0 ;
5077 int *arg2
= (int *) 0 ;
5080 int res1
= SWIG_TMPOBJ
;
5082 int res2
= SWIG_TMPOBJ
;
5086 if (!SWIG_Python_UnpackTuple(args
,"GetOsVersion",0,0,0)) SWIG_fail
;
5088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5089 result
= (int)wxGetOsVersion(arg1
,arg2
);
5090 wxPyEndAllowThreads(__tstate
);
5091 if (PyErr_Occurred()) SWIG_fail
;
5093 resultobj
= SWIG_From_int(static_cast< int >(result
));
5094 if (SWIG_IsTmpObj(res1
)) {
5095 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
5097 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5098 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
5100 if (SWIG_IsTmpObj(res2
)) {
5101 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
5103 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5104 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
5112 SWIGINTERN PyObject
*_wrap_GetOsDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5113 PyObject
*resultobj
= 0;
5116 if (!SWIG_Python_UnpackTuple(args
,"GetOsDescription",0,0,0)) SWIG_fail
;
5118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5119 result
= wxGetOsDescription();
5120 wxPyEndAllowThreads(__tstate
);
5121 if (PyErr_Occurred()) SWIG_fail
;
5125 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5127 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5136 SWIGINTERN PyObject
*_wrap_IsPlatformLittleEndian(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5137 PyObject
*resultobj
= 0;
5140 if (!SWIG_Python_UnpackTuple(args
,"IsPlatformLittleEndian",0,0,0)) SWIG_fail
;
5142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5143 result
= (bool)wxIsPlatformLittleEndian();
5144 wxPyEndAllowThreads(__tstate
);
5145 if (PyErr_Occurred()) SWIG_fail
;
5148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5156 SWIGINTERN PyObject
*_wrap_IsPlatform64Bit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5157 PyObject
*resultobj
= 0;
5160 if (!SWIG_Python_UnpackTuple(args
,"IsPlatform64Bit",0,0,0)) SWIG_fail
;
5162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5163 result
= (bool)wxIsPlatform64Bit();
5164 wxPyEndAllowThreads(__tstate
);
5165 if (PyErr_Occurred()) SWIG_fail
;
5168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5176 SWIGINTERN PyObject
*_wrap_GetFreeMemory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5177 PyObject
*resultobj
= 0;
5178 wxMemorySize result
;
5180 if (!SWIG_Python_UnpackTuple(args
,"GetFreeMemory",0,0,0)) SWIG_fail
;
5182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5183 result
= wxGetFreeMemory();
5184 wxPyEndAllowThreads(__tstate
);
5185 if (PyErr_Occurred()) SWIG_fail
;
5189 resultobj
= PyLong_FromLongLong((&result
)->GetValue());
5191 resultobj
= PyInt_FromLong(result
);
5200 SWIGINTERN PyObject
*_wrap_Shutdown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5201 PyObject
*resultobj
= 0;
5202 wxShutdownFlags arg1
;
5206 PyObject
* obj0
= 0 ;
5207 char * kwnames
[] = {
5208 (char *) "wFlags", NULL
5211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) SWIG_fail
;
5212 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5213 if (!SWIG_IsOK(ecode1
)) {
5214 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Shutdown" "', expected argument " "1"" of type '" "wxShutdownFlags""'");
5216 arg1
= static_cast< wxShutdownFlags
>(val1
);
5218 if (!wxPyCheckForApp()) SWIG_fail
;
5219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5220 result
= (bool)wxShutdown(arg1
);
5221 wxPyEndAllowThreads(__tstate
);
5222 if (PyErr_Occurred()) SWIG_fail
;
5225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5233 SWIGINTERN PyObject
*_wrap_Sleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5234 PyObject
*resultobj
= 0;
5238 PyObject
* obj0
= 0 ;
5239 char * kwnames
[] = {
5240 (char *) "secs", NULL
5243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) SWIG_fail
;
5244 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5245 if (!SWIG_IsOK(ecode1
)) {
5246 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Sleep" "', expected argument " "1"" of type '" "int""'");
5248 arg1
= static_cast< int >(val1
);
5250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5252 wxPyEndAllowThreads(__tstate
);
5253 if (PyErr_Occurred()) SWIG_fail
;
5255 resultobj
= SWIG_Py_Void();
5262 SWIGINTERN PyObject
*_wrap_MilliSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5263 PyObject
*resultobj
= 0;
5264 unsigned long arg1
;
5265 unsigned long val1
;
5267 PyObject
* obj0
= 0 ;
5268 char * kwnames
[] = {
5269 (char *) "milliseconds", NULL
5272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) SWIG_fail
;
5273 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5274 if (!SWIG_IsOK(ecode1
)) {
5275 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MilliSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5277 arg1
= static_cast< unsigned long >(val1
);
5279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5281 wxPyEndAllowThreads(__tstate
);
5282 if (PyErr_Occurred()) SWIG_fail
;
5284 resultobj
= SWIG_Py_Void();
5291 SWIGINTERN PyObject
*_wrap_MicroSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5292 PyObject
*resultobj
= 0;
5293 unsigned long arg1
;
5294 unsigned long val1
;
5296 PyObject
* obj0
= 0 ;
5297 char * kwnames
[] = {
5298 (char *) "microseconds", NULL
5301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) SWIG_fail
;
5302 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5303 if (!SWIG_IsOK(ecode1
)) {
5304 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MicroSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5306 arg1
= static_cast< unsigned long >(val1
);
5308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5310 wxPyEndAllowThreads(__tstate
);
5311 if (PyErr_Occurred()) SWIG_fail
;
5313 resultobj
= SWIG_Py_Void();
5320 SWIGINTERN PyObject
*_wrap_EnableTopLevelWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5321 PyObject
*resultobj
= 0;
5325 PyObject
* obj0
= 0 ;
5326 char * kwnames
[] = {
5327 (char *) "enable", NULL
5330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) SWIG_fail
;
5331 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
5332 if (!SWIG_IsOK(ecode1
)) {
5333 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EnableTopLevelWindows" "', expected argument " "1"" of type '" "bool""'");
5335 arg1
= static_cast< bool >(val1
);
5337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5338 wxEnableTopLevelWindows(arg1
);
5339 wxPyEndAllowThreads(__tstate
);
5340 if (PyErr_Occurred()) SWIG_fail
;
5342 resultobj
= SWIG_Py_Void();
5349 SWIGINTERN PyObject
*_wrap_StripMenuCodes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5350 PyObject
*resultobj
= 0;
5351 wxString
*arg1
= 0 ;
5353 bool temp1
= false ;
5354 PyObject
* obj0
= 0 ;
5355 char * kwnames
[] = {
5359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) SWIG_fail
;
5361 arg1
= wxString_in_helper(obj0
);
5362 if (arg1
== NULL
) SWIG_fail
;
5366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5367 result
= wxStripMenuCodes((wxString
const &)*arg1
);
5368 wxPyEndAllowThreads(__tstate
);
5369 if (PyErr_Occurred()) SWIG_fail
;
5373 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5375 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5392 SWIGINTERN PyObject
*_wrap_GetEmailAddress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5393 PyObject
*resultobj
= 0;
5396 if (!SWIG_Python_UnpackTuple(args
,"GetEmailAddress",0,0,0)) SWIG_fail
;
5398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5399 result
= wxGetEmailAddress();
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_GetHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5417 PyObject
*resultobj
= 0;
5420 if (!SWIG_Python_UnpackTuple(args
,"GetHostName",0,0,0)) SWIG_fail
;
5422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5423 result
= wxGetHostName();
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_GetFullHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5441 PyObject
*resultobj
= 0;
5444 if (!SWIG_Python_UnpackTuple(args
,"GetFullHostName",0,0,0)) SWIG_fail
;
5446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5447 result
= wxGetFullHostName();
5448 wxPyEndAllowThreads(__tstate
);
5449 if (PyErr_Occurred()) SWIG_fail
;
5453 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5455 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5464 SWIGINTERN PyObject
*_wrap_GetUserId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5465 PyObject
*resultobj
= 0;
5468 if (!SWIG_Python_UnpackTuple(args
,"GetUserId",0,0,0)) SWIG_fail
;
5470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5471 result
= wxGetUserId();
5472 wxPyEndAllowThreads(__tstate
);
5473 if (PyErr_Occurred()) SWIG_fail
;
5477 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5479 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5488 SWIGINTERN PyObject
*_wrap_GetUserName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5489 PyObject
*resultobj
= 0;
5492 if (!SWIG_Python_UnpackTuple(args
,"GetUserName",0,0,0)) SWIG_fail
;
5494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5495 result
= wxGetUserName();
5496 wxPyEndAllowThreads(__tstate
);
5497 if (PyErr_Occurred()) SWIG_fail
;
5501 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5503 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5512 SWIGINTERN PyObject
*_wrap_GetHomeDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5513 PyObject
*resultobj
= 0;
5516 if (!SWIG_Python_UnpackTuple(args
,"GetHomeDir",0,0,0)) SWIG_fail
;
5518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5519 result
= wxGetHomeDir();
5520 wxPyEndAllowThreads(__tstate
);
5521 if (PyErr_Occurred()) SWIG_fail
;
5525 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5527 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5536 SWIGINTERN PyObject
*_wrap_GetUserHome(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5537 PyObject
*resultobj
= 0;
5538 wxString
const &arg1_defvalue
= wxPyEmptyString
;
5539 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5541 bool temp1
= false ;
5542 PyObject
* obj0
= 0 ;
5543 char * kwnames
[] = {
5544 (char *) "user", NULL
5547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) SWIG_fail
;
5550 arg1
= wxString_in_helper(obj0
);
5551 if (arg1
== NULL
) SWIG_fail
;
5556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5557 result
= wxGetUserHome((wxString
const &)*arg1
);
5558 wxPyEndAllowThreads(__tstate
);
5559 if (PyErr_Occurred()) SWIG_fail
;
5563 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5565 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5582 SWIGINTERN PyObject
*_wrap_GetProcessId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5583 PyObject
*resultobj
= 0;
5584 unsigned long result
;
5586 if (!SWIG_Python_UnpackTuple(args
,"GetProcessId",0,0,0)) SWIG_fail
;
5588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5589 result
= (unsigned long)wxGetProcessId();
5590 wxPyEndAllowThreads(__tstate
);
5591 if (PyErr_Occurred()) SWIG_fail
;
5593 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
5600 SWIGINTERN PyObject
*_wrap_Trap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5601 PyObject
*resultobj
= 0;
5603 if (!SWIG_Python_UnpackTuple(args
,"Trap",0,0,0)) SWIG_fail
;
5605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5607 wxPyEndAllowThreads(__tstate
);
5608 if (PyErr_Occurred()) SWIG_fail
;
5610 resultobj
= SWIG_Py_Void();
5617 SWIGINTERN PyObject
*_wrap_FileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5618 PyObject
*resultobj
= 0;
5619 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
5620 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5621 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5622 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5623 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5624 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5625 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5626 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5627 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
5628 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5629 int arg6
= (int) 0 ;
5630 wxWindow
*arg7
= (wxWindow
*) NULL
;
5631 int arg8
= (int) -1 ;
5632 int arg9
= (int) -1 ;
5634 bool temp1
= false ;
5635 bool temp2
= false ;
5636 bool temp3
= false ;
5637 bool temp4
= false ;
5638 bool temp5
= false ;
5647 PyObject
* obj0
= 0 ;
5648 PyObject
* obj1
= 0 ;
5649 PyObject
* obj2
= 0 ;
5650 PyObject
* obj3
= 0 ;
5651 PyObject
* obj4
= 0 ;
5652 PyObject
* obj5
= 0 ;
5653 PyObject
* obj6
= 0 ;
5654 PyObject
* obj7
= 0 ;
5655 PyObject
* obj8
= 0 ;
5656 char * kwnames
[] = {
5657 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
5660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5663 arg1
= wxString_in_helper(obj0
);
5664 if (arg1
== NULL
) SWIG_fail
;
5670 arg2
= wxString_in_helper(obj1
);
5671 if (arg2
== NULL
) SWIG_fail
;
5677 arg3
= wxString_in_helper(obj2
);
5678 if (arg3
== NULL
) SWIG_fail
;
5684 arg4
= wxString_in_helper(obj3
);
5685 if (arg4
== NULL
) SWIG_fail
;
5691 arg5
= wxString_in_helper(obj4
);
5692 if (arg5
== NULL
) SWIG_fail
;
5697 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
5698 if (!SWIG_IsOK(ecode6
)) {
5699 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FileSelector" "', expected argument " "6"" of type '" "int""'");
5701 arg6
= static_cast< int >(val6
);
5704 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5705 if (!SWIG_IsOK(res7
)) {
5706 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "FileSelector" "', expected argument " "7"" of type '" "wxWindow *""'");
5708 arg7
= reinterpret_cast< wxWindow
* >(argp7
);
5711 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
5712 if (!SWIG_IsOK(ecode8
)) {
5713 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FileSelector" "', expected argument " "8"" of type '" "int""'");
5715 arg8
= static_cast< int >(val8
);
5718 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
5719 if (!SWIG_IsOK(ecode9
)) {
5720 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FileSelector" "', expected argument " "9"" of type '" "int""'");
5722 arg9
= static_cast< int >(val9
);
5725 if (!wxPyCheckForApp()) SWIG_fail
;
5726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5727 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
5728 wxPyEndAllowThreads(__tstate
);
5729 if (PyErr_Occurred()) SWIG_fail
;
5733 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5735 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5784 SWIGINTERN PyObject
*_wrap_LoadFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5785 PyObject
*resultobj
= 0;
5786 wxString
*arg1
= 0 ;
5787 wxString
*arg2
= 0 ;
5788 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5789 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5790 wxWindow
*arg4
= (wxWindow
*) NULL
;
5792 bool temp1
= false ;
5793 bool temp2
= false ;
5794 bool temp3
= false ;
5797 PyObject
* obj0
= 0 ;
5798 PyObject
* obj1
= 0 ;
5799 PyObject
* obj2
= 0 ;
5800 PyObject
* obj3
= 0 ;
5801 char * kwnames
[] = {
5802 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5807 arg1
= wxString_in_helper(obj0
);
5808 if (arg1
== NULL
) SWIG_fail
;
5812 arg2
= wxString_in_helper(obj1
);
5813 if (arg2
== NULL
) SWIG_fail
;
5818 arg3
= wxString_in_helper(obj2
);
5819 if (arg3
== NULL
) SWIG_fail
;
5824 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5825 if (!SWIG_IsOK(res4
)) {
5826 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "LoadFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5828 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5831 if (!wxPyCheckForApp()) SWIG_fail
;
5832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5833 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5834 wxPyEndAllowThreads(__tstate
);
5835 if (PyErr_Occurred()) SWIG_fail
;
5839 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5841 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5874 SWIGINTERN PyObject
*_wrap_SaveFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5875 PyObject
*resultobj
= 0;
5876 wxString
*arg1
= 0 ;
5877 wxString
*arg2
= 0 ;
5878 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5879 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5880 wxWindow
*arg4
= (wxWindow
*) NULL
;
5882 bool temp1
= false ;
5883 bool temp2
= false ;
5884 bool temp3
= false ;
5887 PyObject
* obj0
= 0 ;
5888 PyObject
* obj1
= 0 ;
5889 PyObject
* obj2
= 0 ;
5890 PyObject
* obj3
= 0 ;
5891 char * kwnames
[] = {
5892 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5897 arg1
= wxString_in_helper(obj0
);
5898 if (arg1
== NULL
) SWIG_fail
;
5902 arg2
= wxString_in_helper(obj1
);
5903 if (arg2
== NULL
) SWIG_fail
;
5908 arg3
= wxString_in_helper(obj2
);
5909 if (arg3
== NULL
) SWIG_fail
;
5914 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5915 if (!SWIG_IsOK(res4
)) {
5916 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "SaveFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5918 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5921 if (!wxPyCheckForApp()) SWIG_fail
;
5922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5923 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5924 wxPyEndAllowThreads(__tstate
);
5925 if (PyErr_Occurred()) SWIG_fail
;
5929 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5931 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5964 SWIGINTERN PyObject
*_wrap_DirSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5965 PyObject
*resultobj
= 0;
5966 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
5967 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5968 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5969 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5970 long arg3
= (long) wxDD_DEFAULT_STYLE
;
5971 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5972 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5973 wxWindow
*arg5
= (wxWindow
*) NULL
;
5975 bool temp1
= false ;
5976 bool temp2
= false ;
5982 PyObject
* obj0
= 0 ;
5983 PyObject
* obj1
= 0 ;
5984 PyObject
* obj2
= 0 ;
5985 PyObject
* obj3
= 0 ;
5986 PyObject
* obj4
= 0 ;
5987 char * kwnames
[] = {
5988 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
5991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
5994 arg1
= wxString_in_helper(obj0
);
5995 if (arg1
== NULL
) SWIG_fail
;
6001 arg2
= wxString_in_helper(obj1
);
6002 if (arg2
== NULL
) SWIG_fail
;
6007 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6008 if (!SWIG_IsOK(ecode3
)) {
6009 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirSelector" "', expected argument " "3"" of type '" "long""'");
6011 arg3
= static_cast< long >(val3
);
6016 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6020 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6021 if (!SWIG_IsOK(res5
)) {
6022 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DirSelector" "', expected argument " "5"" of type '" "wxWindow *""'");
6024 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6027 if (!wxPyCheckForApp()) SWIG_fail
;
6028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6029 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
6030 wxPyEndAllowThreads(__tstate
);
6031 if (PyErr_Occurred()) SWIG_fail
;
6035 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6037 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6062 SWIGINTERN PyObject
*_wrap_GetTextFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6063 PyObject
*resultobj
= 0;
6064 wxString
*arg1
= 0 ;
6065 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6066 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6067 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6068 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6069 wxWindow
*arg4
= (wxWindow
*) NULL
;
6070 int arg5
= (int) -1 ;
6071 int arg6
= (int) -1 ;
6072 bool arg7
= (bool) true ;
6074 bool temp1
= false ;
6075 bool temp2
= false ;
6076 bool temp3
= false ;
6085 PyObject
* obj0
= 0 ;
6086 PyObject
* obj1
= 0 ;
6087 PyObject
* obj2
= 0 ;
6088 PyObject
* obj3
= 0 ;
6089 PyObject
* obj4
= 0 ;
6090 PyObject
* obj5
= 0 ;
6091 PyObject
* obj6
= 0 ;
6092 char * kwnames
[] = {
6093 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
6096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6098 arg1
= wxString_in_helper(obj0
);
6099 if (arg1
== NULL
) SWIG_fail
;
6104 arg2
= wxString_in_helper(obj1
);
6105 if (arg2
== NULL
) SWIG_fail
;
6111 arg3
= wxString_in_helper(obj2
);
6112 if (arg3
== NULL
) SWIG_fail
;
6117 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6118 if (!SWIG_IsOK(res4
)) {
6119 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetTextFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
6121 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6124 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6125 if (!SWIG_IsOK(ecode5
)) {
6126 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GetTextFromUser" "', expected argument " "5"" of type '" "int""'");
6128 arg5
= static_cast< int >(val5
);
6131 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6132 if (!SWIG_IsOK(ecode6
)) {
6133 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetTextFromUser" "', expected argument " "6"" of type '" "int""'");
6135 arg6
= static_cast< int >(val6
);
6138 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
6139 if (!SWIG_IsOK(ecode7
)) {
6140 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetTextFromUser" "', expected argument " "7"" of type '" "bool""'");
6142 arg7
= static_cast< bool >(val7
);
6145 if (!wxPyCheckForApp()) SWIG_fail
;
6146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6147 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
6148 wxPyEndAllowThreads(__tstate
);
6149 if (PyErr_Occurred()) SWIG_fail
;
6153 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6155 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6188 SWIGINTERN PyObject
*_wrap_GetPasswordFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6189 PyObject
*resultobj
= 0;
6190 wxString
*arg1
= 0 ;
6191 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6192 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6193 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6194 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6195 wxWindow
*arg4
= (wxWindow
*) NULL
;
6197 bool temp1
= false ;
6198 bool temp2
= false ;
6199 bool temp3
= false ;
6202 PyObject
* obj0
= 0 ;
6203 PyObject
* obj1
= 0 ;
6204 PyObject
* obj2
= 0 ;
6205 PyObject
* obj3
= 0 ;
6206 char * kwnames
[] = {
6207 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
6210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6212 arg1
= wxString_in_helper(obj0
);
6213 if (arg1
== NULL
) SWIG_fail
;
6218 arg2
= wxString_in_helper(obj1
);
6219 if (arg2
== NULL
) SWIG_fail
;
6225 arg3
= wxString_in_helper(obj2
);
6226 if (arg3
== NULL
) SWIG_fail
;
6231 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6232 if (!SWIG_IsOK(res4
)) {
6233 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetPasswordFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
6235 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6238 if (!wxPyCheckForApp()) SWIG_fail
;
6239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6240 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
6241 wxPyEndAllowThreads(__tstate
);
6242 if (PyErr_Occurred()) SWIG_fail
;
6246 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6248 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6281 SWIGINTERN PyObject
*_wrap_GetSingleChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6282 PyObject
*resultobj
= 0;
6283 wxString
*arg1
= 0 ;
6284 wxString
*arg2
= 0 ;
6286 wxString
*arg4
= (wxString
*) 0 ;
6287 wxWindow
*arg5
= (wxWindow
*) NULL
;
6288 int arg6
= (int) -1 ;
6289 int arg7
= (int) -1 ;
6290 bool arg8
= (bool) true ;
6291 int arg9
= (int) 150 ;
6292 int arg10
= (int) 200 ;
6294 bool temp1
= false ;
6295 bool temp2
= false ;
6308 PyObject
* obj0
= 0 ;
6309 PyObject
* obj1
= 0 ;
6310 PyObject
* obj2
= 0 ;
6311 PyObject
* obj3
= 0 ;
6312 PyObject
* obj4
= 0 ;
6313 PyObject
* obj5
= 0 ;
6314 PyObject
* obj6
= 0 ;
6315 PyObject
* obj7
= 0 ;
6316 PyObject
* obj8
= 0 ;
6317 char * kwnames
[] = {
6318 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6323 arg1
= wxString_in_helper(obj0
);
6324 if (arg1
== NULL
) SWIG_fail
;
6328 arg2
= wxString_in_helper(obj1
);
6329 if (arg2
== NULL
) SWIG_fail
;
6333 arg3
= PyList_Size(obj2
);
6334 arg4
= wxString_LIST_helper(obj2
);
6335 if (arg4
== NULL
) SWIG_fail
;
6338 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6339 if (!SWIG_IsOK(res5
)) {
6340 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoice" "', expected argument " "5"" of type '" "wxWindow *""'");
6342 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6345 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6346 if (!SWIG_IsOK(ecode6
)) {
6347 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoice" "', expected argument " "6"" of type '" "int""'");
6349 arg6
= static_cast< int >(val6
);
6352 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6353 if (!SWIG_IsOK(ecode7
)) {
6354 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoice" "', expected argument " "7"" of type '" "int""'");
6356 arg7
= static_cast< int >(val7
);
6359 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6360 if (!SWIG_IsOK(ecode8
)) {
6361 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoice" "', expected argument " "8"" of type '" "bool""'");
6363 arg8
= static_cast< bool >(val8
);
6366 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6367 if (!SWIG_IsOK(ecode9
)) {
6368 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoice" "', expected argument " "9"" of type '" "int""'");
6370 arg9
= static_cast< int >(val9
);
6373 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6374 if (!SWIG_IsOK(ecode10
)) {
6375 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoice" "', expected argument " "10"" of type '" "int""'");
6377 arg10
= static_cast< int >(val10
);
6380 if (!wxPyCheckForApp()) SWIG_fail
;
6381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6382 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6383 wxPyEndAllowThreads(__tstate
);
6384 if (PyErr_Occurred()) SWIG_fail
;
6388 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6390 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6402 if (arg4
) delete [] arg4
;
6415 if (arg4
) delete [] arg4
;
6421 SWIGINTERN PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6422 PyObject
*resultobj
= 0;
6423 wxString
*arg1
= 0 ;
6424 wxString
*arg2
= 0 ;
6426 wxString
*arg4
= (wxString
*) 0 ;
6427 wxWindow
*arg5
= (wxWindow
*) NULL
;
6428 int arg6
= (int) -1 ;
6429 int arg7
= (int) -1 ;
6430 bool arg8
= (bool) true ;
6431 int arg9
= (int) 150 ;
6432 int arg10
= (int) 200 ;
6434 bool temp1
= false ;
6435 bool temp2
= false ;
6448 PyObject
* obj0
= 0 ;
6449 PyObject
* obj1
= 0 ;
6450 PyObject
* obj2
= 0 ;
6451 PyObject
* obj3
= 0 ;
6452 PyObject
* obj4
= 0 ;
6453 PyObject
* obj5
= 0 ;
6454 PyObject
* obj6
= 0 ;
6455 PyObject
* obj7
= 0 ;
6456 PyObject
* obj8
= 0 ;
6457 char * kwnames
[] = {
6458 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6463 arg1
= wxString_in_helper(obj0
);
6464 if (arg1
== NULL
) SWIG_fail
;
6468 arg2
= wxString_in_helper(obj1
);
6469 if (arg2
== NULL
) SWIG_fail
;
6473 arg3
= PyList_Size(obj2
);
6474 arg4
= wxString_LIST_helper(obj2
);
6475 if (arg4
== NULL
) SWIG_fail
;
6478 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6479 if (!SWIG_IsOK(res5
)) {
6480 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoiceIndex" "', expected argument " "5"" of type '" "wxWindow *""'");
6482 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6485 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6486 if (!SWIG_IsOK(ecode6
)) {
6487 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoiceIndex" "', expected argument " "6"" of type '" "int""'");
6489 arg6
= static_cast< int >(val6
);
6492 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6493 if (!SWIG_IsOK(ecode7
)) {
6494 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoiceIndex" "', expected argument " "7"" of type '" "int""'");
6496 arg7
= static_cast< int >(val7
);
6499 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6500 if (!SWIG_IsOK(ecode8
)) {
6501 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoiceIndex" "', expected argument " "8"" of type '" "bool""'");
6503 arg8
= static_cast< bool >(val8
);
6506 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6507 if (!SWIG_IsOK(ecode9
)) {
6508 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoiceIndex" "', expected argument " "9"" of type '" "int""'");
6510 arg9
= static_cast< int >(val9
);
6513 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6514 if (!SWIG_IsOK(ecode10
)) {
6515 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoiceIndex" "', expected argument " "10"" of type '" "int""'");
6517 arg10
= static_cast< int >(val10
);
6520 if (!wxPyCheckForApp()) SWIG_fail
;
6521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6522 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6523 wxPyEndAllowThreads(__tstate
);
6524 if (PyErr_Occurred()) SWIG_fail
;
6526 resultobj
= SWIG_From_int(static_cast< int >(result
));
6536 if (arg4
) delete [] arg4
;
6549 if (arg4
) delete [] arg4
;
6555 SWIGINTERN PyObject
*_wrap_MessageBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6556 PyObject
*resultobj
= 0;
6557 wxString
*arg1
= 0 ;
6558 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6559 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6560 int arg3
= (int) wxOK
|wxCENTRE
;
6561 wxWindow
*arg4
= (wxWindow
*) NULL
;
6562 int arg5
= (int) -1 ;
6563 int arg6
= (int) -1 ;
6565 bool temp1
= false ;
6566 bool temp2
= false ;
6575 PyObject
* obj0
= 0 ;
6576 PyObject
* obj1
= 0 ;
6577 PyObject
* obj2
= 0 ;
6578 PyObject
* obj3
= 0 ;
6579 PyObject
* obj4
= 0 ;
6580 PyObject
* obj5
= 0 ;
6581 char * kwnames
[] = {
6582 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
6585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
6587 arg1
= wxString_in_helper(obj0
);
6588 if (arg1
== NULL
) SWIG_fail
;
6593 arg2
= wxString_in_helper(obj1
);
6594 if (arg2
== NULL
) SWIG_fail
;
6599 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6600 if (!SWIG_IsOK(ecode3
)) {
6601 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MessageBox" "', expected argument " "3"" of type '" "int""'");
6603 arg3
= static_cast< int >(val3
);
6606 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6607 if (!SWIG_IsOK(res4
)) {
6608 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "MessageBox" "', expected argument " "4"" of type '" "wxWindow *""'");
6610 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6613 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6614 if (!SWIG_IsOK(ecode5
)) {
6615 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "MessageBox" "', expected argument " "5"" of type '" "int""'");
6617 arg5
= static_cast< int >(val5
);
6620 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6621 if (!SWIG_IsOK(ecode6
)) {
6622 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "MessageBox" "', expected argument " "6"" of type '" "int""'");
6624 arg6
= static_cast< int >(val6
);
6627 if (!wxPyCheckForApp()) SWIG_fail
;
6628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6629 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
6630 wxPyEndAllowThreads(__tstate
);
6631 if (PyErr_Occurred()) SWIG_fail
;
6633 resultobj
= SWIG_From_int(static_cast< int >(result
));
6656 SWIGINTERN PyObject
*_wrap_GetNumberFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6657 PyObject
*resultobj
= 0;
6658 wxString
*arg1
= 0 ;
6659 wxString
*arg2
= 0 ;
6660 wxString
*arg3
= 0 ;
6662 long arg5
= (long) 0 ;
6663 long arg6
= (long) 100 ;
6664 wxWindow
*arg7
= (wxWindow
*) NULL
;
6665 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
6666 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
6668 bool temp1
= false ;
6669 bool temp2
= false ;
6670 bool temp3
= false ;
6680 PyObject
* obj0
= 0 ;
6681 PyObject
* obj1
= 0 ;
6682 PyObject
* obj2
= 0 ;
6683 PyObject
* obj3
= 0 ;
6684 PyObject
* obj4
= 0 ;
6685 PyObject
* obj5
= 0 ;
6686 PyObject
* obj6
= 0 ;
6687 PyObject
* obj7
= 0 ;
6688 char * kwnames
[] = {
6689 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
6692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6694 arg1
= wxString_in_helper(obj0
);
6695 if (arg1
== NULL
) SWIG_fail
;
6699 arg2
= wxString_in_helper(obj1
);
6700 if (arg2
== NULL
) SWIG_fail
;
6704 arg3
= wxString_in_helper(obj2
);
6705 if (arg3
== NULL
) SWIG_fail
;
6708 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
6709 if (!SWIG_IsOK(ecode4
)) {
6710 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GetNumberFromUser" "', expected argument " "4"" of type '" "long""'");
6712 arg4
= static_cast< long >(val4
);
6714 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
6715 if (!SWIG_IsOK(ecode5
)) {
6716 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GetNumberFromUser" "', expected argument " "5"" of type '" "long""'");
6718 arg5
= static_cast< long >(val5
);
6721 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6722 if (!SWIG_IsOK(ecode6
)) {
6723 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetNumberFromUser" "', expected argument " "6"" of type '" "long""'");
6725 arg6
= static_cast< long >(val6
);
6728 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6729 if (!SWIG_IsOK(res7
)) {
6730 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "GetNumberFromUser" "', expected argument " "7"" of type '" "wxWindow *""'");
6732 arg7
= reinterpret_cast< wxWindow
* >(argp7
);
6737 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
6741 if (!wxPyCheckForApp()) SWIG_fail
;
6742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6743 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
6744 wxPyEndAllowThreads(__tstate
);
6745 if (PyErr_Occurred()) SWIG_fail
;
6747 resultobj
= SWIG_From_long(static_cast< long >(result
));
6778 SWIGINTERN PyObject
*_wrap_ColourDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6779 PyObject
*resultobj
= 0;
6782 if (!SWIG_Python_UnpackTuple(args
,"ColourDisplay",0,0,0)) SWIG_fail
;
6784 if (!wxPyCheckForApp()) SWIG_fail
;
6785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6786 result
= (bool)wxColourDisplay();
6787 wxPyEndAllowThreads(__tstate
);
6788 if (PyErr_Occurred()) SWIG_fail
;
6791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6799 SWIGINTERN PyObject
*_wrap_DisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6800 PyObject
*resultobj
= 0;
6803 if (!SWIG_Python_UnpackTuple(args
,"DisplayDepth",0,0,0)) SWIG_fail
;
6805 if (!wxPyCheckForApp()) SWIG_fail
;
6806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6807 result
= (int)wxDisplayDepth();
6808 wxPyEndAllowThreads(__tstate
);
6809 if (PyErr_Occurred()) SWIG_fail
;
6811 resultobj
= SWIG_From_int(static_cast< int >(result
));
6818 SWIGINTERN PyObject
*_wrap_GetDisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6819 PyObject
*resultobj
= 0;
6822 if (!SWIG_Python_UnpackTuple(args
,"GetDisplayDepth",0,0,0)) SWIG_fail
;
6824 if (!wxPyCheckForApp()) SWIG_fail
;
6825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6826 result
= (int)wxGetDisplayDepth();
6827 wxPyEndAllowThreads(__tstate
);
6828 if (PyErr_Occurred()) SWIG_fail
;
6830 resultobj
= SWIG_From_int(static_cast< int >(result
));
6837 SWIGINTERN PyObject
*_wrap_DisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6838 PyObject
*resultobj
= 0;
6839 int *arg1
= (int *) 0 ;
6840 int *arg2
= (int *) 0 ;
6842 int res1
= SWIG_TMPOBJ
;
6844 int res2
= SWIG_TMPOBJ
;
6848 if (!SWIG_Python_UnpackTuple(args
,"DisplaySize",0,0,0)) SWIG_fail
;
6850 if (!wxPyCheckForApp()) SWIG_fail
;
6851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6852 wxDisplaySize(arg1
,arg2
);
6853 wxPyEndAllowThreads(__tstate
);
6854 if (PyErr_Occurred()) SWIG_fail
;
6856 resultobj
= SWIG_Py_Void();
6857 if (SWIG_IsTmpObj(res1
)) {
6858 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6860 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6861 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6863 if (SWIG_IsTmpObj(res2
)) {
6864 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6866 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6867 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6875 SWIGINTERN PyObject
*_wrap_GetDisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6876 PyObject
*resultobj
= 0;
6879 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySize",0,0,0)) SWIG_fail
;
6881 if (!wxPyCheckForApp()) SWIG_fail
;
6882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6883 result
= wxGetDisplaySize();
6884 wxPyEndAllowThreads(__tstate
);
6885 if (PyErr_Occurred()) SWIG_fail
;
6887 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6894 SWIGINTERN PyObject
*_wrap_DisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6895 PyObject
*resultobj
= 0;
6896 int *arg1
= (int *) 0 ;
6897 int *arg2
= (int *) 0 ;
6899 int res1
= SWIG_TMPOBJ
;
6901 int res2
= SWIG_TMPOBJ
;
6905 if (!SWIG_Python_UnpackTuple(args
,"DisplaySizeMM",0,0,0)) SWIG_fail
;
6907 if (!wxPyCheckForApp()) SWIG_fail
;
6908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6909 wxDisplaySizeMM(arg1
,arg2
);
6910 wxPyEndAllowThreads(__tstate
);
6911 if (PyErr_Occurred()) SWIG_fail
;
6913 resultobj
= SWIG_Py_Void();
6914 if (SWIG_IsTmpObj(res1
)) {
6915 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6917 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6918 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6920 if (SWIG_IsTmpObj(res2
)) {
6921 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6923 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6924 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6932 SWIGINTERN PyObject
*_wrap_GetDisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6933 PyObject
*resultobj
= 0;
6936 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySizeMM",0,0,0)) SWIG_fail
;
6938 if (!wxPyCheckForApp()) SWIG_fail
;
6939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6940 result
= wxGetDisplaySizeMM();
6941 wxPyEndAllowThreads(__tstate
);
6942 if (PyErr_Occurred()) SWIG_fail
;
6944 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6951 SWIGINTERN PyObject
*_wrap_ClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6952 PyObject
*resultobj
= 0;
6953 int *arg1
= (int *) 0 ;
6954 int *arg2
= (int *) 0 ;
6955 int *arg3
= (int *) 0 ;
6956 int *arg4
= (int *) 0 ;
6958 int res1
= SWIG_TMPOBJ
;
6960 int res2
= SWIG_TMPOBJ
;
6962 int res3
= SWIG_TMPOBJ
;
6964 int res4
= SWIG_TMPOBJ
;
6970 if (!SWIG_Python_UnpackTuple(args
,"ClientDisplayRect",0,0,0)) SWIG_fail
;
6972 if (!wxPyCheckForApp()) SWIG_fail
;
6973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6974 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
6975 wxPyEndAllowThreads(__tstate
);
6976 if (PyErr_Occurred()) SWIG_fail
;
6978 resultobj
= SWIG_Py_Void();
6979 if (SWIG_IsTmpObj(res1
)) {
6980 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6982 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6983 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6985 if (SWIG_IsTmpObj(res2
)) {
6986 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6988 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6989 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6991 if (SWIG_IsTmpObj(res3
)) {
6992 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
6994 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6995 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
6997 if (SWIG_IsTmpObj(res4
)) {
6998 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
7000 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
7001 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
7009 SWIGINTERN PyObject
*_wrap_GetClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7010 PyObject
*resultobj
= 0;
7013 if (!SWIG_Python_UnpackTuple(args
,"GetClientDisplayRect",0,0,0)) SWIG_fail
;
7015 if (!wxPyCheckForApp()) SWIG_fail
;
7016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7017 result
= wxGetClientDisplayRect();
7018 wxPyEndAllowThreads(__tstate
);
7019 if (PyErr_Occurred()) SWIG_fail
;
7021 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7028 SWIGINTERN PyObject
*_wrap_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7029 PyObject
*resultobj
= 0;
7030 wxCursor
*arg1
= 0 ;
7033 PyObject
* obj0
= 0 ;
7034 char * kwnames
[] = {
7035 (char *) "cursor", NULL
7038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) SWIG_fail
;
7039 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxCursor
, 0 );
7040 if (!SWIG_IsOK(res1
)) {
7041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
7044 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
7046 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7048 if (!wxPyCheckForApp()) SWIG_fail
;
7049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7051 wxPyEndAllowThreads(__tstate
);
7052 if (PyErr_Occurred()) SWIG_fail
;
7054 resultobj
= SWIG_Py_Void();
7061 SWIGINTERN PyObject
*_wrap_GetXDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7062 PyObject
*resultobj
= 0;
7065 if (!SWIG_Python_UnpackTuple(args
,"GetXDisplay",0,0,0)) SWIG_fail
;
7067 if (!wxPyCheckForApp()) SWIG_fail
;
7068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7069 result
= (void *)wxGetXDisplay();
7070 wxPyEndAllowThreads(__tstate
);
7071 if (PyErr_Occurred()) SWIG_fail
;
7073 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
7080 SWIGINTERN PyObject
*_wrap_BeginBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7081 PyObject
*resultobj
= 0;
7082 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
7085 PyObject
* obj0
= 0 ;
7086 char * kwnames
[] = {
7087 (char *) "cursor", NULL
7090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) SWIG_fail
;
7092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
7093 if (!SWIG_IsOK(res1
)) {
7094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BeginBusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
7096 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7099 if (!wxPyCheckForApp()) SWIG_fail
;
7100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7101 wxBeginBusyCursor(arg1
);
7102 wxPyEndAllowThreads(__tstate
);
7103 if (PyErr_Occurred()) SWIG_fail
;
7105 resultobj
= SWIG_Py_Void();
7112 SWIGINTERN PyObject
*_wrap_GetMousePosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7113 PyObject
*resultobj
= 0;
7116 if (!SWIG_Python_UnpackTuple(args
,"GetMousePosition",0,0,0)) SWIG_fail
;
7118 if (!wxPyCheckForApp()) SWIG_fail
;
7119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7120 result
= wxGetMousePosition();
7121 wxPyEndAllowThreads(__tstate
);
7122 if (PyErr_Occurred()) SWIG_fail
;
7124 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7131 SWIGINTERN PyObject
*_wrap_FindWindowAtPointer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7132 PyObject
*resultobj
= 0;
7133 wxWindow
*result
= 0 ;
7135 if (!SWIG_Python_UnpackTuple(args
,"FindWindowAtPointer",0,0,0)) SWIG_fail
;
7137 if (!wxPyCheckForApp()) SWIG_fail
;
7138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7139 result
= (wxWindow
*)FindWindowAtPointer();
7140 wxPyEndAllowThreads(__tstate
);
7141 if (PyErr_Occurred()) SWIG_fail
;
7144 resultobj
= wxPyMake_wxObject(result
, 0);
7152 SWIGINTERN PyObject
*_wrap_GetActiveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7153 PyObject
*resultobj
= 0;
7154 wxWindow
*result
= 0 ;
7156 if (!SWIG_Python_UnpackTuple(args
,"GetActiveWindow",0,0,0)) SWIG_fail
;
7158 if (!wxPyCheckForApp()) SWIG_fail
;
7159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7160 result
= (wxWindow
*)wxGetActiveWindow();
7161 wxPyEndAllowThreads(__tstate
);
7162 if (PyErr_Occurred()) SWIG_fail
;
7165 resultobj
= wxPyMake_wxObject(result
, 0);
7173 SWIGINTERN PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7174 PyObject
*resultobj
= 0;
7176 wxWindow
*result
= 0 ;
7178 PyObject
* obj0
= 0 ;
7179 char * kwnames
[] = {
7183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
7186 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
7189 if (!wxPyCheckForApp()) SWIG_fail
;
7190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7191 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
7192 wxPyEndAllowThreads(__tstate
);
7193 if (PyErr_Occurred()) SWIG_fail
;
7196 resultobj
= wxPyMake_wxObject(result
, 0);
7204 SWIGINTERN PyObject
*_wrap_FindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7205 PyObject
*resultobj
= 0;
7207 wxWindow
*result
= 0 ;
7209 PyObject
* obj0
= 0 ;
7210 char * kwnames
[] = {
7214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
7217 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
7220 if (!wxPyCheckForApp()) SWIG_fail
;
7221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7222 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
7223 wxPyEndAllowThreads(__tstate
);
7224 if (PyErr_Occurred()) SWIG_fail
;
7227 resultobj
= wxPyMake_wxObject(result
, 0);
7235 SWIGINTERN PyObject
*_wrap_GetTopLevelParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7236 PyObject
*resultobj
= 0;
7237 wxWindow
*arg1
= (wxWindow
*) 0 ;
7238 wxWindow
*result
= 0 ;
7241 PyObject
* obj0
= 0 ;
7242 char * kwnames
[] = {
7243 (char *) "win", NULL
7246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) SWIG_fail
;
7247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7248 if (!SWIG_IsOK(res1
)) {
7249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetTopLevelParent" "', expected argument " "1"" of type '" "wxWindow *""'");
7251 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7253 if (!wxPyCheckForApp()) SWIG_fail
;
7254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7255 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
7256 wxPyEndAllowThreads(__tstate
);
7257 if (PyErr_Occurred()) SWIG_fail
;
7260 resultobj
= wxPyMake_wxObject(result
, 0);
7268 SWIGINTERN PyObject
*_wrap_LaunchDefaultBrowser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7269 PyObject
*resultobj
= 0;
7270 wxString
*arg1
= 0 ;
7272 bool temp1
= false ;
7273 PyObject
* obj0
= 0 ;
7274 char * kwnames
[] = {
7275 (char *) "url", NULL
7278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LaunchDefaultBrowser",kwnames
,&obj0
)) SWIG_fail
;
7280 arg1
= wxString_in_helper(obj0
);
7281 if (arg1
== NULL
) SWIG_fail
;
7285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7286 result
= (bool)wxLaunchDefaultBrowser((wxString
const &)*arg1
);
7287 wxPyEndAllowThreads(__tstate
);
7288 if (PyErr_Occurred()) SWIG_fail
;
7291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7307 SWIGINTERN PyObject
*_wrap_GetKeyState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7308 PyObject
*resultobj
= 0;
7313 PyObject
* obj0
= 0 ;
7314 char * kwnames
[] = {
7315 (char *) "key", NULL
7318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) SWIG_fail
;
7319 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7320 if (!SWIG_IsOK(ecode1
)) {
7321 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetKeyState" "', expected argument " "1"" of type '" "wxKeyCode""'");
7323 arg1
= static_cast< wxKeyCode
>(val1
);
7325 if (!wxPyCheckForApp()) SWIG_fail
;
7326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7327 result
= (bool)wxGetKeyState(arg1
);
7328 wxPyEndAllowThreads(__tstate
);
7329 if (PyErr_Occurred()) SWIG_fail
;
7332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7340 SWIGINTERN PyObject
*_wrap_new_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7341 PyObject
*resultobj
= 0;
7342 wxMouseState
*result
= 0 ;
7344 if (!SWIG_Python_UnpackTuple(args
,"new_MouseState",0,0,0)) SWIG_fail
;
7346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7347 result
= (wxMouseState
*)new wxMouseState();
7348 wxPyEndAllowThreads(__tstate
);
7349 if (PyErr_Occurred()) SWIG_fail
;
7351 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_NEW
| 0 );
7358 SWIGINTERN PyObject
*_wrap_delete_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7359 PyObject
*resultobj
= 0;
7360 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7363 PyObject
*swig_obj
[1] ;
7365 if (!args
) SWIG_fail
;
7367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, SWIG_POINTER_DISOWN
| 0 );
7368 if (!SWIG_IsOK(res1
)) {
7369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MouseState" "', expected argument " "1"" of type '" "wxMouseState *""'");
7371 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7376 wxPyEndAllowThreads(__tstate
);
7377 if (PyErr_Occurred()) SWIG_fail
;
7379 resultobj
= SWIG_Py_Void();
7386 SWIGINTERN PyObject
*_wrap_MouseState_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7387 PyObject
*resultobj
= 0;
7388 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7392 PyObject
*swig_obj
[1] ;
7394 if (!args
) SWIG_fail
;
7396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7397 if (!SWIG_IsOK(res1
)) {
7398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7400 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7403 result
= (int)(arg1
)->GetX();
7404 wxPyEndAllowThreads(__tstate
);
7405 if (PyErr_Occurred()) SWIG_fail
;
7407 resultobj
= SWIG_From_int(static_cast< int >(result
));
7414 SWIGINTERN PyObject
*_wrap_MouseState_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7415 PyObject
*resultobj
= 0;
7416 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7420 PyObject
*swig_obj
[1] ;
7422 if (!args
) SWIG_fail
;
7424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7425 if (!SWIG_IsOK(res1
)) {
7426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7428 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7431 result
= (int)(arg1
)->GetY();
7432 wxPyEndAllowThreads(__tstate
);
7433 if (PyErr_Occurred()) SWIG_fail
;
7435 resultobj
= SWIG_From_int(static_cast< int >(result
));
7442 SWIGINTERN PyObject
*_wrap_MouseState_LeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7443 PyObject
*resultobj
= 0;
7444 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7448 PyObject
*swig_obj
[1] ;
7450 if (!args
) SWIG_fail
;
7452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7453 if (!SWIG_IsOK(res1
)) {
7454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_LeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7456 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7459 result
= (bool)(arg1
)->LeftDown();
7460 wxPyEndAllowThreads(__tstate
);
7461 if (PyErr_Occurred()) SWIG_fail
;
7464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7472 SWIGINTERN PyObject
*_wrap_MouseState_MiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7473 PyObject
*resultobj
= 0;
7474 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7478 PyObject
*swig_obj
[1] ;
7480 if (!args
) SWIG_fail
;
7482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7483 if (!SWIG_IsOK(res1
)) {
7484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7486 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7489 result
= (bool)(arg1
)->MiddleDown();
7490 wxPyEndAllowThreads(__tstate
);
7491 if (PyErr_Occurred()) SWIG_fail
;
7494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7502 SWIGINTERN PyObject
*_wrap_MouseState_RightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7503 PyObject
*resultobj
= 0;
7504 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7508 PyObject
*swig_obj
[1] ;
7510 if (!args
) SWIG_fail
;
7512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7513 if (!SWIG_IsOK(res1
)) {
7514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_RightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7516 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7519 result
= (bool)(arg1
)->RightDown();
7520 wxPyEndAllowThreads(__tstate
);
7521 if (PyErr_Occurred()) SWIG_fail
;
7524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7532 SWIGINTERN PyObject
*_wrap_MouseState_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7533 PyObject
*resultobj
= 0;
7534 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7538 PyObject
*swig_obj
[1] ;
7540 if (!args
) SWIG_fail
;
7542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7543 if (!SWIG_IsOK(res1
)) {
7544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7546 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7549 result
= (bool)(arg1
)->ControlDown();
7550 wxPyEndAllowThreads(__tstate
);
7551 if (PyErr_Occurred()) SWIG_fail
;
7554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7562 SWIGINTERN PyObject
*_wrap_MouseState_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7563 PyObject
*resultobj
= 0;
7564 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7568 PyObject
*swig_obj
[1] ;
7570 if (!args
) SWIG_fail
;
7572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7573 if (!SWIG_IsOK(res1
)) {
7574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7576 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7579 result
= (bool)(arg1
)->ShiftDown();
7580 wxPyEndAllowThreads(__tstate
);
7581 if (PyErr_Occurred()) SWIG_fail
;
7584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7592 SWIGINTERN PyObject
*_wrap_MouseState_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7593 PyObject
*resultobj
= 0;
7594 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7598 PyObject
*swig_obj
[1] ;
7600 if (!args
) SWIG_fail
;
7602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7603 if (!SWIG_IsOK(res1
)) {
7604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_AltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7606 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7609 result
= (bool)(arg1
)->AltDown();
7610 wxPyEndAllowThreads(__tstate
);
7611 if (PyErr_Occurred()) SWIG_fail
;
7614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7622 SWIGINTERN PyObject
*_wrap_MouseState_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7623 PyObject
*resultobj
= 0;
7624 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7628 PyObject
*swig_obj
[1] ;
7630 if (!args
) SWIG_fail
;
7632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7633 if (!SWIG_IsOK(res1
)) {
7634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7636 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7639 result
= (bool)(arg1
)->MetaDown();
7640 wxPyEndAllowThreads(__tstate
);
7641 if (PyErr_Occurred()) SWIG_fail
;
7644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7652 SWIGINTERN PyObject
*_wrap_MouseState_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7653 PyObject
*resultobj
= 0;
7654 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7658 PyObject
*swig_obj
[1] ;
7660 if (!args
) SWIG_fail
;
7662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7663 if (!SWIG_IsOK(res1
)) {
7664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_CmdDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7666 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7669 result
= (bool)(arg1
)->CmdDown();
7670 wxPyEndAllowThreads(__tstate
);
7671 if (PyErr_Occurred()) SWIG_fail
;
7674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7682 SWIGINTERN PyObject
*_wrap_MouseState_SetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7683 PyObject
*resultobj
= 0;
7684 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7690 PyObject
* obj0
= 0 ;
7691 PyObject
* obj1
= 0 ;
7692 char * kwnames
[] = {
7693 (char *) "self",(char *) "x", NULL
7696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7698 if (!SWIG_IsOK(res1
)) {
7699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7701 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7702 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7703 if (!SWIG_IsOK(ecode2
)) {
7704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetX" "', expected argument " "2"" of type '" "int""'");
7706 arg2
= static_cast< int >(val2
);
7708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7710 wxPyEndAllowThreads(__tstate
);
7711 if (PyErr_Occurred()) SWIG_fail
;
7713 resultobj
= SWIG_Py_Void();
7720 SWIGINTERN PyObject
*_wrap_MouseState_SetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7721 PyObject
*resultobj
= 0;
7722 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7728 PyObject
* obj0
= 0 ;
7729 PyObject
* obj1
= 0 ;
7730 char * kwnames
[] = {
7731 (char *) "self",(char *) "y", NULL
7734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7736 if (!SWIG_IsOK(res1
)) {
7737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7739 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7740 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7741 if (!SWIG_IsOK(ecode2
)) {
7742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetY" "', expected argument " "2"" of type '" "int""'");
7744 arg2
= static_cast< int >(val2
);
7746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7748 wxPyEndAllowThreads(__tstate
);
7749 if (PyErr_Occurred()) SWIG_fail
;
7751 resultobj
= SWIG_Py_Void();
7758 SWIGINTERN PyObject
*_wrap_MouseState_SetLeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7759 PyObject
*resultobj
= 0;
7760 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7766 PyObject
* obj0
= 0 ;
7767 PyObject
* obj1
= 0 ;
7768 char * kwnames
[] = {
7769 (char *) "self",(char *) "down", NULL
7772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetLeftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7774 if (!SWIG_IsOK(res1
)) {
7775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetLeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7777 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7778 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7779 if (!SWIG_IsOK(ecode2
)) {
7780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetLeftDown" "', expected argument " "2"" of type '" "bool""'");
7782 arg2
= static_cast< bool >(val2
);
7784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7785 (arg1
)->SetLeftDown(arg2
);
7786 wxPyEndAllowThreads(__tstate
);
7787 if (PyErr_Occurred()) SWIG_fail
;
7789 resultobj
= SWIG_Py_Void();
7796 SWIGINTERN PyObject
*_wrap_MouseState_SetMiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7797 PyObject
*resultobj
= 0;
7798 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7804 PyObject
* obj0
= 0 ;
7805 PyObject
* obj1
= 0 ;
7806 char * kwnames
[] = {
7807 (char *) "self",(char *) "down", NULL
7810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMiddleDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7812 if (!SWIG_IsOK(res1
)) {
7813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7815 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7816 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7817 if (!SWIG_IsOK(ecode2
)) {
7818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "2"" of type '" "bool""'");
7820 arg2
= static_cast< bool >(val2
);
7822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7823 (arg1
)->SetMiddleDown(arg2
);
7824 wxPyEndAllowThreads(__tstate
);
7825 if (PyErr_Occurred()) SWIG_fail
;
7827 resultobj
= SWIG_Py_Void();
7834 SWIGINTERN PyObject
*_wrap_MouseState_SetRightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7835 PyObject
*resultobj
= 0;
7836 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7842 PyObject
* obj0
= 0 ;
7843 PyObject
* obj1
= 0 ;
7844 char * kwnames
[] = {
7845 (char *) "self",(char *) "down", NULL
7848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetRightDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7850 if (!SWIG_IsOK(res1
)) {
7851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetRightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7853 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7854 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7855 if (!SWIG_IsOK(ecode2
)) {
7856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetRightDown" "', expected argument " "2"" of type '" "bool""'");
7858 arg2
= static_cast< bool >(val2
);
7860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7861 (arg1
)->SetRightDown(arg2
);
7862 wxPyEndAllowThreads(__tstate
);
7863 if (PyErr_Occurred()) SWIG_fail
;
7865 resultobj
= SWIG_Py_Void();
7872 SWIGINTERN PyObject
*_wrap_MouseState_SetControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7873 PyObject
*resultobj
= 0;
7874 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7880 PyObject
* obj0
= 0 ;
7881 PyObject
* obj1
= 0 ;
7882 char * kwnames
[] = {
7883 (char *) "self",(char *) "down", NULL
7886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetControlDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7888 if (!SWIG_IsOK(res1
)) {
7889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7891 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7892 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7893 if (!SWIG_IsOK(ecode2
)) {
7894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetControlDown" "', expected argument " "2"" of type '" "bool""'");
7896 arg2
= static_cast< bool >(val2
);
7898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7899 (arg1
)->SetControlDown(arg2
);
7900 wxPyEndAllowThreads(__tstate
);
7901 if (PyErr_Occurred()) SWIG_fail
;
7903 resultobj
= SWIG_Py_Void();
7910 SWIGINTERN PyObject
*_wrap_MouseState_SetShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7911 PyObject
*resultobj
= 0;
7912 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7918 PyObject
* obj0
= 0 ;
7919 PyObject
* obj1
= 0 ;
7920 char * kwnames
[] = {
7921 (char *) "self",(char *) "down", NULL
7924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetShiftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7926 if (!SWIG_IsOK(res1
)) {
7927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7929 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7930 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7931 if (!SWIG_IsOK(ecode2
)) {
7932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetShiftDown" "', expected argument " "2"" of type '" "bool""'");
7934 arg2
= static_cast< bool >(val2
);
7936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7937 (arg1
)->SetShiftDown(arg2
);
7938 wxPyEndAllowThreads(__tstate
);
7939 if (PyErr_Occurred()) SWIG_fail
;
7941 resultobj
= SWIG_Py_Void();
7948 SWIGINTERN PyObject
*_wrap_MouseState_SetAltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7949 PyObject
*resultobj
= 0;
7950 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7956 PyObject
* obj0
= 0 ;
7957 PyObject
* obj1
= 0 ;
7958 char * kwnames
[] = {
7959 (char *) "self",(char *) "down", NULL
7962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetAltDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7964 if (!SWIG_IsOK(res1
)) {
7965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetAltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7967 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7968 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7969 if (!SWIG_IsOK(ecode2
)) {
7970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetAltDown" "', expected argument " "2"" of type '" "bool""'");
7972 arg2
= static_cast< bool >(val2
);
7974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7975 (arg1
)->SetAltDown(arg2
);
7976 wxPyEndAllowThreads(__tstate
);
7977 if (PyErr_Occurred()) SWIG_fail
;
7979 resultobj
= SWIG_Py_Void();
7986 SWIGINTERN PyObject
*_wrap_MouseState_SetMetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7987 PyObject
*resultobj
= 0;
7988 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7994 PyObject
* obj0
= 0 ;
7995 PyObject
* obj1
= 0 ;
7996 char * kwnames
[] = {
7997 (char *) "self",(char *) "down", NULL
8000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMetaDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
8002 if (!SWIG_IsOK(res1
)) {
8003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
8005 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
8006 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
8007 if (!SWIG_IsOK(ecode2
)) {
8008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMetaDown" "', expected argument " "2"" of type '" "bool""'");
8010 arg2
= static_cast< bool >(val2
);
8012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8013 (arg1
)->SetMetaDown(arg2
);
8014 wxPyEndAllowThreads(__tstate
);
8015 if (PyErr_Occurred()) SWIG_fail
;
8017 resultobj
= SWIG_Py_Void();
8024 SWIGINTERN PyObject
*MouseState_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8026 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8027 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseState
, SWIG_NewClientData(obj
));
8028 return SWIG_Py_Void();
8031 SWIGINTERN PyObject
*MouseState_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8032 return SWIG_Python_InitShadowInstance(args
);
8035 SWIGINTERN PyObject
*_wrap_GetMouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8036 PyObject
*resultobj
= 0;
8037 wxMouseState result
;
8039 if (!SWIG_Python_UnpackTuple(args
,"GetMouseState",0,0,0)) SWIG_fail
;
8041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8042 result
= wxGetMouseState();
8043 wxPyEndAllowThreads(__tstate
);
8044 if (PyErr_Occurred()) SWIG_fail
;
8046 resultobj
= SWIG_NewPointerObj((new wxMouseState(static_cast< const wxMouseState
& >(result
))), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_OWN
| 0 );
8053 SWIGINTERN PyObject
*_wrap_WakeUpMainThread(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8054 PyObject
*resultobj
= 0;
8056 if (!SWIG_Python_UnpackTuple(args
,"WakeUpMainThread",0,0,0)) SWIG_fail
;
8058 if (!wxPyCheckForApp()) SWIG_fail
;
8059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8060 wxWakeUpMainThread();
8061 wxPyEndAllowThreads(__tstate
);
8062 if (PyErr_Occurred()) SWIG_fail
;
8064 resultobj
= SWIG_Py_Void();
8071 SWIGINTERN PyObject
*_wrap_MutexGuiEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8072 PyObject
*resultobj
= 0;
8074 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiEnter",0,0,0)) SWIG_fail
;
8076 if (!wxPyCheckForApp()) SWIG_fail
;
8077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8079 wxPyEndAllowThreads(__tstate
);
8080 if (PyErr_Occurred()) SWIG_fail
;
8082 resultobj
= SWIG_Py_Void();
8089 SWIGINTERN PyObject
*_wrap_MutexGuiLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8090 PyObject
*resultobj
= 0;
8092 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiLeave",0,0,0)) SWIG_fail
;
8094 if (!wxPyCheckForApp()) SWIG_fail
;
8095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8097 wxPyEndAllowThreads(__tstate
);
8098 if (PyErr_Occurred()) SWIG_fail
;
8100 resultobj
= SWIG_Py_Void();
8107 SWIGINTERN PyObject
*_wrap_new_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8108 PyObject
*resultobj
= 0;
8109 wxMutexGuiLocker
*result
= 0 ;
8111 if (!SWIG_Python_UnpackTuple(args
,"new_MutexGuiLocker",0,0,0)) SWIG_fail
;
8113 if (!wxPyCheckForApp()) SWIG_fail
;
8114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8115 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
8116 wxPyEndAllowThreads(__tstate
);
8117 if (PyErr_Occurred()) SWIG_fail
;
8119 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_NEW
| 0 );
8126 SWIGINTERN PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8127 PyObject
*resultobj
= 0;
8128 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
8131 PyObject
*swig_obj
[1] ;
8133 if (!args
) SWIG_fail
;
8135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_DISOWN
| 0 );
8136 if (!SWIG_IsOK(res1
)) {
8137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MutexGuiLocker" "', expected argument " "1"" of type '" "wxMutexGuiLocker *""'");
8139 arg1
= reinterpret_cast< wxMutexGuiLocker
* >(argp1
);
8141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8144 wxPyEndAllowThreads(__tstate
);
8145 if (PyErr_Occurred()) SWIG_fail
;
8147 resultobj
= SWIG_Py_Void();
8154 SWIGINTERN PyObject
*MutexGuiLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8156 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8157 SWIG_TypeNewClientData(SWIGTYPE_p_wxMutexGuiLocker
, SWIG_NewClientData(obj
));
8158 return SWIG_Py_Void();
8161 SWIGINTERN PyObject
*MutexGuiLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8162 return SWIG_Python_InitShadowInstance(args
);
8165 SWIGINTERN PyObject
*_wrap_Thread_IsMain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8166 PyObject
*resultobj
= 0;
8169 if (!SWIG_Python_UnpackTuple(args
,"Thread_IsMain",0,0,0)) SWIG_fail
;
8171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8172 result
= (bool)wxThread_IsMain();
8173 wxPyEndAllowThreads(__tstate
);
8174 if (PyErr_Occurred()) SWIG_fail
;
8177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8185 SWIGINTERN PyObject
*_wrap_new_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8186 PyObject
*resultobj
= 0;
8187 wxString
*arg1
= 0 ;
8188 wxToolTip
*result
= 0 ;
8189 bool temp1
= false ;
8190 PyObject
* obj0
= 0 ;
8191 char * kwnames
[] = {
8192 (char *) "tip", NULL
8195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) SWIG_fail
;
8197 arg1
= wxString_in_helper(obj0
);
8198 if (arg1
== NULL
) SWIG_fail
;
8202 if (!wxPyCheckForApp()) SWIG_fail
;
8203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8204 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
8205 wxPyEndAllowThreads(__tstate
);
8206 if (PyErr_Occurred()) SWIG_fail
;
8208 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolTip
, SWIG_POINTER_NEW
| 0 );
8223 SWIGINTERN PyObject
*_wrap_delete_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8224 PyObject
*resultobj
= 0;
8225 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8228 PyObject
*swig_obj
[1] ;
8230 if (!args
) SWIG_fail
;
8232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, SWIG_POINTER_DISOWN
| 0 );
8233 if (!SWIG_IsOK(res1
)) {
8234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ToolTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8236 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8241 wxPyEndAllowThreads(__tstate
);
8242 if (PyErr_Occurred()) SWIG_fail
;
8244 resultobj
= SWIG_Py_Void();
8251 SWIGINTERN PyObject
*_wrap_ToolTip_SetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8252 PyObject
*resultobj
= 0;
8253 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8254 wxString
*arg2
= 0 ;
8257 bool temp2
= false ;
8258 PyObject
* obj0
= 0 ;
8259 PyObject
* obj1
= 0 ;
8260 char * kwnames
[] = {
8261 (char *) "self",(char *) "tip", NULL
8264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8266 if (!SWIG_IsOK(res1
)) {
8267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_SetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8269 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8271 arg2
= wxString_in_helper(obj1
);
8272 if (arg2
== NULL
) SWIG_fail
;
8276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8277 (arg1
)->SetTip((wxString
const &)*arg2
);
8278 wxPyEndAllowThreads(__tstate
);
8279 if (PyErr_Occurred()) SWIG_fail
;
8281 resultobj
= SWIG_Py_Void();
8296 SWIGINTERN PyObject
*_wrap_ToolTip_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8297 PyObject
*resultobj
= 0;
8298 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8302 PyObject
*swig_obj
[1] ;
8304 if (!args
) SWIG_fail
;
8306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8307 if (!SWIG_IsOK(res1
)) {
8308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8310 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8313 result
= (arg1
)->GetTip();
8314 wxPyEndAllowThreads(__tstate
);
8315 if (PyErr_Occurred()) SWIG_fail
;
8319 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8321 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8330 SWIGINTERN PyObject
*_wrap_ToolTip_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8331 PyObject
*resultobj
= 0;
8332 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8333 wxWindow
*result
= 0 ;
8336 PyObject
*swig_obj
[1] ;
8338 if (!args
) SWIG_fail
;
8340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8341 if (!SWIG_IsOK(res1
)) {
8342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetWindow" "', expected argument " "1"" of type '" "wxToolTip *""'");
8344 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8347 result
= (wxWindow
*)(arg1
)->GetWindow();
8348 wxPyEndAllowThreads(__tstate
);
8349 if (PyErr_Occurred()) SWIG_fail
;
8352 resultobj
= wxPyMake_wxObject(result
, 0);
8360 SWIGINTERN PyObject
*_wrap_ToolTip_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8361 PyObject
*resultobj
= 0;
8365 PyObject
* obj0
= 0 ;
8366 char * kwnames
[] = {
8367 (char *) "flag", NULL
8370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) SWIG_fail
;
8371 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
8372 if (!SWIG_IsOK(ecode1
)) {
8373 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_Enable" "', expected argument " "1"" of type '" "bool""'");
8375 arg1
= static_cast< bool >(val1
);
8377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8378 wxToolTip::Enable(arg1
);
8379 wxPyEndAllowThreads(__tstate
);
8380 if (PyErr_Occurred()) SWIG_fail
;
8382 resultobj
= SWIG_Py_Void();
8389 SWIGINTERN PyObject
*_wrap_ToolTip_SetDelay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8390 PyObject
*resultobj
= 0;
8394 PyObject
* obj0
= 0 ;
8395 char * kwnames
[] = {
8396 (char *) "milliseconds", NULL
8399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) SWIG_fail
;
8400 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
8401 if (!SWIG_IsOK(ecode1
)) {
8402 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_SetDelay" "', expected argument " "1"" of type '" "long""'");
8404 arg1
= static_cast< long >(val1
);
8406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8407 wxToolTip::SetDelay(arg1
);
8408 wxPyEndAllowThreads(__tstate
);
8409 if (PyErr_Occurred()) SWIG_fail
;
8411 resultobj
= SWIG_Py_Void();
8418 SWIGINTERN PyObject
*ToolTip_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8420 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8421 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolTip
, SWIG_NewClientData(obj
));
8422 return SWIG_Py_Void();
8425 SWIGINTERN PyObject
*ToolTip_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8426 return SWIG_Python_InitShadowInstance(args
);
8429 SWIGINTERN PyObject
*_wrap_new_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8430 PyObject
*resultobj
= 0;
8431 wxWindow
*arg1
= (wxWindow
*) 0 ;
8433 wxCaret
*result
= 0 ;
8437 PyObject
* obj0
= 0 ;
8438 PyObject
* obj1
= 0 ;
8439 char * kwnames
[] = {
8440 (char *) "window",(char *) "size", NULL
8443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8445 if (!SWIG_IsOK(res1
)) {
8446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Caret" "', expected argument " "1"" of type '" "wxWindow *""'");
8448 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8451 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8454 if (!wxPyCheckForApp()) SWIG_fail
;
8455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8456 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
8457 wxPyEndAllowThreads(__tstate
);
8458 if (PyErr_Occurred()) SWIG_fail
;
8460 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCaret
, SWIG_POINTER_NEW
| 0 );
8467 SWIGINTERN PyObject
*_wrap_delete_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8468 PyObject
*resultobj
= 0;
8469 wxCaret
*arg1
= (wxCaret
*) 0 ;
8472 PyObject
*swig_obj
[1] ;
8474 if (!args
) SWIG_fail
;
8476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, SWIG_POINTER_DISOWN
| 0 );
8477 if (!SWIG_IsOK(res1
)) {
8478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Caret" "', expected argument " "1"" of type '" "wxCaret *""'");
8480 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8485 wxPyEndAllowThreads(__tstate
);
8486 if (PyErr_Occurred()) SWIG_fail
;
8488 resultobj
= SWIG_Py_Void();
8495 SWIGINTERN PyObject
*_wrap_Caret_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8496 PyObject
*resultobj
= 0;
8497 wxCaret
*arg1
= (wxCaret
*) 0 ;
8500 PyObject
*swig_obj
[1] ;
8502 if (!args
) SWIG_fail
;
8504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8505 if (!SWIG_IsOK(res1
)) {
8506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Destroy" "', expected argument " "1"" of type '" "wxCaret *""'");
8508 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8511 wxCaret_Destroy(arg1
);
8512 wxPyEndAllowThreads(__tstate
);
8513 if (PyErr_Occurred()) SWIG_fail
;
8515 resultobj
= SWIG_Py_Void();
8522 SWIGINTERN PyObject
*_wrap_Caret_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8523 PyObject
*resultobj
= 0;
8524 wxCaret
*arg1
= (wxCaret
*) 0 ;
8528 PyObject
*swig_obj
[1] ;
8530 if (!args
) SWIG_fail
;
8532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8533 if (!SWIG_IsOK(res1
)) {
8534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsOk" "', expected argument " "1"" of type '" "wxCaret *""'");
8536 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8539 result
= (bool)(arg1
)->IsOk();
8540 wxPyEndAllowThreads(__tstate
);
8541 if (PyErr_Occurred()) SWIG_fail
;
8544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8552 SWIGINTERN PyObject
*_wrap_Caret_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8553 PyObject
*resultobj
= 0;
8554 wxCaret
*arg1
= (wxCaret
*) 0 ;
8558 PyObject
*swig_obj
[1] ;
8560 if (!args
) SWIG_fail
;
8562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8563 if (!SWIG_IsOK(res1
)) {
8564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsVisible" "', expected argument " "1"" of type '" "wxCaret *""'");
8566 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8569 result
= (bool)(arg1
)->IsVisible();
8570 wxPyEndAllowThreads(__tstate
);
8571 if (PyErr_Occurred()) SWIG_fail
;
8574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8582 SWIGINTERN PyObject
*_wrap_Caret_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8583 PyObject
*resultobj
= 0;
8584 wxCaret
*arg1
= (wxCaret
*) 0 ;
8588 PyObject
*swig_obj
[1] ;
8590 if (!args
) SWIG_fail
;
8592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8593 if (!SWIG_IsOK(res1
)) {
8594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPosition" "', expected argument " "1"" of type '" "wxCaret *""'");
8596 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8599 result
= (arg1
)->GetPosition();
8600 wxPyEndAllowThreads(__tstate
);
8601 if (PyErr_Occurred()) SWIG_fail
;
8603 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
8610 SWIGINTERN PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8611 PyObject
*resultobj
= 0;
8612 wxCaret
*arg1
= (wxCaret
*) 0 ;
8613 int *arg2
= (int *) 0 ;
8614 int *arg3
= (int *) 0 ;
8618 int res2
= SWIG_TMPOBJ
;
8620 int res3
= SWIG_TMPOBJ
;
8621 PyObject
*swig_obj
[1] ;
8625 if (!args
) SWIG_fail
;
8627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8628 if (!SWIG_IsOK(res1
)) {
8629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPositionTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8631 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8634 (arg1
)->GetPosition(arg2
,arg3
);
8635 wxPyEndAllowThreads(__tstate
);
8636 if (PyErr_Occurred()) SWIG_fail
;
8638 resultobj
= SWIG_Py_Void();
8639 if (SWIG_IsTmpObj(res2
)) {
8640 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8642 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8643 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8645 if (SWIG_IsTmpObj(res3
)) {
8646 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8648 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8649 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8657 SWIGINTERN PyObject
*_wrap_Caret_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8658 PyObject
*resultobj
= 0;
8659 wxCaret
*arg1
= (wxCaret
*) 0 ;
8663 PyObject
*swig_obj
[1] ;
8665 if (!args
) SWIG_fail
;
8667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8668 if (!SWIG_IsOK(res1
)) {
8669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8671 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8674 result
= (arg1
)->GetSize();
8675 wxPyEndAllowThreads(__tstate
);
8676 if (PyErr_Occurred()) SWIG_fail
;
8678 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
8685 SWIGINTERN PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8686 PyObject
*resultobj
= 0;
8687 wxCaret
*arg1
= (wxCaret
*) 0 ;
8688 int *arg2
= (int *) 0 ;
8689 int *arg3
= (int *) 0 ;
8693 int res2
= SWIG_TMPOBJ
;
8695 int res3
= SWIG_TMPOBJ
;
8696 PyObject
*swig_obj
[1] ;
8700 if (!args
) SWIG_fail
;
8702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8703 if (!SWIG_IsOK(res1
)) {
8704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSizeTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8706 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8709 (arg1
)->GetSize(arg2
,arg3
);
8710 wxPyEndAllowThreads(__tstate
);
8711 if (PyErr_Occurred()) SWIG_fail
;
8713 resultobj
= SWIG_Py_Void();
8714 if (SWIG_IsTmpObj(res2
)) {
8715 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8717 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8718 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8720 if (SWIG_IsTmpObj(res3
)) {
8721 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8723 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8724 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8732 SWIGINTERN PyObject
*_wrap_Caret_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8733 PyObject
*resultobj
= 0;
8734 wxCaret
*arg1
= (wxCaret
*) 0 ;
8735 wxWindow
*result
= 0 ;
8738 PyObject
*swig_obj
[1] ;
8740 if (!args
) SWIG_fail
;
8742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8743 if (!SWIG_IsOK(res1
)) {
8744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetWindow" "', expected argument " "1"" of type '" "wxCaret *""'");
8746 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8749 result
= (wxWindow
*)(arg1
)->GetWindow();
8750 wxPyEndAllowThreads(__tstate
);
8751 if (PyErr_Occurred()) SWIG_fail
;
8754 resultobj
= wxPyMake_wxObject(result
, 0);
8762 SWIGINTERN PyObject
*_wrap_Caret_MoveXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8763 PyObject
*resultobj
= 0;
8764 wxCaret
*arg1
= (wxCaret
*) 0 ;
8773 PyObject
* obj0
= 0 ;
8774 PyObject
* obj1
= 0 ;
8775 PyObject
* obj2
= 0 ;
8776 char * kwnames
[] = {
8777 (char *) "self",(char *) "x",(char *) "y", NULL
8780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8782 if (!SWIG_IsOK(res1
)) {
8783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_MoveXY" "', expected argument " "1"" of type '" "wxCaret *""'");
8785 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8786 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8787 if (!SWIG_IsOK(ecode2
)) {
8788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_MoveXY" "', expected argument " "2"" of type '" "int""'");
8790 arg2
= static_cast< int >(val2
);
8791 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8792 if (!SWIG_IsOK(ecode3
)) {
8793 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_MoveXY" "', expected argument " "3"" of type '" "int""'");
8795 arg3
= static_cast< int >(val3
);
8797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8798 (arg1
)->Move(arg2
,arg3
);
8799 wxPyEndAllowThreads(__tstate
);
8800 if (PyErr_Occurred()) SWIG_fail
;
8802 resultobj
= SWIG_Py_Void();
8809 SWIGINTERN PyObject
*_wrap_Caret_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8810 PyObject
*resultobj
= 0;
8811 wxCaret
*arg1
= (wxCaret
*) 0 ;
8816 PyObject
* obj0
= 0 ;
8817 PyObject
* obj1
= 0 ;
8818 char * kwnames
[] = {
8819 (char *) "self",(char *) "pt", NULL
8822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8824 if (!SWIG_IsOK(res1
)) {
8825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Move" "', expected argument " "1"" of type '" "wxCaret *""'");
8827 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8830 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8834 (arg1
)->Move((wxPoint
const &)*arg2
);
8835 wxPyEndAllowThreads(__tstate
);
8836 if (PyErr_Occurred()) SWIG_fail
;
8838 resultobj
= SWIG_Py_Void();
8845 SWIGINTERN PyObject
*_wrap_Caret_SetSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8846 PyObject
*resultobj
= 0;
8847 wxCaret
*arg1
= (wxCaret
*) 0 ;
8856 PyObject
* obj0
= 0 ;
8857 PyObject
* obj1
= 0 ;
8858 PyObject
* obj2
= 0 ;
8859 char * kwnames
[] = {
8860 (char *) "self",(char *) "width",(char *) "height", NULL
8863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8865 if (!SWIG_IsOK(res1
)) {
8866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSizeWH" "', expected argument " "1"" of type '" "wxCaret *""'");
8868 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8869 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8870 if (!SWIG_IsOK(ecode2
)) {
8871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_SetSizeWH" "', expected argument " "2"" of type '" "int""'");
8873 arg2
= static_cast< int >(val2
);
8874 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8875 if (!SWIG_IsOK(ecode3
)) {
8876 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_SetSizeWH" "', expected argument " "3"" of type '" "int""'");
8878 arg3
= static_cast< int >(val3
);
8880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8881 (arg1
)->SetSize(arg2
,arg3
);
8882 wxPyEndAllowThreads(__tstate
);
8883 if (PyErr_Occurred()) SWIG_fail
;
8885 resultobj
= SWIG_Py_Void();
8892 SWIGINTERN PyObject
*_wrap_Caret_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8893 PyObject
*resultobj
= 0;
8894 wxCaret
*arg1
= (wxCaret
*) 0 ;
8899 PyObject
* obj0
= 0 ;
8900 PyObject
* obj1
= 0 ;
8901 char * kwnames
[] = {
8902 (char *) "self",(char *) "size", NULL
8905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8907 if (!SWIG_IsOK(res1
)) {
8908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8910 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8913 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8917 (arg1
)->SetSize((wxSize
const &)*arg2
);
8918 wxPyEndAllowThreads(__tstate
);
8919 if (PyErr_Occurred()) SWIG_fail
;
8921 resultobj
= SWIG_Py_Void();
8928 SWIGINTERN PyObject
*_wrap_Caret_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8929 PyObject
*resultobj
= 0;
8930 wxCaret
*arg1
= (wxCaret
*) 0 ;
8931 int arg2
= (int) true ;
8936 PyObject
* obj0
= 0 ;
8937 PyObject
* obj1
= 0 ;
8938 char * kwnames
[] = {
8939 (char *) "self",(char *) "show", NULL
8942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8944 if (!SWIG_IsOK(res1
)) {
8945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Show" "', expected argument " "1"" of type '" "wxCaret *""'");
8947 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8949 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8950 if (!SWIG_IsOK(ecode2
)) {
8951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_Show" "', expected argument " "2"" of type '" "int""'");
8953 arg2
= static_cast< int >(val2
);
8956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8958 wxPyEndAllowThreads(__tstate
);
8959 if (PyErr_Occurred()) SWIG_fail
;
8961 resultobj
= SWIG_Py_Void();
8968 SWIGINTERN PyObject
*_wrap_Caret_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8969 PyObject
*resultobj
= 0;
8970 wxCaret
*arg1
= (wxCaret
*) 0 ;
8973 PyObject
*swig_obj
[1] ;
8975 if (!args
) SWIG_fail
;
8977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8978 if (!SWIG_IsOK(res1
)) {
8979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Hide" "', expected argument " "1"" of type '" "wxCaret *""'");
8981 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8985 wxPyEndAllowThreads(__tstate
);
8986 if (PyErr_Occurred()) SWIG_fail
;
8988 resultobj
= SWIG_Py_Void();
8995 SWIGINTERN PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8996 PyObject
*resultobj
= 0;
8999 if (!SWIG_Python_UnpackTuple(args
,"Caret_GetBlinkTime",0,0,0)) SWIG_fail
;
9001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9002 result
= (int)wxCaret::GetBlinkTime();
9003 wxPyEndAllowThreads(__tstate
);
9004 if (PyErr_Occurred()) SWIG_fail
;
9006 resultobj
= SWIG_From_int(static_cast< int >(result
));
9013 SWIGINTERN PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9014 PyObject
*resultobj
= 0;
9018 PyObject
* obj0
= 0 ;
9019 char * kwnames
[] = {
9020 (char *) "milliseconds", NULL
9023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) SWIG_fail
;
9024 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9025 if (!SWIG_IsOK(ecode1
)) {
9026 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Caret_SetBlinkTime" "', expected argument " "1"" of type '" "int""'");
9028 arg1
= static_cast< int >(val1
);
9030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9031 wxCaret::SetBlinkTime(arg1
);
9032 wxPyEndAllowThreads(__tstate
);
9033 if (PyErr_Occurred()) SWIG_fail
;
9035 resultobj
= SWIG_Py_Void();
9042 SWIGINTERN PyObject
*Caret_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9044 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9045 SWIG_TypeNewClientData(SWIGTYPE_p_wxCaret
, SWIG_NewClientData(obj
));
9046 return SWIG_Py_Void();
9049 SWIGINTERN PyObject
*Caret_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9050 return SWIG_Python_InitShadowInstance(args
);
9053 SWIGINTERN PyObject
*_wrap_new_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9054 PyObject
*resultobj
= 0;
9055 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
9056 wxBusyCursor
*result
= 0 ;
9059 PyObject
* obj0
= 0 ;
9060 char * kwnames
[] = {
9061 (char *) "cursor", NULL
9064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) SWIG_fail
;
9066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
9067 if (!SWIG_IsOK(res1
)) {
9068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
9070 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9073 if (!wxPyCheckForApp()) SWIG_fail
;
9074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9075 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
9076 wxPyEndAllowThreads(__tstate
);
9077 if (PyErr_Occurred()) SWIG_fail
;
9079 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_NEW
| 0 );
9086 SWIGINTERN PyObject
*_wrap_delete_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9087 PyObject
*resultobj
= 0;
9088 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
9091 PyObject
*swig_obj
[1] ;
9093 if (!args
) SWIG_fail
;
9095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_DISOWN
| 0 );
9096 if (!SWIG_IsOK(res1
)) {
9097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyCursor" "', expected argument " "1"" of type '" "wxBusyCursor *""'");
9099 arg1
= reinterpret_cast< wxBusyCursor
* >(argp1
);
9101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9104 wxPyEndAllowThreads(__tstate
);
9105 if (PyErr_Occurred()) SWIG_fail
;
9107 resultobj
= SWIG_Py_Void();
9114 SWIGINTERN PyObject
*BusyCursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9116 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9117 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyCursor
, SWIG_NewClientData(obj
));
9118 return SWIG_Py_Void();
9121 SWIGINTERN PyObject
*BusyCursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9122 return SWIG_Python_InitShadowInstance(args
);
9125 SWIGINTERN PyObject
*_wrap_new_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9126 PyObject
*resultobj
= 0;
9127 wxWindow
*arg1
= (wxWindow
*) NULL
;
9128 wxWindowDisabler
*result
= 0 ;
9131 PyObject
* obj0
= 0 ;
9132 char * kwnames
[] = {
9133 (char *) "winToSkip", NULL
9136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) SWIG_fail
;
9138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9139 if (!SWIG_IsOK(res1
)) {
9140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDisabler" "', expected argument " "1"" of type '" "wxWindow *""'");
9142 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9145 if (!wxPyCheckForApp()) SWIG_fail
;
9146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9147 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
9148 wxPyEndAllowThreads(__tstate
);
9149 if (PyErr_Occurred()) SWIG_fail
;
9151 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_NEW
| 0 );
9158 SWIGINTERN PyObject
*_wrap_delete_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9159 PyObject
*resultobj
= 0;
9160 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
9163 PyObject
*swig_obj
[1] ;
9165 if (!args
) SWIG_fail
;
9167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_DISOWN
| 0 );
9168 if (!SWIG_IsOK(res1
)) {
9169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_WindowDisabler" "', expected argument " "1"" of type '" "wxWindowDisabler *""'");
9171 arg1
= reinterpret_cast< wxWindowDisabler
* >(argp1
);
9173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9176 wxPyEndAllowThreads(__tstate
);
9177 if (PyErr_Occurred()) SWIG_fail
;
9179 resultobj
= SWIG_Py_Void();
9186 SWIGINTERN PyObject
*WindowDisabler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9188 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9189 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDisabler
, SWIG_NewClientData(obj
));
9190 return SWIG_Py_Void();
9193 SWIGINTERN PyObject
*WindowDisabler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9194 return SWIG_Python_InitShadowInstance(args
);
9197 SWIGINTERN PyObject
*_wrap_new_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9198 PyObject
*resultobj
= 0;
9199 wxString
*arg1
= 0 ;
9200 wxWindow
*arg2
= (wxWindow
*) NULL
;
9201 wxBusyInfo
*result
= 0 ;
9202 bool temp1
= false ;
9205 PyObject
* obj0
= 0 ;
9206 PyObject
* obj1
= 0 ;
9207 char * kwnames
[] = {
9208 (char *) "message",(char *) "parent", NULL
9211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BusyInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9213 arg1
= wxString_in_helper(obj0
);
9214 if (arg1
== NULL
) SWIG_fail
;
9218 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9219 if (!SWIG_IsOK(res2
)) {
9220 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BusyInfo" "', expected argument " "2"" of type '" "wxWindow *""'");
9222 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9225 if (!wxPyCheckForApp()) SWIG_fail
;
9226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9227 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
,arg2
);
9228 wxPyEndAllowThreads(__tstate
);
9229 if (PyErr_Occurred()) SWIG_fail
;
9231 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_NEW
| 0 );
9246 SWIGINTERN PyObject
*_wrap_delete_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9247 PyObject
*resultobj
= 0;
9248 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
9251 PyObject
*swig_obj
[1] ;
9253 if (!args
) SWIG_fail
;
9255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_DISOWN
| 0 );
9256 if (!SWIG_IsOK(res1
)) {
9257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyInfo" "', expected argument " "1"" of type '" "wxBusyInfo *""'");
9259 arg1
= reinterpret_cast< wxBusyInfo
* >(argp1
);
9261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9264 wxPyEndAllowThreads(__tstate
);
9265 if (PyErr_Occurred()) SWIG_fail
;
9267 resultobj
= SWIG_Py_Void();
9274 SWIGINTERN PyObject
*BusyInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9276 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9277 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyInfo
, SWIG_NewClientData(obj
));
9278 return SWIG_Py_Void();
9281 SWIGINTERN PyObject
*BusyInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9282 return SWIG_Python_InitShadowInstance(args
);
9285 SWIGINTERN PyObject
*_wrap_new_StopWatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9286 PyObject
*resultobj
= 0;
9287 wxStopWatch
*result
= 0 ;
9289 if (!SWIG_Python_UnpackTuple(args
,"new_StopWatch",0,0,0)) SWIG_fail
;
9291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9292 result
= (wxStopWatch
*)new wxStopWatch();
9293 wxPyEndAllowThreads(__tstate
);
9294 if (PyErr_Occurred()) SWIG_fail
;
9296 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_NEW
| 0 );
9303 SWIGINTERN PyObject
*_wrap_delete_StopWatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9304 PyObject
*resultobj
= 0;
9305 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9308 PyObject
*swig_obj
[1] ;
9310 if (!args
) SWIG_fail
;
9312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_DISOWN
| 0 );
9313 if (!SWIG_IsOK(res1
)) {
9314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StopWatch" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9316 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9321 wxPyEndAllowThreads(__tstate
);
9322 if (PyErr_Occurred()) SWIG_fail
;
9324 resultobj
= SWIG_Py_Void();
9331 SWIGINTERN PyObject
*_wrap_StopWatch_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9332 PyObject
*resultobj
= 0;
9333 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9334 long arg2
= (long) 0 ;
9339 PyObject
* obj0
= 0 ;
9340 PyObject
* obj1
= 0 ;
9341 char * kwnames
[] = {
9342 (char *) "self",(char *) "t0", NULL
9345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9347 if (!SWIG_IsOK(res1
)) {
9348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Start" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9350 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9352 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9353 if (!SWIG_IsOK(ecode2
)) {
9354 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StopWatch_Start" "', expected argument " "2"" of type '" "long""'");
9356 arg2
= static_cast< long >(val2
);
9359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9360 (arg1
)->Start(arg2
);
9361 wxPyEndAllowThreads(__tstate
);
9362 if (PyErr_Occurred()) SWIG_fail
;
9364 resultobj
= SWIG_Py_Void();
9371 SWIGINTERN PyObject
*_wrap_StopWatch_Pause(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9372 PyObject
*resultobj
= 0;
9373 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9376 PyObject
*swig_obj
[1] ;
9378 if (!args
) SWIG_fail
;
9380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9381 if (!SWIG_IsOK(res1
)) {
9382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Pause" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9384 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9388 wxPyEndAllowThreads(__tstate
);
9389 if (PyErr_Occurred()) SWIG_fail
;
9391 resultobj
= SWIG_Py_Void();
9398 SWIGINTERN PyObject
*_wrap_StopWatch_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9399 PyObject
*resultobj
= 0;
9400 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9403 PyObject
*swig_obj
[1] ;
9405 if (!args
) SWIG_fail
;
9407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9408 if (!SWIG_IsOK(res1
)) {
9409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Resume" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9411 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9415 wxPyEndAllowThreads(__tstate
);
9416 if (PyErr_Occurred()) SWIG_fail
;
9418 resultobj
= SWIG_Py_Void();
9425 SWIGINTERN PyObject
*_wrap_StopWatch_Time(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9426 PyObject
*resultobj
= 0;
9427 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9431 PyObject
*swig_obj
[1] ;
9433 if (!args
) SWIG_fail
;
9435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9436 if (!SWIG_IsOK(res1
)) {
9437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Time" "', expected argument " "1"" of type '" "wxStopWatch const *""'");
9439 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9442 result
= (long)((wxStopWatch
const *)arg1
)->Time();
9443 wxPyEndAllowThreads(__tstate
);
9444 if (PyErr_Occurred()) SWIG_fail
;
9446 resultobj
= SWIG_From_long(static_cast< long >(result
));
9453 SWIGINTERN PyObject
*StopWatch_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9455 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9456 SWIG_TypeNewClientData(SWIGTYPE_p_wxStopWatch
, SWIG_NewClientData(obj
));
9457 return SWIG_Py_Void();
9460 SWIGINTERN PyObject
*StopWatch_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9461 return SWIG_Python_InitShadowInstance(args
);
9464 SWIGINTERN PyObject
*_wrap_new_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9465 PyObject
*resultobj
= 0;
9466 int arg1
= (int) 9 ;
9467 int arg2
= (int) wxID_FILE1
;
9468 wxFileHistory
*result
= 0 ;
9473 PyObject
* obj0
= 0 ;
9474 PyObject
* obj1
= 0 ;
9475 char * kwnames
[] = {
9476 (char *) "maxFiles",(char *) "idBase", NULL
9479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9481 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9482 if (!SWIG_IsOK(ecode1
)) {
9483 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileHistory" "', expected argument " "1"" of type '" "int""'");
9485 arg1
= static_cast< int >(val1
);
9488 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9489 if (!SWIG_IsOK(ecode2
)) {
9490 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FileHistory" "', expected argument " "2"" of type '" "int""'");
9492 arg2
= static_cast< int >(val2
);
9495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9496 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
9497 wxPyEndAllowThreads(__tstate
);
9498 if (PyErr_Occurred()) SWIG_fail
;
9500 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_NEW
| 0 );
9507 SWIGINTERN PyObject
*_wrap_delete_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9508 PyObject
*resultobj
= 0;
9509 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9512 PyObject
*swig_obj
[1] ;
9514 if (!args
) SWIG_fail
;
9516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_DISOWN
| 0 );
9517 if (!SWIG_IsOK(res1
)) {
9518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9520 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9525 wxPyEndAllowThreads(__tstate
);
9526 if (PyErr_Occurred()) SWIG_fail
;
9528 resultobj
= SWIG_Py_Void();
9535 SWIGINTERN PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9536 PyObject
*resultobj
= 0;
9537 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9538 wxString
*arg2
= 0 ;
9541 bool temp2
= false ;
9542 PyObject
* obj0
= 0 ;
9543 PyObject
* obj1
= 0 ;
9544 char * kwnames
[] = {
9545 (char *) "self",(char *) "file", NULL
9548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9550 if (!SWIG_IsOK(res1
)) {
9551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFileToHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9553 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9555 arg2
= wxString_in_helper(obj1
);
9556 if (arg2
== NULL
) SWIG_fail
;
9560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9561 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
9562 wxPyEndAllowThreads(__tstate
);
9563 if (PyErr_Occurred()) SWIG_fail
;
9565 resultobj
= SWIG_Py_Void();
9580 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9581 PyObject
*resultobj
= 0;
9582 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9588 PyObject
* obj0
= 0 ;
9589 PyObject
* obj1
= 0 ;
9590 char * kwnames
[] = {
9591 (char *) "self",(char *) "i", NULL
9594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9596 if (!SWIG_IsOK(res1
)) {
9597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9599 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9600 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9601 if (!SWIG_IsOK(ecode2
)) {
9602 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "2"" of type '" "int""'");
9604 arg2
= static_cast< int >(val2
);
9606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9607 (arg1
)->RemoveFileFromHistory(arg2
);
9608 wxPyEndAllowThreads(__tstate
);
9609 if (PyErr_Occurred()) SWIG_fail
;
9611 resultobj
= SWIG_Py_Void();
9618 SWIGINTERN PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9619 PyObject
*resultobj
= 0;
9620 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9624 PyObject
*swig_obj
[1] ;
9626 if (!args
) SWIG_fail
;
9628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9629 if (!SWIG_IsOK(res1
)) {
9630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetMaxFiles" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9632 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9635 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
9636 wxPyEndAllowThreads(__tstate
);
9637 if (PyErr_Occurred()) SWIG_fail
;
9639 resultobj
= SWIG_From_int(static_cast< int >(result
));
9646 SWIGINTERN PyObject
*_wrap_FileHistory_UseMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9647 PyObject
*resultobj
= 0;
9648 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9649 wxMenu
*arg2
= (wxMenu
*) 0 ;
9654 PyObject
* obj0
= 0 ;
9655 PyObject
* obj1
= 0 ;
9656 char * kwnames
[] = {
9657 (char *) "self",(char *) "menu", NULL
9660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9662 if (!SWIG_IsOK(res1
)) {
9663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_UseMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9665 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9666 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9667 if (!SWIG_IsOK(res2
)) {
9668 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_UseMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9670 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9673 (arg1
)->UseMenu(arg2
);
9674 wxPyEndAllowThreads(__tstate
);
9675 if (PyErr_Occurred()) SWIG_fail
;
9677 resultobj
= SWIG_Py_Void();
9684 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9685 PyObject
*resultobj
= 0;
9686 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9687 wxMenu
*arg2
= (wxMenu
*) 0 ;
9692 PyObject
* obj0
= 0 ;
9693 PyObject
* obj1
= 0 ;
9694 char * kwnames
[] = {
9695 (char *) "self",(char *) "menu", NULL
9698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9700 if (!SWIG_IsOK(res1
)) {
9701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9703 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9704 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9705 if (!SWIG_IsOK(res2
)) {
9706 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9708 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9711 (arg1
)->RemoveMenu(arg2
);
9712 wxPyEndAllowThreads(__tstate
);
9713 if (PyErr_Occurred()) SWIG_fail
;
9715 resultobj
= SWIG_Py_Void();
9722 SWIGINTERN PyObject
*_wrap_FileHistory_Load(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9723 PyObject
*resultobj
= 0;
9724 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9725 wxConfigBase
*arg2
= 0 ;
9730 PyObject
* obj0
= 0 ;
9731 PyObject
* obj1
= 0 ;
9732 char * kwnames
[] = {
9733 (char *) "self",(char *) "config", NULL
9736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9738 if (!SWIG_IsOK(res1
)) {
9739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Load" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9741 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9742 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9743 if (!SWIG_IsOK(res2
)) {
9744 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9747 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9749 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9752 (arg1
)->Load(*arg2
);
9753 wxPyEndAllowThreads(__tstate
);
9754 if (PyErr_Occurred()) SWIG_fail
;
9756 resultobj
= SWIG_Py_Void();
9763 SWIGINTERN PyObject
*_wrap_FileHistory_Save(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9764 PyObject
*resultobj
= 0;
9765 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9766 wxConfigBase
*arg2
= 0 ;
9771 PyObject
* obj0
= 0 ;
9772 PyObject
* obj1
= 0 ;
9773 char * kwnames
[] = {
9774 (char *) "self",(char *) "config", NULL
9777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9779 if (!SWIG_IsOK(res1
)) {
9780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Save" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9782 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9783 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9784 if (!SWIG_IsOK(res2
)) {
9785 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9788 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9790 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9793 (arg1
)->Save(*arg2
);
9794 wxPyEndAllowThreads(__tstate
);
9795 if (PyErr_Occurred()) SWIG_fail
;
9797 resultobj
= SWIG_Py_Void();
9804 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9805 PyObject
*resultobj
= 0;
9806 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9809 PyObject
*swig_obj
[1] ;
9811 if (!args
) SWIG_fail
;
9813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9814 if (!SWIG_IsOK(res1
)) {
9815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9817 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9820 (arg1
)->AddFilesToMenu();
9821 wxPyEndAllowThreads(__tstate
);
9822 if (PyErr_Occurred()) SWIG_fail
;
9824 resultobj
= SWIG_Py_Void();
9831 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9832 PyObject
*resultobj
= 0;
9833 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9834 wxMenu
*arg2
= (wxMenu
*) 0 ;
9839 PyObject
* obj0
= 0 ;
9840 PyObject
* obj1
= 0 ;
9841 char * kwnames
[] = {
9842 (char *) "self",(char *) "menu", NULL
9845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9847 if (!SWIG_IsOK(res1
)) {
9848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9850 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9851 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9852 if (!SWIG_IsOK(res2
)) {
9853 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9855 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9858 (arg1
)->AddFilesToMenu(arg2
);
9859 wxPyEndAllowThreads(__tstate
);
9860 if (PyErr_Occurred()) SWIG_fail
;
9862 resultobj
= SWIG_Py_Void();
9869 SWIGINTERN PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9870 PyObject
*resultobj
= 0;
9871 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9878 PyObject
* obj0
= 0 ;
9879 PyObject
* obj1
= 0 ;
9880 char * kwnames
[] = {
9881 (char *) "self",(char *) "i", NULL
9884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9886 if (!SWIG_IsOK(res1
)) {
9887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9889 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9890 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9891 if (!SWIG_IsOK(ecode2
)) {
9892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "2"" of type '" "int""'");
9894 arg2
= static_cast< int >(val2
);
9896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9897 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
9898 wxPyEndAllowThreads(__tstate
);
9899 if (PyErr_Occurred()) SWIG_fail
;
9903 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9905 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9914 SWIGINTERN PyObject
*_wrap_FileHistory_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9915 PyObject
*resultobj
= 0;
9916 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9920 PyObject
*swig_obj
[1] ;
9922 if (!args
) SWIG_fail
;
9924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9925 if (!SWIG_IsOK(res1
)) {
9926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetCount" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9928 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9931 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
9932 wxPyEndAllowThreads(__tstate
);
9933 if (PyErr_Occurred()) SWIG_fail
;
9935 resultobj
= SWIG_From_int(static_cast< int >(result
));
9942 SWIGINTERN PyObject
*FileHistory_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9944 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9945 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileHistory
, SWIG_NewClientData(obj
));
9946 return SWIG_Py_Void();
9949 SWIGINTERN PyObject
*FileHistory_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9950 return SWIG_Python_InitShadowInstance(args
);
9953 SWIGINTERN PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9954 PyObject
*resultobj
= 0;
9955 wxString
*arg1
= 0 ;
9956 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9957 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9958 wxSingleInstanceChecker
*result
= 0 ;
9959 bool temp1
= false ;
9960 bool temp2
= false ;
9961 PyObject
* obj0
= 0 ;
9962 PyObject
* obj1
= 0 ;
9963 char * kwnames
[] = {
9964 (char *) "name",(char *) "path", NULL
9967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9969 arg1
= wxString_in_helper(obj0
);
9970 if (arg1
== NULL
) SWIG_fail
;
9975 arg2
= wxString_in_helper(obj1
);
9976 if (arg2
== NULL
) SWIG_fail
;
9981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9982 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
9983 wxPyEndAllowThreads(__tstate
);
9984 if (PyErr_Occurred()) SWIG_fail
;
9986 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_NEW
| 0 );
10009 SWIGINTERN PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10010 PyObject
*resultobj
= 0;
10011 wxSingleInstanceChecker
*result
= 0 ;
10013 if (!SWIG_Python_UnpackTuple(args
,"new_PreSingleInstanceChecker",0,0,0)) SWIG_fail
;
10015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10016 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
10017 wxPyEndAllowThreads(__tstate
);
10018 if (PyErr_Occurred()) SWIG_fail
;
10020 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_OWN
| 0 );
10027 SWIGINTERN PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10028 PyObject
*resultobj
= 0;
10029 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
10032 PyObject
*swig_obj
[1] ;
10034 if (!args
) SWIG_fail
;
10035 swig_obj
[0] = args
;
10036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_DISOWN
| 0 );
10037 if (!SWIG_IsOK(res1
)) {
10038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SingleInstanceChecker" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
10040 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
10042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10045 wxPyEndAllowThreads(__tstate
);
10046 if (PyErr_Occurred()) SWIG_fail
;
10048 resultobj
= SWIG_Py_Void();
10055 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10056 PyObject
*resultobj
= 0;
10057 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
10058 wxString
*arg2
= 0 ;
10059 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10060 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10064 bool temp2
= false ;
10065 bool temp3
= false ;
10066 PyObject
* obj0
= 0 ;
10067 PyObject
* obj1
= 0 ;
10068 PyObject
* obj2
= 0 ;
10069 char * kwnames
[] = {
10070 (char *) "self",(char *) "name",(char *) "path", NULL
10073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
10075 if (!SWIG_IsOK(res1
)) {
10076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_Create" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
10078 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
10080 arg2
= wxString_in_helper(obj1
);
10081 if (arg2
== NULL
) SWIG_fail
;
10086 arg3
= wxString_in_helper(obj2
);
10087 if (arg3
== NULL
) SWIG_fail
;
10092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10093 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10094 wxPyEndAllowThreads(__tstate
);
10095 if (PyErr_Occurred()) SWIG_fail
;
10098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10122 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10123 PyObject
*resultobj
= 0;
10124 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
10128 PyObject
*swig_obj
[1] ;
10130 if (!args
) SWIG_fail
;
10131 swig_obj
[0] = args
;
10132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
10133 if (!SWIG_IsOK(res1
)) {
10134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_IsAnotherRunning" "', expected argument " "1"" of type '" "wxSingleInstanceChecker const *""'");
10136 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
10138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10139 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
10140 wxPyEndAllowThreads(__tstate
);
10141 if (PyErr_Occurred()) SWIG_fail
;
10144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10152 SWIGINTERN PyObject
*SingleInstanceChecker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10154 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10155 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_NewClientData(obj
));
10156 return SWIG_Py_Void();
10159 SWIGINTERN PyObject
*SingleInstanceChecker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10160 return SWIG_Python_InitShadowInstance(args
);
10163 SWIGINTERN PyObject
*_wrap_new_PlatformInformation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10164 PyObject
*resultobj
= 0;
10165 wxPlatformInfo
*result
= 0 ;
10167 if (!SWIG_Python_UnpackTuple(args
,"new_PlatformInformation",0,0,0)) SWIG_fail
;
10169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10170 result
= (wxPlatformInfo
*)new wxPlatformInfo();
10171 wxPyEndAllowThreads(__tstate
);
10172 if (PyErr_Occurred()) SWIG_fail
;
10174 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPlatformInfo
, SWIG_POINTER_NEW
| 0 );
10181 SWIGINTERN PyObject
*_wrap_PlatformInformation___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10182 PyObject
*resultobj
= 0;
10183 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10184 wxPlatformInfo
*arg2
= 0 ;
10190 PyObject
* obj0
= 0 ;
10191 PyObject
* obj1
= 0 ;
10192 char * kwnames
[] = {
10193 (char *) "self",(char *) "t", NULL
10196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10198 if (!SWIG_IsOK(res1
)) {
10199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation___eq__" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10201 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10202 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPlatformInfo
, 0 | 0);
10203 if (!SWIG_IsOK(res2
)) {
10204 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PlatformInformation___eq__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10207 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PlatformInformation___eq__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10209 arg2
= reinterpret_cast< wxPlatformInfo
* >(argp2
);
10211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10212 result
= (bool)((wxPlatformInfo
const *)arg1
)->operator ==((wxPlatformInfo
const &)*arg2
);
10213 wxPyEndAllowThreads(__tstate
);
10214 if (PyErr_Occurred()) SWIG_fail
;
10217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10225 SWIGINTERN PyObject
*_wrap_PlatformInformation___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10226 PyObject
*resultobj
= 0;
10227 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10228 wxPlatformInfo
*arg2
= 0 ;
10234 PyObject
* obj0
= 0 ;
10235 PyObject
* obj1
= 0 ;
10236 char * kwnames
[] = {
10237 (char *) "self",(char *) "t", NULL
10240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10242 if (!SWIG_IsOK(res1
)) {
10243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation___ne__" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10245 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10246 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPlatformInfo
, 0 | 0);
10247 if (!SWIG_IsOK(res2
)) {
10248 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PlatformInformation___ne__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10251 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PlatformInformation___ne__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10253 arg2
= reinterpret_cast< wxPlatformInfo
* >(argp2
);
10255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10256 result
= (bool)((wxPlatformInfo
const *)arg1
)->operator !=((wxPlatformInfo
const &)*arg2
);
10257 wxPyEndAllowThreads(__tstate
);
10258 if (PyErr_Occurred()) SWIG_fail
;
10261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10269 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOSMajorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10270 PyObject
*resultobj
= 0;
10271 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10275 PyObject
*swig_obj
[1] ;
10277 if (!args
) SWIG_fail
;
10278 swig_obj
[0] = args
;
10279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10280 if (!SWIG_IsOK(res1
)) {
10281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOSMajorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10283 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10286 result
= (int)((wxPlatformInfo
const *)arg1
)->GetOSMajorVersion();
10287 wxPyEndAllowThreads(__tstate
);
10288 if (PyErr_Occurred()) SWIG_fail
;
10290 resultobj
= SWIG_From_int(static_cast< int >(result
));
10297 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOSMinorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10298 PyObject
*resultobj
= 0;
10299 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10303 PyObject
*swig_obj
[1] ;
10305 if (!args
) SWIG_fail
;
10306 swig_obj
[0] = args
;
10307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10308 if (!SWIG_IsOK(res1
)) {
10309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOSMinorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10311 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10314 result
= (int)((wxPlatformInfo
const *)arg1
)->GetOSMinorVersion();
10315 wxPyEndAllowThreads(__tstate
);
10316 if (PyErr_Occurred()) SWIG_fail
;
10318 resultobj
= SWIG_From_int(static_cast< int >(result
));
10325 SWIGINTERN PyObject
*_wrap_PlatformInformation_CheckOSVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10326 PyObject
*resultobj
= 0;
10327 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10337 PyObject
* obj0
= 0 ;
10338 PyObject
* obj1
= 0 ;
10339 PyObject
* obj2
= 0 ;
10340 char * kwnames
[] = {
10341 (char *) "self",(char *) "major",(char *) "minor", NULL
10344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PlatformInformation_CheckOSVersion",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10346 if (!SWIG_IsOK(res1
)) {
10347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_CheckOSVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10349 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10350 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10351 if (!SWIG_IsOK(ecode2
)) {
10352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_CheckOSVersion" "', expected argument " "2"" of type '" "int""'");
10354 arg2
= static_cast< int >(val2
);
10355 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10356 if (!SWIG_IsOK(ecode3
)) {
10357 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PlatformInformation_CheckOSVersion" "', expected argument " "3"" of type '" "int""'");
10359 arg3
= static_cast< int >(val3
);
10361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10362 result
= (bool)((wxPlatformInfo
const *)arg1
)->CheckOSVersion(arg2
,arg3
);
10363 wxPyEndAllowThreads(__tstate
);
10364 if (PyErr_Occurred()) SWIG_fail
;
10367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10375 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetToolkitMajorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10376 PyObject
*resultobj
= 0;
10377 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10381 PyObject
*swig_obj
[1] ;
10383 if (!args
) SWIG_fail
;
10384 swig_obj
[0] = args
;
10385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10386 if (!SWIG_IsOK(res1
)) {
10387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetToolkitMajorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10389 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10392 result
= (int)((wxPlatformInfo
const *)arg1
)->GetToolkitMajorVersion();
10393 wxPyEndAllowThreads(__tstate
);
10394 if (PyErr_Occurred()) SWIG_fail
;
10396 resultobj
= SWIG_From_int(static_cast< int >(result
));
10403 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetToolkitMinorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10404 PyObject
*resultobj
= 0;
10405 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10409 PyObject
*swig_obj
[1] ;
10411 if (!args
) SWIG_fail
;
10412 swig_obj
[0] = args
;
10413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10414 if (!SWIG_IsOK(res1
)) {
10415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetToolkitMinorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10417 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10420 result
= (int)((wxPlatformInfo
const *)arg1
)->GetToolkitMinorVersion();
10421 wxPyEndAllowThreads(__tstate
);
10422 if (PyErr_Occurred()) SWIG_fail
;
10424 resultobj
= SWIG_From_int(static_cast< int >(result
));
10431 SWIGINTERN PyObject
*_wrap_PlatformInformation_CheckToolkitVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10432 PyObject
*resultobj
= 0;
10433 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10443 PyObject
* obj0
= 0 ;
10444 PyObject
* obj1
= 0 ;
10445 PyObject
* obj2
= 0 ;
10446 char * kwnames
[] = {
10447 (char *) "self",(char *) "major",(char *) "minor", NULL
10450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PlatformInformation_CheckToolkitVersion",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10452 if (!SWIG_IsOK(res1
)) {
10453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_CheckToolkitVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10455 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10456 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10457 if (!SWIG_IsOK(ecode2
)) {
10458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_CheckToolkitVersion" "', expected argument " "2"" of type '" "int""'");
10460 arg2
= static_cast< int >(val2
);
10461 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10462 if (!SWIG_IsOK(ecode3
)) {
10463 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PlatformInformation_CheckToolkitVersion" "', expected argument " "3"" of type '" "int""'");
10465 arg3
= static_cast< int >(val3
);
10467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10468 result
= (bool)((wxPlatformInfo
const *)arg1
)->CheckToolkitVersion(arg2
,arg3
);
10469 wxPyEndAllowThreads(__tstate
);
10470 if (PyErr_Occurred()) SWIG_fail
;
10473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10481 SWIGINTERN PyObject
*_wrap_PlatformInformation_IsUsingUniversalWidgets(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10482 PyObject
*resultobj
= 0;
10483 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10487 PyObject
*swig_obj
[1] ;
10489 if (!args
) SWIG_fail
;
10490 swig_obj
[0] = args
;
10491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10492 if (!SWIG_IsOK(res1
)) {
10493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_IsUsingUniversalWidgets" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10495 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10498 result
= (bool)((wxPlatformInfo
const *)arg1
)->IsUsingUniversalWidgets();
10499 wxPyEndAllowThreads(__tstate
);
10500 if (PyErr_Occurred()) SWIG_fail
;
10503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10511 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOperatingSystemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10512 PyObject
*resultobj
= 0;
10513 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10514 wxOperatingSystemId result
;
10517 PyObject
*swig_obj
[1] ;
10519 if (!args
) SWIG_fail
;
10520 swig_obj
[0] = args
;
10521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10522 if (!SWIG_IsOK(res1
)) {
10523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOperatingSystemId" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10525 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10528 result
= (wxOperatingSystemId
)((wxPlatformInfo
const *)arg1
)->GetOperatingSystemId();
10529 wxPyEndAllowThreads(__tstate
);
10530 if (PyErr_Occurred()) SWIG_fail
;
10532 resultobj
= SWIG_From_int(static_cast< int >(result
));
10539 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetPortId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10540 PyObject
*resultobj
= 0;
10541 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10545 PyObject
*swig_obj
[1] ;
10547 if (!args
) SWIG_fail
;
10548 swig_obj
[0] = args
;
10549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10550 if (!SWIG_IsOK(res1
)) {
10551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetPortId" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10553 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10556 result
= (wxPortId
)((wxPlatformInfo
const *)arg1
)->GetPortId();
10557 wxPyEndAllowThreads(__tstate
);
10558 if (PyErr_Occurred()) SWIG_fail
;
10560 resultobj
= SWIG_From_int(static_cast< int >(result
));
10567 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetArchitecture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10568 PyObject
*resultobj
= 0;
10569 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10570 wxArchitecture result
;
10573 PyObject
*swig_obj
[1] ;
10575 if (!args
) SWIG_fail
;
10576 swig_obj
[0] = args
;
10577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10578 if (!SWIG_IsOK(res1
)) {
10579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetArchitecture" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10581 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10584 result
= (wxArchitecture
)((wxPlatformInfo
const *)arg1
)->GetArchitecture();
10585 wxPyEndAllowThreads(__tstate
);
10586 if (PyErr_Occurred()) SWIG_fail
;
10588 resultobj
= SWIG_From_int(static_cast< int >(result
));
10595 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetEndianness(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10596 PyObject
*resultobj
= 0;
10597 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10598 wxEndianness result
;
10601 PyObject
*swig_obj
[1] ;
10603 if (!args
) SWIG_fail
;
10604 swig_obj
[0] = args
;
10605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10606 if (!SWIG_IsOK(res1
)) {
10607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetEndianness" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10609 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10612 result
= (wxEndianness
)((wxPlatformInfo
const *)arg1
)->GetEndianness();
10613 wxPyEndAllowThreads(__tstate
);
10614 if (PyErr_Occurred()) SWIG_fail
;
10616 resultobj
= SWIG_From_int(static_cast< int >(result
));
10623 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOperatingSystemFamilyName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10624 PyObject
*resultobj
= 0;
10625 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10629 PyObject
*swig_obj
[1] ;
10631 if (!args
) SWIG_fail
;
10632 swig_obj
[0] = args
;
10633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10634 if (!SWIG_IsOK(res1
)) {
10635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOperatingSystemFamilyName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10637 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10640 result
= ((wxPlatformInfo
const *)arg1
)->GetOperatingSystemFamilyName();
10641 wxPyEndAllowThreads(__tstate
);
10642 if (PyErr_Occurred()) SWIG_fail
;
10646 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10648 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10657 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOperatingSystemIdName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10658 PyObject
*resultobj
= 0;
10659 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10663 PyObject
*swig_obj
[1] ;
10665 if (!args
) SWIG_fail
;
10666 swig_obj
[0] = args
;
10667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10668 if (!SWIG_IsOK(res1
)) {
10669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOperatingSystemIdName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10671 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10674 result
= ((wxPlatformInfo
const *)arg1
)->GetOperatingSystemIdName();
10675 wxPyEndAllowThreads(__tstate
);
10676 if (PyErr_Occurred()) SWIG_fail
;
10680 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10682 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10691 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetPortIdName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10692 PyObject
*resultobj
= 0;
10693 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10697 PyObject
*swig_obj
[1] ;
10699 if (!args
) SWIG_fail
;
10700 swig_obj
[0] = args
;
10701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10702 if (!SWIG_IsOK(res1
)) {
10703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetPortIdName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10705 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10708 result
= ((wxPlatformInfo
const *)arg1
)->GetPortIdName();
10709 wxPyEndAllowThreads(__tstate
);
10710 if (PyErr_Occurred()) SWIG_fail
;
10714 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10716 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10725 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetPortIdShortName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10726 PyObject
*resultobj
= 0;
10727 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10731 PyObject
*swig_obj
[1] ;
10733 if (!args
) SWIG_fail
;
10734 swig_obj
[0] = args
;
10735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10736 if (!SWIG_IsOK(res1
)) {
10737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetPortIdShortName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10739 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10742 result
= ((wxPlatformInfo
const *)arg1
)->GetPortIdShortName();
10743 wxPyEndAllowThreads(__tstate
);
10744 if (PyErr_Occurred()) SWIG_fail
;
10748 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10750 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10759 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetArchName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10760 PyObject
*resultobj
= 0;
10761 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10765 PyObject
*swig_obj
[1] ;
10767 if (!args
) SWIG_fail
;
10768 swig_obj
[0] = args
;
10769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10770 if (!SWIG_IsOK(res1
)) {
10771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetArchName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10773 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10776 result
= ((wxPlatformInfo
const *)arg1
)->GetArchName();
10777 wxPyEndAllowThreads(__tstate
);
10778 if (PyErr_Occurred()) SWIG_fail
;
10782 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10784 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10793 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetEndiannessName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10794 PyObject
*resultobj
= 0;
10795 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10799 PyObject
*swig_obj
[1] ;
10801 if (!args
) SWIG_fail
;
10802 swig_obj
[0] = args
;
10803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10804 if (!SWIG_IsOK(res1
)) {
10805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetEndiannessName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10807 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10810 result
= ((wxPlatformInfo
const *)arg1
)->GetEndiannessName();
10811 wxPyEndAllowThreads(__tstate
);
10812 if (PyErr_Occurred()) SWIG_fail
;
10816 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10818 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10827 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetOSVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10828 PyObject
*resultobj
= 0;
10829 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10838 PyObject
* obj0
= 0 ;
10839 PyObject
* obj1
= 0 ;
10840 PyObject
* obj2
= 0 ;
10841 char * kwnames
[] = {
10842 (char *) "self",(char *) "major",(char *) "minor", NULL
10845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PlatformInformation_SetOSVersion",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10847 if (!SWIG_IsOK(res1
)) {
10848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetOSVersion" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10850 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10851 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10852 if (!SWIG_IsOK(ecode2
)) {
10853 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetOSVersion" "', expected argument " "2"" of type '" "int""'");
10855 arg2
= static_cast< int >(val2
);
10856 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10857 if (!SWIG_IsOK(ecode3
)) {
10858 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PlatformInformation_SetOSVersion" "', expected argument " "3"" of type '" "int""'");
10860 arg3
= static_cast< int >(val3
);
10862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10863 (arg1
)->SetOSVersion(arg2
,arg3
);
10864 wxPyEndAllowThreads(__tstate
);
10865 if (PyErr_Occurred()) SWIG_fail
;
10867 resultobj
= SWIG_Py_Void();
10874 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetToolkitVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10875 PyObject
*resultobj
= 0;
10876 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10885 PyObject
* obj0
= 0 ;
10886 PyObject
* obj1
= 0 ;
10887 PyObject
* obj2
= 0 ;
10888 char * kwnames
[] = {
10889 (char *) "self",(char *) "major",(char *) "minor", NULL
10892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PlatformInformation_SetToolkitVersion",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10894 if (!SWIG_IsOK(res1
)) {
10895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetToolkitVersion" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10897 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10898 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10899 if (!SWIG_IsOK(ecode2
)) {
10900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetToolkitVersion" "', expected argument " "2"" of type '" "int""'");
10902 arg2
= static_cast< int >(val2
);
10903 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10904 if (!SWIG_IsOK(ecode3
)) {
10905 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PlatformInformation_SetToolkitVersion" "', expected argument " "3"" of type '" "int""'");
10907 arg3
= static_cast< int >(val3
);
10909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10910 (arg1
)->SetToolkitVersion(arg2
,arg3
);
10911 wxPyEndAllowThreads(__tstate
);
10912 if (PyErr_Occurred()) SWIG_fail
;
10914 resultobj
= SWIG_Py_Void();
10921 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetOperatingSystemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10922 PyObject
*resultobj
= 0;
10923 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10924 wxOperatingSystemId arg2
;
10929 PyObject
* obj0
= 0 ;
10930 PyObject
* obj1
= 0 ;
10931 char * kwnames
[] = {
10932 (char *) "self",(char *) "n", NULL
10935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetOperatingSystemId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10937 if (!SWIG_IsOK(res1
)) {
10938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetOperatingSystemId" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10940 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10941 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10942 if (!SWIG_IsOK(ecode2
)) {
10943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetOperatingSystemId" "', expected argument " "2"" of type '" "wxOperatingSystemId""'");
10945 arg2
= static_cast< wxOperatingSystemId
>(val2
);
10947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10948 (arg1
)->SetOperatingSystemId(arg2
);
10949 wxPyEndAllowThreads(__tstate
);
10950 if (PyErr_Occurred()) SWIG_fail
;
10952 resultobj
= SWIG_Py_Void();
10959 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetPortId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10960 PyObject
*resultobj
= 0;
10961 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10967 PyObject
* obj0
= 0 ;
10968 PyObject
* obj1
= 0 ;
10969 char * kwnames
[] = {
10970 (char *) "self",(char *) "n", NULL
10973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetPortId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10975 if (!SWIG_IsOK(res1
)) {
10976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetPortId" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10978 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10979 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10980 if (!SWIG_IsOK(ecode2
)) {
10981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetPortId" "', expected argument " "2"" of type '" "wxPortId""'");
10983 arg2
= static_cast< wxPortId
>(val2
);
10985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10986 (arg1
)->SetPortId(arg2
);
10987 wxPyEndAllowThreads(__tstate
);
10988 if (PyErr_Occurred()) SWIG_fail
;
10990 resultobj
= SWIG_Py_Void();
10997 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetArchitecture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10998 PyObject
*resultobj
= 0;
10999 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
11000 wxArchitecture arg2
;
11005 PyObject
* obj0
= 0 ;
11006 PyObject
* obj1
= 0 ;
11007 char * kwnames
[] = {
11008 (char *) "self",(char *) "n", NULL
11011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetArchitecture",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
11013 if (!SWIG_IsOK(res1
)) {
11014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetArchitecture" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
11016 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
11017 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11018 if (!SWIG_IsOK(ecode2
)) {
11019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetArchitecture" "', expected argument " "2"" of type '" "wxArchitecture""'");
11021 arg2
= static_cast< wxArchitecture
>(val2
);
11023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11024 (arg1
)->SetArchitecture(arg2
);
11025 wxPyEndAllowThreads(__tstate
);
11026 if (PyErr_Occurred()) SWIG_fail
;
11028 resultobj
= SWIG_Py_Void();
11035 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetEndianness(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11036 PyObject
*resultobj
= 0;
11037 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
11038 wxEndianness arg2
;
11043 PyObject
* obj0
= 0 ;
11044 PyObject
* obj1
= 0 ;
11045 char * kwnames
[] = {
11046 (char *) "self",(char *) "n", NULL
11049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetEndianness",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
11051 if (!SWIG_IsOK(res1
)) {
11052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetEndianness" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
11054 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
11055 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11056 if (!SWIG_IsOK(ecode2
)) {
11057 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetEndianness" "', expected argument " "2"" of type '" "wxEndianness""'");
11059 arg2
= static_cast< wxEndianness
>(val2
);
11061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11062 (arg1
)->SetEndianness(arg2
);
11063 wxPyEndAllowThreads(__tstate
);
11064 if (PyErr_Occurred()) SWIG_fail
;
11066 resultobj
= SWIG_Py_Void();
11073 SWIGINTERN PyObject
*_wrap_PlatformInformation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11074 PyObject
*resultobj
= 0;
11075 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
11079 PyObject
*swig_obj
[1] ;
11081 if (!args
) SWIG_fail
;
11082 swig_obj
[0] = args
;
11083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
11084 if (!SWIG_IsOK(res1
)) {
11085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_IsOk" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
11087 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
11089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11090 result
= (bool)((wxPlatformInfo
const *)arg1
)->IsOk();
11091 wxPyEndAllowThreads(__tstate
);
11092 if (PyErr_Occurred()) SWIG_fail
;
11095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11103 SWIGINTERN PyObject
*PlatformInformation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11105 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11106 SWIG_TypeNewClientData(SWIGTYPE_p_wxPlatformInfo
, SWIG_NewClientData(obj
));
11107 return SWIG_Py_Void();
11110 SWIGINTERN PyObject
*PlatformInformation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11111 return SWIG_Python_InitShadowInstance(args
);
11114 SWIGINTERN PyObject
*_wrap_DrawWindowOnDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11115 PyObject
*resultobj
= 0;
11116 wxWindow
*arg1
= (wxWindow
*) 0 ;
11123 PyObject
* obj0
= 0 ;
11124 PyObject
* obj1
= 0 ;
11125 char * kwnames
[] = {
11126 (char *) "window",(char *) "dc", NULL
11129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11131 if (!SWIG_IsOK(res1
)) {
11132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DrawWindowOnDC" "', expected argument " "1"" of type '" "wxWindow *""'");
11134 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11135 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 | 0);
11136 if (!SWIG_IsOK(res2
)) {
11137 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
11140 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
11142 arg2
= reinterpret_cast< wxDC
* >(argp2
);
11144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11145 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
11146 wxPyEndAllowThreads(__tstate
);
11147 if (PyErr_Occurred()) SWIG_fail
;
11150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11158 SWIGINTERN PyObject
*_wrap_delete_TipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11159 PyObject
*resultobj
= 0;
11160 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11163 PyObject
*swig_obj
[1] ;
11165 if (!args
) SWIG_fail
;
11166 swig_obj
[0] = args
;
11167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_DISOWN
| 0 );
11168 if (!SWIG_IsOK(res1
)) {
11169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TipProvider" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11171 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11176 wxPyEndAllowThreads(__tstate
);
11177 if (PyErr_Occurred()) SWIG_fail
;
11179 resultobj
= SWIG_Py_Void();
11186 SWIGINTERN PyObject
*_wrap_TipProvider_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11187 PyObject
*resultobj
= 0;
11188 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11192 PyObject
*swig_obj
[1] ;
11194 if (!args
) SWIG_fail
;
11195 swig_obj
[0] = args
;
11196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11197 if (!SWIG_IsOK(res1
)) {
11198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11200 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11203 result
= (arg1
)->GetTip();
11204 wxPyEndAllowThreads(__tstate
);
11205 if (PyErr_Occurred()) SWIG_fail
;
11209 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11211 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11220 SWIGINTERN PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11221 PyObject
*resultobj
= 0;
11222 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11226 PyObject
*swig_obj
[1] ;
11228 if (!args
) SWIG_fail
;
11229 swig_obj
[0] = args
;
11230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11231 if (!SWIG_IsOK(res1
)) {
11232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetCurrentTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11234 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11237 result
= (size_t)(arg1
)->GetCurrentTip();
11238 wxPyEndAllowThreads(__tstate
);
11239 if (PyErr_Occurred()) SWIG_fail
;
11241 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
11248 SWIGINTERN PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11249 PyObject
*resultobj
= 0;
11250 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11251 wxString
*arg2
= 0 ;
11255 bool temp2
= false ;
11256 PyObject
* obj0
= 0 ;
11257 PyObject
* obj1
= 0 ;
11258 char * kwnames
[] = {
11259 (char *) "self",(char *) "tip", NULL
11262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11264 if (!SWIG_IsOK(res1
)) {
11265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_PreprocessTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11267 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11269 arg2
= wxString_in_helper(obj1
);
11270 if (arg2
== NULL
) SWIG_fail
;
11274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11275 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
11276 wxPyEndAllowThreads(__tstate
);
11277 if (PyErr_Occurred()) SWIG_fail
;
11281 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11283 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11300 SWIGINTERN PyObject
*TipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11302 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11303 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipProvider
, SWIG_NewClientData(obj
));
11304 return SWIG_Py_Void();
11307 SWIGINTERN PyObject
*_wrap_new_PyTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11308 PyObject
*resultobj
= 0;
11310 wxPyTipProvider
*result
= 0 ;
11313 PyObject
* obj0
= 0 ;
11314 char * kwnames
[] = {
11315 (char *) "currentTip", NULL
11318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) SWIG_fail
;
11319 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
11320 if (!SWIG_IsOK(ecode1
)) {
11321 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyTipProvider" "', expected argument " "1"" of type '" "size_t""'");
11323 arg1
= static_cast< size_t >(val1
);
11325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11326 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
11327 wxPyEndAllowThreads(__tstate
);
11328 if (PyErr_Occurred()) SWIG_fail
;
11330 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_NEW
| 0 );
11337 SWIGINTERN PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11338 PyObject
*resultobj
= 0;
11339 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
11340 PyObject
*arg2
= (PyObject
*) 0 ;
11341 PyObject
*arg3
= (PyObject
*) 0 ;
11344 PyObject
* obj0
= 0 ;
11345 PyObject
* obj1
= 0 ;
11346 PyObject
* obj2
= 0 ;
11347 char * kwnames
[] = {
11348 (char *) "self",(char *) "self",(char *) "_class", NULL
11351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTipProvider
, 0 | 0 );
11353 if (!SWIG_IsOK(res1
)) {
11354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTipProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTipProvider *""'");
11356 arg1
= reinterpret_cast< wxPyTipProvider
* >(argp1
);
11360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11361 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11362 wxPyEndAllowThreads(__tstate
);
11363 if (PyErr_Occurred()) SWIG_fail
;
11365 resultobj
= SWIG_Py_Void();
11372 SWIGINTERN PyObject
*PyTipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11374 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11375 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTipProvider
, SWIG_NewClientData(obj
));
11376 return SWIG_Py_Void();
11379 SWIGINTERN PyObject
*PyTipProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11380 return SWIG_Python_InitShadowInstance(args
);
11383 SWIGINTERN PyObject
*_wrap_ShowTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11384 PyObject
*resultobj
= 0;
11385 wxWindow
*arg1
= (wxWindow
*) 0 ;
11386 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
11387 bool arg3
= (bool) true ;
11395 PyObject
* obj0
= 0 ;
11396 PyObject
* obj1
= 0 ;
11397 PyObject
* obj2
= 0 ;
11398 char * kwnames
[] = {
11399 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
11402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11404 if (!SWIG_IsOK(res1
)) {
11405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ShowTip" "', expected argument " "1"" of type '" "wxWindow *""'");
11407 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11408 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11409 if (!SWIG_IsOK(res2
)) {
11410 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ShowTip" "', expected argument " "2"" of type '" "wxTipProvider *""'");
11412 arg2
= reinterpret_cast< wxTipProvider
* >(argp2
);
11414 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11415 if (!SWIG_IsOK(ecode3
)) {
11416 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ShowTip" "', expected argument " "3"" of type '" "bool""'");
11418 arg3
= static_cast< bool >(val3
);
11421 if (!wxPyCheckForApp()) SWIG_fail
;
11422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11423 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
11424 wxPyEndAllowThreads(__tstate
);
11425 if (PyErr_Occurred()) SWIG_fail
;
11428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11436 SWIGINTERN PyObject
*_wrap_CreateFileTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11437 PyObject
*resultobj
= 0;
11438 wxString
*arg1
= 0 ;
11440 wxTipProvider
*result
= 0 ;
11441 bool temp1
= false ;
11444 PyObject
* obj0
= 0 ;
11445 PyObject
* obj1
= 0 ;
11446 char * kwnames
[] = {
11447 (char *) "filename",(char *) "currentTip", NULL
11450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11452 arg1
= wxString_in_helper(obj0
);
11453 if (arg1
== NULL
) SWIG_fail
;
11456 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
11457 if (!SWIG_IsOK(ecode2
)) {
11458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CreateFileTipProvider" "', expected argument " "2"" of type '" "size_t""'");
11460 arg2
= static_cast< size_t >(val2
);
11462 if (!wxPyCheckForApp()) SWIG_fail
;
11463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11464 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
11465 wxPyEndAllowThreads(__tstate
);
11466 if (PyErr_Occurred()) SWIG_fail
;
11468 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_OWN
| 0 );
11483 SWIGINTERN PyObject
*_wrap_new_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11484 PyObject
*resultobj
= 0;
11485 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
11486 int arg2
= (int) wxID_ANY
;
11487 wxPyTimer
*result
= 0 ;
11492 PyObject
* obj0
= 0 ;
11493 PyObject
* obj1
= 0 ;
11494 char * kwnames
[] = {
11495 (char *) "owner",(char *) "id", NULL
11498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
11501 if (!SWIG_IsOK(res1
)) {
11502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Timer" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
11504 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
11507 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11508 if (!SWIG_IsOK(ecode2
)) {
11509 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Timer" "', expected argument " "2"" of type '" "int""'");
11511 arg2
= static_cast< int >(val2
);
11514 if (!wxPyCheckForApp()) SWIG_fail
;
11515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11516 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
11517 wxPyEndAllowThreads(__tstate
);
11518 if (PyErr_Occurred()) SWIG_fail
;
11520 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_NEW
| 0 );
11527 SWIGINTERN PyObject
*_wrap_delete_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11528 PyObject
*resultobj
= 0;
11529 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11532 PyObject
*swig_obj
[1] ;
11534 if (!args
) SWIG_fail
;
11535 swig_obj
[0] = args
;
11536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_DISOWN
| 0 );
11537 if (!SWIG_IsOK(res1
)) {
11538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Timer" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11540 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11545 wxPyEndAllowThreads(__tstate
);
11546 if (PyErr_Occurred()) SWIG_fail
;
11548 resultobj
= SWIG_Py_Void();
11555 SWIGINTERN PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11556 PyObject
*resultobj
= 0;
11557 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11558 PyObject
*arg2
= (PyObject
*) 0 ;
11559 PyObject
*arg3
= (PyObject
*) 0 ;
11560 int arg4
= (int) 0 ;
11565 PyObject
* obj0
= 0 ;
11566 PyObject
* obj1
= 0 ;
11567 PyObject
* obj2
= 0 ;
11568 PyObject
* obj3
= 0 ;
11569 char * kwnames
[] = {
11570 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
11573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11575 if (!SWIG_IsOK(res1
)) {
11576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11578 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11582 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11583 if (!SWIG_IsOK(ecode4
)) {
11584 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Timer__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
11586 arg4
= static_cast< int >(val4
);
11589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11590 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
11591 wxPyEndAllowThreads(__tstate
);
11592 if (PyErr_Occurred()) SWIG_fail
;
11594 resultobj
= SWIG_Py_Void();
11601 SWIGINTERN PyObject
*_wrap_Timer_SetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11602 PyObject
*resultobj
= 0;
11603 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11604 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11605 int arg3
= (int) wxID_ANY
;
11612 PyObject
* obj0
= 0 ;
11613 PyObject
* obj1
= 0 ;
11614 PyObject
* obj2
= 0 ;
11615 char * kwnames
[] = {
11616 (char *) "self",(char *) "owner",(char *) "id", NULL
11619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11621 if (!SWIG_IsOK(res1
)) {
11622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_SetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11624 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11625 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
11626 if (!SWIG_IsOK(res2
)) {
11627 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Timer_SetOwner" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
11629 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
11631 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11632 if (!SWIG_IsOK(ecode3
)) {
11633 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_SetOwner" "', expected argument " "3"" of type '" "int""'");
11635 arg3
= static_cast< int >(val3
);
11638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11639 (arg1
)->SetOwner(arg2
,arg3
);
11640 wxPyEndAllowThreads(__tstate
);
11641 if (PyErr_Occurred()) SWIG_fail
;
11643 resultobj
= SWIG_Py_Void();
11650 SWIGINTERN PyObject
*_wrap_Timer_GetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11651 PyObject
*resultobj
= 0;
11652 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11653 wxEvtHandler
*result
= 0 ;
11656 PyObject
*swig_obj
[1] ;
11658 if (!args
) SWIG_fail
;
11659 swig_obj
[0] = args
;
11660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11661 if (!SWIG_IsOK(res1
)) {
11662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11664 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11667 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
11668 wxPyEndAllowThreads(__tstate
);
11669 if (PyErr_Occurred()) SWIG_fail
;
11672 resultobj
= wxPyMake_wxObject(result
, 0);
11680 SWIGINTERN PyObject
*_wrap_Timer_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11681 PyObject
*resultobj
= 0;
11682 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11683 int arg2
= (int) -1 ;
11684 bool arg3
= (bool) false ;
11692 PyObject
* obj0
= 0 ;
11693 PyObject
* obj1
= 0 ;
11694 PyObject
* obj2
= 0 ;
11695 char * kwnames
[] = {
11696 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
11699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11701 if (!SWIG_IsOK(res1
)) {
11702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Start" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11704 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11706 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11707 if (!SWIG_IsOK(ecode2
)) {
11708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Timer_Start" "', expected argument " "2"" of type '" "int""'");
11710 arg2
= static_cast< int >(val2
);
11713 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11714 if (!SWIG_IsOK(ecode3
)) {
11715 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_Start" "', expected argument " "3"" of type '" "bool""'");
11717 arg3
= static_cast< bool >(val3
);
11720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11721 result
= (bool)(arg1
)->Start(arg2
,arg3
);
11722 wxPyEndAllowThreads(__tstate
);
11723 if (PyErr_Occurred()) SWIG_fail
;
11726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11734 SWIGINTERN PyObject
*_wrap_Timer_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11735 PyObject
*resultobj
= 0;
11736 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11739 PyObject
*swig_obj
[1] ;
11741 if (!args
) SWIG_fail
;
11742 swig_obj
[0] = args
;
11743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11744 if (!SWIG_IsOK(res1
)) {
11745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Stop" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11747 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11751 wxPyEndAllowThreads(__tstate
);
11752 if (PyErr_Occurred()) SWIG_fail
;
11754 resultobj
= SWIG_Py_Void();
11761 SWIGINTERN PyObject
*_wrap_Timer_Notify(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11762 PyObject
*resultobj
= 0;
11763 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11766 PyObject
*swig_obj
[1] ;
11768 if (!args
) SWIG_fail
;
11769 swig_obj
[0] = args
;
11770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11771 if (!SWIG_IsOK(res1
)) {
11772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Notify" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11774 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11778 wxPyEndAllowThreads(__tstate
);
11779 if (PyErr_Occurred()) SWIG_fail
;
11781 resultobj
= SWIG_Py_Void();
11788 SWIGINTERN PyObject
*_wrap_Timer_IsRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11789 PyObject
*resultobj
= 0;
11790 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11794 PyObject
*swig_obj
[1] ;
11796 if (!args
) SWIG_fail
;
11797 swig_obj
[0] = args
;
11798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11799 if (!SWIG_IsOK(res1
)) {
11800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsRunning" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11802 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11805 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
11806 wxPyEndAllowThreads(__tstate
);
11807 if (PyErr_Occurred()) SWIG_fail
;
11810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11818 SWIGINTERN PyObject
*_wrap_Timer_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11819 PyObject
*resultobj
= 0;
11820 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11824 PyObject
*swig_obj
[1] ;
11826 if (!args
) SWIG_fail
;
11827 swig_obj
[0] = args
;
11828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11829 if (!SWIG_IsOK(res1
)) {
11830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetInterval" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11832 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11835 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
11836 wxPyEndAllowThreads(__tstate
);
11837 if (PyErr_Occurred()) SWIG_fail
;
11839 resultobj
= SWIG_From_int(static_cast< int >(result
));
11846 SWIGINTERN PyObject
*_wrap_Timer_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11847 PyObject
*resultobj
= 0;
11848 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11852 PyObject
*swig_obj
[1] ;
11854 if (!args
) SWIG_fail
;
11855 swig_obj
[0] = args
;
11856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11857 if (!SWIG_IsOK(res1
)) {
11858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetId" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11860 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11863 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
11864 wxPyEndAllowThreads(__tstate
);
11865 if (PyErr_Occurred()) SWIG_fail
;
11867 resultobj
= SWIG_From_int(static_cast< int >(result
));
11874 SWIGINTERN PyObject
*_wrap_Timer_IsOneShot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11875 PyObject
*resultobj
= 0;
11876 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11880 PyObject
*swig_obj
[1] ;
11882 if (!args
) SWIG_fail
;
11883 swig_obj
[0] = args
;
11884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11885 if (!SWIG_IsOK(res1
)) {
11886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsOneShot" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11888 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11891 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
11892 wxPyEndAllowThreads(__tstate
);
11893 if (PyErr_Occurred()) SWIG_fail
;
11896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11904 SWIGINTERN PyObject
*Timer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11906 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11907 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTimer
, SWIG_NewClientData(obj
));
11908 return SWIG_Py_Void();
11911 SWIGINTERN PyObject
*Timer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11912 return SWIG_Python_InitShadowInstance(args
);
11915 SWIGINTERN PyObject
*_wrap_new_TimerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11916 PyObject
*resultobj
= 0;
11917 int arg1
= (int) 0 ;
11918 int arg2
= (int) 0 ;
11919 wxTimerEvent
*result
= 0 ;
11924 PyObject
* obj0
= 0 ;
11925 PyObject
* obj1
= 0 ;
11926 char * kwnames
[] = {
11927 (char *) "timerid",(char *) "interval", NULL
11930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11932 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11933 if (!SWIG_IsOK(ecode1
)) {
11934 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimerEvent" "', expected argument " "1"" of type '" "int""'");
11936 arg1
= static_cast< int >(val1
);
11939 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11940 if (!SWIG_IsOK(ecode2
)) {
11941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerEvent" "', expected argument " "2"" of type '" "int""'");
11943 arg2
= static_cast< int >(val2
);
11946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11947 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
11948 wxPyEndAllowThreads(__tstate
);
11949 if (PyErr_Occurred()) SWIG_fail
;
11951 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_NEW
| 0 );
11958 SWIGINTERN PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11959 PyObject
*resultobj
= 0;
11960 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
11964 PyObject
*swig_obj
[1] ;
11966 if (!args
) SWIG_fail
;
11967 swig_obj
[0] = args
;
11968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerEvent
, 0 | 0 );
11969 if (!SWIG_IsOK(res1
)) {
11970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerEvent_GetInterval" "', expected argument " "1"" of type '" "wxTimerEvent const *""'");
11972 arg1
= reinterpret_cast< wxTimerEvent
* >(argp1
);
11974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11975 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
11976 wxPyEndAllowThreads(__tstate
);
11977 if (PyErr_Occurred()) SWIG_fail
;
11979 resultobj
= SWIG_From_int(static_cast< int >(result
));
11986 SWIGINTERN PyObject
*TimerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11988 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11989 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerEvent
, SWIG_NewClientData(obj
));
11990 return SWIG_Py_Void();
11993 SWIGINTERN PyObject
*TimerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11994 return SWIG_Python_InitShadowInstance(args
);
11997 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
11998 PyObject
*resultobj
= 0;
11999 wxTimer
*arg1
= 0 ;
12000 wxTimerRunner
*result
= 0 ;
12004 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
12005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
12006 if (!SWIG_IsOK(res1
)) {
12007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
12010 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
12012 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
12014 if (!wxPyCheckForApp()) SWIG_fail
;
12015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12016 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
12017 wxPyEndAllowThreads(__tstate
);
12018 if (PyErr_Occurred()) SWIG_fail
;
12020 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
12027 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
12028 PyObject
*resultobj
= 0;
12029 wxTimer
*arg1
= 0 ;
12031 bool arg3
= (bool) false ;
12032 wxTimerRunner
*result
= 0 ;
12040 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
12041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
12042 if (!SWIG_IsOK(res1
)) {
12043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
12046 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
12048 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
12049 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12050 if (!SWIG_IsOK(ecode2
)) {
12051 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerRunner" "', expected argument " "2"" of type '" "int""'");
12053 arg2
= static_cast< int >(val2
);
12055 ecode3
= SWIG_AsVal_bool(swig_obj
[2], &val3
);
12056 if (!SWIG_IsOK(ecode3
)) {
12057 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimerRunner" "', expected argument " "3"" of type '" "bool""'");
12059 arg3
= static_cast< bool >(val3
);
12062 if (!wxPyCheckForApp()) SWIG_fail
;
12063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12064 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
12065 wxPyEndAllowThreads(__tstate
);
12066 if (PyErr_Occurred()) SWIG_fail
;
12068 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
12075 SWIGINTERN PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
12079 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TimerRunner",0,3,argv
))) SWIG_fail
;
12082 return _wrap_new_TimerRunner__SWIG_0(self
, argc
, argv
);
12084 if ((argc
>= 2) && (argc
<= 3)) {
12085 return _wrap_new_TimerRunner__SWIG_1(self
, argc
, argv
);
12089 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
12094 SWIGINTERN PyObject
*_wrap_delete_TimerRunner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12095 PyObject
*resultobj
= 0;
12096 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
12099 PyObject
*swig_obj
[1] ;
12101 if (!args
) SWIG_fail
;
12102 swig_obj
[0] = args
;
12103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_DISOWN
| 0 );
12104 if (!SWIG_IsOK(res1
)) {
12105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimerRunner" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
12107 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
12109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12112 wxPyEndAllowThreads(__tstate
);
12113 if (PyErr_Occurred()) SWIG_fail
;
12115 resultobj
= SWIG_Py_Void();
12122 SWIGINTERN PyObject
*_wrap_TimerRunner_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12123 PyObject
*resultobj
= 0;
12124 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
12126 bool arg3
= (bool) false ;
12133 PyObject
* obj0
= 0 ;
12134 PyObject
* obj1
= 0 ;
12135 PyObject
* obj2
= 0 ;
12136 char * kwnames
[] = {
12137 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
12140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimerRunner
, 0 | 0 );
12142 if (!SWIG_IsOK(res1
)) {
12143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerRunner_Start" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
12145 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
12146 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12147 if (!SWIG_IsOK(ecode2
)) {
12148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimerRunner_Start" "', expected argument " "2"" of type '" "int""'");
12150 arg2
= static_cast< int >(val2
);
12152 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
12153 if (!SWIG_IsOK(ecode3
)) {
12154 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TimerRunner_Start" "', expected argument " "3"" of type '" "bool""'");
12156 arg3
= static_cast< bool >(val3
);
12159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12160 (arg1
)->Start(arg2
,arg3
);
12161 wxPyEndAllowThreads(__tstate
);
12162 if (PyErr_Occurred()) SWIG_fail
;
12164 resultobj
= SWIG_Py_Void();
12171 SWIGINTERN PyObject
*TimerRunner_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12173 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12174 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerRunner
, SWIG_NewClientData(obj
));
12175 return SWIG_Py_Void();
12178 SWIGINTERN PyObject
*TimerRunner_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12179 return SWIG_Python_InitShadowInstance(args
);
12182 SWIGINTERN PyObject
*_wrap_new_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12183 PyObject
*resultobj
= 0;
12184 wxLog
*result
= 0 ;
12186 if (!SWIG_Python_UnpackTuple(args
,"new_Log",0,0,0)) SWIG_fail
;
12188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12189 result
= (wxLog
*)new wxLog();
12190 wxPyEndAllowThreads(__tstate
);
12191 if (PyErr_Occurred()) SWIG_fail
;
12193 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_NEW
| 0 );
12200 SWIGINTERN PyObject
*_wrap_delete_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12201 PyObject
*resultobj
= 0;
12202 wxLog
*arg1
= (wxLog
*) 0 ;
12205 PyObject
*swig_obj
[1] ;
12207 if (!args
) SWIG_fail
;
12208 swig_obj
[0] = args
;
12209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
12210 if (!SWIG_IsOK(res1
)) {
12211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Log" "', expected argument " "1"" of type '" "wxLog *""'");
12213 arg1
= reinterpret_cast< wxLog
* >(argp1
);
12215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12218 wxPyEndAllowThreads(__tstate
);
12219 if (PyErr_Occurred()) SWIG_fail
;
12221 resultobj
= SWIG_Py_Void();
12228 SWIGINTERN PyObject
*_wrap_Log_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12229 PyObject
*resultobj
= 0;
12232 if (!SWIG_Python_UnpackTuple(args
,"Log_IsEnabled",0,0,0)) SWIG_fail
;
12234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12235 result
= (bool)wxLog::IsEnabled();
12236 wxPyEndAllowThreads(__tstate
);
12237 if (PyErr_Occurred()) SWIG_fail
;
12240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12248 SWIGINTERN PyObject
*_wrap_Log_EnableLogging(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12249 PyObject
*resultobj
= 0;
12250 bool arg1
= (bool) true ;
12254 PyObject
* obj0
= 0 ;
12255 char * kwnames
[] = {
12256 (char *) "doIt", NULL
12259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) SWIG_fail
;
12261 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
12262 if (!SWIG_IsOK(ecode1
)) {
12263 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_EnableLogging" "', expected argument " "1"" of type '" "bool""'");
12265 arg1
= static_cast< bool >(val1
);
12268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12269 result
= (bool)wxLog::EnableLogging(arg1
);
12270 wxPyEndAllowThreads(__tstate
);
12271 if (PyErr_Occurred()) SWIG_fail
;
12274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12282 SWIGINTERN PyObject
*_wrap_Log_OnLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12283 PyObject
*resultobj
= 0;
12285 wxChar
*arg2
= (wxChar
*) 0 ;
12287 unsigned long val1
;
12291 unsigned int val3
;
12293 PyObject
* obj0
= 0 ;
12294 PyObject
* obj1
= 0 ;
12295 PyObject
* obj2
= 0 ;
12296 char * kwnames
[] = {
12297 (char *) "level",(char *) "szString",(char *) "t", NULL
12300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12301 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12302 if (!SWIG_IsOK(ecode1
)) {
12303 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_OnLog" "', expected argument " "1"" of type '" "wxLogLevel""'");
12305 arg1
= static_cast< wxLogLevel
>(val1
);
12306 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
12307 if (!SWIG_IsOK(res2
)) {
12308 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Log_OnLog" "', expected argument " "2"" of type '" "wxChar const *""'");
12310 arg2
= reinterpret_cast< wxChar
* >(argp2
);
12311 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
12312 if (!SWIG_IsOK(ecode3
)) {
12313 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Log_OnLog" "', expected argument " "3"" of type '" "time_t""'");
12315 arg3
= static_cast< time_t >(val3
);
12317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12318 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
12319 wxPyEndAllowThreads(__tstate
);
12320 if (PyErr_Occurred()) SWIG_fail
;
12322 resultobj
= SWIG_Py_Void();
12329 SWIGINTERN PyObject
*_wrap_Log_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12330 PyObject
*resultobj
= 0;
12331 wxLog
*arg1
= (wxLog
*) 0 ;
12334 PyObject
*swig_obj
[1] ;
12336 if (!args
) SWIG_fail
;
12337 swig_obj
[0] = args
;
12338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
12339 if (!SWIG_IsOK(res1
)) {
12340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Flush" "', expected argument " "1"" of type '" "wxLog *""'");
12342 arg1
= reinterpret_cast< wxLog
* >(argp1
);
12344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12346 wxPyEndAllowThreads(__tstate
);
12347 if (PyErr_Occurred()) SWIG_fail
;
12349 resultobj
= SWIG_Py_Void();
12356 SWIGINTERN PyObject
*_wrap_Log_FlushActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12357 PyObject
*resultobj
= 0;
12359 if (!SWIG_Python_UnpackTuple(args
,"Log_FlushActive",0,0,0)) SWIG_fail
;
12361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12362 wxLog::FlushActive();
12363 wxPyEndAllowThreads(__tstate
);
12364 if (PyErr_Occurred()) SWIG_fail
;
12366 resultobj
= SWIG_Py_Void();
12373 SWIGINTERN PyObject
*_wrap_Log_GetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12374 PyObject
*resultobj
= 0;
12375 wxLog
*result
= 0 ;
12377 if (!SWIG_Python_UnpackTuple(args
,"Log_GetActiveTarget",0,0,0)) SWIG_fail
;
12379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12380 result
= (wxLog
*)wxLog::GetActiveTarget();
12381 wxPyEndAllowThreads(__tstate
);
12382 if (PyErr_Occurred()) SWIG_fail
;
12384 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
12391 SWIGINTERN PyObject
*_wrap_Log_SetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12392 PyObject
*resultobj
= 0;
12393 wxLog
*arg1
= (wxLog
*) 0 ;
12394 wxLog
*result
= 0 ;
12396 PyObject
* obj0
= 0 ;
12397 char * kwnames
[] = {
12398 (char *) "pLogger", NULL
12401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) SWIG_fail
;
12402 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
12403 if (!SWIG_IsOK(res1
)) {
12404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetActiveTarget" "', expected argument " "1"" of type '" "wxLog *""'");
12407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12408 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
12409 wxPyEndAllowThreads(__tstate
);
12410 if (PyErr_Occurred()) SWIG_fail
;
12412 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_OWN
| 0 );
12419 SWIGINTERN PyObject
*_wrap_Log_Suspend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12420 PyObject
*resultobj
= 0;
12422 if (!SWIG_Python_UnpackTuple(args
,"Log_Suspend",0,0,0)) SWIG_fail
;
12424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12426 wxPyEndAllowThreads(__tstate
);
12427 if (PyErr_Occurred()) SWIG_fail
;
12429 resultobj
= SWIG_Py_Void();
12436 SWIGINTERN PyObject
*_wrap_Log_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12437 PyObject
*resultobj
= 0;
12439 if (!SWIG_Python_UnpackTuple(args
,"Log_Resume",0,0,0)) SWIG_fail
;
12441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12443 wxPyEndAllowThreads(__tstate
);
12444 if (PyErr_Occurred()) SWIG_fail
;
12446 resultobj
= SWIG_Py_Void();
12453 SWIGINTERN PyObject
*_wrap_Log_SetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12454 PyObject
*resultobj
= 0;
12455 bool arg1
= (bool) true ;
12458 PyObject
* obj0
= 0 ;
12459 char * kwnames
[] = {
12460 (char *) "bVerbose", NULL
12463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) SWIG_fail
;
12465 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
12466 if (!SWIG_IsOK(ecode1
)) {
12467 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetVerbose" "', expected argument " "1"" of type '" "bool""'");
12469 arg1
= static_cast< bool >(val1
);
12472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12473 wxLog::SetVerbose(arg1
);
12474 wxPyEndAllowThreads(__tstate
);
12475 if (PyErr_Occurred()) SWIG_fail
;
12477 resultobj
= SWIG_Py_Void();
12484 SWIGINTERN PyObject
*_wrap_Log_SetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12485 PyObject
*resultobj
= 0;
12487 unsigned long val1
;
12489 PyObject
* obj0
= 0 ;
12490 char * kwnames
[] = {
12491 (char *) "logLevel", NULL
12494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) SWIG_fail
;
12495 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12496 if (!SWIG_IsOK(ecode1
)) {
12497 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetLogLevel" "', expected argument " "1"" of type '" "wxLogLevel""'");
12499 arg1
= static_cast< wxLogLevel
>(val1
);
12501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12502 wxLog::SetLogLevel(arg1
);
12503 wxPyEndAllowThreads(__tstate
);
12504 if (PyErr_Occurred()) SWIG_fail
;
12506 resultobj
= SWIG_Py_Void();
12513 SWIGINTERN PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12514 PyObject
*resultobj
= 0;
12516 if (!SWIG_Python_UnpackTuple(args
,"Log_DontCreateOnDemand",0,0,0)) SWIG_fail
;
12518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12519 wxLog::DontCreateOnDemand();
12520 wxPyEndAllowThreads(__tstate
);
12521 if (PyErr_Occurred()) SWIG_fail
;
12523 resultobj
= SWIG_Py_Void();
12530 SWIGINTERN PyObject
*_wrap_Log_SetRepetitionCounting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12531 PyObject
*resultobj
= 0;
12532 bool arg1
= (bool) true ;
12535 PyObject
* obj0
= 0 ;
12536 char * kwnames
[] = {
12537 (char *) "bRepetCounting", NULL
12540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetRepetitionCounting",kwnames
,&obj0
)) SWIG_fail
;
12542 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
12543 if (!SWIG_IsOK(ecode1
)) {
12544 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetRepetitionCounting" "', expected argument " "1"" of type '" "bool""'");
12546 arg1
= static_cast< bool >(val1
);
12549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12550 wxLog::SetRepetitionCounting(arg1
);
12551 wxPyEndAllowThreads(__tstate
);
12552 if (PyErr_Occurred()) SWIG_fail
;
12554 resultobj
= SWIG_Py_Void();
12561 SWIGINTERN PyObject
*_wrap_Log_GetRepetitionCounting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12562 PyObject
*resultobj
= 0;
12565 if (!SWIG_Python_UnpackTuple(args
,"Log_GetRepetitionCounting",0,0,0)) SWIG_fail
;
12567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12568 result
= (bool)wxLog::GetRepetitionCounting();
12569 wxPyEndAllowThreads(__tstate
);
12570 if (PyErr_Occurred()) SWIG_fail
;
12573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12581 SWIGINTERN PyObject
*_wrap_Log_SetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12582 PyObject
*resultobj
= 0;
12584 unsigned long val1
;
12586 PyObject
* obj0
= 0 ;
12587 char * kwnames
[] = {
12588 (char *) "ulMask", NULL
12591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12592 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12593 if (!SWIG_IsOK(ecode1
)) {
12594 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetTraceMask" "', expected argument " "1"" of type '" "wxTraceMask""'");
12596 arg1
= static_cast< wxTraceMask
>(val1
);
12598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12599 wxLog::SetTraceMask(arg1
);
12600 wxPyEndAllowThreads(__tstate
);
12601 if (PyErr_Occurred()) SWIG_fail
;
12603 resultobj
= SWIG_Py_Void();
12610 SWIGINTERN PyObject
*_wrap_Log_AddTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12611 PyObject
*resultobj
= 0;
12612 wxString
*arg1
= 0 ;
12613 bool temp1
= false ;
12614 PyObject
* obj0
= 0 ;
12615 char * kwnames
[] = {
12616 (char *) "str", NULL
12619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12621 arg1
= wxString_in_helper(obj0
);
12622 if (arg1
== NULL
) SWIG_fail
;
12626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12627 wxLog::AddTraceMask((wxString
const &)*arg1
);
12628 wxPyEndAllowThreads(__tstate
);
12629 if (PyErr_Occurred()) SWIG_fail
;
12631 resultobj
= SWIG_Py_Void();
12646 SWIGINTERN PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12647 PyObject
*resultobj
= 0;
12648 wxString
*arg1
= 0 ;
12649 bool temp1
= false ;
12650 PyObject
* obj0
= 0 ;
12651 char * kwnames
[] = {
12652 (char *) "str", NULL
12655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12657 arg1
= wxString_in_helper(obj0
);
12658 if (arg1
== NULL
) SWIG_fail
;
12662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12663 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
12664 wxPyEndAllowThreads(__tstate
);
12665 if (PyErr_Occurred()) SWIG_fail
;
12667 resultobj
= SWIG_Py_Void();
12682 SWIGINTERN PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12683 PyObject
*resultobj
= 0;
12685 if (!SWIG_Python_UnpackTuple(args
,"Log_ClearTraceMasks",0,0,0)) SWIG_fail
;
12687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12688 wxLog::ClearTraceMasks();
12689 wxPyEndAllowThreads(__tstate
);
12690 if (PyErr_Occurred()) SWIG_fail
;
12692 resultobj
= SWIG_Py_Void();
12699 SWIGINTERN PyObject
*_wrap_Log_GetTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12700 PyObject
*resultobj
= 0;
12701 wxArrayString
*result
= 0 ;
12703 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMasks",0,0,0)) SWIG_fail
;
12705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12707 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
12708 result
= (wxArrayString
*) &_result_ref
;
12710 wxPyEndAllowThreads(__tstate
);
12711 if (PyErr_Occurred()) SWIG_fail
;
12714 resultobj
= wxArrayString2PyList_helper(*result
);
12722 SWIGINTERN PyObject
*_wrap_Log_SetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12723 PyObject
*resultobj
= 0;
12724 wxChar
*arg1
= (wxChar
*) 0 ;
12727 PyObject
* obj0
= 0 ;
12728 char * kwnames
[] = {
12729 (char *) "ts", NULL
12732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) SWIG_fail
;
12733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
12734 if (!SWIG_IsOK(res1
)) {
12735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetTimestamp" "', expected argument " "1"" of type '" "wxChar const *""'");
12737 arg1
= reinterpret_cast< wxChar
* >(argp1
);
12739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12740 wxLog::SetTimestamp((wxChar
const *)arg1
);
12741 wxPyEndAllowThreads(__tstate
);
12742 if (PyErr_Occurred()) SWIG_fail
;
12744 resultobj
= SWIG_Py_Void();
12751 SWIGINTERN PyObject
*_wrap_Log_GetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12752 PyObject
*resultobj
= 0;
12755 if (!SWIG_Python_UnpackTuple(args
,"Log_GetVerbose",0,0,0)) SWIG_fail
;
12757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12758 result
= (bool)wxLog::GetVerbose();
12759 wxPyEndAllowThreads(__tstate
);
12760 if (PyErr_Occurred()) SWIG_fail
;
12763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12771 SWIGINTERN PyObject
*_wrap_Log_GetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12772 PyObject
*resultobj
= 0;
12773 wxTraceMask result
;
12775 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMask",0,0,0)) SWIG_fail
;
12777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12778 result
= (wxTraceMask
)wxLog::GetTraceMask();
12779 wxPyEndAllowThreads(__tstate
);
12780 if (PyErr_Occurred()) SWIG_fail
;
12782 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12789 SWIGINTERN PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12790 PyObject
*resultobj
= 0;
12791 wxChar
*arg1
= (wxChar
*) 0 ;
12795 PyObject
* obj0
= 0 ;
12796 char * kwnames
[] = {
12797 (char *) "mask", NULL
12800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
12802 if (!SWIG_IsOK(res1
)) {
12803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_IsAllowedTraceMask" "', expected argument " "1"" of type '" "wxChar const *""'");
12805 arg1
= reinterpret_cast< wxChar
* >(argp1
);
12807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12808 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
12809 wxPyEndAllowThreads(__tstate
);
12810 if (PyErr_Occurred()) SWIG_fail
;
12813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12821 SWIGINTERN PyObject
*_wrap_Log_GetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12822 PyObject
*resultobj
= 0;
12825 if (!SWIG_Python_UnpackTuple(args
,"Log_GetLogLevel",0,0,0)) SWIG_fail
;
12827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12828 result
= (wxLogLevel
)wxLog::GetLogLevel();
12829 wxPyEndAllowThreads(__tstate
);
12830 if (PyErr_Occurred()) SWIG_fail
;
12832 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12839 SWIGINTERN PyObject
*_wrap_Log_GetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12840 PyObject
*resultobj
= 0;
12841 wxChar
*result
= 0 ;
12843 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTimestamp",0,0,0)) SWIG_fail
;
12845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12846 result
= (wxChar
*)wxLog::GetTimestamp();
12847 wxPyEndAllowThreads(__tstate
);
12848 if (PyErr_Occurred()) SWIG_fail
;
12850 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
12857 SWIGINTERN PyObject
*_wrap_Log_TimeStamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12858 PyObject
*resultobj
= 0;
12861 if (!SWIG_Python_UnpackTuple(args
,"Log_TimeStamp",0,0,0)) SWIG_fail
;
12863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12864 result
= wxLog_TimeStamp();
12865 wxPyEndAllowThreads(__tstate
);
12866 if (PyErr_Occurred()) SWIG_fail
;
12870 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12872 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12881 SWIGINTERN PyObject
*_wrap_Log_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12882 PyObject
*resultobj
= 0;
12883 wxLog
*arg1
= (wxLog
*) 0 ;
12886 PyObject
*swig_obj
[1] ;
12888 if (!args
) SWIG_fail
;
12889 swig_obj
[0] = args
;
12890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
12891 if (!SWIG_IsOK(res1
)) {
12892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Destroy" "', expected argument " "1"" of type '" "wxLog *""'");
12894 arg1
= reinterpret_cast< wxLog
* >(argp1
);
12896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12897 wxLog_Destroy(arg1
);
12898 wxPyEndAllowThreads(__tstate
);
12899 if (PyErr_Occurred()) SWIG_fail
;
12901 resultobj
= SWIG_Py_Void();
12908 SWIGINTERN PyObject
*Log_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12910 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12911 SWIG_TypeNewClientData(SWIGTYPE_p_wxLog
, SWIG_NewClientData(obj
));
12912 return SWIG_Py_Void();
12915 SWIGINTERN PyObject
*Log_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12916 return SWIG_Python_InitShadowInstance(args
);
12919 SWIGINTERN PyObject
*_wrap_new_LogStderr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12920 PyObject
*resultobj
= 0;
12921 wxLogStderr
*result
= 0 ;
12923 if (!SWIG_Python_UnpackTuple(args
,"new_LogStderr",0,0,0)) SWIG_fail
;
12925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12926 result
= (wxLogStderr
*)new wxLogStderr();
12927 wxPyEndAllowThreads(__tstate
);
12928 if (PyErr_Occurred()) SWIG_fail
;
12930 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogStderr
, SWIG_POINTER_NEW
| 0 );
12937 SWIGINTERN PyObject
*LogStderr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12939 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12940 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogStderr
, SWIG_NewClientData(obj
));
12941 return SWIG_Py_Void();
12944 SWIGINTERN PyObject
*LogStderr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12945 return SWIG_Python_InitShadowInstance(args
);
12948 SWIGINTERN PyObject
*_wrap_new_LogTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12949 PyObject
*resultobj
= 0;
12950 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12951 wxLogTextCtrl
*result
= 0 ;
12954 PyObject
* obj0
= 0 ;
12955 char * kwnames
[] = {
12956 (char *) "pTextCtrl", NULL
12959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) SWIG_fail
;
12960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12961 if (!SWIG_IsOK(res1
)) {
12962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogTextCtrl" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12964 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12967 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
12968 wxPyEndAllowThreads(__tstate
);
12969 if (PyErr_Occurred()) SWIG_fail
;
12971 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogTextCtrl
, SWIG_POINTER_NEW
| 0 );
12978 SWIGINTERN PyObject
*LogTextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12980 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12981 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogTextCtrl
, SWIG_NewClientData(obj
));
12982 return SWIG_Py_Void();
12985 SWIGINTERN PyObject
*LogTextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12986 return SWIG_Python_InitShadowInstance(args
);
12989 SWIGINTERN PyObject
*_wrap_new_LogGui(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12990 PyObject
*resultobj
= 0;
12991 wxLogGui
*result
= 0 ;
12993 if (!SWIG_Python_UnpackTuple(args
,"new_LogGui",0,0,0)) SWIG_fail
;
12995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12996 result
= (wxLogGui
*)new wxLogGui();
12997 wxPyEndAllowThreads(__tstate
);
12998 if (PyErr_Occurred()) SWIG_fail
;
13000 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogGui
, SWIG_POINTER_NEW
| 0 );
13007 SWIGINTERN PyObject
*LogGui_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13009 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13010 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogGui
, SWIG_NewClientData(obj
));
13011 return SWIG_Py_Void();
13014 SWIGINTERN PyObject
*LogGui_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13015 return SWIG_Python_InitShadowInstance(args
);
13018 SWIGINTERN PyObject
*_wrap_new_LogWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13019 PyObject
*resultobj
= 0;
13020 wxFrame
*arg1
= (wxFrame
*) 0 ;
13021 wxString
*arg2
= 0 ;
13022 bool arg3
= (bool) true ;
13023 bool arg4
= (bool) true ;
13024 wxLogWindow
*result
= 0 ;
13027 bool temp2
= false ;
13032 PyObject
* obj0
= 0 ;
13033 PyObject
* obj1
= 0 ;
13034 PyObject
* obj2
= 0 ;
13035 PyObject
* obj3
= 0 ;
13036 char * kwnames
[] = {
13037 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
13040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13042 if (!SWIG_IsOK(res1
)) {
13043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogWindow" "', expected argument " "1"" of type '" "wxFrame *""'");
13045 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
13047 arg2
= wxString_in_helper(obj1
);
13048 if (arg2
== NULL
) SWIG_fail
;
13052 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13053 if (!SWIG_IsOK(ecode3
)) {
13054 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_LogWindow" "', expected argument " "3"" of type '" "bool""'");
13056 arg3
= static_cast< bool >(val3
);
13059 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13060 if (!SWIG_IsOK(ecode4
)) {
13061 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_LogWindow" "', expected argument " "4"" of type '" "bool""'");
13063 arg4
= static_cast< bool >(val4
);
13066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13067 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13068 wxPyEndAllowThreads(__tstate
);
13069 if (PyErr_Occurred()) SWIG_fail
;
13071 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_NEW
| 0 );
13086 SWIGINTERN PyObject
*_wrap_LogWindow_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13087 PyObject
*resultobj
= 0;
13088 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13089 bool arg2
= (bool) true ;
13094 PyObject
* obj0
= 0 ;
13095 PyObject
* obj1
= 0 ;
13096 char * kwnames
[] = {
13097 (char *) "self",(char *) "bShow", NULL
13100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13102 if (!SWIG_IsOK(res1
)) {
13103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_Show" "', expected argument " "1"" of type '" "wxLogWindow *""'");
13105 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13107 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13108 if (!SWIG_IsOK(ecode2
)) {
13109 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_Show" "', expected argument " "2"" of type '" "bool""'");
13111 arg2
= static_cast< bool >(val2
);
13114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13115 (arg1
)->Show(arg2
);
13116 wxPyEndAllowThreads(__tstate
);
13117 if (PyErr_Occurred()) SWIG_fail
;
13119 resultobj
= SWIG_Py_Void();
13126 SWIGINTERN PyObject
*_wrap_LogWindow_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13127 PyObject
*resultobj
= 0;
13128 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13129 wxFrame
*result
= 0 ;
13132 PyObject
*swig_obj
[1] ;
13134 if (!args
) SWIG_fail
;
13135 swig_obj
[0] = args
;
13136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13137 if (!SWIG_IsOK(res1
)) {
13138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetFrame" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
13140 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13143 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
13144 wxPyEndAllowThreads(__tstate
);
13145 if (PyErr_Occurred()) SWIG_fail
;
13148 resultobj
= wxPyMake_wxObject(result
, (bool)0);
13156 SWIGINTERN PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13157 PyObject
*resultobj
= 0;
13158 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13159 wxLog
*result
= 0 ;
13162 PyObject
*swig_obj
[1] ;
13164 if (!args
) SWIG_fail
;
13165 swig_obj
[0] = args
;
13166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13167 if (!SWIG_IsOK(res1
)) {
13168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetOldLog" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
13170 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13173 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
13174 wxPyEndAllowThreads(__tstate
);
13175 if (PyErr_Occurred()) SWIG_fail
;
13177 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
13184 SWIGINTERN PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13185 PyObject
*resultobj
= 0;
13186 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13190 PyObject
*swig_obj
[1] ;
13192 if (!args
) SWIG_fail
;
13193 swig_obj
[0] = args
;
13194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13195 if (!SWIG_IsOK(res1
)) {
13196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
13198 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13201 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
13202 wxPyEndAllowThreads(__tstate
);
13203 if (PyErr_Occurred()) SWIG_fail
;
13206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13214 SWIGINTERN PyObject
*_wrap_LogWindow_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13215 PyObject
*resultobj
= 0;
13216 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13222 PyObject
* obj0
= 0 ;
13223 PyObject
* obj1
= 0 ;
13224 char * kwnames
[] = {
13225 (char *) "self",(char *) "bDoPass", NULL
13228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13230 if (!SWIG_IsOK(res1
)) {
13231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_PassMessages" "', expected argument " "1"" of type '" "wxLogWindow *""'");
13233 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13234 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13235 if (!SWIG_IsOK(ecode2
)) {
13236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_PassMessages" "', expected argument " "2"" of type '" "bool""'");
13238 arg2
= static_cast< bool >(val2
);
13240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13241 (arg1
)->PassMessages(arg2
);
13242 wxPyEndAllowThreads(__tstate
);
13243 if (PyErr_Occurred()) SWIG_fail
;
13245 resultobj
= SWIG_Py_Void();
13252 SWIGINTERN PyObject
*LogWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13254 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13255 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogWindow
, SWIG_NewClientData(obj
));
13256 return SWIG_Py_Void();
13259 SWIGINTERN PyObject
*LogWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13260 return SWIG_Python_InitShadowInstance(args
);
13263 SWIGINTERN PyObject
*_wrap_new_LogChain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13264 PyObject
*resultobj
= 0;
13265 wxLog
*arg1
= (wxLog
*) 0 ;
13266 wxLogChain
*result
= 0 ;
13269 PyObject
* obj0
= 0 ;
13270 char * kwnames
[] = {
13271 (char *) "logger", NULL
13274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) SWIG_fail
;
13275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
13276 if (!SWIG_IsOK(res1
)) {
13277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogChain" "', expected argument " "1"" of type '" "wxLog *""'");
13279 arg1
= reinterpret_cast< wxLog
* >(argp1
);
13281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13282 result
= (wxLogChain
*)new wxLogChain(arg1
);
13283 wxPyEndAllowThreads(__tstate
);
13284 if (PyErr_Occurred()) SWIG_fail
;
13286 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogChain
, SWIG_POINTER_NEW
| 0 );
13293 SWIGINTERN PyObject
*_wrap_LogChain_SetLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13294 PyObject
*resultobj
= 0;
13295 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13296 wxLog
*arg2
= (wxLog
*) 0 ;
13301 PyObject
* obj0
= 0 ;
13302 PyObject
* obj1
= 0 ;
13303 char * kwnames
[] = {
13304 (char *) "self",(char *) "logger", NULL
13307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13309 if (!SWIG_IsOK(res1
)) {
13310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_SetLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
13312 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13313 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxLog
, 0 | 0 );
13314 if (!SWIG_IsOK(res2
)) {
13315 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LogChain_SetLog" "', expected argument " "2"" of type '" "wxLog *""'");
13317 arg2
= reinterpret_cast< wxLog
* >(argp2
);
13319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13320 (arg1
)->SetLog(arg2
);
13321 wxPyEndAllowThreads(__tstate
);
13322 if (PyErr_Occurred()) SWIG_fail
;
13324 resultobj
= SWIG_Py_Void();
13331 SWIGINTERN PyObject
*_wrap_LogChain_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13332 PyObject
*resultobj
= 0;
13333 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13339 PyObject
* obj0
= 0 ;
13340 PyObject
* obj1
= 0 ;
13341 char * kwnames
[] = {
13342 (char *) "self",(char *) "bDoPass", NULL
13345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13347 if (!SWIG_IsOK(res1
)) {
13348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_PassMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
13350 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13351 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13352 if (!SWIG_IsOK(ecode2
)) {
13353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogChain_PassMessages" "', expected argument " "2"" of type '" "bool""'");
13355 arg2
= static_cast< bool >(val2
);
13357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13358 (arg1
)->PassMessages(arg2
);
13359 wxPyEndAllowThreads(__tstate
);
13360 if (PyErr_Occurred()) SWIG_fail
;
13362 resultobj
= SWIG_Py_Void();
13369 SWIGINTERN PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13370 PyObject
*resultobj
= 0;
13371 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13375 PyObject
*swig_obj
[1] ;
13377 if (!args
) SWIG_fail
;
13378 swig_obj
[0] = args
;
13379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13380 if (!SWIG_IsOK(res1
)) {
13381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
13383 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13386 result
= (bool)(arg1
)->IsPassingMessages();
13387 wxPyEndAllowThreads(__tstate
);
13388 if (PyErr_Occurred()) SWIG_fail
;
13391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13399 SWIGINTERN PyObject
*_wrap_LogChain_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13400 PyObject
*resultobj
= 0;
13401 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13402 wxLog
*result
= 0 ;
13405 PyObject
*swig_obj
[1] ;
13407 if (!args
) SWIG_fail
;
13408 swig_obj
[0] = args
;
13409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13410 if (!SWIG_IsOK(res1
)) {
13411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_GetOldLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
13413 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13416 result
= (wxLog
*)(arg1
)->GetOldLog();
13417 wxPyEndAllowThreads(__tstate
);
13418 if (PyErr_Occurred()) SWIG_fail
;
13420 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
13427 SWIGINTERN PyObject
*LogChain_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13429 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13430 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogChain
, SWIG_NewClientData(obj
));
13431 return SWIG_Py_Void();
13434 SWIGINTERN PyObject
*LogChain_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13435 return SWIG_Python_InitShadowInstance(args
);
13438 SWIGINTERN PyObject
*_wrap_new_LogBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13439 PyObject
*resultobj
= 0;
13440 wxLogBuffer
*result
= 0 ;
13442 if (!SWIG_Python_UnpackTuple(args
,"new_LogBuffer",0,0,0)) SWIG_fail
;
13444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13445 result
= (wxLogBuffer
*)new wxLogBuffer();
13446 wxPyEndAllowThreads(__tstate
);
13447 if (PyErr_Occurred()) SWIG_fail
;
13449 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_NEW
| 0 );
13456 SWIGINTERN PyObject
*_wrap_LogBuffer_GetBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13457 PyObject
*resultobj
= 0;
13458 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
13459 wxString
*result
= 0 ;
13462 PyObject
*swig_obj
[1] ;
13464 if (!args
) SWIG_fail
;
13465 swig_obj
[0] = args
;
13466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogBuffer
, 0 | 0 );
13467 if (!SWIG_IsOK(res1
)) {
13468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogBuffer_GetBuffer" "', expected argument " "1"" of type '" "wxLogBuffer const *""'");
13470 arg1
= reinterpret_cast< wxLogBuffer
* >(argp1
);
13472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13474 wxString
const &_result_ref
= ((wxLogBuffer
const *)arg1
)->GetBuffer();
13475 result
= (wxString
*) &_result_ref
;
13477 wxPyEndAllowThreads(__tstate
);
13478 if (PyErr_Occurred()) SWIG_fail
;
13482 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13484 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13493 SWIGINTERN PyObject
*LogBuffer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13495 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13496 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogBuffer
, SWIG_NewClientData(obj
));
13497 return SWIG_Py_Void();
13500 SWIGINTERN PyObject
*LogBuffer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13501 return SWIG_Python_InitShadowInstance(args
);
13504 SWIGINTERN PyObject
*_wrap_SysErrorCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13505 PyObject
*resultobj
= 0;
13506 unsigned long result
;
13508 if (!SWIG_Python_UnpackTuple(args
,"SysErrorCode",0,0,0)) SWIG_fail
;
13510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13511 result
= (unsigned long)wxSysErrorCode();
13512 wxPyEndAllowThreads(__tstate
);
13513 if (PyErr_Occurred()) SWIG_fail
;
13515 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
13522 SWIGINTERN PyObject
*_wrap_SysErrorMsg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13523 PyObject
*resultobj
= 0;
13524 unsigned long arg1
= (unsigned long) 0 ;
13526 unsigned long val1
;
13528 PyObject
* obj0
= 0 ;
13529 char * kwnames
[] = {
13530 (char *) "nErrCode", NULL
13533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) SWIG_fail
;
13535 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
13536 if (!SWIG_IsOK(ecode1
)) {
13537 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SysErrorMsg" "', expected argument " "1"" of type '" "unsigned long""'");
13539 arg1
= static_cast< unsigned long >(val1
);
13542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13543 result
= wxSysErrorMsg(arg1
);
13544 wxPyEndAllowThreads(__tstate
);
13545 if (PyErr_Occurred()) SWIG_fail
;
13549 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13551 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13560 SWIGINTERN PyObject
*_wrap_LogFatalError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13561 PyObject
*resultobj
= 0;
13562 wxString
*arg1
= 0 ;
13563 bool temp1
= false ;
13564 PyObject
* obj0
= 0 ;
13565 char * kwnames
[] = {
13566 (char *) "msg", NULL
13569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) SWIG_fail
;
13571 arg1
= wxString_in_helper(obj0
);
13572 if (arg1
== NULL
) SWIG_fail
;
13576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13577 wxPyLogFatalError((wxString
const &)*arg1
);
13578 wxPyEndAllowThreads(__tstate
);
13579 if (PyErr_Occurred()) SWIG_fail
;
13581 resultobj
= SWIG_Py_Void();
13596 SWIGINTERN PyObject
*_wrap_LogError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13597 PyObject
*resultobj
= 0;
13598 wxString
*arg1
= 0 ;
13599 bool temp1
= false ;
13600 PyObject
* obj0
= 0 ;
13601 char * kwnames
[] = {
13602 (char *) "msg", NULL
13605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) SWIG_fail
;
13607 arg1
= wxString_in_helper(obj0
);
13608 if (arg1
== NULL
) SWIG_fail
;
13612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13613 wxPyLogError((wxString
const &)*arg1
);
13614 wxPyEndAllowThreads(__tstate
);
13615 if (PyErr_Occurred()) SWIG_fail
;
13617 resultobj
= SWIG_Py_Void();
13632 SWIGINTERN PyObject
*_wrap_LogWarning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13633 PyObject
*resultobj
= 0;
13634 wxString
*arg1
= 0 ;
13635 bool temp1
= false ;
13636 PyObject
* obj0
= 0 ;
13637 char * kwnames
[] = {
13638 (char *) "msg", NULL
13641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) SWIG_fail
;
13643 arg1
= wxString_in_helper(obj0
);
13644 if (arg1
== NULL
) SWIG_fail
;
13648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13649 wxPyLogWarning((wxString
const &)*arg1
);
13650 wxPyEndAllowThreads(__tstate
);
13651 if (PyErr_Occurred()) SWIG_fail
;
13653 resultobj
= SWIG_Py_Void();
13668 SWIGINTERN PyObject
*_wrap_LogMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13669 PyObject
*resultobj
= 0;
13670 wxString
*arg1
= 0 ;
13671 bool temp1
= false ;
13672 PyObject
* obj0
= 0 ;
13673 char * kwnames
[] = {
13674 (char *) "msg", NULL
13677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) SWIG_fail
;
13679 arg1
= wxString_in_helper(obj0
);
13680 if (arg1
== NULL
) SWIG_fail
;
13684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13685 wxPyLogMessage((wxString
const &)*arg1
);
13686 wxPyEndAllowThreads(__tstate
);
13687 if (PyErr_Occurred()) SWIG_fail
;
13689 resultobj
= SWIG_Py_Void();
13704 SWIGINTERN PyObject
*_wrap_LogInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13705 PyObject
*resultobj
= 0;
13706 wxString
*arg1
= 0 ;
13707 bool temp1
= false ;
13708 PyObject
* obj0
= 0 ;
13709 char * kwnames
[] = {
13710 (char *) "msg", NULL
13713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) SWIG_fail
;
13715 arg1
= wxString_in_helper(obj0
);
13716 if (arg1
== NULL
) SWIG_fail
;
13720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13721 wxPyLogInfo((wxString
const &)*arg1
);
13722 wxPyEndAllowThreads(__tstate
);
13723 if (PyErr_Occurred()) SWIG_fail
;
13725 resultobj
= SWIG_Py_Void();
13740 SWIGINTERN PyObject
*_wrap_LogDebug(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13741 PyObject
*resultobj
= 0;
13742 wxString
*arg1
= 0 ;
13743 bool temp1
= false ;
13744 PyObject
* obj0
= 0 ;
13745 char * kwnames
[] = {
13746 (char *) "msg", NULL
13749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) SWIG_fail
;
13751 arg1
= wxString_in_helper(obj0
);
13752 if (arg1
== NULL
) SWIG_fail
;
13756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13757 wxPyLogDebug((wxString
const &)*arg1
);
13758 wxPyEndAllowThreads(__tstate
);
13759 if (PyErr_Occurred()) SWIG_fail
;
13761 resultobj
= SWIG_Py_Void();
13776 SWIGINTERN PyObject
*_wrap_LogVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13777 PyObject
*resultobj
= 0;
13778 wxString
*arg1
= 0 ;
13779 bool temp1
= false ;
13780 PyObject
* obj0
= 0 ;
13781 char * kwnames
[] = {
13782 (char *) "msg", NULL
13785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) SWIG_fail
;
13787 arg1
= wxString_in_helper(obj0
);
13788 if (arg1
== NULL
) SWIG_fail
;
13792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13793 wxPyLogVerbose((wxString
const &)*arg1
);
13794 wxPyEndAllowThreads(__tstate
);
13795 if (PyErr_Occurred()) SWIG_fail
;
13797 resultobj
= SWIG_Py_Void();
13812 SWIGINTERN PyObject
*_wrap_LogStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13813 PyObject
*resultobj
= 0;
13814 wxString
*arg1
= 0 ;
13815 bool temp1
= false ;
13816 PyObject
* obj0
= 0 ;
13817 char * kwnames
[] = {
13818 (char *) "msg", NULL
13821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) SWIG_fail
;
13823 arg1
= wxString_in_helper(obj0
);
13824 if (arg1
== NULL
) SWIG_fail
;
13828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13829 wxPyLogStatus((wxString
const &)*arg1
);
13830 wxPyEndAllowThreads(__tstate
);
13831 if (PyErr_Occurred()) SWIG_fail
;
13833 resultobj
= SWIG_Py_Void();
13848 SWIGINTERN PyObject
*_wrap_LogStatusFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13849 PyObject
*resultobj
= 0;
13850 wxFrame
*arg1
= (wxFrame
*) 0 ;
13851 wxString
*arg2
= 0 ;
13854 bool temp2
= false ;
13855 PyObject
* obj0
= 0 ;
13856 PyObject
* obj1
= 0 ;
13857 char * kwnames
[] = {
13858 (char *) "pFrame",(char *) "msg", NULL
13861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13863 if (!SWIG_IsOK(res1
)) {
13864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogStatusFrame" "', expected argument " "1"" of type '" "wxFrame *""'");
13866 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
13868 arg2
= wxString_in_helper(obj1
);
13869 if (arg2
== NULL
) SWIG_fail
;
13873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13874 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
13875 wxPyEndAllowThreads(__tstate
);
13876 if (PyErr_Occurred()) SWIG_fail
;
13878 resultobj
= SWIG_Py_Void();
13893 SWIGINTERN PyObject
*_wrap_LogSysError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13894 PyObject
*resultobj
= 0;
13895 wxString
*arg1
= 0 ;
13896 bool temp1
= false ;
13897 PyObject
* obj0
= 0 ;
13898 char * kwnames
[] = {
13899 (char *) "msg", NULL
13902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) SWIG_fail
;
13904 arg1
= wxString_in_helper(obj0
);
13905 if (arg1
== NULL
) SWIG_fail
;
13909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13910 wxPyLogSysError((wxString
const &)*arg1
);
13911 wxPyEndAllowThreads(__tstate
);
13912 if (PyErr_Occurred()) SWIG_fail
;
13914 resultobj
= SWIG_Py_Void();
13929 SWIGINTERN PyObject
*_wrap_LogGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13930 PyObject
*resultobj
= 0;
13931 unsigned long arg1
;
13932 wxString
*arg2
= 0 ;
13933 unsigned long val1
;
13935 bool temp2
= false ;
13936 PyObject
* obj0
= 0 ;
13937 PyObject
* obj1
= 0 ;
13938 char * kwnames
[] = {
13939 (char *) "level",(char *) "msg", NULL
13942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13943 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
13944 if (!SWIG_IsOK(ecode1
)) {
13945 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogGeneric" "', expected argument " "1"" of type '" "unsigned long""'");
13947 arg1
= static_cast< unsigned long >(val1
);
13949 arg2
= wxString_in_helper(obj1
);
13950 if (arg2
== NULL
) SWIG_fail
;
13954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13955 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
13956 wxPyEndAllowThreads(__tstate
);
13957 if (PyErr_Occurred()) SWIG_fail
;
13959 resultobj
= SWIG_Py_Void();
13974 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
13975 PyObject
*resultobj
= 0;
13976 unsigned long arg1
;
13977 wxString
*arg2
= 0 ;
13978 unsigned long val1
;
13980 bool temp2
= false ;
13982 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
13983 ecode1
= SWIG_AsVal_unsigned_SS_long(swig_obj
[0], &val1
);
13984 if (!SWIG_IsOK(ecode1
)) {
13985 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogTrace" "', expected argument " "1"" of type '" "unsigned long""'");
13987 arg1
= static_cast< unsigned long >(val1
);
13989 arg2
= wxString_in_helper(swig_obj
[1]);
13990 if (arg2
== NULL
) SWIG_fail
;
13994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13995 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
13996 wxPyEndAllowThreads(__tstate
);
13997 if (PyErr_Occurred()) SWIG_fail
;
13999 resultobj
= SWIG_Py_Void();
14014 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
14015 PyObject
*resultobj
= 0;
14016 wxString
*arg1
= 0 ;
14017 wxString
*arg2
= 0 ;
14018 bool temp1
= false ;
14019 bool temp2
= false ;
14021 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
14023 arg1
= wxString_in_helper(swig_obj
[0]);
14024 if (arg1
== NULL
) SWIG_fail
;
14028 arg2
= wxString_in_helper(swig_obj
[1]);
14029 if (arg2
== NULL
) SWIG_fail
;
14033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14034 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
14035 wxPyEndAllowThreads(__tstate
);
14036 if (PyErr_Occurred()) SWIG_fail
;
14038 resultobj
= SWIG_Py_Void();
14061 SWIGINTERN PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
14065 if (!(argc
= SWIG_Python_UnpackTuple(args
,"LogTrace",0,2,argv
))) SWIG_fail
;
14071 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
14074 if (!_v
) goto check_1
;
14075 return _wrap_LogTrace__SWIG_1(self
, argc
, argv
);
14080 return _wrap_LogTrace__SWIG_0(self
, argc
, argv
);
14084 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
14089 SWIGINTERN PyObject
*_wrap_SafeShowMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14090 PyObject
*resultobj
= 0;
14091 wxString
*arg1
= 0 ;
14092 wxString
*arg2
= 0 ;
14093 bool temp1
= false ;
14094 bool temp2
= false ;
14095 PyObject
* obj0
= 0 ;
14096 PyObject
* obj1
= 0 ;
14097 char * kwnames
[] = {
14098 (char *) "title",(char *) "text", NULL
14101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14103 arg1
= wxString_in_helper(obj0
);
14104 if (arg1
== NULL
) SWIG_fail
;
14108 arg2
= wxString_in_helper(obj1
);
14109 if (arg2
== NULL
) SWIG_fail
;
14113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14114 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
14115 wxPyEndAllowThreads(__tstate
);
14116 if (PyErr_Occurred()) SWIG_fail
;
14118 resultobj
= SWIG_Py_Void();
14141 SWIGINTERN PyObject
*_wrap_new_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14142 PyObject
*resultobj
= 0;
14143 wxLogNull
*result
= 0 ;
14145 if (!SWIG_Python_UnpackTuple(args
,"new_LogNull",0,0,0)) SWIG_fail
;
14147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14148 result
= (wxLogNull
*)new wxLogNull();
14149 wxPyEndAllowThreads(__tstate
);
14150 if (PyErr_Occurred()) SWIG_fail
;
14152 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogNull
, SWIG_POINTER_NEW
| 0 );
14159 SWIGINTERN PyObject
*_wrap_delete_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14160 PyObject
*resultobj
= 0;
14161 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
14164 PyObject
*swig_obj
[1] ;
14166 if (!args
) SWIG_fail
;
14167 swig_obj
[0] = args
;
14168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogNull
, SWIG_POINTER_DISOWN
| 0 );
14169 if (!SWIG_IsOK(res1
)) {
14170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LogNull" "', expected argument " "1"" of type '" "wxLogNull *""'");
14172 arg1
= reinterpret_cast< wxLogNull
* >(argp1
);
14174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14177 wxPyEndAllowThreads(__tstate
);
14178 if (PyErr_Occurred()) SWIG_fail
;
14180 resultobj
= SWIG_Py_Void();
14187 SWIGINTERN PyObject
*LogNull_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14189 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14190 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogNull
, SWIG_NewClientData(obj
));
14191 return SWIG_Py_Void();
14194 SWIGINTERN PyObject
*LogNull_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14195 return SWIG_Python_InitShadowInstance(args
);
14198 SWIGINTERN PyObject
*_wrap_new_PyLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14199 PyObject
*resultobj
= 0;
14200 wxPyLog
*result
= 0 ;
14202 if (!SWIG_Python_UnpackTuple(args
,"new_PyLog",0,0,0)) SWIG_fail
;
14204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14205 result
= (wxPyLog
*)new wxPyLog();
14206 wxPyEndAllowThreads(__tstate
);
14207 if (PyErr_Occurred()) SWIG_fail
;
14209 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLog
, SWIG_POINTER_NEW
| 0 );
14216 SWIGINTERN PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14217 PyObject
*resultobj
= 0;
14218 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
14219 PyObject
*arg2
= (PyObject
*) 0 ;
14220 PyObject
*arg3
= (PyObject
*) 0 ;
14223 PyObject
* obj0
= 0 ;
14224 PyObject
* obj1
= 0 ;
14225 PyObject
* obj2
= 0 ;
14226 char * kwnames
[] = {
14227 (char *) "self",(char *) "self",(char *) "_class", NULL
14230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLog
, 0 | 0 );
14232 if (!SWIG_IsOK(res1
)) {
14233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLog__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLog *""'");
14235 arg1
= reinterpret_cast< wxPyLog
* >(argp1
);
14239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14240 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14241 wxPyEndAllowThreads(__tstate
);
14242 if (PyErr_Occurred()) SWIG_fail
;
14244 resultobj
= SWIG_Py_Void();
14251 SWIGINTERN PyObject
*PyLog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14253 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14254 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLog
, SWIG_NewClientData(obj
));
14255 return SWIG_Py_Void();
14258 SWIGINTERN PyObject
*PyLog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14259 return SWIG_Python_InitShadowInstance(args
);
14262 SWIGINTERN PyObject
*_wrap_Process_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14263 PyObject
*resultobj
= 0;
14265 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
14266 int arg3
= (int) wxKILL_NOCHILDREN
;
14267 wxKillError result
;
14274 PyObject
* obj0
= 0 ;
14275 PyObject
* obj1
= 0 ;
14276 PyObject
* obj2
= 0 ;
14277 char * kwnames
[] = {
14278 (char *) "pid",(char *) "sig",(char *) "flags", NULL
14281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14282 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14283 if (!SWIG_IsOK(ecode1
)) {
14284 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Kill" "', expected argument " "1"" of type '" "int""'");
14286 arg1
= static_cast< int >(val1
);
14288 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14289 if (!SWIG_IsOK(ecode2
)) {
14290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Kill" "', expected argument " "2"" of type '" "wxSignal""'");
14292 arg2
= static_cast< wxSignal
>(val2
);
14295 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14296 if (!SWIG_IsOK(ecode3
)) {
14297 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_Kill" "', expected argument " "3"" of type '" "int""'");
14299 arg3
= static_cast< int >(val3
);
14302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14303 result
= (wxKillError
)wxPyProcess::Kill(arg1
,arg2
,arg3
);
14304 wxPyEndAllowThreads(__tstate
);
14305 if (PyErr_Occurred()) SWIG_fail
;
14307 resultobj
= SWIG_From_int(static_cast< int >(result
));
14314 SWIGINTERN PyObject
*_wrap_Process_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14315 PyObject
*resultobj
= 0;
14320 PyObject
* obj0
= 0 ;
14321 char * kwnames
[] = {
14322 (char *) "pid", NULL
14325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) SWIG_fail
;
14326 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14327 if (!SWIG_IsOK(ecode1
)) {
14328 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Exists" "', expected argument " "1"" of type '" "int""'");
14330 arg1
= static_cast< int >(val1
);
14332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14333 result
= (bool)wxPyProcess::Exists(arg1
);
14334 wxPyEndAllowThreads(__tstate
);
14335 if (PyErr_Occurred()) SWIG_fail
;
14338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14346 SWIGINTERN PyObject
*_wrap_Process_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14347 PyObject
*resultobj
= 0;
14348 wxString
*arg1
= 0 ;
14349 int arg2
= (int) wxEXEC_ASYNC
;
14350 wxPyProcess
*result
= 0 ;
14351 bool temp1
= false ;
14354 PyObject
* obj0
= 0 ;
14355 PyObject
* obj1
= 0 ;
14356 char * kwnames
[] = {
14357 (char *) "cmd",(char *) "flags", NULL
14360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14362 arg1
= wxString_in_helper(obj0
);
14363 if (arg1
== NULL
) SWIG_fail
;
14367 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14368 if (!SWIG_IsOK(ecode2
)) {
14369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Open" "', expected argument " "2"" of type '" "int""'");
14371 arg2
= static_cast< int >(val2
);
14374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14375 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
14376 wxPyEndAllowThreads(__tstate
);
14377 if (PyErr_Occurred()) SWIG_fail
;
14379 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14394 SWIGINTERN PyObject
*_wrap_new_Process(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14395 PyObject
*resultobj
= 0;
14396 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
14397 int arg2
= (int) -1 ;
14398 wxPyProcess
*result
= 0 ;
14403 PyObject
* obj0
= 0 ;
14404 PyObject
* obj1
= 0 ;
14405 char * kwnames
[] = {
14406 (char *) "parent",(char *) "id", NULL
14409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
14412 if (!SWIG_IsOK(res1
)) {
14413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Process" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
14415 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
14418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14419 if (!SWIG_IsOK(ecode2
)) {
14420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Process" "', expected argument " "2"" of type '" "int""'");
14422 arg2
= static_cast< int >(val2
);
14425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14426 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
14427 wxPyEndAllowThreads(__tstate
);
14428 if (PyErr_Occurred()) SWIG_fail
;
14430 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_NEW
| 0 );
14437 SWIGINTERN PyObject
*_wrap_delete_Process(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14438 PyObject
*resultobj
= 0;
14439 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14442 PyObject
*swig_obj
[1] ;
14444 if (!args
) SWIG_fail
;
14445 swig_obj
[0] = args
;
14446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_DISOWN
| 0 );
14447 if (!SWIG_IsOK(res1
)) {
14448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Process" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14450 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14455 wxPyEndAllowThreads(__tstate
);
14456 if (PyErr_Occurred()) SWIG_fail
;
14458 resultobj
= SWIG_Py_Void();
14465 SWIGINTERN PyObject
*_wrap_Process__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14466 PyObject
*resultobj
= 0;
14467 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14468 PyObject
*arg2
= (PyObject
*) 0 ;
14469 PyObject
*arg3
= (PyObject
*) 0 ;
14472 PyObject
* obj0
= 0 ;
14473 PyObject
* obj1
= 0 ;
14474 PyObject
* obj2
= 0 ;
14475 char * kwnames
[] = {
14476 (char *) "self",(char *) "self",(char *) "_class", NULL
14479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14481 if (!SWIG_IsOK(res1
)) {
14482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14484 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14489 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14490 wxPyEndAllowThreads(__tstate
);
14491 if (PyErr_Occurred()) SWIG_fail
;
14493 resultobj
= SWIG_Py_Void();
14500 SWIGINTERN PyObject
*_wrap_Process_GetPid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14501 PyObject
*resultobj
= 0;
14502 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14506 PyObject
*swig_obj
[1] ;
14508 if (!args
) SWIG_fail
;
14509 swig_obj
[0] = args
;
14510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14511 if (!SWIG_IsOK(res1
)) {
14512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetPid" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
14514 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14517 result
= (long)((wxPyProcess
const *)arg1
)->GetPid();
14518 wxPyEndAllowThreads(__tstate
);
14519 if (PyErr_Occurred()) SWIG_fail
;
14521 resultobj
= SWIG_From_long(static_cast< long >(result
));
14528 SWIGINTERN PyObject
*_wrap_Process_OnTerminate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14529 PyObject
*resultobj
= 0;
14530 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14539 PyObject
* obj0
= 0 ;
14540 PyObject
* obj1
= 0 ;
14541 PyObject
* obj2
= 0 ;
14542 char * kwnames
[] = {
14543 (char *) "self",(char *) "pid",(char *) "status", NULL
14546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14548 if (!SWIG_IsOK(res1
)) {
14549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_OnTerminate" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14551 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14552 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14553 if (!SWIG_IsOK(ecode2
)) {
14554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_OnTerminate" "', expected argument " "2"" of type '" "int""'");
14556 arg2
= static_cast< int >(val2
);
14557 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14558 if (!SWIG_IsOK(ecode3
)) {
14559 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_OnTerminate" "', expected argument " "3"" of type '" "int""'");
14561 arg3
= static_cast< int >(val3
);
14563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14564 (arg1
)->OnTerminate(arg2
,arg3
);
14565 wxPyEndAllowThreads(__tstate
);
14566 if (PyErr_Occurred()) SWIG_fail
;
14568 resultobj
= SWIG_Py_Void();
14575 SWIGINTERN PyObject
*_wrap_Process_Redirect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14576 PyObject
*resultobj
= 0;
14577 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14580 PyObject
*swig_obj
[1] ;
14582 if (!args
) SWIG_fail
;
14583 swig_obj
[0] = args
;
14584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14585 if (!SWIG_IsOK(res1
)) {
14586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Redirect" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14588 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14591 (arg1
)->Redirect();
14592 wxPyEndAllowThreads(__tstate
);
14593 if (PyErr_Occurred()) SWIG_fail
;
14595 resultobj
= SWIG_Py_Void();
14602 SWIGINTERN PyObject
*_wrap_Process_IsRedirected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14603 PyObject
*resultobj
= 0;
14604 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14608 PyObject
*swig_obj
[1] ;
14610 if (!args
) SWIG_fail
;
14611 swig_obj
[0] = args
;
14612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14613 if (!SWIG_IsOK(res1
)) {
14614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsRedirected" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14616 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14619 result
= (bool)(arg1
)->IsRedirected();
14620 wxPyEndAllowThreads(__tstate
);
14621 if (PyErr_Occurred()) SWIG_fail
;
14624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14632 SWIGINTERN PyObject
*_wrap_Process_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14633 PyObject
*resultobj
= 0;
14634 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14637 PyObject
*swig_obj
[1] ;
14639 if (!args
) SWIG_fail
;
14640 swig_obj
[0] = args
;
14641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14642 if (!SWIG_IsOK(res1
)) {
14643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Detach" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14645 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14649 wxPyEndAllowThreads(__tstate
);
14650 if (PyErr_Occurred()) SWIG_fail
;
14652 resultobj
= SWIG_Py_Void();
14659 SWIGINTERN PyObject
*_wrap_Process_GetInputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14660 PyObject
*resultobj
= 0;
14661 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14662 wxInputStream
*result
= 0 ;
14665 PyObject
*swig_obj
[1] ;
14667 if (!args
) SWIG_fail
;
14668 swig_obj
[0] = args
;
14669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14670 if (!SWIG_IsOK(res1
)) {
14671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetInputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14673 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14676 result
= (wxInputStream
*)(arg1
)->GetInputStream();
14677 wxPyEndAllowThreads(__tstate
);
14678 if (PyErr_Occurred()) SWIG_fail
;
14681 wxPyInputStream
* _ptr
= NULL
;
14684 _ptr
= new wxPyInputStream(result
);
14686 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
14694 SWIGINTERN PyObject
*_wrap_Process_GetErrorStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14695 PyObject
*resultobj
= 0;
14696 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14697 wxInputStream
*result
= 0 ;
14700 PyObject
*swig_obj
[1] ;
14702 if (!args
) SWIG_fail
;
14703 swig_obj
[0] = args
;
14704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14705 if (!SWIG_IsOK(res1
)) {
14706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetErrorStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14708 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14711 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
14712 wxPyEndAllowThreads(__tstate
);
14713 if (PyErr_Occurred()) SWIG_fail
;
14716 wxPyInputStream
* _ptr
= NULL
;
14719 _ptr
= new wxPyInputStream(result
);
14721 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
14729 SWIGINTERN PyObject
*_wrap_Process_GetOutputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14730 PyObject
*resultobj
= 0;
14731 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14732 wxOutputStream
*result
= 0 ;
14735 PyObject
*swig_obj
[1] ;
14737 if (!args
) SWIG_fail
;
14738 swig_obj
[0] = args
;
14739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14740 if (!SWIG_IsOK(res1
)) {
14741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetOutputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14743 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14746 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
14747 wxPyEndAllowThreads(__tstate
);
14748 if (PyErr_Occurred()) SWIG_fail
;
14750 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOutputStream
, 0 | 0 );
14757 SWIGINTERN PyObject
*_wrap_Process_CloseOutput(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14758 PyObject
*resultobj
= 0;
14759 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14762 PyObject
*swig_obj
[1] ;
14764 if (!args
) SWIG_fail
;
14765 swig_obj
[0] = args
;
14766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14767 if (!SWIG_IsOK(res1
)) {
14768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_CloseOutput" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14770 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14773 (arg1
)->CloseOutput();
14774 wxPyEndAllowThreads(__tstate
);
14775 if (PyErr_Occurred()) SWIG_fail
;
14777 resultobj
= SWIG_Py_Void();
14784 SWIGINTERN PyObject
*_wrap_Process_IsInputOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14785 PyObject
*resultobj
= 0;
14786 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14790 PyObject
*swig_obj
[1] ;
14792 if (!args
) SWIG_fail
;
14793 swig_obj
[0] = args
;
14794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14795 if (!SWIG_IsOK(res1
)) {
14796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputOpened" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
14798 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14801 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
14802 wxPyEndAllowThreads(__tstate
);
14803 if (PyErr_Occurred()) SWIG_fail
;
14806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14814 SWIGINTERN PyObject
*_wrap_Process_IsInputAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14815 PyObject
*resultobj
= 0;
14816 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14820 PyObject
*swig_obj
[1] ;
14822 if (!args
) SWIG_fail
;
14823 swig_obj
[0] = args
;
14824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14825 if (!SWIG_IsOK(res1
)) {
14826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
14828 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14831 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
14832 wxPyEndAllowThreads(__tstate
);
14833 if (PyErr_Occurred()) SWIG_fail
;
14836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14844 SWIGINTERN PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14845 PyObject
*resultobj
= 0;
14846 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14850 PyObject
*swig_obj
[1] ;
14852 if (!args
) SWIG_fail
;
14853 swig_obj
[0] = args
;
14854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14855 if (!SWIG_IsOK(res1
)) {
14856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsErrorAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
14858 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14861 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
14862 wxPyEndAllowThreads(__tstate
);
14863 if (PyErr_Occurred()) SWIG_fail
;
14866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14874 SWIGINTERN PyObject
*Process_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14876 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14877 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyProcess
, SWIG_NewClientData(obj
));
14878 return SWIG_Py_Void();
14881 SWIGINTERN PyObject
*Process_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14882 return SWIG_Python_InitShadowInstance(args
);
14885 SWIGINTERN PyObject
*_wrap_new_ProcessEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14886 PyObject
*resultobj
= 0;
14887 int arg1
= (int) 0 ;
14888 int arg2
= (int) 0 ;
14889 int arg3
= (int) 0 ;
14890 wxProcessEvent
*result
= 0 ;
14897 PyObject
* obj0
= 0 ;
14898 PyObject
* obj1
= 0 ;
14899 PyObject
* obj2
= 0 ;
14900 char * kwnames
[] = {
14901 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
14904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14906 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14907 if (!SWIG_IsOK(ecode1
)) {
14908 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ProcessEvent" "', expected argument " "1"" of type '" "int""'");
14910 arg1
= static_cast< int >(val1
);
14913 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14914 if (!SWIG_IsOK(ecode2
)) {
14915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ProcessEvent" "', expected argument " "2"" of type '" "int""'");
14917 arg2
= static_cast< int >(val2
);
14920 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14921 if (!SWIG_IsOK(ecode3
)) {
14922 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProcessEvent" "', expected argument " "3"" of type '" "int""'");
14924 arg3
= static_cast< int >(val3
);
14927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14928 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
14929 wxPyEndAllowThreads(__tstate
);
14930 if (PyErr_Occurred()) SWIG_fail
;
14932 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_NEW
| 0 );
14939 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14940 PyObject
*resultobj
= 0;
14941 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14945 PyObject
*swig_obj
[1] ;
14947 if (!args
) SWIG_fail
;
14948 swig_obj
[0] = args
;
14949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14950 if (!SWIG_IsOK(res1
)) {
14951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetPid" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14953 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14956 result
= (int)(arg1
)->GetPid();
14957 wxPyEndAllowThreads(__tstate
);
14958 if (PyErr_Occurred()) SWIG_fail
;
14960 resultobj
= SWIG_From_int(static_cast< int >(result
));
14967 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14968 PyObject
*resultobj
= 0;
14969 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14973 PyObject
*swig_obj
[1] ;
14975 if (!args
) SWIG_fail
;
14976 swig_obj
[0] = args
;
14977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14978 if (!SWIG_IsOK(res1
)) {
14979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetExitCode" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14981 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14984 result
= (int)(arg1
)->GetExitCode();
14985 wxPyEndAllowThreads(__tstate
);
14986 if (PyErr_Occurred()) SWIG_fail
;
14988 resultobj
= SWIG_From_int(static_cast< int >(result
));
14995 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14996 PyObject
*resultobj
= 0;
14997 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
15003 PyObject
*swig_obj
[2] ;
15005 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_pid_set",2,2,swig_obj
)) SWIG_fail
;
15006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
15007 if (!SWIG_IsOK(res1
)) {
15008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
15010 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
15011 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15012 if (!SWIG_IsOK(ecode2
)) {
15013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "2"" of type '" "int""'");
15015 arg2
= static_cast< int >(val2
);
15016 if (arg1
) (arg1
)->m_pid
= arg2
;
15018 resultobj
= SWIG_Py_Void();
15025 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15026 PyObject
*resultobj
= 0;
15027 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
15031 PyObject
*swig_obj
[1] ;
15033 if (!args
) SWIG_fail
;
15034 swig_obj
[0] = args
;
15035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
15036 if (!SWIG_IsOK(res1
)) {
15037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
15039 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
15040 result
= (int) ((arg1
)->m_pid
);
15041 resultobj
= SWIG_From_int(static_cast< int >(result
));
15048 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15049 PyObject
*resultobj
= 0;
15050 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
15056 PyObject
*swig_obj
[2] ;
15058 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_exitcode_set",2,2,swig_obj
)) SWIG_fail
;
15059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
15060 if (!SWIG_IsOK(res1
)) {
15061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
15063 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
15064 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15065 if (!SWIG_IsOK(ecode2
)) {
15066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "2"" of type '" "int""'");
15068 arg2
= static_cast< int >(val2
);
15069 if (arg1
) (arg1
)->m_exitcode
= arg2
;
15071 resultobj
= SWIG_Py_Void();
15078 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15079 PyObject
*resultobj
= 0;
15080 wxProcessEvent
*arg1
= (wxProcessEvent
*) 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_wxProcessEvent
, 0 | 0 );
15089 if (!SWIG_IsOK(res1
)) {
15090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
15092 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
15093 result
= (int) ((arg1
)->m_exitcode
);
15094 resultobj
= SWIG_From_int(static_cast< int >(result
));
15101 SWIGINTERN PyObject
*ProcessEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15103 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15104 SWIG_TypeNewClientData(SWIGTYPE_p_wxProcessEvent
, SWIG_NewClientData(obj
));
15105 return SWIG_Py_Void();
15108 SWIGINTERN PyObject
*ProcessEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15109 return SWIG_Python_InitShadowInstance(args
);
15112 SWIGINTERN PyObject
*_wrap_Execute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15113 PyObject
*resultobj
= 0;
15114 wxString
*arg1
= 0 ;
15115 int arg2
= (int) wxEXEC_ASYNC
;
15116 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
15118 bool temp1
= false ;
15123 PyObject
* obj0
= 0 ;
15124 PyObject
* obj1
= 0 ;
15125 PyObject
* obj2
= 0 ;
15126 char * kwnames
[] = {
15127 (char *) "command",(char *) "flags",(char *) "process", NULL
15130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15132 arg1
= wxString_in_helper(obj0
);
15133 if (arg1
== NULL
) SWIG_fail
;
15137 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15138 if (!SWIG_IsOK(ecode2
)) {
15139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Execute" "', expected argument " "2"" of type '" "int""'");
15141 arg2
= static_cast< int >(val2
);
15144 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
15145 if (!SWIG_IsOK(res3
)) {
15146 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Execute" "', expected argument " "3"" of type '" "wxPyProcess *""'");
15148 arg3
= reinterpret_cast< wxPyProcess
* >(argp3
);
15151 if (!wxPyCheckForApp()) SWIG_fail
;
15152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15153 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
15154 wxPyEndAllowThreads(__tstate
);
15155 if (PyErr_Occurred()) SWIG_fail
;
15157 resultobj
= SWIG_From_long(static_cast< long >(result
));
15172 SWIGINTERN PyObject
*_wrap_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15173 PyObject
*resultobj
= 0;
15175 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
15176 wxKillError
*arg3
= (wxKillError
*) 0 ;
15177 int arg4
= (int) wxKILL_NOCHILDREN
;
15183 wxKillError temp3
;
15186 PyObject
* obj0
= 0 ;
15187 PyObject
* obj1
= 0 ;
15188 PyObject
* obj2
= 0 ;
15189 char * kwnames
[] = {
15190 (char *) "pid",(char *) "sig",(char *) "flags", NULL
15196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15197 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
15198 if (!SWIG_IsOK(ecode1
)) {
15199 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Kill" "', expected argument " "1"" of type '" "long""'");
15201 arg1
= static_cast< long >(val1
);
15203 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15204 if (!SWIG_IsOK(ecode2
)) {
15205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Kill" "', expected argument " "2"" of type '" "wxSignal""'");
15207 arg2
= static_cast< wxSignal
>(val2
);
15210 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
15211 if (!SWIG_IsOK(ecode4
)) {
15212 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Kill" "', expected argument " "4"" of type '" "int""'");
15214 arg4
= static_cast< int >(val4
);
15217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15218 result
= (int)wxKill(arg1
,arg2
,arg3
,arg4
);
15219 wxPyEndAllowThreads(__tstate
);
15220 if (PyErr_Occurred()) SWIG_fail
;
15222 resultobj
= SWIG_From_int(static_cast< int >(result
));
15225 o
= PyInt_FromLong((long) (*arg3
));
15229 resultobj
= SWIG_Python_AppendOutput(resultobj
, o
);
15238 SWIGINTERN PyObject
*_wrap_new_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15239 PyObject
*resultobj
= 0;
15240 int arg1
= (int) wxJOYSTICK1
;
15241 wxJoystick
*result
= 0 ;
15244 PyObject
* obj0
= 0 ;
15245 char * kwnames
[] = {
15246 (char *) "joystick", NULL
15249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) SWIG_fail
;
15251 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15252 if (!SWIG_IsOK(ecode1
)) {
15253 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Joystick" "', expected argument " "1"" of type '" "int""'");
15255 arg1
= static_cast< int >(val1
);
15258 if (!wxPyCheckForApp()) SWIG_fail
;
15259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15260 result
= (wxJoystick
*)new wxJoystick(arg1
);
15261 wxPyEndAllowThreads(__tstate
);
15262 if (PyErr_Occurred()) SWIG_fail
;
15264 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystick
, SWIG_POINTER_NEW
| 0 );
15271 SWIGINTERN PyObject
*_wrap_delete_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15272 PyObject
*resultobj
= 0;
15273 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15276 PyObject
*swig_obj
[1] ;
15278 if (!args
) SWIG_fail
;
15279 swig_obj
[0] = args
;
15280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, SWIG_POINTER_DISOWN
| 0 );
15281 if (!SWIG_IsOK(res1
)) {
15282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Joystick" "', expected argument " "1"" of type '" "wxJoystick *""'");
15284 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15289 wxPyEndAllowThreads(__tstate
);
15290 if (PyErr_Occurred()) SWIG_fail
;
15292 resultobj
= SWIG_Py_Void();
15299 SWIGINTERN PyObject
*_wrap_Joystick_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15300 PyObject
*resultobj
= 0;
15301 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15305 PyObject
*swig_obj
[1] ;
15307 if (!args
) SWIG_fail
;
15308 swig_obj
[0] = args
;
15309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15310 if (!SWIG_IsOK(res1
)) {
15311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15313 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15316 result
= (arg1
)->GetPosition();
15317 wxPyEndAllowThreads(__tstate
);
15318 if (PyErr_Occurred()) SWIG_fail
;
15320 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
15327 SWIGINTERN PyObject
*_wrap_Joystick_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15328 PyObject
*resultobj
= 0;
15329 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15333 PyObject
*swig_obj
[1] ;
15335 if (!args
) SWIG_fail
;
15336 swig_obj
[0] = args
;
15337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15338 if (!SWIG_IsOK(res1
)) {
15339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15341 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15344 result
= (int)(arg1
)->GetZPosition();
15345 wxPyEndAllowThreads(__tstate
);
15346 if (PyErr_Occurred()) SWIG_fail
;
15348 resultobj
= SWIG_From_int(static_cast< int >(result
));
15355 SWIGINTERN PyObject
*_wrap_Joystick_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15356 PyObject
*resultobj
= 0;
15357 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15361 PyObject
*swig_obj
[1] ;
15363 if (!args
) SWIG_fail
;
15364 swig_obj
[0] = args
;
15365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15366 if (!SWIG_IsOK(res1
)) {
15367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetButtonState" "', expected argument " "1"" of type '" "wxJoystick *""'");
15369 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15372 result
= (int)(arg1
)->GetButtonState();
15373 wxPyEndAllowThreads(__tstate
);
15374 if (PyErr_Occurred()) SWIG_fail
;
15376 resultobj
= SWIG_From_int(static_cast< int >(result
));
15383 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15384 PyObject
*resultobj
= 0;
15385 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15389 PyObject
*swig_obj
[1] ;
15391 if (!args
) SWIG_fail
;
15392 swig_obj
[0] = args
;
15393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15394 if (!SWIG_IsOK(res1
)) {
15395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15397 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15400 result
= (int)(arg1
)->GetPOVPosition();
15401 wxPyEndAllowThreads(__tstate
);
15402 if (PyErr_Occurred()) SWIG_fail
;
15404 resultobj
= SWIG_From_int(static_cast< int >(result
));
15411 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15412 PyObject
*resultobj
= 0;
15413 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15417 PyObject
*swig_obj
[1] ;
15419 if (!args
) SWIG_fail
;
15420 swig_obj
[0] = args
;
15421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15422 if (!SWIG_IsOK(res1
)) {
15423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVCTSPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15425 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15428 result
= (int)(arg1
)->GetPOVCTSPosition();
15429 wxPyEndAllowThreads(__tstate
);
15430 if (PyErr_Occurred()) SWIG_fail
;
15432 resultobj
= SWIG_From_int(static_cast< int >(result
));
15439 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15440 PyObject
*resultobj
= 0;
15441 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15445 PyObject
*swig_obj
[1] ;
15447 if (!args
) SWIG_fail
;
15448 swig_obj
[0] = args
;
15449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15450 if (!SWIG_IsOK(res1
)) {
15451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15453 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15456 result
= (int)(arg1
)->GetRudderPosition();
15457 wxPyEndAllowThreads(__tstate
);
15458 if (PyErr_Occurred()) SWIG_fail
;
15460 resultobj
= SWIG_From_int(static_cast< int >(result
));
15467 SWIGINTERN PyObject
*_wrap_Joystick_GetUPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15468 PyObject
*resultobj
= 0;
15469 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15473 PyObject
*swig_obj
[1] ;
15475 if (!args
) SWIG_fail
;
15476 swig_obj
[0] = args
;
15477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15478 if (!SWIG_IsOK(res1
)) {
15479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15481 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15484 result
= (int)(arg1
)->GetUPosition();
15485 wxPyEndAllowThreads(__tstate
);
15486 if (PyErr_Occurred()) SWIG_fail
;
15488 resultobj
= SWIG_From_int(static_cast< int >(result
));
15495 SWIGINTERN PyObject
*_wrap_Joystick_GetVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15496 PyObject
*resultobj
= 0;
15497 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15501 PyObject
*swig_obj
[1] ;
15503 if (!args
) SWIG_fail
;
15504 swig_obj
[0] = args
;
15505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15506 if (!SWIG_IsOK(res1
)) {
15507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15509 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15512 result
= (int)(arg1
)->GetVPosition();
15513 wxPyEndAllowThreads(__tstate
);
15514 if (PyErr_Occurred()) SWIG_fail
;
15516 resultobj
= SWIG_From_int(static_cast< int >(result
));
15523 SWIGINTERN PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15524 PyObject
*resultobj
= 0;
15525 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15529 PyObject
*swig_obj
[1] ;
15531 if (!args
) SWIG_fail
;
15532 swig_obj
[0] = args
;
15533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15534 if (!SWIG_IsOK(res1
)) {
15535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
15537 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15540 result
= (int)(arg1
)->GetMovementThreshold();
15541 wxPyEndAllowThreads(__tstate
);
15542 if (PyErr_Occurred()) SWIG_fail
;
15544 resultobj
= SWIG_From_int(static_cast< int >(result
));
15551 SWIGINTERN PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15552 PyObject
*resultobj
= 0;
15553 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15559 PyObject
* obj0
= 0 ;
15560 PyObject
* obj1
= 0 ;
15561 char * kwnames
[] = {
15562 (char *) "self",(char *) "threshold", NULL
15565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15567 if (!SWIG_IsOK(res1
)) {
15568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
15570 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15571 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15572 if (!SWIG_IsOK(ecode2
)) {
15573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "2"" of type '" "int""'");
15575 arg2
= static_cast< int >(val2
);
15577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15578 (arg1
)->SetMovementThreshold(arg2
);
15579 wxPyEndAllowThreads(__tstate
);
15580 if (PyErr_Occurred()) SWIG_fail
;
15582 resultobj
= SWIG_Py_Void();
15589 SWIGINTERN PyObject
*_wrap_Joystick_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15590 PyObject
*resultobj
= 0;
15591 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15595 PyObject
*swig_obj
[1] ;
15597 if (!args
) SWIG_fail
;
15598 swig_obj
[0] = args
;
15599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15600 if (!SWIG_IsOK(res1
)) {
15601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_IsOk" "', expected argument " "1"" of type '" "wxJoystick *""'");
15603 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15606 result
= (bool)(arg1
)->IsOk();
15607 wxPyEndAllowThreads(__tstate
);
15608 if (PyErr_Occurred()) SWIG_fail
;
15611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15619 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15620 PyObject
*resultobj
= 0;
15621 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15625 PyObject
*swig_obj
[1] ;
15627 if (!args
) SWIG_fail
;
15628 swig_obj
[0] = args
;
15629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15630 if (!SWIG_IsOK(res1
)) {
15631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberJoysticks" "', expected argument " "1"" of type '" "wxJoystick *""'");
15633 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15636 result
= (int)(arg1
)->GetNumberJoysticks();
15637 wxPyEndAllowThreads(__tstate
);
15638 if (PyErr_Occurred()) SWIG_fail
;
15640 resultobj
= SWIG_From_int(static_cast< int >(result
));
15647 SWIGINTERN PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15648 PyObject
*resultobj
= 0;
15649 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15653 PyObject
*swig_obj
[1] ;
15655 if (!args
) SWIG_fail
;
15656 swig_obj
[0] = args
;
15657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15658 if (!SWIG_IsOK(res1
)) {
15659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetManufacturerId" "', expected argument " "1"" of type '" "wxJoystick *""'");
15661 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15664 result
= (int)(arg1
)->GetManufacturerId();
15665 wxPyEndAllowThreads(__tstate
);
15666 if (PyErr_Occurred()) SWIG_fail
;
15668 resultobj
= SWIG_From_int(static_cast< int >(result
));
15675 SWIGINTERN PyObject
*_wrap_Joystick_GetProductId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15676 PyObject
*resultobj
= 0;
15677 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15681 PyObject
*swig_obj
[1] ;
15683 if (!args
) SWIG_fail
;
15684 swig_obj
[0] = args
;
15685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15686 if (!SWIG_IsOK(res1
)) {
15687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductId" "', expected argument " "1"" of type '" "wxJoystick *""'");
15689 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15692 result
= (int)(arg1
)->GetProductId();
15693 wxPyEndAllowThreads(__tstate
);
15694 if (PyErr_Occurred()) SWIG_fail
;
15696 resultobj
= SWIG_From_int(static_cast< int >(result
));
15703 SWIGINTERN PyObject
*_wrap_Joystick_GetProductName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15704 PyObject
*resultobj
= 0;
15705 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15709 PyObject
*swig_obj
[1] ;
15711 if (!args
) SWIG_fail
;
15712 swig_obj
[0] = args
;
15713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15714 if (!SWIG_IsOK(res1
)) {
15715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductName" "', expected argument " "1"" of type '" "wxJoystick *""'");
15717 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15720 result
= (arg1
)->GetProductName();
15721 wxPyEndAllowThreads(__tstate
);
15722 if (PyErr_Occurred()) SWIG_fail
;
15726 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15728 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15737 SWIGINTERN PyObject
*_wrap_Joystick_GetXMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15738 PyObject
*resultobj
= 0;
15739 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15743 PyObject
*swig_obj
[1] ;
15745 if (!args
) SWIG_fail
;
15746 swig_obj
[0] = args
;
15747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15748 if (!SWIG_IsOK(res1
)) {
15749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15751 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15754 result
= (int)(arg1
)->GetXMin();
15755 wxPyEndAllowThreads(__tstate
);
15756 if (PyErr_Occurred()) SWIG_fail
;
15758 resultobj
= SWIG_From_int(static_cast< int >(result
));
15765 SWIGINTERN PyObject
*_wrap_Joystick_GetYMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15766 PyObject
*resultobj
= 0;
15767 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15771 PyObject
*swig_obj
[1] ;
15773 if (!args
) SWIG_fail
;
15774 swig_obj
[0] = args
;
15775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15776 if (!SWIG_IsOK(res1
)) {
15777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15779 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15782 result
= (int)(arg1
)->GetYMin();
15783 wxPyEndAllowThreads(__tstate
);
15784 if (PyErr_Occurred()) SWIG_fail
;
15786 resultobj
= SWIG_From_int(static_cast< int >(result
));
15793 SWIGINTERN PyObject
*_wrap_Joystick_GetZMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15794 PyObject
*resultobj
= 0;
15795 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15799 PyObject
*swig_obj
[1] ;
15801 if (!args
) SWIG_fail
;
15802 swig_obj
[0] = args
;
15803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15804 if (!SWIG_IsOK(res1
)) {
15805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15807 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15810 result
= (int)(arg1
)->GetZMin();
15811 wxPyEndAllowThreads(__tstate
);
15812 if (PyErr_Occurred()) SWIG_fail
;
15814 resultobj
= SWIG_From_int(static_cast< int >(result
));
15821 SWIGINTERN PyObject
*_wrap_Joystick_GetXMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15822 PyObject
*resultobj
= 0;
15823 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15827 PyObject
*swig_obj
[1] ;
15829 if (!args
) SWIG_fail
;
15830 swig_obj
[0] = args
;
15831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15832 if (!SWIG_IsOK(res1
)) {
15833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15835 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15838 result
= (int)(arg1
)->GetXMax();
15839 wxPyEndAllowThreads(__tstate
);
15840 if (PyErr_Occurred()) SWIG_fail
;
15842 resultobj
= SWIG_From_int(static_cast< int >(result
));
15849 SWIGINTERN PyObject
*_wrap_Joystick_GetYMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15850 PyObject
*resultobj
= 0;
15851 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15855 PyObject
*swig_obj
[1] ;
15857 if (!args
) SWIG_fail
;
15858 swig_obj
[0] = args
;
15859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15860 if (!SWIG_IsOK(res1
)) {
15861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15863 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15866 result
= (int)(arg1
)->GetYMax();
15867 wxPyEndAllowThreads(__tstate
);
15868 if (PyErr_Occurred()) SWIG_fail
;
15870 resultobj
= SWIG_From_int(static_cast< int >(result
));
15877 SWIGINTERN PyObject
*_wrap_Joystick_GetZMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15878 PyObject
*resultobj
= 0;
15879 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15883 PyObject
*swig_obj
[1] ;
15885 if (!args
) SWIG_fail
;
15886 swig_obj
[0] = args
;
15887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15888 if (!SWIG_IsOK(res1
)) {
15889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15891 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15894 result
= (int)(arg1
)->GetZMax();
15895 wxPyEndAllowThreads(__tstate
);
15896 if (PyErr_Occurred()) SWIG_fail
;
15898 resultobj
= SWIG_From_int(static_cast< int >(result
));
15905 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15906 PyObject
*resultobj
= 0;
15907 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15911 PyObject
*swig_obj
[1] ;
15913 if (!args
) SWIG_fail
;
15914 swig_obj
[0] = args
;
15915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15916 if (!SWIG_IsOK(res1
)) {
15917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
15919 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15922 result
= (int)(arg1
)->GetNumberButtons();
15923 wxPyEndAllowThreads(__tstate
);
15924 if (PyErr_Occurred()) SWIG_fail
;
15926 resultobj
= SWIG_From_int(static_cast< int >(result
));
15933 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15934 PyObject
*resultobj
= 0;
15935 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15939 PyObject
*swig_obj
[1] ;
15941 if (!args
) SWIG_fail
;
15942 swig_obj
[0] = args
;
15943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15944 if (!SWIG_IsOK(res1
)) {
15945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
15947 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15950 result
= (int)(arg1
)->GetNumberAxes();
15951 wxPyEndAllowThreads(__tstate
);
15952 if (PyErr_Occurred()) SWIG_fail
;
15954 resultobj
= SWIG_From_int(static_cast< int >(result
));
15961 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15962 PyObject
*resultobj
= 0;
15963 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15967 PyObject
*swig_obj
[1] ;
15969 if (!args
) SWIG_fail
;
15970 swig_obj
[0] = args
;
15971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15972 if (!SWIG_IsOK(res1
)) {
15973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
15975 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15978 result
= (int)(arg1
)->GetMaxButtons();
15979 wxPyEndAllowThreads(__tstate
);
15980 if (PyErr_Occurred()) SWIG_fail
;
15982 resultobj
= SWIG_From_int(static_cast< int >(result
));
15989 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15990 PyObject
*resultobj
= 0;
15991 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15995 PyObject
*swig_obj
[1] ;
15997 if (!args
) SWIG_fail
;
15998 swig_obj
[0] = args
;
15999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16000 if (!SWIG_IsOK(res1
)) {
16001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
16003 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16006 result
= (int)(arg1
)->GetMaxAxes();
16007 wxPyEndAllowThreads(__tstate
);
16008 if (PyErr_Occurred()) SWIG_fail
;
16010 resultobj
= SWIG_From_int(static_cast< int >(result
));
16017 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16018 PyObject
*resultobj
= 0;
16019 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16023 PyObject
*swig_obj
[1] ;
16025 if (!args
) SWIG_fail
;
16026 swig_obj
[0] = args
;
16027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16028 if (!SWIG_IsOK(res1
)) {
16029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
16031 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16034 result
= (int)(arg1
)->GetPollingMin();
16035 wxPyEndAllowThreads(__tstate
);
16036 if (PyErr_Occurred()) SWIG_fail
;
16038 resultobj
= SWIG_From_int(static_cast< int >(result
));
16045 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16046 PyObject
*resultobj
= 0;
16047 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16051 PyObject
*swig_obj
[1] ;
16053 if (!args
) SWIG_fail
;
16054 swig_obj
[0] = args
;
16055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16056 if (!SWIG_IsOK(res1
)) {
16057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
16059 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16062 result
= (int)(arg1
)->GetPollingMax();
16063 wxPyEndAllowThreads(__tstate
);
16064 if (PyErr_Occurred()) SWIG_fail
;
16066 resultobj
= SWIG_From_int(static_cast< int >(result
));
16073 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16074 PyObject
*resultobj
= 0;
16075 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16079 PyObject
*swig_obj
[1] ;
16081 if (!args
) SWIG_fail
;
16082 swig_obj
[0] = args
;
16083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16084 if (!SWIG_IsOK(res1
)) {
16085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
16087 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16090 result
= (int)(arg1
)->GetRudderMin();
16091 wxPyEndAllowThreads(__tstate
);
16092 if (PyErr_Occurred()) SWIG_fail
;
16094 resultobj
= SWIG_From_int(static_cast< int >(result
));
16101 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16102 PyObject
*resultobj
= 0;
16103 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16107 PyObject
*swig_obj
[1] ;
16109 if (!args
) SWIG_fail
;
16110 swig_obj
[0] = args
;
16111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16112 if (!SWIG_IsOK(res1
)) {
16113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
16115 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16118 result
= (int)(arg1
)->GetRudderMax();
16119 wxPyEndAllowThreads(__tstate
);
16120 if (PyErr_Occurred()) SWIG_fail
;
16122 resultobj
= SWIG_From_int(static_cast< int >(result
));
16129 SWIGINTERN PyObject
*_wrap_Joystick_GetUMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16130 PyObject
*resultobj
= 0;
16131 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16135 PyObject
*swig_obj
[1] ;
16137 if (!args
) SWIG_fail
;
16138 swig_obj
[0] = args
;
16139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16140 if (!SWIG_IsOK(res1
)) {
16141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
16143 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16146 result
= (int)(arg1
)->GetUMin();
16147 wxPyEndAllowThreads(__tstate
);
16148 if (PyErr_Occurred()) SWIG_fail
;
16150 resultobj
= SWIG_From_int(static_cast< int >(result
));
16157 SWIGINTERN PyObject
*_wrap_Joystick_GetUMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16158 PyObject
*resultobj
= 0;
16159 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16163 PyObject
*swig_obj
[1] ;
16165 if (!args
) SWIG_fail
;
16166 swig_obj
[0] = args
;
16167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16168 if (!SWIG_IsOK(res1
)) {
16169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
16171 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16174 result
= (int)(arg1
)->GetUMax();
16175 wxPyEndAllowThreads(__tstate
);
16176 if (PyErr_Occurred()) SWIG_fail
;
16178 resultobj
= SWIG_From_int(static_cast< int >(result
));
16185 SWIGINTERN PyObject
*_wrap_Joystick_GetVMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16186 PyObject
*resultobj
= 0;
16187 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16191 PyObject
*swig_obj
[1] ;
16193 if (!args
) SWIG_fail
;
16194 swig_obj
[0] = args
;
16195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16196 if (!SWIG_IsOK(res1
)) {
16197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
16199 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16202 result
= (int)(arg1
)->GetVMin();
16203 wxPyEndAllowThreads(__tstate
);
16204 if (PyErr_Occurred()) SWIG_fail
;
16206 resultobj
= SWIG_From_int(static_cast< int >(result
));
16213 SWIGINTERN PyObject
*_wrap_Joystick_GetVMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16214 PyObject
*resultobj
= 0;
16215 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16219 PyObject
*swig_obj
[1] ;
16221 if (!args
) SWIG_fail
;
16222 swig_obj
[0] = args
;
16223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16224 if (!SWIG_IsOK(res1
)) {
16225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
16227 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16230 result
= (int)(arg1
)->GetVMax();
16231 wxPyEndAllowThreads(__tstate
);
16232 if (PyErr_Occurred()) SWIG_fail
;
16234 resultobj
= SWIG_From_int(static_cast< int >(result
));
16241 SWIGINTERN PyObject
*_wrap_Joystick_HasRudder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16242 PyObject
*resultobj
= 0;
16243 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16247 PyObject
*swig_obj
[1] ;
16249 if (!args
) SWIG_fail
;
16250 swig_obj
[0] = args
;
16251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16252 if (!SWIG_IsOK(res1
)) {
16253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasRudder" "', expected argument " "1"" of type '" "wxJoystick *""'");
16255 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16258 result
= (bool)(arg1
)->HasRudder();
16259 wxPyEndAllowThreads(__tstate
);
16260 if (PyErr_Occurred()) SWIG_fail
;
16263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16271 SWIGINTERN PyObject
*_wrap_Joystick_HasZ(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16272 PyObject
*resultobj
= 0;
16273 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16277 PyObject
*swig_obj
[1] ;
16279 if (!args
) SWIG_fail
;
16280 swig_obj
[0] = args
;
16281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16282 if (!SWIG_IsOK(res1
)) {
16283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasZ" "', expected argument " "1"" of type '" "wxJoystick *""'");
16285 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16288 result
= (bool)(arg1
)->HasZ();
16289 wxPyEndAllowThreads(__tstate
);
16290 if (PyErr_Occurred()) SWIG_fail
;
16293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16301 SWIGINTERN PyObject
*_wrap_Joystick_HasU(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16302 PyObject
*resultobj
= 0;
16303 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16307 PyObject
*swig_obj
[1] ;
16309 if (!args
) SWIG_fail
;
16310 swig_obj
[0] = args
;
16311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16312 if (!SWIG_IsOK(res1
)) {
16313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasU" "', expected argument " "1"" of type '" "wxJoystick *""'");
16315 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16318 result
= (bool)(arg1
)->HasU();
16319 wxPyEndAllowThreads(__tstate
);
16320 if (PyErr_Occurred()) SWIG_fail
;
16323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16331 SWIGINTERN PyObject
*_wrap_Joystick_HasV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16332 PyObject
*resultobj
= 0;
16333 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16337 PyObject
*swig_obj
[1] ;
16339 if (!args
) SWIG_fail
;
16340 swig_obj
[0] = args
;
16341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16342 if (!SWIG_IsOK(res1
)) {
16343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasV" "', expected argument " "1"" of type '" "wxJoystick *""'");
16345 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16348 result
= (bool)(arg1
)->HasV();
16349 wxPyEndAllowThreads(__tstate
);
16350 if (PyErr_Occurred()) SWIG_fail
;
16353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16361 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16362 PyObject
*resultobj
= 0;
16363 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16367 PyObject
*swig_obj
[1] ;
16369 if (!args
) SWIG_fail
;
16370 swig_obj
[0] = args
;
16371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16372 if (!SWIG_IsOK(res1
)) {
16373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV" "', expected argument " "1"" of type '" "wxJoystick *""'");
16375 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16378 result
= (bool)(arg1
)->HasPOV();
16379 wxPyEndAllowThreads(__tstate
);
16380 if (PyErr_Occurred()) SWIG_fail
;
16383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16391 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16392 PyObject
*resultobj
= 0;
16393 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16397 PyObject
*swig_obj
[1] ;
16399 if (!args
) SWIG_fail
;
16400 swig_obj
[0] = args
;
16401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16402 if (!SWIG_IsOK(res1
)) {
16403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV4Dir" "', expected argument " "1"" of type '" "wxJoystick *""'");
16405 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16408 result
= (bool)(arg1
)->HasPOV4Dir();
16409 wxPyEndAllowThreads(__tstate
);
16410 if (PyErr_Occurred()) SWIG_fail
;
16413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16421 SWIGINTERN PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16422 PyObject
*resultobj
= 0;
16423 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16427 PyObject
*swig_obj
[1] ;
16429 if (!args
) SWIG_fail
;
16430 swig_obj
[0] = args
;
16431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16432 if (!SWIG_IsOK(res1
)) {
16433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOVCTS" "', expected argument " "1"" of type '" "wxJoystick *""'");
16435 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16438 result
= (bool)(arg1
)->HasPOVCTS();
16439 wxPyEndAllowThreads(__tstate
);
16440 if (PyErr_Occurred()) SWIG_fail
;
16443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16451 SWIGINTERN PyObject
*_wrap_Joystick_SetCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16452 PyObject
*resultobj
= 0;
16453 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16454 wxWindow
*arg2
= (wxWindow
*) 0 ;
16455 int arg3
= (int) 0 ;
16463 PyObject
* obj0
= 0 ;
16464 PyObject
* obj1
= 0 ;
16465 PyObject
* obj2
= 0 ;
16466 char * kwnames
[] = {
16467 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
16470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16472 if (!SWIG_IsOK(res1
)) {
16473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
16475 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16476 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16477 if (!SWIG_IsOK(res2
)) {
16478 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Joystick_SetCapture" "', expected argument " "2"" of type '" "wxWindow *""'");
16480 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16482 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16483 if (!SWIG_IsOK(ecode3
)) {
16484 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Joystick_SetCapture" "', expected argument " "3"" of type '" "int""'");
16486 arg3
= static_cast< int >(val3
);
16489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16490 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
16491 wxPyEndAllowThreads(__tstate
);
16492 if (PyErr_Occurred()) SWIG_fail
;
16495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16503 SWIGINTERN PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16504 PyObject
*resultobj
= 0;
16505 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16509 PyObject
*swig_obj
[1] ;
16511 if (!args
) SWIG_fail
;
16512 swig_obj
[0] = args
;
16513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16514 if (!SWIG_IsOK(res1
)) {
16515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_ReleaseCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
16517 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16520 result
= (bool)(arg1
)->ReleaseCapture();
16521 wxPyEndAllowThreads(__tstate
);
16522 if (PyErr_Occurred()) SWIG_fail
;
16525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16533 SWIGINTERN PyObject
*Joystick_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16535 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16536 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystick
, SWIG_NewClientData(obj
));
16537 return SWIG_Py_Void();
16540 SWIGINTERN PyObject
*Joystick_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16541 return SWIG_Python_InitShadowInstance(args
);
16544 SWIGINTERN PyObject
*_wrap_new_JoystickEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16545 PyObject
*resultobj
= 0;
16546 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16547 int arg2
= (int) 0 ;
16548 int arg3
= (int) wxJOYSTICK1
;
16549 int arg4
= (int) 0 ;
16550 wxJoystickEvent
*result
= 0 ;
16559 PyObject
* obj0
= 0 ;
16560 PyObject
* obj1
= 0 ;
16561 PyObject
* obj2
= 0 ;
16562 PyObject
* obj3
= 0 ;
16563 char * kwnames
[] = {
16564 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
16567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16569 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16570 if (!SWIG_IsOK(ecode1
)) {
16571 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_JoystickEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16573 arg1
= static_cast< wxEventType
>(val1
);
16576 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16577 if (!SWIG_IsOK(ecode2
)) {
16578 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_JoystickEvent" "', expected argument " "2"" of type '" "int""'");
16580 arg2
= static_cast< int >(val2
);
16583 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16584 if (!SWIG_IsOK(ecode3
)) {
16585 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_JoystickEvent" "', expected argument " "3"" of type '" "int""'");
16587 arg3
= static_cast< int >(val3
);
16590 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16591 if (!SWIG_IsOK(ecode4
)) {
16592 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_JoystickEvent" "', expected argument " "4"" of type '" "int""'");
16594 arg4
= static_cast< int >(val4
);
16597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16598 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
16599 wxPyEndAllowThreads(__tstate
);
16600 if (PyErr_Occurred()) SWIG_fail
;
16602 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_NEW
| 0 );
16609 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16610 PyObject
*resultobj
= 0;
16611 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16615 PyObject
*swig_obj
[1] ;
16617 if (!args
) SWIG_fail
;
16618 swig_obj
[0] = args
;
16619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16620 if (!SWIG_IsOK(res1
)) {
16621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16623 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16626 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
16627 wxPyEndAllowThreads(__tstate
);
16628 if (PyErr_Occurred()) SWIG_fail
;
16630 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
16637 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16638 PyObject
*resultobj
= 0;
16639 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16643 PyObject
*swig_obj
[1] ;
16645 if (!args
) SWIG_fail
;
16646 swig_obj
[0] = args
;
16647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16648 if (!SWIG_IsOK(res1
)) {
16649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16651 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16654 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
16655 wxPyEndAllowThreads(__tstate
);
16656 if (PyErr_Occurred()) SWIG_fail
;
16658 resultobj
= SWIG_From_int(static_cast< int >(result
));
16665 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16666 PyObject
*resultobj
= 0;
16667 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16671 PyObject
*swig_obj
[1] ;
16673 if (!args
) SWIG_fail
;
16674 swig_obj
[0] = args
;
16675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16676 if (!SWIG_IsOK(res1
)) {
16677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16679 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16682 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
16683 wxPyEndAllowThreads(__tstate
);
16684 if (PyErr_Occurred()) SWIG_fail
;
16686 resultobj
= SWIG_From_int(static_cast< int >(result
));
16693 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16694 PyObject
*resultobj
= 0;
16695 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16699 PyObject
*swig_obj
[1] ;
16701 if (!args
) SWIG_fail
;
16702 swig_obj
[0] = args
;
16703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16704 if (!SWIG_IsOK(res1
)) {
16705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16707 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16710 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
16711 wxPyEndAllowThreads(__tstate
);
16712 if (PyErr_Occurred()) SWIG_fail
;
16714 resultobj
= SWIG_From_int(static_cast< int >(result
));
16721 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16722 PyObject
*resultobj
= 0;
16723 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16727 PyObject
*swig_obj
[1] ;
16729 if (!args
) SWIG_fail
;
16730 swig_obj
[0] = args
;
16731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16732 if (!SWIG_IsOK(res1
)) {
16733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16735 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16738 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
16739 wxPyEndAllowThreads(__tstate
);
16740 if (PyErr_Occurred()) SWIG_fail
;
16742 resultobj
= SWIG_From_int(static_cast< int >(result
));
16749 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16750 PyObject
*resultobj
= 0;
16751 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16757 PyObject
* obj0
= 0 ;
16758 PyObject
* obj1
= 0 ;
16759 char * kwnames
[] = {
16760 (char *) "self",(char *) "stick", NULL
16763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16765 if (!SWIG_IsOK(res1
)) {
16766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16768 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16769 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16770 if (!SWIG_IsOK(ecode2
)) {
16771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "2"" of type '" "int""'");
16773 arg2
= static_cast< int >(val2
);
16775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16776 (arg1
)->SetJoystick(arg2
);
16777 wxPyEndAllowThreads(__tstate
);
16778 if (PyErr_Occurred()) SWIG_fail
;
16780 resultobj
= SWIG_Py_Void();
16787 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16788 PyObject
*resultobj
= 0;
16789 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16795 PyObject
* obj0
= 0 ;
16796 PyObject
* obj1
= 0 ;
16797 char * kwnames
[] = {
16798 (char *) "self",(char *) "state", NULL
16801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16803 if (!SWIG_IsOK(res1
)) {
16804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16806 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16807 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16808 if (!SWIG_IsOK(ecode2
)) {
16809 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "2"" of type '" "int""'");
16811 arg2
= static_cast< int >(val2
);
16813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16814 (arg1
)->SetButtonState(arg2
);
16815 wxPyEndAllowThreads(__tstate
);
16816 if (PyErr_Occurred()) SWIG_fail
;
16818 resultobj
= SWIG_Py_Void();
16825 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16826 PyObject
*resultobj
= 0;
16827 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16833 PyObject
* obj0
= 0 ;
16834 PyObject
* obj1
= 0 ;
16835 char * kwnames
[] = {
16836 (char *) "self",(char *) "change", NULL
16839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16841 if (!SWIG_IsOK(res1
)) {
16842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16844 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16846 if (!SWIG_IsOK(ecode2
)) {
16847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "2"" of type '" "int""'");
16849 arg2
= static_cast< int >(val2
);
16851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16852 (arg1
)->SetButtonChange(arg2
);
16853 wxPyEndAllowThreads(__tstate
);
16854 if (PyErr_Occurred()) SWIG_fail
;
16856 resultobj
= SWIG_Py_Void();
16863 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16864 PyObject
*resultobj
= 0;
16865 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16866 wxPoint
*arg2
= 0 ;
16870 PyObject
* obj0
= 0 ;
16871 PyObject
* obj1
= 0 ;
16872 char * kwnames
[] = {
16873 (char *) "self",(char *) "pos", NULL
16876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16878 if (!SWIG_IsOK(res1
)) {
16879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16881 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16884 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16888 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
16889 wxPyEndAllowThreads(__tstate
);
16890 if (PyErr_Occurred()) SWIG_fail
;
16892 resultobj
= SWIG_Py_Void();
16899 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16900 PyObject
*resultobj
= 0;
16901 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16907 PyObject
* obj0
= 0 ;
16908 PyObject
* obj1
= 0 ;
16909 char * kwnames
[] = {
16910 (char *) "self",(char *) "zPos", NULL
16913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16915 if (!SWIG_IsOK(res1
)) {
16916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16918 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16919 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16920 if (!SWIG_IsOK(ecode2
)) {
16921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "2"" of type '" "int""'");
16923 arg2
= static_cast< int >(val2
);
16925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16926 (arg1
)->SetZPosition(arg2
);
16927 wxPyEndAllowThreads(__tstate
);
16928 if (PyErr_Occurred()) SWIG_fail
;
16930 resultobj
= SWIG_Py_Void();
16937 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16938 PyObject
*resultobj
= 0;
16939 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16943 PyObject
*swig_obj
[1] ;
16945 if (!args
) SWIG_fail
;
16946 swig_obj
[0] = args
;
16947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16948 if (!SWIG_IsOK(res1
)) {
16949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsButton" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16951 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16954 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
16955 wxPyEndAllowThreads(__tstate
);
16956 if (PyErr_Occurred()) SWIG_fail
;
16959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16967 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16968 PyObject
*resultobj
= 0;
16969 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16973 PyObject
*swig_obj
[1] ;
16975 if (!args
) SWIG_fail
;
16976 swig_obj
[0] = args
;
16977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16978 if (!SWIG_IsOK(res1
)) {
16979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16981 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16984 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
16985 wxPyEndAllowThreads(__tstate
);
16986 if (PyErr_Occurred()) SWIG_fail
;
16989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16997 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16998 PyObject
*resultobj
= 0;
16999 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 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_wxJoystickEvent
, 0 | 0 );
17008 if (!SWIG_IsOK(res1
)) {
17009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsZMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
17011 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
17013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17014 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
17015 wxPyEndAllowThreads(__tstate
);
17016 if (PyErr_Occurred()) SWIG_fail
;
17019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17027 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17028 PyObject
*resultobj
= 0;
17029 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
17030 int arg2
= (int) wxJOY_BUTTON_ANY
;
17036 PyObject
* obj0
= 0 ;
17037 PyObject
* obj1
= 0 ;
17038 char * kwnames
[] = {
17039 (char *) "self",(char *) "but", NULL
17042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
17044 if (!SWIG_IsOK(res1
)) {
17045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
17047 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
17049 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17050 if (!SWIG_IsOK(ecode2
)) {
17051 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "2"" of type '" "int""'");
17053 arg2
= static_cast< int >(val2
);
17056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17057 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
17058 wxPyEndAllowThreads(__tstate
);
17059 if (PyErr_Occurred()) SWIG_fail
;
17062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17070 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17071 PyObject
*resultobj
= 0;
17072 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
17073 int arg2
= (int) wxJOY_BUTTON_ANY
;
17079 PyObject
* obj0
= 0 ;
17080 PyObject
* obj1
= 0 ;
17081 char * kwnames
[] = {
17082 (char *) "self",(char *) "but", NULL
17085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
17087 if (!SWIG_IsOK(res1
)) {
17088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
17090 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
17092 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17093 if (!SWIG_IsOK(ecode2
)) {
17094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "2"" of type '" "int""'");
17096 arg2
= static_cast< int >(val2
);
17099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17100 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
17101 wxPyEndAllowThreads(__tstate
);
17102 if (PyErr_Occurred()) SWIG_fail
;
17105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17113 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17114 PyObject
*resultobj
= 0;
17115 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
17116 int arg2
= (int) wxJOY_BUTTON_ANY
;
17122 PyObject
* obj0
= 0 ;
17123 PyObject
* obj1
= 0 ;
17124 char * kwnames
[] = {
17125 (char *) "self",(char *) "but", NULL
17128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
17130 if (!SWIG_IsOK(res1
)) {
17131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
17133 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
17135 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17136 if (!SWIG_IsOK(ecode2
)) {
17137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "2"" of type '" "int""'");
17139 arg2
= static_cast< int >(val2
);
17142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17143 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
17144 wxPyEndAllowThreads(__tstate
);
17145 if (PyErr_Occurred()) SWIG_fail
;
17148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17156 SWIGINTERN PyObject
*JoystickEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17158 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17159 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystickEvent
, SWIG_NewClientData(obj
));
17160 return SWIG_Py_Void();
17163 SWIGINTERN PyObject
*JoystickEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17164 return SWIG_Python_InitShadowInstance(args
);
17167 SWIGINTERN PyObject
*_wrap_new_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17168 PyObject
*resultobj
= 0;
17169 wxString
const &arg1_defvalue
= wxPyEmptyString
;
17170 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
17171 wxSound
*result
= 0 ;
17172 bool temp1
= false ;
17173 PyObject
* obj0
= 0 ;
17174 char * kwnames
[] = {
17175 (char *) "fileName", NULL
17178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) SWIG_fail
;
17181 arg1
= wxString_in_helper(obj0
);
17182 if (arg1
== NULL
) SWIG_fail
;
17187 if (!wxPyCheckForApp()) SWIG_fail
;
17188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17189 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
17190 wxPyEndAllowThreads(__tstate
);
17191 if (PyErr_Occurred()) SWIG_fail
;
17193 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_NEW
| 0 );
17208 SWIGINTERN PyObject
*_wrap_new_SoundFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17209 PyObject
*resultobj
= 0;
17210 PyObject
*arg1
= (PyObject
*) 0 ;
17211 wxSound
*result
= 0 ;
17212 PyObject
* obj0
= 0 ;
17213 char * kwnames
[] = {
17214 (char *) "data", NULL
17217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) SWIG_fail
;
17220 if (!wxPyCheckForApp()) SWIG_fail
;
17221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17222 result
= (wxSound
*)new_wxSound(arg1
);
17223 wxPyEndAllowThreads(__tstate
);
17224 if (PyErr_Occurred()) SWIG_fail
;
17226 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_OWN
| 0 );
17233 SWIGINTERN PyObject
*_wrap_delete_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17234 PyObject
*resultobj
= 0;
17235 wxSound
*arg1
= (wxSound
*) 0 ;
17238 PyObject
*swig_obj
[1] ;
17240 if (!args
) SWIG_fail
;
17241 swig_obj
[0] = args
;
17242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, SWIG_POINTER_DISOWN
| 0 );
17243 if (!SWIG_IsOK(res1
)) {
17244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Sound" "', expected argument " "1"" of type '" "wxSound *""'");
17246 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17251 wxPyEndAllowThreads(__tstate
);
17252 if (PyErr_Occurred()) SWIG_fail
;
17254 resultobj
= SWIG_Py_Void();
17261 SWIGINTERN PyObject
*_wrap_Sound_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17262 PyObject
*resultobj
= 0;
17263 wxSound
*arg1
= (wxSound
*) 0 ;
17264 wxString
*arg2
= 0 ;
17268 bool temp2
= false ;
17269 PyObject
* obj0
= 0 ;
17270 PyObject
* obj1
= 0 ;
17271 char * kwnames
[] = {
17272 (char *) "self",(char *) "fileName", NULL
17275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17277 if (!SWIG_IsOK(res1
)) {
17278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Create" "', expected argument " "1"" of type '" "wxSound *""'");
17280 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17282 arg2
= wxString_in_helper(obj1
);
17283 if (arg2
== NULL
) SWIG_fail
;
17287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17288 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
17289 wxPyEndAllowThreads(__tstate
);
17290 if (PyErr_Occurred()) SWIG_fail
;
17293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17309 SWIGINTERN PyObject
*_wrap_Sound_CreateFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17310 PyObject
*resultobj
= 0;
17311 wxSound
*arg1
= (wxSound
*) 0 ;
17312 PyObject
*arg2
= (PyObject
*) 0 ;
17316 PyObject
* obj0
= 0 ;
17317 PyObject
* obj1
= 0 ;
17318 char * kwnames
[] = {
17319 (char *) "self",(char *) "data", NULL
17322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17324 if (!SWIG_IsOK(res1
)) {
17325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_CreateFromData" "', expected argument " "1"" of type '" "wxSound *""'");
17327 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17331 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
17332 wxPyEndAllowThreads(__tstate
);
17333 if (PyErr_Occurred()) SWIG_fail
;
17336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17344 SWIGINTERN PyObject
*_wrap_Sound_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17345 PyObject
*resultobj
= 0;
17346 wxSound
*arg1
= (wxSound
*) 0 ;
17350 PyObject
*swig_obj
[1] ;
17352 if (!args
) SWIG_fail
;
17353 swig_obj
[0] = args
;
17354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17355 if (!SWIG_IsOK(res1
)) {
17356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_IsOk" "', expected argument " "1"" of type '" "wxSound *""'");
17358 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17361 result
= (bool)(arg1
)->IsOk();
17362 wxPyEndAllowThreads(__tstate
);
17363 if (PyErr_Occurred()) SWIG_fail
;
17366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17374 SWIGINTERN PyObject
*_wrap_Sound_Play(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17375 PyObject
*resultobj
= 0;
17376 wxSound
*arg1
= (wxSound
*) 0 ;
17377 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
17381 unsigned int val2
;
17383 PyObject
* obj0
= 0 ;
17384 PyObject
* obj1
= 0 ;
17385 char * kwnames
[] = {
17386 (char *) "self",(char *) "flags", NULL
17389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17391 if (!SWIG_IsOK(res1
)) {
17392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Play" "', expected argument " "1"" of type '" "wxSound const *""'");
17394 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17396 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17397 if (!SWIG_IsOK(ecode2
)) {
17398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_Play" "', expected argument " "2"" of type '" "unsigned int""'");
17400 arg2
= static_cast< unsigned int >(val2
);
17403 if (!wxPyCheckForApp()) SWIG_fail
;
17404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17405 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
17406 wxPyEndAllowThreads(__tstate
);
17407 if (PyErr_Occurred()) SWIG_fail
;
17410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17418 SWIGINTERN PyObject
*_wrap_Sound_PlaySound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17419 PyObject
*resultobj
= 0;
17420 wxString
*arg1
= 0 ;
17421 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
17423 bool temp1
= false ;
17424 unsigned int val2
;
17426 PyObject
* obj0
= 0 ;
17427 PyObject
* obj1
= 0 ;
17428 char * kwnames
[] = {
17429 (char *) "filename",(char *) "flags", NULL
17432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17434 arg1
= wxString_in_helper(obj0
);
17435 if (arg1
== NULL
) SWIG_fail
;
17439 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17440 if (!SWIG_IsOK(ecode2
)) {
17441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_PlaySound" "', expected argument " "2"" of type '" "unsigned int""'");
17443 arg2
= static_cast< unsigned int >(val2
);
17446 if (!wxPyCheckForApp()) SWIG_fail
;
17447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17448 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
17449 wxPyEndAllowThreads(__tstate
);
17450 if (PyErr_Occurred()) SWIG_fail
;
17453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17469 SWIGINTERN PyObject
*_wrap_Sound_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17470 PyObject
*resultobj
= 0;
17472 if (!SWIG_Python_UnpackTuple(args
,"Sound_Stop",0,0,0)) SWIG_fail
;
17474 if (!wxPyCheckForApp()) SWIG_fail
;
17475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17477 wxPyEndAllowThreads(__tstate
);
17478 if (PyErr_Occurred()) SWIG_fail
;
17480 resultobj
= SWIG_Py_Void();
17487 SWIGINTERN PyObject
*Sound_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17489 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17490 SWIG_TypeNewClientData(SWIGTYPE_p_wxSound
, SWIG_NewClientData(obj
));
17491 return SWIG_Py_Void();
17494 SWIGINTERN PyObject
*Sound_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17495 return SWIG_Python_InitShadowInstance(args
);
17498 SWIGINTERN PyObject
*_wrap_new_FileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17499 PyObject
*resultobj
= 0;
17500 wxString
*arg1
= 0 ;
17501 wxString
*arg2
= 0 ;
17502 wxString
*arg3
= 0 ;
17503 wxString
*arg4
= 0 ;
17504 wxFileTypeInfo
*result
= 0 ;
17505 bool temp1
= false ;
17506 bool temp2
= false ;
17507 bool temp3
= false ;
17508 bool temp4
= false ;
17509 PyObject
* obj0
= 0 ;
17510 PyObject
* obj1
= 0 ;
17511 PyObject
* obj2
= 0 ;
17512 PyObject
* obj3
= 0 ;
17513 char * kwnames
[] = {
17514 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
17517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17519 arg1
= wxString_in_helper(obj0
);
17520 if (arg1
== NULL
) SWIG_fail
;
17524 arg2
= wxString_in_helper(obj1
);
17525 if (arg2
== NULL
) SWIG_fail
;
17529 arg3
= wxString_in_helper(obj2
);
17530 if (arg3
== NULL
) SWIG_fail
;
17534 arg4
= wxString_in_helper(obj3
);
17535 if (arg4
== NULL
) SWIG_fail
;
17539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17540 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
17541 wxPyEndAllowThreads(__tstate
);
17542 if (PyErr_Occurred()) SWIG_fail
;
17544 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_NEW
| 0 );
17583 SWIGINTERN PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17584 PyObject
*resultobj
= 0;
17585 wxArrayString
*arg1
= 0 ;
17586 wxFileTypeInfo
*result
= 0 ;
17587 bool temp1
= false ;
17588 PyObject
* obj0
= 0 ;
17589 char * kwnames
[] = {
17590 (char *) "sArray", NULL
17593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) SWIG_fail
;
17595 if (! PySequence_Check(obj0
)) {
17596 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
17599 arg1
= new wxArrayString
;
17601 int i
, len
=PySequence_Length(obj0
);
17602 for (i
=0; i
<len
; i
++) {
17603 PyObject
* item
= PySequence_GetItem(obj0
, i
);
17604 wxString
* s
= wxString_in_helper(item
);
17605 if (PyErr_Occurred()) SWIG_fail
;
17612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17613 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
17614 wxPyEndAllowThreads(__tstate
);
17615 if (PyErr_Occurred()) SWIG_fail
;
17617 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
17619 if (temp1
) delete arg1
;
17624 if (temp1
) delete arg1
;
17630 SWIGINTERN PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17631 PyObject
*resultobj
= 0;
17632 wxFileTypeInfo
*result
= 0 ;
17634 if (!SWIG_Python_UnpackTuple(args
,"new_NullFileTypeInfo",0,0,0)) SWIG_fail
;
17636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17637 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
17638 wxPyEndAllowThreads(__tstate
);
17639 if (PyErr_Occurred()) SWIG_fail
;
17641 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
17648 SWIGINTERN PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17649 PyObject
*resultobj
= 0;
17650 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17654 PyObject
*swig_obj
[1] ;
17656 if (!args
) SWIG_fail
;
17657 swig_obj
[0] = args
;
17658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17659 if (!SWIG_IsOK(res1
)) {
17660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_IsValid" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17662 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17665 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
17666 wxPyEndAllowThreads(__tstate
);
17667 if (PyErr_Occurred()) SWIG_fail
;
17670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17678 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17679 PyObject
*resultobj
= 0;
17680 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17681 wxString
*arg2
= 0 ;
17682 int arg3
= (int) 0 ;
17685 bool temp2
= false ;
17688 PyObject
* obj0
= 0 ;
17689 PyObject
* obj1
= 0 ;
17690 PyObject
* obj2
= 0 ;
17691 char * kwnames
[] = {
17692 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
17695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17697 if (!SWIG_IsOK(res1
)) {
17698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
17700 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17702 arg2
= wxString_in_helper(obj1
);
17703 if (arg2
== NULL
) SWIG_fail
;
17707 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17708 if (!SWIG_IsOK(ecode3
)) {
17709 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "3"" of type '" "int""'");
17711 arg3
= static_cast< int >(val3
);
17714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17715 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
17716 wxPyEndAllowThreads(__tstate
);
17717 if (PyErr_Occurred()) SWIG_fail
;
17719 resultobj
= SWIG_Py_Void();
17734 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17735 PyObject
*resultobj
= 0;
17736 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17737 wxString
*arg2
= 0 ;
17740 bool temp2
= false ;
17741 PyObject
* obj0
= 0 ;
17742 PyObject
* obj1
= 0 ;
17743 char * kwnames
[] = {
17744 (char *) "self",(char *) "shortDesc", NULL
17747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17749 if (!SWIG_IsOK(res1
)) {
17750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
17752 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17754 arg2
= wxString_in_helper(obj1
);
17755 if (arg2
== NULL
) SWIG_fail
;
17759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17760 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
17761 wxPyEndAllowThreads(__tstate
);
17762 if (PyErr_Occurred()) SWIG_fail
;
17764 resultobj
= SWIG_Py_Void();
17779 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17780 PyObject
*resultobj
= 0;
17781 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17782 wxString
*result
= 0 ;
17785 PyObject
*swig_obj
[1] ;
17787 if (!args
) SWIG_fail
;
17788 swig_obj
[0] = args
;
17789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17790 if (!SWIG_IsOK(res1
)) {
17791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetMimeType" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17793 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17797 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
17798 result
= (wxString
*) &_result_ref
;
17800 wxPyEndAllowThreads(__tstate
);
17801 if (PyErr_Occurred()) SWIG_fail
;
17805 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17807 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17816 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17817 PyObject
*resultobj
= 0;
17818 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17819 wxString
*result
= 0 ;
17822 PyObject
*swig_obj
[1] ;
17824 if (!args
) SWIG_fail
;
17825 swig_obj
[0] = args
;
17826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17827 if (!SWIG_IsOK(res1
)) {
17828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17830 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17834 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
17835 result
= (wxString
*) &_result_ref
;
17837 wxPyEndAllowThreads(__tstate
);
17838 if (PyErr_Occurred()) SWIG_fail
;
17842 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17844 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17853 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17854 PyObject
*resultobj
= 0;
17855 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17856 wxString
*result
= 0 ;
17859 PyObject
*swig_obj
[1] ;
17861 if (!args
) SWIG_fail
;
17862 swig_obj
[0] = args
;
17863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17864 if (!SWIG_IsOK(res1
)) {
17865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17867 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17871 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
17872 result
= (wxString
*) &_result_ref
;
17874 wxPyEndAllowThreads(__tstate
);
17875 if (PyErr_Occurred()) SWIG_fail
;
17879 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17881 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17890 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17891 PyObject
*resultobj
= 0;
17892 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17893 wxString
*result
= 0 ;
17896 PyObject
*swig_obj
[1] ;
17898 if (!args
) SWIG_fail
;
17899 swig_obj
[0] = args
;
17900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17901 if (!SWIG_IsOK(res1
)) {
17902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17904 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17908 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
17909 result
= (wxString
*) &_result_ref
;
17911 wxPyEndAllowThreads(__tstate
);
17912 if (PyErr_Occurred()) SWIG_fail
;
17916 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17918 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17927 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17928 PyObject
*resultobj
= 0;
17929 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17930 wxString
*result
= 0 ;
17933 PyObject
*swig_obj
[1] ;
17935 if (!args
) SWIG_fail
;
17936 swig_obj
[0] = args
;
17937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17938 if (!SWIG_IsOK(res1
)) {
17939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetDescription" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17941 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17945 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
17946 result
= (wxString
*) &_result_ref
;
17948 wxPyEndAllowThreads(__tstate
);
17949 if (PyErr_Occurred()) SWIG_fail
;
17953 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17955 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17964 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17965 PyObject
*resultobj
= 0;
17966 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17967 wxArrayString
*result
= 0 ;
17970 PyObject
*swig_obj
[1] ;
17972 if (!args
) SWIG_fail
;
17973 swig_obj
[0] = args
;
17974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17975 if (!SWIG_IsOK(res1
)) {
17976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensions" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17978 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17982 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
17983 result
= (wxArrayString
*) &_result_ref
;
17985 wxPyEndAllowThreads(__tstate
);
17986 if (PyErr_Occurred()) SWIG_fail
;
17989 resultobj
= wxArrayString2PyList_helper(*result
);
17997 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17998 PyObject
*resultobj
= 0;
17999 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
18003 PyObject
*swig_obj
[1] ;
18005 if (!args
) SWIG_fail
;
18006 swig_obj
[0] = args
;
18007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
18008 if (!SWIG_IsOK(res1
)) {
18009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensionsCount" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
18011 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
18013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18014 result
= (size_t)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
18015 wxPyEndAllowThreads(__tstate
);
18016 if (PyErr_Occurred()) SWIG_fail
;
18018 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
18025 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18026 PyObject
*resultobj
= 0;
18027 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
18028 wxString
*result
= 0 ;
18031 PyObject
*swig_obj
[1] ;
18033 if (!args
) SWIG_fail
;
18034 swig_obj
[0] = args
;
18035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
18036 if (!SWIG_IsOK(res1
)) {
18037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconFile" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
18039 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
18041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18043 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
18044 result
= (wxString
*) &_result_ref
;
18046 wxPyEndAllowThreads(__tstate
);
18047 if (PyErr_Occurred()) SWIG_fail
;
18051 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18053 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18062 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18063 PyObject
*resultobj
= 0;
18064 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
18068 PyObject
*swig_obj
[1] ;
18070 if (!args
) SWIG_fail
;
18071 swig_obj
[0] = args
;
18072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
18073 if (!SWIG_IsOK(res1
)) {
18074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconIndex" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
18076 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
18078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18079 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
18080 wxPyEndAllowThreads(__tstate
);
18081 if (PyErr_Occurred()) SWIG_fail
;
18083 resultobj
= SWIG_From_int(static_cast< int >(result
));
18090 SWIGINTERN PyObject
*FileTypeInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18092 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18093 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileTypeInfo
, SWIG_NewClientData(obj
));
18094 return SWIG_Py_Void();
18097 SWIGINTERN PyObject
*FileTypeInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18098 return SWIG_Python_InitShadowInstance(args
);
18101 SWIGINTERN PyObject
*_wrap_new_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18102 PyObject
*resultobj
= 0;
18103 wxFileTypeInfo
*arg1
= 0 ;
18104 wxFileType
*result
= 0 ;
18107 PyObject
* obj0
= 0 ;
18108 char * kwnames
[] = {
18109 (char *) "ftInfo", NULL
18112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) SWIG_fail
;
18113 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
18114 if (!SWIG_IsOK(res1
)) {
18115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
18118 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
18120 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
18122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18123 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
18124 wxPyEndAllowThreads(__tstate
);
18125 if (PyErr_Occurred()) SWIG_fail
;
18127 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_NEW
| 0 );
18134 SWIGINTERN PyObject
*_wrap_delete_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18135 PyObject
*resultobj
= 0;
18136 wxFileType
*arg1
= (wxFileType
*) 0 ;
18139 PyObject
*swig_obj
[1] ;
18141 if (!args
) SWIG_fail
;
18142 swig_obj
[0] = args
;
18143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, SWIG_POINTER_DISOWN
| 0 );
18144 if (!SWIG_IsOK(res1
)) {
18145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileType" "', expected argument " "1"" of type '" "wxFileType *""'");
18147 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18152 wxPyEndAllowThreads(__tstate
);
18153 if (PyErr_Occurred()) SWIG_fail
;
18155 resultobj
= SWIG_Py_Void();
18162 SWIGINTERN PyObject
*_wrap_FileType_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18163 PyObject
*resultobj
= 0;
18164 wxFileType
*arg1
= (wxFileType
*) 0 ;
18165 PyObject
*result
= 0 ;
18168 PyObject
*swig_obj
[1] ;
18170 if (!args
) SWIG_fail
;
18171 swig_obj
[0] = args
;
18172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18173 if (!SWIG_IsOK(res1
)) {
18174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeType" "', expected argument " "1"" of type '" "wxFileType *""'");
18176 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18179 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
18180 wxPyEndAllowThreads(__tstate
);
18181 if (PyErr_Occurred()) SWIG_fail
;
18183 resultobj
= result
;
18190 SWIGINTERN PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18191 PyObject
*resultobj
= 0;
18192 wxFileType
*arg1
= (wxFileType
*) 0 ;
18193 PyObject
*result
= 0 ;
18196 PyObject
*swig_obj
[1] ;
18198 if (!args
) SWIG_fail
;
18199 swig_obj
[0] = args
;
18200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18201 if (!SWIG_IsOK(res1
)) {
18202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeTypes" "', expected argument " "1"" of type '" "wxFileType *""'");
18204 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18207 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
18208 wxPyEndAllowThreads(__tstate
);
18209 if (PyErr_Occurred()) SWIG_fail
;
18211 resultobj
= result
;
18218 SWIGINTERN PyObject
*_wrap_FileType_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18219 PyObject
*resultobj
= 0;
18220 wxFileType
*arg1
= (wxFileType
*) 0 ;
18221 PyObject
*result
= 0 ;
18224 PyObject
*swig_obj
[1] ;
18226 if (!args
) SWIG_fail
;
18227 swig_obj
[0] = args
;
18228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18229 if (!SWIG_IsOK(res1
)) {
18230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetExtensions" "', expected argument " "1"" of type '" "wxFileType *""'");
18232 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18235 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
18236 wxPyEndAllowThreads(__tstate
);
18237 if (PyErr_Occurred()) SWIG_fail
;
18239 resultobj
= result
;
18246 SWIGINTERN PyObject
*_wrap_FileType_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18247 PyObject
*resultobj
= 0;
18248 wxFileType
*arg1
= (wxFileType
*) 0 ;
18249 wxIcon
*result
= 0 ;
18252 PyObject
*swig_obj
[1] ;
18254 if (!args
) SWIG_fail
;
18255 swig_obj
[0] = args
;
18256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18257 if (!SWIG_IsOK(res1
)) {
18258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
18260 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18263 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
18264 wxPyEndAllowThreads(__tstate
);
18265 if (PyErr_Occurred()) SWIG_fail
;
18267 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
18274 SWIGINTERN PyObject
*_wrap_FileType_GetIconInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18275 PyObject
*resultobj
= 0;
18276 wxFileType
*arg1
= (wxFileType
*) 0 ;
18277 PyObject
*result
= 0 ;
18280 PyObject
*swig_obj
[1] ;
18282 if (!args
) SWIG_fail
;
18283 swig_obj
[0] = args
;
18284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18285 if (!SWIG_IsOK(res1
)) {
18286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIconInfo" "', expected argument " "1"" of type '" "wxFileType *""'");
18288 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18291 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
18292 wxPyEndAllowThreads(__tstate
);
18293 if (PyErr_Occurred()) SWIG_fail
;
18295 resultobj
= result
;
18302 SWIGINTERN PyObject
*_wrap_FileType_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18303 PyObject
*resultobj
= 0;
18304 wxFileType
*arg1
= (wxFileType
*) 0 ;
18305 PyObject
*result
= 0 ;
18308 PyObject
*swig_obj
[1] ;
18310 if (!args
) SWIG_fail
;
18311 swig_obj
[0] = args
;
18312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18313 if (!SWIG_IsOK(res1
)) {
18314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetDescription" "', expected argument " "1"" of type '" "wxFileType *""'");
18316 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18319 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
18320 wxPyEndAllowThreads(__tstate
);
18321 if (PyErr_Occurred()) SWIG_fail
;
18323 resultobj
= result
;
18330 SWIGINTERN PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18331 PyObject
*resultobj
= 0;
18332 wxFileType
*arg1
= (wxFileType
*) 0 ;
18333 wxString
*arg2
= 0 ;
18334 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18335 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18336 PyObject
*result
= 0 ;
18339 bool temp2
= false ;
18340 bool temp3
= false ;
18341 PyObject
* obj0
= 0 ;
18342 PyObject
* obj1
= 0 ;
18343 PyObject
* obj2
= 0 ;
18344 char * kwnames
[] = {
18345 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
18348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18350 if (!SWIG_IsOK(res1
)) {
18351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
18353 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18355 arg2
= wxString_in_helper(obj1
);
18356 if (arg2
== NULL
) SWIG_fail
;
18361 arg3
= wxString_in_helper(obj2
);
18362 if (arg3
== NULL
) SWIG_fail
;
18367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18368 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18369 wxPyEndAllowThreads(__tstate
);
18370 if (PyErr_Occurred()) SWIG_fail
;
18372 resultobj
= result
;
18395 SWIGINTERN PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18396 PyObject
*resultobj
= 0;
18397 wxFileType
*arg1
= (wxFileType
*) 0 ;
18398 wxString
*arg2
= 0 ;
18399 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18400 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18401 PyObject
*result
= 0 ;
18404 bool temp2
= false ;
18405 bool temp3
= false ;
18406 PyObject
* obj0
= 0 ;
18407 PyObject
* obj1
= 0 ;
18408 PyObject
* obj2
= 0 ;
18409 char * kwnames
[] = {
18410 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
18413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18415 if (!SWIG_IsOK(res1
)) {
18416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
18418 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18420 arg2
= wxString_in_helper(obj1
);
18421 if (arg2
== NULL
) SWIG_fail
;
18426 arg3
= wxString_in_helper(obj2
);
18427 if (arg3
== NULL
) SWIG_fail
;
18432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18433 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18434 wxPyEndAllowThreads(__tstate
);
18435 if (PyErr_Occurred()) SWIG_fail
;
18437 resultobj
= result
;
18460 SWIGINTERN PyObject
*_wrap_FileType_GetAllCommands(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18461 PyObject
*resultobj
= 0;
18462 wxFileType
*arg1
= (wxFileType
*) 0 ;
18463 wxString
*arg2
= 0 ;
18464 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18465 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18466 PyObject
*result
= 0 ;
18469 bool temp2
= false ;
18470 bool temp3
= false ;
18471 PyObject
* obj0
= 0 ;
18472 PyObject
* obj1
= 0 ;
18473 PyObject
* obj2
= 0 ;
18474 char * kwnames
[] = {
18475 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
18478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18480 if (!SWIG_IsOK(res1
)) {
18481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetAllCommands" "', expected argument " "1"" of type '" "wxFileType *""'");
18483 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18485 arg2
= wxString_in_helper(obj1
);
18486 if (arg2
== NULL
) SWIG_fail
;
18491 arg3
= wxString_in_helper(obj2
);
18492 if (arg3
== NULL
) SWIG_fail
;
18497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18498 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18499 wxPyEndAllowThreads(__tstate
);
18500 if (PyErr_Occurred()) SWIG_fail
;
18502 resultobj
= result
;
18525 SWIGINTERN PyObject
*_wrap_FileType_SetCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18526 PyObject
*resultobj
= 0;
18527 wxFileType
*arg1
= (wxFileType
*) 0 ;
18528 wxString
*arg2
= 0 ;
18529 wxString
*arg3
= 0 ;
18530 bool arg4
= (bool) true ;
18534 bool temp2
= false ;
18535 bool temp3
= false ;
18538 PyObject
* obj0
= 0 ;
18539 PyObject
* obj1
= 0 ;
18540 PyObject
* obj2
= 0 ;
18541 PyObject
* obj3
= 0 ;
18542 char * kwnames
[] = {
18543 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
18546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18548 if (!SWIG_IsOK(res1
)) {
18549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
18551 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18553 arg2
= wxString_in_helper(obj1
);
18554 if (arg2
== NULL
) SWIG_fail
;
18558 arg3
= wxString_in_helper(obj2
);
18559 if (arg3
== NULL
) SWIG_fail
;
18563 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
18564 if (!SWIG_IsOK(ecode4
)) {
18565 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileType_SetCommand" "', expected argument " "4"" of type '" "bool""'");
18567 arg4
= static_cast< bool >(val4
);
18570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18571 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
18572 wxPyEndAllowThreads(__tstate
);
18573 if (PyErr_Occurred()) SWIG_fail
;
18576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18600 SWIGINTERN PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18601 PyObject
*resultobj
= 0;
18602 wxFileType
*arg1
= (wxFileType
*) 0 ;
18603 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18604 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18605 int arg3
= (int) 0 ;
18609 bool temp2
= false ;
18612 PyObject
* obj0
= 0 ;
18613 PyObject
* obj1
= 0 ;
18614 PyObject
* obj2
= 0 ;
18615 char * kwnames
[] = {
18616 (char *) "self",(char *) "cmd",(char *) "index", NULL
18619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18621 if (!SWIG_IsOK(res1
)) {
18622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
18624 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18627 arg2
= wxString_in_helper(obj1
);
18628 if (arg2
== NULL
) SWIG_fail
;
18633 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18634 if (!SWIG_IsOK(ecode3
)) {
18635 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "3"" of type '" "int""'");
18637 arg3
= static_cast< int >(val3
);
18640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18641 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
18642 wxPyEndAllowThreads(__tstate
);
18643 if (PyErr_Occurred()) SWIG_fail
;
18646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18662 SWIGINTERN PyObject
*_wrap_FileType_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18663 PyObject
*resultobj
= 0;
18664 wxFileType
*arg1
= (wxFileType
*) 0 ;
18668 PyObject
*swig_obj
[1] ;
18670 if (!args
) SWIG_fail
;
18671 swig_obj
[0] = args
;
18672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18673 if (!SWIG_IsOK(res1
)) {
18674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_Unassociate" "', expected argument " "1"" of type '" "wxFileType *""'");
18676 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18679 result
= (bool)(arg1
)->Unassociate();
18680 wxPyEndAllowThreads(__tstate
);
18681 if (PyErr_Occurred()) SWIG_fail
;
18684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18692 SWIGINTERN PyObject
*_wrap_FileType_ExpandCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18693 PyObject
*resultobj
= 0;
18694 wxString
*arg1
= 0 ;
18695 wxString
*arg2
= 0 ;
18696 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18697 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18699 bool temp1
= false ;
18700 bool temp2
= false ;
18701 bool temp3
= false ;
18702 PyObject
* obj0
= 0 ;
18703 PyObject
* obj1
= 0 ;
18704 PyObject
* obj2
= 0 ;
18705 char * kwnames
[] = {
18706 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
18709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18711 arg1
= wxString_in_helper(obj0
);
18712 if (arg1
== NULL
) SWIG_fail
;
18716 arg2
= wxString_in_helper(obj1
);
18717 if (arg2
== NULL
) SWIG_fail
;
18722 arg3
= wxString_in_helper(obj2
);
18723 if (arg3
== NULL
) SWIG_fail
;
18728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18729 result
= wxFileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18730 wxPyEndAllowThreads(__tstate
);
18731 if (PyErr_Occurred()) SWIG_fail
;
18735 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18737 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18770 SWIGINTERN PyObject
*FileType_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18772 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18773 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileType
, SWIG_NewClientData(obj
));
18774 return SWIG_Py_Void();
18777 SWIGINTERN PyObject
*FileType_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18778 return SWIG_Python_InitShadowInstance(args
);
18781 SWIGINTERN
int TheMimeTypesManager_set(PyObject
*) {
18782 SWIG_Error(SWIG_AttributeError
,"Variable TheMimeTypesManager is read-only.");
18787 SWIGINTERN PyObject
*TheMimeTypesManager_get(void) {
18788 PyObject
*pyobj
= 0;
18790 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0 );
18795 SWIGINTERN PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18796 PyObject
*resultobj
= 0;
18797 wxString
*arg1
= 0 ;
18798 wxString
*arg2
= 0 ;
18800 bool temp1
= false ;
18801 bool temp2
= false ;
18802 PyObject
* obj0
= 0 ;
18803 PyObject
* obj1
= 0 ;
18804 char * kwnames
[] = {
18805 (char *) "mimeType",(char *) "wildcard", NULL
18808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18810 arg1
= wxString_in_helper(obj0
);
18811 if (arg1
== NULL
) SWIG_fail
;
18815 arg2
= wxString_in_helper(obj1
);
18816 if (arg2
== NULL
) SWIG_fail
;
18820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18821 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
18822 wxPyEndAllowThreads(__tstate
);
18823 if (PyErr_Occurred()) SWIG_fail
;
18826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18850 SWIGINTERN PyObject
*_wrap_new_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18851 PyObject
*resultobj
= 0;
18852 wxMimeTypesManager
*result
= 0 ;
18854 if (!SWIG_Python_UnpackTuple(args
,"new_MimeTypesManager",0,0,0)) SWIG_fail
;
18856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18857 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
18858 wxPyEndAllowThreads(__tstate
);
18859 if (PyErr_Occurred()) SWIG_fail
;
18861 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_NEW
| 0 );
18868 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18869 PyObject
*resultobj
= 0;
18870 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18871 int arg2
= (int) wxMAILCAP_ALL
;
18872 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18873 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18878 bool temp3
= false ;
18879 PyObject
* obj0
= 0 ;
18880 PyObject
* obj1
= 0 ;
18881 PyObject
* obj2
= 0 ;
18882 char * kwnames
[] = {
18883 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
18886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18888 if (!SWIG_IsOK(res1
)) {
18889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18891 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18893 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18894 if (!SWIG_IsOK(ecode2
)) {
18895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "2"" of type '" "int""'");
18897 arg2
= static_cast< int >(val2
);
18901 arg3
= wxString_in_helper(obj2
);
18902 if (arg3
== NULL
) SWIG_fail
;
18907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18908 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
18909 wxPyEndAllowThreads(__tstate
);
18910 if (PyErr_Occurred()) SWIG_fail
;
18912 resultobj
= SWIG_Py_Void();
18927 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18928 PyObject
*resultobj
= 0;
18929 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18932 PyObject
*swig_obj
[1] ;
18934 if (!args
) SWIG_fail
;
18935 swig_obj
[0] = args
;
18936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18937 if (!SWIG_IsOK(res1
)) {
18938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ClearData" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18940 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18943 (arg1
)->ClearData();
18944 wxPyEndAllowThreads(__tstate
);
18945 if (PyErr_Occurred()) SWIG_fail
;
18947 resultobj
= SWIG_Py_Void();
18954 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18955 PyObject
*resultobj
= 0;
18956 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18957 wxString
*arg2
= 0 ;
18958 wxFileType
*result
= 0 ;
18961 bool temp2
= false ;
18962 PyObject
* obj0
= 0 ;
18963 PyObject
* obj1
= 0 ;
18964 char * kwnames
[] = {
18965 (char *) "self",(char *) "ext", NULL
18968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18970 if (!SWIG_IsOK(res1
)) {
18971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromExtension" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18973 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18975 arg2
= wxString_in_helper(obj1
);
18976 if (arg2
== NULL
) SWIG_fail
;
18980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18981 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
18982 wxPyEndAllowThreads(__tstate
);
18983 if (PyErr_Occurred()) SWIG_fail
;
18985 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
19000 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19001 PyObject
*resultobj
= 0;
19002 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19003 wxString
*arg2
= 0 ;
19004 wxFileType
*result
= 0 ;
19007 bool temp2
= false ;
19008 PyObject
* obj0
= 0 ;
19009 PyObject
* obj1
= 0 ;
19010 char * kwnames
[] = {
19011 (char *) "self",(char *) "mimeType", NULL
19014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19016 if (!SWIG_IsOK(res1
)) {
19017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromMimeType" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19019 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19021 arg2
= wxString_in_helper(obj1
);
19022 if (arg2
== NULL
) SWIG_fail
;
19026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19027 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
19028 wxPyEndAllowThreads(__tstate
);
19029 if (PyErr_Occurred()) SWIG_fail
;
19031 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
19046 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19047 PyObject
*resultobj
= 0;
19048 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19049 wxString
*arg2
= 0 ;
19050 bool arg3
= (bool) false ;
19054 bool temp2
= false ;
19057 PyObject
* obj0
= 0 ;
19058 PyObject
* obj1
= 0 ;
19059 PyObject
* obj2
= 0 ;
19060 char * kwnames
[] = {
19061 (char *) "self",(char *) "filename",(char *) "fallback", NULL
19064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19066 if (!SWIG_IsOK(res1
)) {
19067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19069 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19071 arg2
= wxString_in_helper(obj1
);
19072 if (arg2
== NULL
) SWIG_fail
;
19076 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
19077 if (!SWIG_IsOK(ecode3
)) {
19078 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "3"" of type '" "bool""'");
19080 arg3
= static_cast< bool >(val3
);
19083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19084 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
19085 wxPyEndAllowThreads(__tstate
);
19086 if (PyErr_Occurred()) SWIG_fail
;
19089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19105 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19106 PyObject
*resultobj
= 0;
19107 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19108 wxString
*arg2
= 0 ;
19112 bool temp2
= false ;
19113 PyObject
* obj0
= 0 ;
19114 PyObject
* obj1
= 0 ;
19115 char * kwnames
[] = {
19116 (char *) "self",(char *) "filename", NULL
19119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19121 if (!SWIG_IsOK(res1
)) {
19122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMimeTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19124 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19126 arg2
= wxString_in_helper(obj1
);
19127 if (arg2
== NULL
) SWIG_fail
;
19131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19132 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
19133 wxPyEndAllowThreads(__tstate
);
19134 if (PyErr_Occurred()) SWIG_fail
;
19137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19153 SWIGINTERN PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19154 PyObject
*resultobj
= 0;
19155 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19156 PyObject
*result
= 0 ;
19159 PyObject
*swig_obj
[1] ;
19161 if (!args
) SWIG_fail
;
19162 swig_obj
[0] = args
;
19163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19164 if (!SWIG_IsOK(res1
)) {
19165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_EnumAllFileTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19167 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19170 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
19171 wxPyEndAllowThreads(__tstate
);
19172 if (PyErr_Occurred()) SWIG_fail
;
19174 resultobj
= result
;
19181 SWIGINTERN PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19182 PyObject
*resultobj
= 0;
19183 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19184 wxFileTypeInfo
*arg2
= 0 ;
19189 PyObject
* obj0
= 0 ;
19190 PyObject
* obj1
= 0 ;
19191 char * kwnames
[] = {
19192 (char *) "self",(char *) "ft", NULL
19195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19197 if (!SWIG_IsOK(res1
)) {
19198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19200 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19201 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
19202 if (!SWIG_IsOK(res2
)) {
19203 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
19206 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
19208 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
19210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19211 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
19212 wxPyEndAllowThreads(__tstate
);
19213 if (PyErr_Occurred()) SWIG_fail
;
19215 resultobj
= SWIG_Py_Void();
19222 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19223 PyObject
*resultobj
= 0;
19224 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19225 wxFileTypeInfo
*arg2
= 0 ;
19226 wxFileType
*result
= 0 ;
19231 PyObject
* obj0
= 0 ;
19232 PyObject
* obj1
= 0 ;
19233 char * kwnames
[] = {
19234 (char *) "self",(char *) "ftInfo", NULL
19237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19239 if (!SWIG_IsOK(res1
)) {
19240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Associate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19242 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19243 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
19244 if (!SWIG_IsOK(res2
)) {
19245 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
19248 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
19250 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
19252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19253 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
19254 wxPyEndAllowThreads(__tstate
);
19255 if (PyErr_Occurred()) SWIG_fail
;
19257 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
19264 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19265 PyObject
*resultobj
= 0;
19266 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19267 wxFileType
*arg2
= (wxFileType
*) 0 ;
19273 PyObject
* obj0
= 0 ;
19274 PyObject
* obj1
= 0 ;
19275 char * kwnames
[] = {
19276 (char *) "self",(char *) "ft", NULL
19279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19281 if (!SWIG_IsOK(res1
)) {
19282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19284 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19285 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFileType
, 0 | 0 );
19286 if (!SWIG_IsOK(res2
)) {
19287 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "2"" of type '" "wxFileType *""'");
19289 arg2
= reinterpret_cast< wxFileType
* >(argp2
);
19291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19292 result
= (bool)(arg1
)->Unassociate(arg2
);
19293 wxPyEndAllowThreads(__tstate
);
19294 if (PyErr_Occurred()) SWIG_fail
;
19297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19305 SWIGINTERN PyObject
*_wrap_delete_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19306 PyObject
*resultobj
= 0;
19307 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19310 PyObject
*swig_obj
[1] ;
19312 if (!args
) SWIG_fail
;
19313 swig_obj
[0] = args
;
19314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_DISOWN
| 0 );
19315 if (!SWIG_IsOK(res1
)) {
19316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MimeTypesManager" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19318 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19323 wxPyEndAllowThreads(__tstate
);
19324 if (PyErr_Occurred()) SWIG_fail
;
19326 resultobj
= SWIG_Py_Void();
19333 SWIGINTERN PyObject
*MimeTypesManager_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19335 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19336 SWIG_TypeNewClientData(SWIGTYPE_p_wxMimeTypesManager
, SWIG_NewClientData(obj
));
19337 return SWIG_Py_Void();
19340 SWIGINTERN PyObject
*MimeTypesManager_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19341 return SWIG_Python_InitShadowInstance(args
);
19344 SWIGINTERN
int ART_TOOLBAR_set(PyObject
*) {
19345 SWIG_Error(SWIG_AttributeError
,"Variable ART_TOOLBAR is read-only.");
19350 SWIGINTERN PyObject
*ART_TOOLBAR_get(void) {
19351 PyObject
*pyobj
= 0;
19355 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
19357 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
19364 SWIGINTERN
int ART_MENU_set(PyObject
*) {
19365 SWIG_Error(SWIG_AttributeError
,"Variable ART_MENU is read-only.");
19370 SWIGINTERN PyObject
*ART_MENU_get(void) {
19371 PyObject
*pyobj
= 0;
19375 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
19377 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
19384 SWIGINTERN
int ART_FRAME_ICON_set(PyObject
*) {
19385 SWIG_Error(SWIG_AttributeError
,"Variable ART_FRAME_ICON is read-only.");
19390 SWIGINTERN PyObject
*ART_FRAME_ICON_get(void) {
19391 PyObject
*pyobj
= 0;
19395 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
19397 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
19404 SWIGINTERN
int ART_CMN_DIALOG_set(PyObject
*) {
19405 SWIG_Error(SWIG_AttributeError
,"Variable ART_CMN_DIALOG is read-only.");
19410 SWIGINTERN PyObject
*ART_CMN_DIALOG_get(void) {
19411 PyObject
*pyobj
= 0;
19415 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
19417 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
19424 SWIGINTERN
int ART_HELP_BROWSER_set(PyObject
*) {
19425 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BROWSER is read-only.");
19430 SWIGINTERN PyObject
*ART_HELP_BROWSER_get(void) {
19431 PyObject
*pyobj
= 0;
19435 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
19437 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
19444 SWIGINTERN
int ART_MESSAGE_BOX_set(PyObject
*) {
19445 SWIG_Error(SWIG_AttributeError
,"Variable ART_MESSAGE_BOX is read-only.");
19450 SWIGINTERN PyObject
*ART_MESSAGE_BOX_get(void) {
19451 PyObject
*pyobj
= 0;
19455 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
19457 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
19464 SWIGINTERN
int ART_BUTTON_set(PyObject
*) {
19465 SWIG_Error(SWIG_AttributeError
,"Variable ART_BUTTON is read-only.");
19470 SWIGINTERN PyObject
*ART_BUTTON_get(void) {
19471 PyObject
*pyobj
= 0;
19475 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
19477 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
19484 SWIGINTERN
int ART_OTHER_set(PyObject
*) {
19485 SWIG_Error(SWIG_AttributeError
,"Variable ART_OTHER is read-only.");
19490 SWIGINTERN PyObject
*ART_OTHER_get(void) {
19491 PyObject
*pyobj
= 0;
19495 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
19497 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
19504 SWIGINTERN
int ART_ADD_BOOKMARK_set(PyObject
*) {
19505 SWIG_Error(SWIG_AttributeError
,"Variable ART_ADD_BOOKMARK is read-only.");
19510 SWIGINTERN PyObject
*ART_ADD_BOOKMARK_get(void) {
19511 PyObject
*pyobj
= 0;
19515 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
19517 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
19524 SWIGINTERN
int ART_DEL_BOOKMARK_set(PyObject
*) {
19525 SWIG_Error(SWIG_AttributeError
,"Variable ART_DEL_BOOKMARK is read-only.");
19530 SWIGINTERN PyObject
*ART_DEL_BOOKMARK_get(void) {
19531 PyObject
*pyobj
= 0;
19535 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
19537 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
19544 SWIGINTERN
int ART_HELP_SIDE_PANEL_set(PyObject
*) {
19545 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
19550 SWIGINTERN PyObject
*ART_HELP_SIDE_PANEL_get(void) {
19551 PyObject
*pyobj
= 0;
19555 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
19557 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
19564 SWIGINTERN
int ART_HELP_SETTINGS_set(PyObject
*) {
19565 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SETTINGS is read-only.");
19570 SWIGINTERN PyObject
*ART_HELP_SETTINGS_get(void) {
19571 PyObject
*pyobj
= 0;
19575 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
19577 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
19584 SWIGINTERN
int ART_HELP_BOOK_set(PyObject
*) {
19585 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BOOK is read-only.");
19590 SWIGINTERN PyObject
*ART_HELP_BOOK_get(void) {
19591 PyObject
*pyobj
= 0;
19595 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
19597 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
19604 SWIGINTERN
int ART_HELP_FOLDER_set(PyObject
*) {
19605 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_FOLDER is read-only.");
19610 SWIGINTERN PyObject
*ART_HELP_FOLDER_get(void) {
19611 PyObject
*pyobj
= 0;
19615 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
19617 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
19624 SWIGINTERN
int ART_HELP_PAGE_set(PyObject
*) {
19625 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_PAGE is read-only.");
19630 SWIGINTERN PyObject
*ART_HELP_PAGE_get(void) {
19631 PyObject
*pyobj
= 0;
19635 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
19637 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
19644 SWIGINTERN
int ART_GO_BACK_set(PyObject
*) {
19645 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_BACK is read-only.");
19650 SWIGINTERN PyObject
*ART_GO_BACK_get(void) {
19651 PyObject
*pyobj
= 0;
19655 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
19657 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
19664 SWIGINTERN
int ART_GO_FORWARD_set(PyObject
*) {
19665 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_FORWARD is read-only.");
19670 SWIGINTERN PyObject
*ART_GO_FORWARD_get(void) {
19671 PyObject
*pyobj
= 0;
19675 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
19677 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
19684 SWIGINTERN
int ART_GO_UP_set(PyObject
*) {
19685 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_UP is read-only.");
19690 SWIGINTERN PyObject
*ART_GO_UP_get(void) {
19691 PyObject
*pyobj
= 0;
19695 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
19697 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
19704 SWIGINTERN
int ART_GO_DOWN_set(PyObject
*) {
19705 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DOWN is read-only.");
19710 SWIGINTERN PyObject
*ART_GO_DOWN_get(void) {
19711 PyObject
*pyobj
= 0;
19715 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
19717 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
19724 SWIGINTERN
int ART_GO_TO_PARENT_set(PyObject
*) {
19725 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_TO_PARENT is read-only.");
19730 SWIGINTERN PyObject
*ART_GO_TO_PARENT_get(void) {
19731 PyObject
*pyobj
= 0;
19735 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
19737 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
19744 SWIGINTERN
int ART_GO_HOME_set(PyObject
*) {
19745 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_HOME is read-only.");
19750 SWIGINTERN PyObject
*ART_GO_HOME_get(void) {
19751 PyObject
*pyobj
= 0;
19755 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
19757 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
19764 SWIGINTERN
int ART_FILE_OPEN_set(PyObject
*) {
19765 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_OPEN is read-only.");
19770 SWIGINTERN PyObject
*ART_FILE_OPEN_get(void) {
19771 PyObject
*pyobj
= 0;
19775 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
19777 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
19784 SWIGINTERN
int ART_FILE_SAVE_set(PyObject
*) {
19785 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE is read-only.");
19790 SWIGINTERN PyObject
*ART_FILE_SAVE_get(void) {
19791 PyObject
*pyobj
= 0;
19795 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
19797 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
19804 SWIGINTERN
int ART_FILE_SAVE_AS_set(PyObject
*) {
19805 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE_AS is read-only.");
19810 SWIGINTERN PyObject
*ART_FILE_SAVE_AS_get(void) {
19811 PyObject
*pyobj
= 0;
19815 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
19817 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
19824 SWIGINTERN
int ART_PRINT_set(PyObject
*) {
19825 SWIG_Error(SWIG_AttributeError
,"Variable ART_PRINT is read-only.");
19830 SWIGINTERN PyObject
*ART_PRINT_get(void) {
19831 PyObject
*pyobj
= 0;
19835 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
19837 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
19844 SWIGINTERN
int ART_HELP_set(PyObject
*) {
19845 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP is read-only.");
19850 SWIGINTERN PyObject
*ART_HELP_get(void) {
19851 PyObject
*pyobj
= 0;
19855 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
19857 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
19864 SWIGINTERN
int ART_TIP_set(PyObject
*) {
19865 SWIG_Error(SWIG_AttributeError
,"Variable ART_TIP is read-only.");
19870 SWIGINTERN PyObject
*ART_TIP_get(void) {
19871 PyObject
*pyobj
= 0;
19875 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
19877 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
19884 SWIGINTERN
int ART_REPORT_VIEW_set(PyObject
*) {
19885 SWIG_Error(SWIG_AttributeError
,"Variable ART_REPORT_VIEW is read-only.");
19890 SWIGINTERN PyObject
*ART_REPORT_VIEW_get(void) {
19891 PyObject
*pyobj
= 0;
19895 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
19897 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
19904 SWIGINTERN
int ART_LIST_VIEW_set(PyObject
*) {
19905 SWIG_Error(SWIG_AttributeError
,"Variable ART_LIST_VIEW is read-only.");
19910 SWIGINTERN PyObject
*ART_LIST_VIEW_get(void) {
19911 PyObject
*pyobj
= 0;
19915 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
19917 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
19924 SWIGINTERN
int ART_NEW_DIR_set(PyObject
*) {
19925 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW_DIR is read-only.");
19930 SWIGINTERN PyObject
*ART_NEW_DIR_get(void) {
19931 PyObject
*pyobj
= 0;
19935 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
19937 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
19944 SWIGINTERN
int ART_HARDDISK_set(PyObject
*) {
19945 SWIG_Error(SWIG_AttributeError
,"Variable ART_HARDDISK is read-only.");
19950 SWIGINTERN PyObject
*ART_HARDDISK_get(void) {
19951 PyObject
*pyobj
= 0;
19955 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
19957 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
19964 SWIGINTERN
int ART_FLOPPY_set(PyObject
*) {
19965 SWIG_Error(SWIG_AttributeError
,"Variable ART_FLOPPY is read-only.");
19970 SWIGINTERN PyObject
*ART_FLOPPY_get(void) {
19971 PyObject
*pyobj
= 0;
19975 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
19977 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
19984 SWIGINTERN
int ART_CDROM_set(PyObject
*) {
19985 SWIG_Error(SWIG_AttributeError
,"Variable ART_CDROM is read-only.");
19990 SWIGINTERN PyObject
*ART_CDROM_get(void) {
19991 PyObject
*pyobj
= 0;
19995 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
19997 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
20004 SWIGINTERN
int ART_REMOVABLE_set(PyObject
*) {
20005 SWIG_Error(SWIG_AttributeError
,"Variable ART_REMOVABLE is read-only.");
20010 SWIGINTERN PyObject
*ART_REMOVABLE_get(void) {
20011 PyObject
*pyobj
= 0;
20015 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
20017 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
20024 SWIGINTERN
int ART_FOLDER_set(PyObject
*) {
20025 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER is read-only.");
20030 SWIGINTERN PyObject
*ART_FOLDER_get(void) {
20031 PyObject
*pyobj
= 0;
20035 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
20037 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
20044 SWIGINTERN
int ART_FOLDER_OPEN_set(PyObject
*) {
20045 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER_OPEN is read-only.");
20050 SWIGINTERN PyObject
*ART_FOLDER_OPEN_get(void) {
20051 PyObject
*pyobj
= 0;
20055 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
20057 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
20064 SWIGINTERN
int ART_GO_DIR_UP_set(PyObject
*) {
20065 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DIR_UP is read-only.");
20070 SWIGINTERN PyObject
*ART_GO_DIR_UP_get(void) {
20071 PyObject
*pyobj
= 0;
20075 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
20077 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
20084 SWIGINTERN
int ART_EXECUTABLE_FILE_set(PyObject
*) {
20085 SWIG_Error(SWIG_AttributeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
20090 SWIGINTERN PyObject
*ART_EXECUTABLE_FILE_get(void) {
20091 PyObject
*pyobj
= 0;
20095 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
20097 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
20104 SWIGINTERN
int ART_NORMAL_FILE_set(PyObject
*) {
20105 SWIG_Error(SWIG_AttributeError
,"Variable ART_NORMAL_FILE is read-only.");
20110 SWIGINTERN PyObject
*ART_NORMAL_FILE_get(void) {
20111 PyObject
*pyobj
= 0;
20115 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
20117 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
20124 SWIGINTERN
int ART_TICK_MARK_set(PyObject
*) {
20125 SWIG_Error(SWIG_AttributeError
,"Variable ART_TICK_MARK is read-only.");
20130 SWIGINTERN PyObject
*ART_TICK_MARK_get(void) {
20131 PyObject
*pyobj
= 0;
20135 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
20137 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
20144 SWIGINTERN
int ART_CROSS_MARK_set(PyObject
*) {
20145 SWIG_Error(SWIG_AttributeError
,"Variable ART_CROSS_MARK is read-only.");
20150 SWIGINTERN PyObject
*ART_CROSS_MARK_get(void) {
20151 PyObject
*pyobj
= 0;
20155 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
20157 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
20164 SWIGINTERN
int ART_ERROR_set(PyObject
*) {
20165 SWIG_Error(SWIG_AttributeError
,"Variable ART_ERROR is read-only.");
20170 SWIGINTERN PyObject
*ART_ERROR_get(void) {
20171 PyObject
*pyobj
= 0;
20175 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
20177 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
20184 SWIGINTERN
int ART_QUESTION_set(PyObject
*) {
20185 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUESTION is read-only.");
20190 SWIGINTERN PyObject
*ART_QUESTION_get(void) {
20191 PyObject
*pyobj
= 0;
20195 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
20197 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
20204 SWIGINTERN
int ART_WARNING_set(PyObject
*) {
20205 SWIG_Error(SWIG_AttributeError
,"Variable ART_WARNING is read-only.");
20210 SWIGINTERN PyObject
*ART_WARNING_get(void) {
20211 PyObject
*pyobj
= 0;
20215 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
20217 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
20224 SWIGINTERN
int ART_INFORMATION_set(PyObject
*) {
20225 SWIG_Error(SWIG_AttributeError
,"Variable ART_INFORMATION is read-only.");
20230 SWIGINTERN PyObject
*ART_INFORMATION_get(void) {
20231 PyObject
*pyobj
= 0;
20235 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
20237 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
20244 SWIGINTERN
int ART_MISSING_IMAGE_set(PyObject
*) {
20245 SWIG_Error(SWIG_AttributeError
,"Variable ART_MISSING_IMAGE is read-only.");
20250 SWIGINTERN PyObject
*ART_MISSING_IMAGE_get(void) {
20251 PyObject
*pyobj
= 0;
20255 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
20257 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
20264 SWIGINTERN
int ART_COPY_set(PyObject
*) {
20265 SWIG_Error(SWIG_AttributeError
,"Variable ART_COPY is read-only.");
20270 SWIGINTERN PyObject
*ART_COPY_get(void) {
20271 PyObject
*pyobj
= 0;
20275 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
20277 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
20284 SWIGINTERN
int ART_CUT_set(PyObject
*) {
20285 SWIG_Error(SWIG_AttributeError
,"Variable ART_CUT is read-only.");
20290 SWIGINTERN PyObject
*ART_CUT_get(void) {
20291 PyObject
*pyobj
= 0;
20295 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
20297 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
20304 SWIGINTERN
int ART_PASTE_set(PyObject
*) {
20305 SWIG_Error(SWIG_AttributeError
,"Variable ART_PASTE is read-only.");
20310 SWIGINTERN PyObject
*ART_PASTE_get(void) {
20311 PyObject
*pyobj
= 0;
20315 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
20317 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
20324 SWIGINTERN
int ART_DELETE_set(PyObject
*) {
20325 SWIG_Error(SWIG_AttributeError
,"Variable ART_DELETE is read-only.");
20330 SWIGINTERN PyObject
*ART_DELETE_get(void) {
20331 PyObject
*pyobj
= 0;
20335 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
20337 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
20344 SWIGINTERN
int ART_NEW_set(PyObject
*) {
20345 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW is read-only.");
20350 SWIGINTERN PyObject
*ART_NEW_get(void) {
20351 PyObject
*pyobj
= 0;
20355 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
20357 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
20364 SWIGINTERN
int ART_UNDO_set(PyObject
*) {
20365 SWIG_Error(SWIG_AttributeError
,"Variable ART_UNDO is read-only.");
20370 SWIGINTERN PyObject
*ART_UNDO_get(void) {
20371 PyObject
*pyobj
= 0;
20375 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
20377 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
20384 SWIGINTERN
int ART_REDO_set(PyObject
*) {
20385 SWIG_Error(SWIG_AttributeError
,"Variable ART_REDO is read-only.");
20390 SWIGINTERN PyObject
*ART_REDO_get(void) {
20391 PyObject
*pyobj
= 0;
20395 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
20397 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
20404 SWIGINTERN
int ART_QUIT_set(PyObject
*) {
20405 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUIT is read-only.");
20410 SWIGINTERN PyObject
*ART_QUIT_get(void) {
20411 PyObject
*pyobj
= 0;
20415 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
20417 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
20424 SWIGINTERN
int ART_FIND_set(PyObject
*) {
20425 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND is read-only.");
20430 SWIGINTERN PyObject
*ART_FIND_get(void) {
20431 PyObject
*pyobj
= 0;
20435 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
20437 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
20444 SWIGINTERN
int ART_FIND_AND_REPLACE_set(PyObject
*) {
20445 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
20450 SWIGINTERN PyObject
*ART_FIND_AND_REPLACE_get(void) {
20451 PyObject
*pyobj
= 0;
20455 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
20457 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
20464 SWIGINTERN PyObject
*_wrap_new_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20465 PyObject
*resultobj
= 0;
20466 wxPyArtProvider
*result
= 0 ;
20468 if (!SWIG_Python_UnpackTuple(args
,"new_ArtProvider",0,0,0)) SWIG_fail
;
20470 if (!wxPyCheckForApp()) SWIG_fail
;
20471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20472 result
= (wxPyArtProvider
*)new wxPyArtProvider();
20473 wxPyEndAllowThreads(__tstate
);
20474 if (PyErr_Occurred()) SWIG_fail
;
20476 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_NEW
| 0 );
20483 SWIGINTERN PyObject
*_wrap_delete_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20484 PyObject
*resultobj
= 0;
20485 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20488 PyObject
*swig_obj
[1] ;
20490 if (!args
) SWIG_fail
;
20491 swig_obj
[0] = args
;
20492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
20493 if (!SWIG_IsOK(res1
)) {
20494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ArtProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20496 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20501 wxPyEndAllowThreads(__tstate
);
20502 if (PyErr_Occurred()) SWIG_fail
;
20504 resultobj
= SWIG_Py_Void();
20511 SWIGINTERN PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20512 PyObject
*resultobj
= 0;
20513 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20514 PyObject
*arg2
= (PyObject
*) 0 ;
20515 PyObject
*arg3
= (PyObject
*) 0 ;
20518 PyObject
* obj0
= 0 ;
20519 PyObject
* obj1
= 0 ;
20520 PyObject
* obj2
= 0 ;
20521 char * kwnames
[] = {
20522 (char *) "self",(char *) "self",(char *) "_class", NULL
20525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
20527 if (!SWIG_IsOK(res1
)) {
20528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20530 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20535 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20536 wxPyEndAllowThreads(__tstate
);
20537 if (PyErr_Occurred()) SWIG_fail
;
20539 resultobj
= SWIG_Py_Void();
20546 SWIGINTERN PyObject
*_wrap_ArtProvider_Push(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20547 PyObject
*resultobj
= 0;
20548 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20550 PyObject
* obj0
= 0 ;
20551 char * kwnames
[] = {
20552 (char *) "provider", NULL
20555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Push",kwnames
,&obj0
)) SWIG_fail
;
20556 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
20557 if (!SWIG_IsOK(res1
)) {
20558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Push" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20562 wxPyArtProvider::Push(arg1
);
20563 wxPyEndAllowThreads(__tstate
);
20564 if (PyErr_Occurred()) SWIG_fail
;
20566 resultobj
= SWIG_Py_Void();
20573 SWIGINTERN PyObject
*_wrap_ArtProvider_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20574 PyObject
*resultobj
= 0;
20575 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20577 PyObject
* obj0
= 0 ;
20578 char * kwnames
[] = {
20579 (char *) "provider", NULL
20582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Insert",kwnames
,&obj0
)) SWIG_fail
;
20583 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
20584 if (!SWIG_IsOK(res1
)) {
20585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Insert" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20589 wxPyArtProvider::Insert(arg1
);
20590 wxPyEndAllowThreads(__tstate
);
20591 if (PyErr_Occurred()) SWIG_fail
;
20593 resultobj
= SWIG_Py_Void();
20600 SWIGINTERN PyObject
*_wrap_ArtProvider_Pop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20601 PyObject
*resultobj
= 0;
20604 if (!SWIG_Python_UnpackTuple(args
,"ArtProvider_Pop",0,0,0)) SWIG_fail
;
20606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20607 result
= (bool)wxPyArtProvider::Pop();
20608 wxPyEndAllowThreads(__tstate
);
20609 if (PyErr_Occurred()) SWIG_fail
;
20612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20620 SWIGINTERN PyObject
*_wrap_ArtProvider_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20621 PyObject
*resultobj
= 0;
20622 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20626 PyObject
* obj0
= 0 ;
20627 char * kwnames
[] = {
20628 (char *) "provider", NULL
20631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Delete",kwnames
,&obj0
)) SWIG_fail
;
20632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
20633 if (!SWIG_IsOK(res1
)) {
20634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Delete" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20636 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20639 result
= (bool)wxPyArtProvider::Delete(arg1
);
20640 wxPyEndAllowThreads(__tstate
);
20641 if (PyErr_Occurred()) SWIG_fail
;
20644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20652 SWIGINTERN PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20653 PyObject
*resultobj
= 0;
20654 wxString
*arg1
= 0 ;
20655 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
20656 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20657 wxSize
const &arg3_defvalue
= wxDefaultSize
;
20658 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
20660 bool temp1
= false ;
20661 bool temp2
= false ;
20663 PyObject
* obj0
= 0 ;
20664 PyObject
* obj1
= 0 ;
20665 PyObject
* obj2
= 0 ;
20666 char * kwnames
[] = {
20667 (char *) "id",(char *) "client",(char *) "size", NULL
20670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20672 arg1
= wxString_in_helper(obj0
);
20673 if (arg1
== NULL
) SWIG_fail
;
20678 arg2
= wxString_in_helper(obj1
);
20679 if (arg2
== NULL
) SWIG_fail
;
20686 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20690 if (!wxPyCheckForApp()) SWIG_fail
;
20691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20692 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
20693 wxPyEndAllowThreads(__tstate
);
20694 if (PyErr_Occurred()) SWIG_fail
;
20696 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
20719 SWIGINTERN PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20720 PyObject
*resultobj
= 0;
20721 wxString
*arg1
= 0 ;
20722 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
20723 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20724 wxSize
const &arg3_defvalue
= wxDefaultSize
;
20725 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
20727 bool temp1
= false ;
20728 bool temp2
= false ;
20730 PyObject
* obj0
= 0 ;
20731 PyObject
* obj1
= 0 ;
20732 PyObject
* obj2
= 0 ;
20733 char * kwnames
[] = {
20734 (char *) "id",(char *) "client",(char *) "size", NULL
20737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20739 arg1
= wxString_in_helper(obj0
);
20740 if (arg1
== NULL
) SWIG_fail
;
20745 arg2
= wxString_in_helper(obj1
);
20746 if (arg2
== NULL
) SWIG_fail
;
20753 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20757 if (!wxPyCheckForApp()) SWIG_fail
;
20758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20759 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
20760 wxPyEndAllowThreads(__tstate
);
20761 if (PyErr_Occurred()) SWIG_fail
;
20763 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
20786 SWIGINTERN PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20787 PyObject
*resultobj
= 0;
20788 wxString
*arg1
= 0 ;
20789 bool arg2
= (bool) false ;
20791 bool temp1
= false ;
20794 PyObject
* obj0
= 0 ;
20795 PyObject
* obj1
= 0 ;
20796 char * kwnames
[] = {
20797 (char *) "client",(char *) "platform_dependent", NULL
20800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20802 arg1
= wxString_in_helper(obj0
);
20803 if (arg1
== NULL
) SWIG_fail
;
20807 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20808 if (!SWIG_IsOK(ecode2
)) {
20809 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ArtProvider_GetSizeHint" "', expected argument " "2"" of type '" "bool""'");
20811 arg2
= static_cast< bool >(val2
);
20814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20815 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
20816 wxPyEndAllowThreads(__tstate
);
20817 if (PyErr_Occurred()) SWIG_fail
;
20819 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20834 SWIGINTERN PyObject
*_wrap_ArtProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20835 PyObject
*resultobj
= 0;
20836 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20839 PyObject
*swig_obj
[1] ;
20841 if (!args
) SWIG_fail
;
20842 swig_obj
[0] = args
;
20843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
20844 if (!SWIG_IsOK(res1
)) {
20845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Destroy" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20847 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20850 wxPyArtProvider_Destroy(arg1
);
20851 wxPyEndAllowThreads(__tstate
);
20852 if (PyErr_Occurred()) SWIG_fail
;
20854 resultobj
= SWIG_Py_Void();
20861 SWIGINTERN PyObject
*ArtProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20863 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20864 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyArtProvider
, SWIG_NewClientData(obj
));
20865 return SWIG_Py_Void();
20868 SWIGINTERN PyObject
*ArtProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20869 return SWIG_Python_InitShadowInstance(args
);
20872 SWIGINTERN PyObject
*_wrap_delete_ConfigBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20873 PyObject
*resultobj
= 0;
20874 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20877 PyObject
*swig_obj
[1] ;
20879 if (!args
) SWIG_fail
;
20880 swig_obj
[0] = args
;
20881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
20882 if (!SWIG_IsOK(res1
)) {
20883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigBase" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20885 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20890 wxPyEndAllowThreads(__tstate
);
20891 if (PyErr_Occurred()) SWIG_fail
;
20893 resultobj
= SWIG_Py_Void();
20900 SWIGINTERN PyObject
*_wrap_ConfigBase_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20901 PyObject
*resultobj
= 0;
20902 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20903 wxConfigBase
*result
= 0 ;
20905 PyObject
* obj0
= 0 ;
20906 char * kwnames
[] = {
20907 (char *) "config", NULL
20910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) SWIG_fail
;
20911 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
20912 if (!SWIG_IsOK(res1
)) {
20913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Set" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20917 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
20918 wxPyEndAllowThreads(__tstate
);
20919 if (PyErr_Occurred()) SWIG_fail
;
20921 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20928 SWIGINTERN PyObject
*_wrap_ConfigBase_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20929 PyObject
*resultobj
= 0;
20930 bool arg1
= (bool) true ;
20931 wxConfigBase
*result
= 0 ;
20934 PyObject
* obj0
= 0 ;
20935 char * kwnames
[] = {
20936 (char *) "createOnDemand", NULL
20939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) SWIG_fail
;
20941 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
20942 if (!SWIG_IsOK(ecode1
)) {
20943 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ConfigBase_Get" "', expected argument " "1"" of type '" "bool""'");
20945 arg1
= static_cast< bool >(val1
);
20948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20949 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
20950 wxPyEndAllowThreads(__tstate
);
20951 if (PyErr_Occurred()) SWIG_fail
;
20953 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20960 SWIGINTERN PyObject
*_wrap_ConfigBase_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20961 PyObject
*resultobj
= 0;
20962 wxConfigBase
*result
= 0 ;
20964 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_Create",0,0,0)) SWIG_fail
;
20966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20967 result
= (wxConfigBase
*)wxConfigBase::Create();
20968 wxPyEndAllowThreads(__tstate
);
20969 if (PyErr_Occurred()) SWIG_fail
;
20971 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20978 SWIGINTERN PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20979 PyObject
*resultobj
= 0;
20981 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_DontCreateOnDemand",0,0,0)) SWIG_fail
;
20983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20984 wxConfigBase::DontCreateOnDemand();
20985 wxPyEndAllowThreads(__tstate
);
20986 if (PyErr_Occurred()) SWIG_fail
;
20988 resultobj
= SWIG_Py_Void();
20995 SWIGINTERN PyObject
*_wrap_ConfigBase_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20996 PyObject
*resultobj
= 0;
20997 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20998 wxString
*arg2
= 0 ;
21001 bool temp2
= false ;
21002 PyObject
* obj0
= 0 ;
21003 PyObject
* obj1
= 0 ;
21004 char * kwnames
[] = {
21005 (char *) "self",(char *) "path", NULL
21008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21010 if (!SWIG_IsOK(res1
)) {
21011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetPath" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21013 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21015 arg2
= wxString_in_helper(obj1
);
21016 if (arg2
== NULL
) SWIG_fail
;
21020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21021 (arg1
)->SetPath((wxString
const &)*arg2
);
21022 wxPyEndAllowThreads(__tstate
);
21023 if (PyErr_Occurred()) SWIG_fail
;
21025 resultobj
= SWIG_Py_Void();
21040 SWIGINTERN PyObject
*_wrap_ConfigBase_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21041 PyObject
*resultobj
= 0;
21042 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21043 wxString
*result
= 0 ;
21046 PyObject
*swig_obj
[1] ;
21048 if (!args
) SWIG_fail
;
21049 swig_obj
[0] = args
;
21050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21051 if (!SWIG_IsOK(res1
)) {
21052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetPath" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21054 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21058 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
21059 result
= (wxString
*) &_result_ref
;
21061 wxPyEndAllowThreads(__tstate
);
21062 if (PyErr_Occurred()) SWIG_fail
;
21066 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21068 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21077 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21078 PyObject
*resultobj
= 0;
21079 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21080 PyObject
*result
= 0 ;
21083 PyObject
*swig_obj
[1] ;
21085 if (!args
) SWIG_fail
;
21086 swig_obj
[0] = args
;
21087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21088 if (!SWIG_IsOK(res1
)) {
21089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21091 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21094 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
21095 wxPyEndAllowThreads(__tstate
);
21096 if (PyErr_Occurred()) SWIG_fail
;
21098 resultobj
= result
;
21105 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21106 PyObject
*resultobj
= 0;
21107 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21109 PyObject
*result
= 0 ;
21114 PyObject
* obj0
= 0 ;
21115 PyObject
* obj1
= 0 ;
21116 char * kwnames
[] = {
21117 (char *) "self",(char *) "index", NULL
21120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21122 if (!SWIG_IsOK(res1
)) {
21123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21125 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21126 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21127 if (!SWIG_IsOK(ecode2
)) {
21128 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "2"" of type '" "long""'");
21130 arg2
= static_cast< long >(val2
);
21132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21133 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
21134 wxPyEndAllowThreads(__tstate
);
21135 if (PyErr_Occurred()) SWIG_fail
;
21137 resultobj
= result
;
21144 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21145 PyObject
*resultobj
= 0;
21146 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21147 PyObject
*result
= 0 ;
21150 PyObject
*swig_obj
[1] ;
21152 if (!args
) SWIG_fail
;
21153 swig_obj
[0] = args
;
21154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21155 if (!SWIG_IsOK(res1
)) {
21156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21158 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21161 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
21162 wxPyEndAllowThreads(__tstate
);
21163 if (PyErr_Occurred()) SWIG_fail
;
21165 resultobj
= result
;
21172 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21173 PyObject
*resultobj
= 0;
21174 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21176 PyObject
*result
= 0 ;
21181 PyObject
* obj0
= 0 ;
21182 PyObject
* obj1
= 0 ;
21183 char * kwnames
[] = {
21184 (char *) "self",(char *) "index", NULL
21187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21189 if (!SWIG_IsOK(res1
)) {
21190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21192 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21193 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21194 if (!SWIG_IsOK(ecode2
)) {
21195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "2"" of type '" "long""'");
21197 arg2
= static_cast< long >(val2
);
21199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21200 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
21201 wxPyEndAllowThreads(__tstate
);
21202 if (PyErr_Occurred()) SWIG_fail
;
21204 resultobj
= result
;
21211 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21212 PyObject
*resultobj
= 0;
21213 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21214 bool arg2
= (bool) false ;
21220 PyObject
* obj0
= 0 ;
21221 PyObject
* obj1
= 0 ;
21222 char * kwnames
[] = {
21223 (char *) "self",(char *) "recursive", NULL
21226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21228 if (!SWIG_IsOK(res1
)) {
21229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21231 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21233 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21234 if (!SWIG_IsOK(ecode2
)) {
21235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "2"" of type '" "bool""'");
21237 arg2
= static_cast< bool >(val2
);
21240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21241 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
21242 wxPyEndAllowThreads(__tstate
);
21243 if (PyErr_Occurred()) SWIG_fail
;
21245 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
21252 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21253 PyObject
*resultobj
= 0;
21254 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21255 bool arg2
= (bool) false ;
21261 PyObject
* obj0
= 0 ;
21262 PyObject
* obj1
= 0 ;
21263 char * kwnames
[] = {
21264 (char *) "self",(char *) "recursive", NULL
21267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21269 if (!SWIG_IsOK(res1
)) {
21270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21272 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21274 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21275 if (!SWIG_IsOK(ecode2
)) {
21276 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "2"" of type '" "bool""'");
21278 arg2
= static_cast< bool >(val2
);
21281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21282 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
21283 wxPyEndAllowThreads(__tstate
);
21284 if (PyErr_Occurred()) SWIG_fail
;
21286 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
21293 SWIGINTERN PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21294 PyObject
*resultobj
= 0;
21295 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21296 wxString
*arg2
= 0 ;
21300 bool temp2
= false ;
21301 PyObject
* obj0
= 0 ;
21302 PyObject
* obj1
= 0 ;
21303 char * kwnames
[] = {
21304 (char *) "self",(char *) "name", NULL
21307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21309 if (!SWIG_IsOK(res1
)) {
21310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasGroup" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21312 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21314 arg2
= wxString_in_helper(obj1
);
21315 if (arg2
== NULL
) SWIG_fail
;
21319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21320 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
21321 wxPyEndAllowThreads(__tstate
);
21322 if (PyErr_Occurred()) SWIG_fail
;
21325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21341 SWIGINTERN PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21342 PyObject
*resultobj
= 0;
21343 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21344 wxString
*arg2
= 0 ;
21348 bool temp2
= false ;
21349 PyObject
* obj0
= 0 ;
21350 PyObject
* obj1
= 0 ;
21351 char * kwnames
[] = {
21352 (char *) "self",(char *) "name", NULL
21355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21357 if (!SWIG_IsOK(res1
)) {
21358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasEntry" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21360 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21362 arg2
= wxString_in_helper(obj1
);
21363 if (arg2
== NULL
) SWIG_fail
;
21367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21368 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
21369 wxPyEndAllowThreads(__tstate
);
21370 if (PyErr_Occurred()) SWIG_fail
;
21373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21389 SWIGINTERN PyObject
*_wrap_ConfigBase_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21390 PyObject
*resultobj
= 0;
21391 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21392 wxString
*arg2
= 0 ;
21396 bool temp2
= false ;
21397 PyObject
* obj0
= 0 ;
21398 PyObject
* obj1
= 0 ;
21399 char * kwnames
[] = {
21400 (char *) "self",(char *) "name", NULL
21403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21405 if (!SWIG_IsOK(res1
)) {
21406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Exists" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21408 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21410 arg2
= wxString_in_helper(obj1
);
21411 if (arg2
== NULL
) SWIG_fail
;
21415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21416 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
21417 wxPyEndAllowThreads(__tstate
);
21418 if (PyErr_Occurred()) SWIG_fail
;
21421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21437 SWIGINTERN PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21438 PyObject
*resultobj
= 0;
21439 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21440 wxString
*arg2
= 0 ;
21441 wxConfigBase::EntryType result
;
21444 bool temp2
= false ;
21445 PyObject
* obj0
= 0 ;
21446 PyObject
* obj1
= 0 ;
21447 char * kwnames
[] = {
21448 (char *) "self",(char *) "name", NULL
21451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21453 if (!SWIG_IsOK(res1
)) {
21454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetEntryType" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21456 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21458 arg2
= wxString_in_helper(obj1
);
21459 if (arg2
== NULL
) SWIG_fail
;
21463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21464 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
21465 wxPyEndAllowThreads(__tstate
);
21466 if (PyErr_Occurred()) SWIG_fail
;
21468 resultobj
= SWIG_From_int(static_cast< int >(result
));
21483 SWIGINTERN PyObject
*_wrap_ConfigBase_Read(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21484 PyObject
*resultobj
= 0;
21485 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21486 wxString
*arg2
= 0 ;
21487 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21488 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21492 bool temp2
= false ;
21493 bool temp3
= false ;
21494 PyObject
* obj0
= 0 ;
21495 PyObject
* obj1
= 0 ;
21496 PyObject
* obj2
= 0 ;
21497 char * kwnames
[] = {
21498 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21503 if (!SWIG_IsOK(res1
)) {
21504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Read" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21506 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21508 arg2
= wxString_in_helper(obj1
);
21509 if (arg2
== NULL
) SWIG_fail
;
21514 arg3
= wxString_in_helper(obj2
);
21515 if (arg3
== NULL
) SWIG_fail
;
21520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21521 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
21522 wxPyEndAllowThreads(__tstate
);
21523 if (PyErr_Occurred()) SWIG_fail
;
21527 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21529 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21554 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21555 PyObject
*resultobj
= 0;
21556 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21557 wxString
*arg2
= 0 ;
21558 long arg3
= (long) 0 ;
21562 bool temp2
= false ;
21565 PyObject
* obj0
= 0 ;
21566 PyObject
* obj1
= 0 ;
21567 PyObject
* obj2
= 0 ;
21568 char * kwnames
[] = {
21569 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21574 if (!SWIG_IsOK(res1
)) {
21575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21577 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21579 arg2
= wxString_in_helper(obj1
);
21580 if (arg2
== NULL
) SWIG_fail
;
21584 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21585 if (!SWIG_IsOK(ecode3
)) {
21586 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadInt" "', expected argument " "3"" of type '" "long""'");
21588 arg3
= static_cast< long >(val3
);
21591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21592 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
21593 wxPyEndAllowThreads(__tstate
);
21594 if (PyErr_Occurred()) SWIG_fail
;
21596 resultobj
= SWIG_From_long(static_cast< long >(result
));
21611 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21612 PyObject
*resultobj
= 0;
21613 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21614 wxString
*arg2
= 0 ;
21615 double arg3
= (double) 0.0 ;
21619 bool temp2
= false ;
21622 PyObject
* obj0
= 0 ;
21623 PyObject
* obj1
= 0 ;
21624 PyObject
* obj2
= 0 ;
21625 char * kwnames
[] = {
21626 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21631 if (!SWIG_IsOK(res1
)) {
21632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21634 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21636 arg2
= wxString_in_helper(obj1
);
21637 if (arg2
== NULL
) SWIG_fail
;
21641 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21642 if (!SWIG_IsOK(ecode3
)) {
21643 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "3"" of type '" "double""'");
21645 arg3
= static_cast< double >(val3
);
21648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21649 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
21650 wxPyEndAllowThreads(__tstate
);
21651 if (PyErr_Occurred()) SWIG_fail
;
21653 resultobj
= SWIG_From_double(static_cast< double >(result
));
21668 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21669 PyObject
*resultobj
= 0;
21670 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21671 wxString
*arg2
= 0 ;
21672 bool arg3
= (bool) false ;
21676 bool temp2
= false ;
21679 PyObject
* obj0
= 0 ;
21680 PyObject
* obj1
= 0 ;
21681 PyObject
* obj2
= 0 ;
21682 char * kwnames
[] = {
21683 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21688 if (!SWIG_IsOK(res1
)) {
21689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21691 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21693 arg2
= wxString_in_helper(obj1
);
21694 if (arg2
== NULL
) SWIG_fail
;
21698 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21699 if (!SWIG_IsOK(ecode3
)) {
21700 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadBool" "', expected argument " "3"" of type '" "bool""'");
21702 arg3
= static_cast< bool >(val3
);
21705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21706 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
21707 wxPyEndAllowThreads(__tstate
);
21708 if (PyErr_Occurred()) SWIG_fail
;
21711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21727 SWIGINTERN PyObject
*_wrap_ConfigBase_Write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21728 PyObject
*resultobj
= 0;
21729 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21730 wxString
*arg2
= 0 ;
21731 wxString
*arg3
= 0 ;
21735 bool temp2
= false ;
21736 bool temp3
= false ;
21737 PyObject
* obj0
= 0 ;
21738 PyObject
* obj1
= 0 ;
21739 PyObject
* obj2
= 0 ;
21740 char * kwnames
[] = {
21741 (char *) "self",(char *) "key",(char *) "value", NULL
21744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21746 if (!SWIG_IsOK(res1
)) {
21747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Write" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21749 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21751 arg2
= wxString_in_helper(obj1
);
21752 if (arg2
== NULL
) SWIG_fail
;
21756 arg3
= wxString_in_helper(obj2
);
21757 if (arg3
== NULL
) SWIG_fail
;
21761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21762 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
21763 wxPyEndAllowThreads(__tstate
);
21764 if (PyErr_Occurred()) SWIG_fail
;
21767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21791 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21792 PyObject
*resultobj
= 0;
21793 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21794 wxString
*arg2
= 0 ;
21799 bool temp2
= false ;
21802 PyObject
* obj0
= 0 ;
21803 PyObject
* obj1
= 0 ;
21804 PyObject
* obj2
= 0 ;
21805 char * kwnames
[] = {
21806 (char *) "self",(char *) "key",(char *) "value", NULL
21809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21811 if (!SWIG_IsOK(res1
)) {
21812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21814 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21816 arg2
= wxString_in_helper(obj1
);
21817 if (arg2
== NULL
) SWIG_fail
;
21820 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21821 if (!SWIG_IsOK(ecode3
)) {
21822 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteInt" "', expected argument " "3"" of type '" "long""'");
21824 arg3
= static_cast< long >(val3
);
21826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21827 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
21828 wxPyEndAllowThreads(__tstate
);
21829 if (PyErr_Occurred()) SWIG_fail
;
21832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21848 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21849 PyObject
*resultobj
= 0;
21850 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21851 wxString
*arg2
= 0 ;
21856 bool temp2
= false ;
21859 PyObject
* obj0
= 0 ;
21860 PyObject
* obj1
= 0 ;
21861 PyObject
* obj2
= 0 ;
21862 char * kwnames
[] = {
21863 (char *) "self",(char *) "key",(char *) "value", NULL
21866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21868 if (!SWIG_IsOK(res1
)) {
21869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21871 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21873 arg2
= wxString_in_helper(obj1
);
21874 if (arg2
== NULL
) SWIG_fail
;
21877 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21878 if (!SWIG_IsOK(ecode3
)) {
21879 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "3"" of type '" "double""'");
21881 arg3
= static_cast< double >(val3
);
21883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21884 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
21885 wxPyEndAllowThreads(__tstate
);
21886 if (PyErr_Occurred()) SWIG_fail
;
21889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21905 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21906 PyObject
*resultobj
= 0;
21907 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21908 wxString
*arg2
= 0 ;
21913 bool temp2
= false ;
21916 PyObject
* obj0
= 0 ;
21917 PyObject
* obj1
= 0 ;
21918 PyObject
* obj2
= 0 ;
21919 char * kwnames
[] = {
21920 (char *) "self",(char *) "key",(char *) "value", NULL
21923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21925 if (!SWIG_IsOK(res1
)) {
21926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21928 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21930 arg2
= wxString_in_helper(obj1
);
21931 if (arg2
== NULL
) SWIG_fail
;
21934 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21935 if (!SWIG_IsOK(ecode3
)) {
21936 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteBool" "', expected argument " "3"" of type '" "bool""'");
21938 arg3
= static_cast< bool >(val3
);
21940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21941 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
21942 wxPyEndAllowThreads(__tstate
);
21943 if (PyErr_Occurred()) SWIG_fail
;
21946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21962 SWIGINTERN PyObject
*_wrap_ConfigBase_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21963 PyObject
*resultobj
= 0;
21964 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21965 bool arg2
= (bool) false ;
21971 PyObject
* obj0
= 0 ;
21972 PyObject
* obj1
= 0 ;
21973 char * kwnames
[] = {
21974 (char *) "self",(char *) "currentOnly", NULL
21977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21979 if (!SWIG_IsOK(res1
)) {
21980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Flush" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21982 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21984 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21985 if (!SWIG_IsOK(ecode2
)) {
21986 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_Flush" "', expected argument " "2"" of type '" "bool""'");
21988 arg2
= static_cast< bool >(val2
);
21991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21992 result
= (bool)(arg1
)->Flush(arg2
);
21993 wxPyEndAllowThreads(__tstate
);
21994 if (PyErr_Occurred()) SWIG_fail
;
21997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22005 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22006 PyObject
*resultobj
= 0;
22007 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22008 wxString
*arg2
= 0 ;
22009 wxString
*arg3
= 0 ;
22013 bool temp2
= false ;
22014 bool temp3
= false ;
22015 PyObject
* obj0
= 0 ;
22016 PyObject
* obj1
= 0 ;
22017 PyObject
* obj2
= 0 ;
22018 char * kwnames
[] = {
22019 (char *) "self",(char *) "oldName",(char *) "newName", NULL
22022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22024 if (!SWIG_IsOK(res1
)) {
22025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22027 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22029 arg2
= wxString_in_helper(obj1
);
22030 if (arg2
== NULL
) SWIG_fail
;
22034 arg3
= wxString_in_helper(obj2
);
22035 if (arg3
== NULL
) SWIG_fail
;
22039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22040 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
22041 wxPyEndAllowThreads(__tstate
);
22042 if (PyErr_Occurred()) SWIG_fail
;
22045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22069 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22070 PyObject
*resultobj
= 0;
22071 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22072 wxString
*arg2
= 0 ;
22073 wxString
*arg3
= 0 ;
22077 bool temp2
= false ;
22078 bool temp3
= false ;
22079 PyObject
* obj0
= 0 ;
22080 PyObject
* obj1
= 0 ;
22081 PyObject
* obj2
= 0 ;
22082 char * kwnames
[] = {
22083 (char *) "self",(char *) "oldName",(char *) "newName", NULL
22086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22088 if (!SWIG_IsOK(res1
)) {
22089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22091 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22093 arg2
= wxString_in_helper(obj1
);
22094 if (arg2
== NULL
) SWIG_fail
;
22098 arg3
= wxString_in_helper(obj2
);
22099 if (arg3
== NULL
) SWIG_fail
;
22103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22104 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
22105 wxPyEndAllowThreads(__tstate
);
22106 if (PyErr_Occurred()) SWIG_fail
;
22109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22133 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22134 PyObject
*resultobj
= 0;
22135 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22136 wxString
*arg2
= 0 ;
22137 bool arg3
= (bool) true ;
22141 bool temp2
= false ;
22144 PyObject
* obj0
= 0 ;
22145 PyObject
* obj1
= 0 ;
22146 PyObject
* obj2
= 0 ;
22147 char * kwnames
[] = {
22148 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
22151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22153 if (!SWIG_IsOK(res1
)) {
22154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22156 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22158 arg2
= wxString_in_helper(obj1
);
22159 if (arg2
== NULL
) SWIG_fail
;
22163 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22164 if (!SWIG_IsOK(ecode3
)) {
22165 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "3"" of type '" "bool""'");
22167 arg3
= static_cast< bool >(val3
);
22170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22171 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
22172 wxPyEndAllowThreads(__tstate
);
22173 if (PyErr_Occurred()) SWIG_fail
;
22176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22192 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22193 PyObject
*resultobj
= 0;
22194 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22195 wxString
*arg2
= 0 ;
22199 bool temp2
= false ;
22200 PyObject
* obj0
= 0 ;
22201 PyObject
* obj1
= 0 ;
22202 char * kwnames
[] = {
22203 (char *) "self",(char *) "key", NULL
22206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22208 if (!SWIG_IsOK(res1
)) {
22209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22211 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22213 arg2
= wxString_in_helper(obj1
);
22214 if (arg2
== NULL
) SWIG_fail
;
22218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22219 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
22220 wxPyEndAllowThreads(__tstate
);
22221 if (PyErr_Occurred()) SWIG_fail
;
22224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22240 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22241 PyObject
*resultobj
= 0;
22242 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22246 PyObject
*swig_obj
[1] ;
22248 if (!args
) SWIG_fail
;
22249 swig_obj
[0] = args
;
22250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22251 if (!SWIG_IsOK(res1
)) {
22252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteAll" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22254 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22257 result
= (bool)(arg1
)->DeleteAll();
22258 wxPyEndAllowThreads(__tstate
);
22259 if (PyErr_Occurred()) SWIG_fail
;
22262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22270 SWIGINTERN PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22271 PyObject
*resultobj
= 0;
22272 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22273 bool arg2
= (bool) true ;
22278 PyObject
* obj0
= 0 ;
22279 PyObject
* obj1
= 0 ;
22280 char * kwnames
[] = {
22281 (char *) "self",(char *) "doIt", NULL
22284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22286 if (!SWIG_IsOK(res1
)) {
22287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22289 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22291 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22292 if (!SWIG_IsOK(ecode2
)) {
22293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "2"" of type '" "bool""'");
22295 arg2
= static_cast< bool >(val2
);
22298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22299 (arg1
)->SetExpandEnvVars(arg2
);
22300 wxPyEndAllowThreads(__tstate
);
22301 if (PyErr_Occurred()) SWIG_fail
;
22303 resultobj
= SWIG_Py_Void();
22310 SWIGINTERN PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22311 PyObject
*resultobj
= 0;
22312 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22316 PyObject
*swig_obj
[1] ;
22318 if (!args
) SWIG_fail
;
22319 swig_obj
[0] = args
;
22320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22321 if (!SWIG_IsOK(res1
)) {
22322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsExpandingEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22324 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22327 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
22328 wxPyEndAllowThreads(__tstate
);
22329 if (PyErr_Occurred()) SWIG_fail
;
22332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22340 SWIGINTERN PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22341 PyObject
*resultobj
= 0;
22342 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22343 bool arg2
= (bool) true ;
22348 PyObject
* obj0
= 0 ;
22349 PyObject
* obj1
= 0 ;
22350 char * kwnames
[] = {
22351 (char *) "self",(char *) "doIt", NULL
22354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22356 if (!SWIG_IsOK(res1
)) {
22357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22359 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22361 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22362 if (!SWIG_IsOK(ecode2
)) {
22363 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "2"" of type '" "bool""'");
22365 arg2
= static_cast< bool >(val2
);
22368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22369 (arg1
)->SetRecordDefaults(arg2
);
22370 wxPyEndAllowThreads(__tstate
);
22371 if (PyErr_Occurred()) SWIG_fail
;
22373 resultobj
= SWIG_Py_Void();
22380 SWIGINTERN PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22381 PyObject
*resultobj
= 0;
22382 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22386 PyObject
*swig_obj
[1] ;
22388 if (!args
) SWIG_fail
;
22389 swig_obj
[0] = args
;
22390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22391 if (!SWIG_IsOK(res1
)) {
22392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsRecordingDefaults" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22394 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22397 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
22398 wxPyEndAllowThreads(__tstate
);
22399 if (PyErr_Occurred()) SWIG_fail
;
22402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22410 SWIGINTERN PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22411 PyObject
*resultobj
= 0;
22412 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22413 wxString
*arg2
= 0 ;
22417 bool temp2
= false ;
22418 PyObject
* obj0
= 0 ;
22419 PyObject
* obj1
= 0 ;
22420 char * kwnames
[] = {
22421 (char *) "self",(char *) "str", NULL
22424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22426 if (!SWIG_IsOK(res1
)) {
22427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22429 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22431 arg2
= wxString_in_helper(obj1
);
22432 if (arg2
== NULL
) SWIG_fail
;
22436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22437 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
22438 wxPyEndAllowThreads(__tstate
);
22439 if (PyErr_Occurred()) SWIG_fail
;
22443 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22445 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22462 SWIGINTERN PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22463 PyObject
*resultobj
= 0;
22464 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22468 PyObject
*swig_obj
[1] ;
22470 if (!args
) SWIG_fail
;
22471 swig_obj
[0] = args
;
22472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22473 if (!SWIG_IsOK(res1
)) {
22474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetAppName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22476 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22479 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
22480 wxPyEndAllowThreads(__tstate
);
22481 if (PyErr_Occurred()) SWIG_fail
;
22485 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22487 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22496 SWIGINTERN PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22497 PyObject
*resultobj
= 0;
22498 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22502 PyObject
*swig_obj
[1] ;
22504 if (!args
) SWIG_fail
;
22505 swig_obj
[0] = args
;
22506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22507 if (!SWIG_IsOK(res1
)) {
22508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetVendorName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22510 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22513 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
22514 wxPyEndAllowThreads(__tstate
);
22515 if (PyErr_Occurred()) SWIG_fail
;
22519 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22521 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22530 SWIGINTERN PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22531 PyObject
*resultobj
= 0;
22532 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22533 wxString
*arg2
= 0 ;
22536 bool temp2
= false ;
22537 PyObject
* obj0
= 0 ;
22538 PyObject
* obj1
= 0 ;
22539 char * kwnames
[] = {
22540 (char *) "self",(char *) "appName", NULL
22543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22545 if (!SWIG_IsOK(res1
)) {
22546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetAppName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22548 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22550 arg2
= wxString_in_helper(obj1
);
22551 if (arg2
== NULL
) SWIG_fail
;
22555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22556 (arg1
)->SetAppName((wxString
const &)*arg2
);
22557 wxPyEndAllowThreads(__tstate
);
22558 if (PyErr_Occurred()) SWIG_fail
;
22560 resultobj
= SWIG_Py_Void();
22575 SWIGINTERN PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22576 PyObject
*resultobj
= 0;
22577 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22578 wxString
*arg2
= 0 ;
22581 bool temp2
= false ;
22582 PyObject
* obj0
= 0 ;
22583 PyObject
* obj1
= 0 ;
22584 char * kwnames
[] = {
22585 (char *) "self",(char *) "vendorName", NULL
22588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22590 if (!SWIG_IsOK(res1
)) {
22591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetVendorName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22593 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22595 arg2
= wxString_in_helper(obj1
);
22596 if (arg2
== NULL
) SWIG_fail
;
22600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22601 (arg1
)->SetVendorName((wxString
const &)*arg2
);
22602 wxPyEndAllowThreads(__tstate
);
22603 if (PyErr_Occurred()) SWIG_fail
;
22605 resultobj
= SWIG_Py_Void();
22620 SWIGINTERN PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22621 PyObject
*resultobj
= 0;
22622 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22628 PyObject
* obj0
= 0 ;
22629 PyObject
* obj1
= 0 ;
22630 char * kwnames
[] = {
22631 (char *) "self",(char *) "style", NULL
22634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22636 if (!SWIG_IsOK(res1
)) {
22637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetStyle" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22639 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22640 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
22641 if (!SWIG_IsOK(ecode2
)) {
22642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetStyle" "', expected argument " "2"" of type '" "long""'");
22644 arg2
= static_cast< long >(val2
);
22646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22647 (arg1
)->SetStyle(arg2
);
22648 wxPyEndAllowThreads(__tstate
);
22649 if (PyErr_Occurred()) SWIG_fail
;
22651 resultobj
= SWIG_Py_Void();
22658 SWIGINTERN PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22659 PyObject
*resultobj
= 0;
22660 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22664 PyObject
*swig_obj
[1] ;
22666 if (!args
) SWIG_fail
;
22667 swig_obj
[0] = args
;
22668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22669 if (!SWIG_IsOK(res1
)) {
22670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetStyle" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22672 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22675 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
22676 wxPyEndAllowThreads(__tstate
);
22677 if (PyErr_Occurred()) SWIG_fail
;
22679 resultobj
= SWIG_From_long(static_cast< long >(result
));
22686 SWIGINTERN PyObject
*ConfigBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22688 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22689 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigBase
, SWIG_NewClientData(obj
));
22690 return SWIG_Py_Void();
22693 SWIGINTERN PyObject
*_wrap_new_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22694 PyObject
*resultobj
= 0;
22695 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22696 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22697 wxString
const &arg2_defvalue
= wxPyEmptyString
;
22698 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22699 wxString
const &arg3_defvalue
= wxPyEmptyString
;
22700 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
22701 wxString
const &arg4_defvalue
= wxPyEmptyString
;
22702 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
22703 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
22704 wxConfig
*result
= 0 ;
22705 bool temp1
= false ;
22706 bool temp2
= false ;
22707 bool temp3
= false ;
22708 bool temp4
= false ;
22711 PyObject
* obj0
= 0 ;
22712 PyObject
* obj1
= 0 ;
22713 PyObject
* obj2
= 0 ;
22714 PyObject
* obj3
= 0 ;
22715 PyObject
* obj4
= 0 ;
22716 char * kwnames
[] = {
22717 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
22720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22723 arg1
= wxString_in_helper(obj0
);
22724 if (arg1
== NULL
) SWIG_fail
;
22730 arg2
= wxString_in_helper(obj1
);
22731 if (arg2
== NULL
) SWIG_fail
;
22737 arg3
= wxString_in_helper(obj2
);
22738 if (arg3
== NULL
) SWIG_fail
;
22744 arg4
= wxString_in_helper(obj3
);
22745 if (arg4
== NULL
) SWIG_fail
;
22750 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22751 if (!SWIG_IsOK(ecode5
)) {
22752 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Config" "', expected argument " "5"" of type '" "long""'");
22754 arg5
= static_cast< long >(val5
);
22757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22758 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
22759 wxPyEndAllowThreads(__tstate
);
22760 if (PyErr_Occurred()) SWIG_fail
;
22762 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfig
, SWIG_POINTER_NEW
| 0 );
22801 SWIGINTERN PyObject
*_wrap_delete_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22802 PyObject
*resultobj
= 0;
22803 wxConfig
*arg1
= (wxConfig
*) 0 ;
22806 PyObject
*swig_obj
[1] ;
22808 if (!args
) SWIG_fail
;
22809 swig_obj
[0] = args
;
22810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfig
, SWIG_POINTER_DISOWN
| 0 );
22811 if (!SWIG_IsOK(res1
)) {
22812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Config" "', expected argument " "1"" of type '" "wxConfig *""'");
22814 arg1
= reinterpret_cast< wxConfig
* >(argp1
);
22816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22819 wxPyEndAllowThreads(__tstate
);
22820 if (PyErr_Occurred()) SWIG_fail
;
22822 resultobj
= SWIG_Py_Void();
22829 SWIGINTERN PyObject
*Config_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22831 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22832 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfig
, SWIG_NewClientData(obj
));
22833 return SWIG_Py_Void();
22836 SWIGINTERN PyObject
*Config_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22837 return SWIG_Python_InitShadowInstance(args
);
22840 SWIGINTERN PyObject
*_wrap_new_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22841 PyObject
*resultobj
= 0;
22842 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22843 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22844 wxString
const &arg2_defvalue
= wxPyEmptyString
;
22845 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22846 wxString
const &arg3_defvalue
= wxPyEmptyString
;
22847 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
22848 wxString
const &arg4_defvalue
= wxPyEmptyString
;
22849 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
22850 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
22851 wxFileConfig
*result
= 0 ;
22852 bool temp1
= false ;
22853 bool temp2
= false ;
22854 bool temp3
= false ;
22855 bool temp4
= false ;
22858 PyObject
* obj0
= 0 ;
22859 PyObject
* obj1
= 0 ;
22860 PyObject
* obj2
= 0 ;
22861 PyObject
* obj3
= 0 ;
22862 PyObject
* obj4
= 0 ;
22863 char * kwnames
[] = {
22864 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
22867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22870 arg1
= wxString_in_helper(obj0
);
22871 if (arg1
== NULL
) SWIG_fail
;
22877 arg2
= wxString_in_helper(obj1
);
22878 if (arg2
== NULL
) SWIG_fail
;
22884 arg3
= wxString_in_helper(obj2
);
22885 if (arg3
== NULL
) SWIG_fail
;
22891 arg4
= wxString_in_helper(obj3
);
22892 if (arg4
== NULL
) SWIG_fail
;
22897 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22898 if (!SWIG_IsOK(ecode5
)) {
22899 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FileConfig" "', expected argument " "5"" of type '" "long""'");
22901 arg5
= static_cast< long >(val5
);
22904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22905 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
22906 wxPyEndAllowThreads(__tstate
);
22907 if (PyErr_Occurred()) SWIG_fail
;
22909 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_NEW
| 0 );
22948 SWIGINTERN PyObject
*_wrap_delete_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22949 PyObject
*resultobj
= 0;
22950 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
22953 PyObject
*swig_obj
[1] ;
22955 if (!args
) SWIG_fail
;
22956 swig_obj
[0] = args
;
22957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_DISOWN
| 0 );
22958 if (!SWIG_IsOK(res1
)) {
22959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileConfig" "', expected argument " "1"" of type '" "wxFileConfig *""'");
22961 arg1
= reinterpret_cast< wxFileConfig
* >(argp1
);
22963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22966 wxPyEndAllowThreads(__tstate
);
22967 if (PyErr_Occurred()) SWIG_fail
;
22969 resultobj
= SWIG_Py_Void();
22976 SWIGINTERN PyObject
*FileConfig_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22978 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22979 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileConfig
, SWIG_NewClientData(obj
));
22980 return SWIG_Py_Void();
22983 SWIGINTERN PyObject
*FileConfig_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22984 return SWIG_Python_InitShadowInstance(args
);
22987 SWIGINTERN PyObject
*_wrap_new_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22988 PyObject
*resultobj
= 0;
22989 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22990 wxString
*arg2
= 0 ;
22991 wxConfigPathChanger
*result
= 0 ;
22994 bool temp2
= false ;
22995 PyObject
* obj0
= 0 ;
22996 PyObject
* obj1
= 0 ;
22997 char * kwnames
[] = {
22998 (char *) "config",(char *) "entry", NULL
23001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
23003 if (!SWIG_IsOK(res1
)) {
23004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
23006 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
23008 arg2
= wxString_in_helper(obj1
);
23009 if (arg2
== NULL
) SWIG_fail
;
23013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23014 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
23015 wxPyEndAllowThreads(__tstate
);
23016 if (PyErr_Occurred()) SWIG_fail
;
23018 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_NEW
| 0 );
23033 SWIGINTERN PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23034 PyObject
*resultobj
= 0;
23035 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
23038 PyObject
*swig_obj
[1] ;
23040 if (!args
) SWIG_fail
;
23041 swig_obj
[0] = args
;
23042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_DISOWN
| 0 );
23043 if (!SWIG_IsOK(res1
)) {
23044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigPathChanger *""'");
23046 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
23048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23051 wxPyEndAllowThreads(__tstate
);
23052 if (PyErr_Occurred()) SWIG_fail
;
23054 resultobj
= SWIG_Py_Void();
23061 SWIGINTERN PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23062 PyObject
*resultobj
= 0;
23063 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
23064 wxString
*result
= 0 ;
23067 PyObject
*swig_obj
[1] ;
23069 if (!args
) SWIG_fail
;
23070 swig_obj
[0] = args
;
23071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, 0 | 0 );
23072 if (!SWIG_IsOK(res1
)) {
23073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigPathChanger_Name" "', expected argument " "1"" of type '" "wxConfigPathChanger const *""'");
23075 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
23077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23079 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
23080 result
= (wxString
*) &_result_ref
;
23082 wxPyEndAllowThreads(__tstate
);
23083 if (PyErr_Occurred()) SWIG_fail
;
23087 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23089 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23098 SWIGINTERN PyObject
*ConfigPathChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23100 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23101 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigPathChanger
, SWIG_NewClientData(obj
));
23102 return SWIG_Py_Void();
23105 SWIGINTERN PyObject
*ConfigPathChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23106 return SWIG_Python_InitShadowInstance(args
);
23109 SWIGINTERN PyObject
*_wrap_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23110 PyObject
*resultobj
= 0;
23111 wxString
*arg1
= 0 ;
23113 bool temp1
= false ;
23114 PyObject
* obj0
= 0 ;
23115 char * kwnames
[] = {
23116 (char *) "sz", NULL
23119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) SWIG_fail
;
23121 arg1
= wxString_in_helper(obj0
);
23122 if (arg1
== NULL
) SWIG_fail
;
23126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23127 result
= wxExpandEnvVars((wxString
const &)*arg1
);
23128 wxPyEndAllowThreads(__tstate
);
23129 if (PyErr_Occurred()) SWIG_fail
;
23133 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23135 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23152 SWIGINTERN
int DefaultDateTimeFormat_set(PyObject
*) {
23153 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTimeFormat is read-only.");
23158 SWIGINTERN PyObject
*DefaultDateTimeFormat_get(void) {
23159 PyObject
*pyobj
= 0;
23163 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
23165 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
23172 SWIGINTERN
int DefaultTimeSpanFormat_set(PyObject
*) {
23173 SWIG_Error(SWIG_AttributeError
,"Variable DefaultTimeSpanFormat is read-only.");
23178 SWIGINTERN PyObject
*DefaultTimeSpanFormat_get(void) {
23179 PyObject
*pyobj
= 0;
23183 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
23185 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
23192 SWIGINTERN PyObject
*_wrap_DateTime_SetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23193 PyObject
*resultobj
= 0;
23194 wxDateTime::Country arg1
;
23197 PyObject
* obj0
= 0 ;
23198 char * kwnames
[] = {
23199 (char *) "country", NULL
23202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) SWIG_fail
;
23203 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23204 if (!SWIG_IsOK(ecode1
)) {
23205 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
23207 arg1
= static_cast< wxDateTime::Country
>(val1
);
23209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23210 wxDateTime::SetCountry(arg1
);
23211 wxPyEndAllowThreads(__tstate
);
23212 if (PyErr_Occurred()) SWIG_fail
;
23214 resultobj
= SWIG_Py_Void();
23221 SWIGINTERN PyObject
*_wrap_DateTime_GetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23222 PyObject
*resultobj
= 0;
23223 wxDateTime::Country result
;
23225 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetCountry",0,0,0)) SWIG_fail
;
23227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23228 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
23229 wxPyEndAllowThreads(__tstate
);
23230 if (PyErr_Occurred()) SWIG_fail
;
23232 resultobj
= SWIG_From_int(static_cast< int >(result
));
23239 SWIGINTERN PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23240 PyObject
*resultobj
= 0;
23241 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23245 PyObject
* obj0
= 0 ;
23246 char * kwnames
[] = {
23247 (char *) "country", NULL
23250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) SWIG_fail
;
23252 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23253 if (!SWIG_IsOK(ecode1
)) {
23254 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsWestEuropeanCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
23256 arg1
= static_cast< wxDateTime::Country
>(val1
);
23259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23260 result
= (bool)wxDateTime::IsWestEuropeanCountry(arg1
);
23261 wxPyEndAllowThreads(__tstate
);
23262 if (PyErr_Occurred()) SWIG_fail
;
23265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23273 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23274 PyObject
*resultobj
= 0;
23275 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23279 PyObject
* obj0
= 0 ;
23280 char * kwnames
[] = {
23281 (char *) "cal", NULL
23284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) SWIG_fail
;
23286 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23287 if (!SWIG_IsOK(ecode1
)) {
23288 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentYear" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
23290 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
23293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23294 result
= (int)wxDateTime::GetCurrentYear(arg1
);
23295 wxPyEndAllowThreads(__tstate
);
23296 if (PyErr_Occurred()) SWIG_fail
;
23298 resultobj
= SWIG_From_int(static_cast< int >(result
));
23305 SWIGINTERN PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23306 PyObject
*resultobj
= 0;
23311 PyObject
* obj0
= 0 ;
23312 char * kwnames
[] = {
23313 (char *) "year", NULL
23316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) SWIG_fail
;
23317 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23318 if (!SWIG_IsOK(ecode1
)) {
23319 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_ConvertYearToBC" "', expected argument " "1"" of type '" "int""'");
23321 arg1
= static_cast< int >(val1
);
23323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23324 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
23325 wxPyEndAllowThreads(__tstate
);
23326 if (PyErr_Occurred()) SWIG_fail
;
23328 resultobj
= SWIG_From_int(static_cast< int >(result
));
23335 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23336 PyObject
*resultobj
= 0;
23337 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23338 wxDateTime::Month result
;
23341 PyObject
* obj0
= 0 ;
23342 char * kwnames
[] = {
23343 (char *) "cal", NULL
23346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) SWIG_fail
;
23348 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23349 if (!SWIG_IsOK(ecode1
)) {
23350 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentMonth" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
23352 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
23355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23356 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth(arg1
);
23357 wxPyEndAllowThreads(__tstate
);
23358 if (PyErr_Occurred()) SWIG_fail
;
23360 resultobj
= SWIG_From_int(static_cast< int >(result
));
23367 SWIGINTERN PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23368 PyObject
*resultobj
= 0;
23369 int arg1
= (int) wxDateTime::Inv_Year
;
23370 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23376 PyObject
* obj0
= 0 ;
23377 PyObject
* obj1
= 0 ;
23378 char * kwnames
[] = {
23379 (char *) "year",(char *) "cal", NULL
23382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23384 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23385 if (!SWIG_IsOK(ecode1
)) {
23386 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsLeapYear" "', expected argument " "1"" of type '" "int""'");
23388 arg1
= static_cast< int >(val1
);
23391 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23392 if (!SWIG_IsOK(ecode2
)) {
23393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsLeapYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
23395 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
23398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23399 result
= (bool)wxDateTime::IsLeapYear(arg1
,arg2
);
23400 wxPyEndAllowThreads(__tstate
);
23401 if (PyErr_Occurred()) SWIG_fail
;
23404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23412 SWIGINTERN PyObject
*_wrap_DateTime_GetCentury(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23413 PyObject
*resultobj
= 0;
23414 int arg1
= (int) wxDateTime::Inv_Year
;
23418 PyObject
* obj0
= 0 ;
23419 char * kwnames
[] = {
23420 (char *) "year", NULL
23423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) SWIG_fail
;
23425 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23426 if (!SWIG_IsOK(ecode1
)) {
23427 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCentury" "', expected argument " "1"" of type '" "int""'");
23429 arg1
= static_cast< int >(val1
);
23432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23433 result
= (int)wxDateTime::GetCentury(arg1
);
23434 wxPyEndAllowThreads(__tstate
);
23435 if (PyErr_Occurred()) SWIG_fail
;
23437 resultobj
= SWIG_From_int(static_cast< int >(result
));
23444 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23445 PyObject
*resultobj
= 0;
23447 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23453 PyObject
* obj0
= 0 ;
23454 PyObject
* obj1
= 0 ;
23455 char * kwnames
[] = {
23456 (char *) "year",(char *) "cal", NULL
23459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23460 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23461 if (!SWIG_IsOK(ecode1
)) {
23462 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "1"" of type '" "int""'");
23464 arg1
= static_cast< int >(val1
);
23466 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23467 if (!SWIG_IsOK(ecode2
)) {
23468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
23470 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
23473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23474 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
);
23475 wxPyEndAllowThreads(__tstate
);
23476 if (PyErr_Occurred()) SWIG_fail
;
23478 resultobj
= SWIG_From_int(static_cast< int >(result
));
23485 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23486 PyObject
*resultobj
= 0;
23487 wxDateTime::Month arg1
;
23488 int arg2
= (int) wxDateTime::Inv_Year
;
23489 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23497 PyObject
* obj0
= 0 ;
23498 PyObject
* obj1
= 0 ;
23499 PyObject
* obj2
= 0 ;
23500 char * kwnames
[] = {
23501 (char *) "month",(char *) "year",(char *) "cal", NULL
23504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23505 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23506 if (!SWIG_IsOK(ecode1
)) {
23507 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
23509 arg1
= static_cast< wxDateTime::Month
>(val1
);
23511 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23512 if (!SWIG_IsOK(ecode2
)) {
23513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "2"" of type '" "int""'");
23515 arg2
= static_cast< int >(val2
);
23518 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23519 if (!SWIG_IsOK(ecode3
)) {
23520 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "3"" of type '" "wxDateTime::Calendar""'");
23522 arg3
= static_cast< wxDateTime::Calendar
>(val3
);
23525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23526 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
,arg3
);
23527 wxPyEndAllowThreads(__tstate
);
23528 if (PyErr_Occurred()) SWIG_fail
;
23530 resultobj
= SWIG_From_int(static_cast< int >(result
));
23537 SWIGINTERN PyObject
*_wrap_DateTime_GetMonthName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23538 PyObject
*resultobj
= 0;
23539 wxDateTime::Month arg1
;
23540 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
23546 PyObject
* obj0
= 0 ;
23547 PyObject
* obj1
= 0 ;
23548 char * kwnames
[] = {
23549 (char *) "month",(char *) "flags", NULL
23552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23553 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23554 if (!SWIG_IsOK(ecode1
)) {
23555 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetMonthName" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
23557 arg1
= static_cast< wxDateTime::Month
>(val1
);
23559 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23560 if (!SWIG_IsOK(ecode2
)) {
23561 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetMonthName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
23563 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
23566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23567 result
= wxDateTime::GetMonthName(arg1
,arg2
);
23568 wxPyEndAllowThreads(__tstate
);
23569 if (PyErr_Occurred()) SWIG_fail
;
23573 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23575 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23584 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23585 PyObject
*resultobj
= 0;
23586 wxDateTime::WeekDay arg1
;
23587 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
23593 PyObject
* obj0
= 0 ;
23594 PyObject
* obj1
= 0 ;
23595 char * kwnames
[] = {
23596 (char *) "weekday",(char *) "flags", NULL
23599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23600 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23601 if (!SWIG_IsOK(ecode1
)) {
23602 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "1"" of type '" "wxDateTime::WeekDay""'");
23604 arg1
= static_cast< wxDateTime::WeekDay
>(val1
);
23606 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23607 if (!SWIG_IsOK(ecode2
)) {
23608 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
23610 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
23613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23614 result
= wxDateTime::GetWeekDayName(arg1
,arg2
);
23615 wxPyEndAllowThreads(__tstate
);
23616 if (PyErr_Occurred()) SWIG_fail
;
23620 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23622 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23631 SWIGINTERN PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23632 PyObject
*resultobj
= 0;
23633 PyObject
*result
= 0 ;
23635 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetAmPmStrings",0,0,0)) SWIG_fail
;
23637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23638 result
= (PyObject
*)wxDateTime_GetAmPmStrings();
23639 wxPyEndAllowThreads(__tstate
);
23640 if (PyErr_Occurred()) SWIG_fail
;
23642 resultobj
= result
;
23649 SWIGINTERN PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23650 PyObject
*resultobj
= 0;
23651 int arg1
= (int) wxDateTime::Inv_Year
;
23652 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23658 PyObject
* obj0
= 0 ;
23659 PyObject
* obj1
= 0 ;
23660 char * kwnames
[] = {
23661 (char *) "year",(char *) "country", NULL
23664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23666 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23667 if (!SWIG_IsOK(ecode1
)) {
23668 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "1"" of type '" "int""'");
23670 arg1
= static_cast< int >(val1
);
23673 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23674 if (!SWIG_IsOK(ecode2
)) {
23675 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
23677 arg2
= static_cast< wxDateTime::Country
>(val2
);
23680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23681 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,arg2
);
23682 wxPyEndAllowThreads(__tstate
);
23683 if (PyErr_Occurred()) SWIG_fail
;
23686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23694 SWIGINTERN PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23695 PyObject
*resultobj
= 0;
23696 int arg1
= (int) wxDateTime::Inv_Year
;
23697 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23703 PyObject
* obj0
= 0 ;
23704 PyObject
* obj1
= 0 ;
23705 char * kwnames
[] = {
23706 (char *) "year",(char *) "country", NULL
23709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23711 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23712 if (!SWIG_IsOK(ecode1
)) {
23713 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetBeginDST" "', expected argument " "1"" of type '" "int""'");
23715 arg1
= static_cast< int >(val1
);
23718 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23719 if (!SWIG_IsOK(ecode2
)) {
23720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetBeginDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
23722 arg2
= static_cast< wxDateTime::Country
>(val2
);
23725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23726 result
= wxDateTime::GetBeginDST(arg1
,arg2
);
23727 wxPyEndAllowThreads(__tstate
);
23728 if (PyErr_Occurred()) SWIG_fail
;
23730 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23737 SWIGINTERN PyObject
*_wrap_DateTime_GetEndDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23738 PyObject
*resultobj
= 0;
23739 int arg1
= (int) wxDateTime::Inv_Year
;
23740 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23746 PyObject
* obj0
= 0 ;
23747 PyObject
* obj1
= 0 ;
23748 char * kwnames
[] = {
23749 (char *) "year",(char *) "country", NULL
23752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23754 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23755 if (!SWIG_IsOK(ecode1
)) {
23756 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetEndDST" "', expected argument " "1"" of type '" "int""'");
23758 arg1
= static_cast< int >(val1
);
23761 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23762 if (!SWIG_IsOK(ecode2
)) {
23763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetEndDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
23765 arg2
= static_cast< wxDateTime::Country
>(val2
);
23768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23769 result
= wxDateTime::GetEndDST(arg1
,arg2
);
23770 wxPyEndAllowThreads(__tstate
);
23771 if (PyErr_Occurred()) SWIG_fail
;
23773 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23780 SWIGINTERN PyObject
*_wrap_DateTime_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23781 PyObject
*resultobj
= 0;
23784 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Now",0,0,0)) SWIG_fail
;
23786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23787 result
= wxDateTime::Now();
23788 wxPyEndAllowThreads(__tstate
);
23789 if (PyErr_Occurred()) SWIG_fail
;
23791 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23798 SWIGINTERN PyObject
*_wrap_DateTime_UNow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23799 PyObject
*resultobj
= 0;
23802 if (!SWIG_Python_UnpackTuple(args
,"DateTime_UNow",0,0,0)) SWIG_fail
;
23804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23805 result
= wxDateTime::UNow();
23806 wxPyEndAllowThreads(__tstate
);
23807 if (PyErr_Occurred()) SWIG_fail
;
23809 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23816 SWIGINTERN PyObject
*_wrap_DateTime_Today(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23817 PyObject
*resultobj
= 0;
23820 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Today",0,0,0)) SWIG_fail
;
23822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23823 result
= wxDateTime::Today();
23824 wxPyEndAllowThreads(__tstate
);
23825 if (PyErr_Occurred()) SWIG_fail
;
23827 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23834 SWIGINTERN PyObject
*_wrap_new_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23835 PyObject
*resultobj
= 0;
23836 wxDateTime
*result
= 0 ;
23838 if (!SWIG_Python_UnpackTuple(args
,"new_DateTime",0,0,0)) SWIG_fail
;
23840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23841 result
= (wxDateTime
*)new wxDateTime();
23842 wxPyEndAllowThreads(__tstate
);
23843 if (PyErr_Occurred()) SWIG_fail
;
23845 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_NEW
| 0 );
23852 SWIGINTERN PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23853 PyObject
*resultobj
= 0;
23855 wxDateTime
*result
= 0 ;
23856 unsigned int val1
;
23858 PyObject
* obj0
= 0 ;
23859 char * kwnames
[] = {
23860 (char *) "timet", NULL
23863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) SWIG_fail
;
23864 ecode1
= SWIG_AsVal_unsigned_SS_int(obj0
, &val1
);
23865 if (!SWIG_IsOK(ecode1
)) {
23866 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromTimeT" "', expected argument " "1"" of type '" "time_t""'");
23868 arg1
= static_cast< time_t >(val1
);
23870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23871 result
= (wxDateTime
*)new wxDateTime(arg1
);
23872 wxPyEndAllowThreads(__tstate
);
23873 if (PyErr_Occurred()) SWIG_fail
;
23875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23882 SWIGINTERN PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23883 PyObject
*resultobj
= 0;
23885 wxDateTime
*result
= 0 ;
23888 PyObject
* obj0
= 0 ;
23889 char * kwnames
[] = {
23890 (char *) "jdn", NULL
23893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) SWIG_fail
;
23894 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
23895 if (!SWIG_IsOK(ecode1
)) {
23896 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromJDN" "', expected argument " "1"" of type '" "double""'");
23898 arg1
= static_cast< double >(val1
);
23900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23901 result
= (wxDateTime
*)new wxDateTime(arg1
);
23902 wxPyEndAllowThreads(__tstate
);
23903 if (PyErr_Occurred()) SWIG_fail
;
23905 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23912 SWIGINTERN PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23913 PyObject
*resultobj
= 0;
23915 int arg2
= (int) 0 ;
23916 int arg3
= (int) 0 ;
23917 int arg4
= (int) 0 ;
23918 wxDateTime
*result
= 0 ;
23927 PyObject
* obj0
= 0 ;
23928 PyObject
* obj1
= 0 ;
23929 PyObject
* obj2
= 0 ;
23930 PyObject
* obj3
= 0 ;
23931 char * kwnames
[] = {
23932 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
23935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23936 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23937 if (!SWIG_IsOK(ecode1
)) {
23938 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromHMS" "', expected argument " "1"" of type '" "int""'");
23940 arg1
= static_cast< int >(val1
);
23942 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23943 if (!SWIG_IsOK(ecode2
)) {
23944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromHMS" "', expected argument " "2"" of type '" "int""'");
23946 arg2
= static_cast< int >(val2
);
23949 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23950 if (!SWIG_IsOK(ecode3
)) {
23951 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromHMS" "', expected argument " "3"" of type '" "int""'");
23953 arg3
= static_cast< int >(val3
);
23956 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23957 if (!SWIG_IsOK(ecode4
)) {
23958 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromHMS" "', expected argument " "4"" of type '" "int""'");
23960 arg4
= static_cast< int >(val4
);
23963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23964 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
23965 wxPyEndAllowThreads(__tstate
);
23966 if (PyErr_Occurred()) SWIG_fail
;
23968 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23975 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23976 PyObject
*resultobj
= 0;
23978 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23979 int arg3
= (int) wxDateTime::Inv_Year
;
23980 int arg4
= (int) 0 ;
23981 int arg5
= (int) 0 ;
23982 int arg6
= (int) 0 ;
23983 int arg7
= (int) 0 ;
23984 wxDateTime
*result
= 0 ;
23999 PyObject
* obj0
= 0 ;
24000 PyObject
* obj1
= 0 ;
24001 PyObject
* obj2
= 0 ;
24002 PyObject
* obj3
= 0 ;
24003 PyObject
* obj4
= 0 ;
24004 PyObject
* obj5
= 0 ;
24005 PyObject
* obj6
= 0 ;
24006 char * kwnames
[] = {
24007 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
24010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
24011 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24012 if (!SWIG_IsOK(ecode1
)) {
24013 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromDMY" "', expected argument " "1"" of type '" "int""'");
24015 arg1
= static_cast< int >(val1
);
24017 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24018 if (!SWIG_IsOK(ecode2
)) {
24019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromDMY" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
24021 arg2
= static_cast< wxDateTime::Month
>(val2
);
24024 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24025 if (!SWIG_IsOK(ecode3
)) {
24026 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromDMY" "', expected argument " "3"" of type '" "int""'");
24028 arg3
= static_cast< int >(val3
);
24031 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24032 if (!SWIG_IsOK(ecode4
)) {
24033 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromDMY" "', expected argument " "4"" of type '" "int""'");
24035 arg4
= static_cast< int >(val4
);
24038 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24039 if (!SWIG_IsOK(ecode5
)) {
24040 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DateTimeFromDMY" "', expected argument " "5"" of type '" "int""'");
24042 arg5
= static_cast< int >(val5
);
24045 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24046 if (!SWIG_IsOK(ecode6
)) {
24047 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DateTimeFromDMY" "', expected argument " "6"" of type '" "int""'");
24049 arg6
= static_cast< int >(val6
);
24052 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24053 if (!SWIG_IsOK(ecode7
)) {
24054 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DateTimeFromDMY" "', expected argument " "7"" of type '" "int""'");
24056 arg7
= static_cast< int >(val7
);
24059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24060 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24061 wxPyEndAllowThreads(__tstate
);
24062 if (PyErr_Occurred()) SWIG_fail
;
24064 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24071 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24072 PyObject
*resultobj
= 0;
24073 wxDateTime
*arg1
= 0 ;
24074 wxDateTime
*result
= 0 ;
24077 PyObject
* obj0
= 0 ;
24078 char * kwnames
[] = {
24079 (char *) "date", NULL
24082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromDateTime",kwnames
,&obj0
)) SWIG_fail
;
24083 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDateTime
, 0 | 0);
24084 if (!SWIG_IsOK(res1
)) {
24085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
24088 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
24090 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24093 result
= (wxDateTime
*)new wxDateTime((wxDateTime
const &)*arg1
);
24094 wxPyEndAllowThreads(__tstate
);
24095 if (PyErr_Occurred()) SWIG_fail
;
24097 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24104 SWIGINTERN PyObject
*_wrap_delete_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24105 PyObject
*resultobj
= 0;
24106 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24109 PyObject
*swig_obj
[1] ;
24111 if (!args
) SWIG_fail
;
24112 swig_obj
[0] = args
;
24113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
24114 if (!SWIG_IsOK(res1
)) {
24115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
24117 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24122 wxPyEndAllowThreads(__tstate
);
24123 if (PyErr_Occurred()) SWIG_fail
;
24125 resultobj
= SWIG_Py_Void();
24132 SWIGINTERN PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24133 PyObject
*resultobj
= 0;
24134 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24135 wxDateTime
*result
= 0 ;
24138 PyObject
*swig_obj
[1] ;
24140 if (!args
) SWIG_fail
;
24141 swig_obj
[0] = args
;
24142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24143 if (!SWIG_IsOK(res1
)) {
24144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToCurrent" "', expected argument " "1"" of type '" "wxDateTime *""'");
24146 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24150 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
24151 result
= (wxDateTime
*) &_result_ref
;
24153 wxPyEndAllowThreads(__tstate
);
24154 if (PyErr_Occurred()) SWIG_fail
;
24156 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24163 SWIGINTERN PyObject
*_wrap_DateTime_SetTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24164 PyObject
*resultobj
= 0;
24165 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24167 wxDateTime
*result
= 0 ;
24170 unsigned int val2
;
24172 PyObject
* obj0
= 0 ;
24173 PyObject
* obj1
= 0 ;
24174 char * kwnames
[] = {
24175 (char *) "self",(char *) "timet", NULL
24178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24180 if (!SWIG_IsOK(res1
)) {
24181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetTimeT" "', expected argument " "1"" of type '" "wxDateTime *""'");
24183 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24184 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
24185 if (!SWIG_IsOK(ecode2
)) {
24186 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetTimeT" "', expected argument " "2"" of type '" "time_t""'");
24188 arg2
= static_cast< time_t >(val2
);
24190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24192 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
24193 result
= (wxDateTime
*) &_result_ref
;
24195 wxPyEndAllowThreads(__tstate
);
24196 if (PyErr_Occurred()) SWIG_fail
;
24198 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24205 SWIGINTERN PyObject
*_wrap_DateTime_SetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24206 PyObject
*resultobj
= 0;
24207 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24209 wxDateTime
*result
= 0 ;
24214 PyObject
* obj0
= 0 ;
24215 PyObject
* obj1
= 0 ;
24216 char * kwnames
[] = {
24217 (char *) "self",(char *) "jdn", NULL
24220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24222 if (!SWIG_IsOK(res1
)) {
24223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
24225 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24226 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24227 if (!SWIG_IsOK(ecode2
)) {
24228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetJDN" "', expected argument " "2"" of type '" "double""'");
24230 arg2
= static_cast< double >(val2
);
24232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24234 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
24235 result
= (wxDateTime
*) &_result_ref
;
24237 wxPyEndAllowThreads(__tstate
);
24238 if (PyErr_Occurred()) SWIG_fail
;
24240 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24247 SWIGINTERN PyObject
*_wrap_DateTime_SetHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24248 PyObject
*resultobj
= 0;
24249 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24251 int arg3
= (int) 0 ;
24252 int arg4
= (int) 0 ;
24253 int arg5
= (int) 0 ;
24254 wxDateTime
*result
= 0 ;
24265 PyObject
* obj0
= 0 ;
24266 PyObject
* obj1
= 0 ;
24267 PyObject
* obj2
= 0 ;
24268 PyObject
* obj3
= 0 ;
24269 PyObject
* obj4
= 0 ;
24270 char * kwnames
[] = {
24271 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
24274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24276 if (!SWIG_IsOK(res1
)) {
24277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHMS" "', expected argument " "1"" of type '" "wxDateTime *""'");
24279 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24280 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24281 if (!SWIG_IsOK(ecode2
)) {
24282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHMS" "', expected argument " "2"" of type '" "int""'");
24284 arg2
= static_cast< int >(val2
);
24286 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24287 if (!SWIG_IsOK(ecode3
)) {
24288 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetHMS" "', expected argument " "3"" of type '" "int""'");
24290 arg3
= static_cast< int >(val3
);
24293 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24294 if (!SWIG_IsOK(ecode4
)) {
24295 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetHMS" "', expected argument " "4"" of type '" "int""'");
24297 arg4
= static_cast< int >(val4
);
24300 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24301 if (!SWIG_IsOK(ecode5
)) {
24302 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetHMS" "', expected argument " "5"" of type '" "int""'");
24304 arg5
= static_cast< int >(val5
);
24307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24309 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
24310 result
= (wxDateTime
*) &_result_ref
;
24312 wxPyEndAllowThreads(__tstate
);
24313 if (PyErr_Occurred()) SWIG_fail
;
24315 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24322 SWIGINTERN PyObject
*_wrap_DateTime_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24323 PyObject
*resultobj
= 0;
24324 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24326 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24327 int arg4
= (int) wxDateTime::Inv_Year
;
24328 int arg5
= (int) 0 ;
24329 int arg6
= (int) 0 ;
24330 int arg7
= (int) 0 ;
24331 int arg8
= (int) 0 ;
24332 wxDateTime
*result
= 0 ;
24349 PyObject
* obj0
= 0 ;
24350 PyObject
* obj1
= 0 ;
24351 PyObject
* obj2
= 0 ;
24352 PyObject
* obj3
= 0 ;
24353 PyObject
* obj4
= 0 ;
24354 PyObject
* obj5
= 0 ;
24355 PyObject
* obj6
= 0 ;
24356 PyObject
* obj7
= 0 ;
24357 char * kwnames
[] = {
24358 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
24361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
24362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24363 if (!SWIG_IsOK(res1
)) {
24364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Set" "', expected argument " "1"" of type '" "wxDateTime *""'");
24366 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24367 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24368 if (!SWIG_IsOK(ecode2
)) {
24369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_Set" "', expected argument " "2"" of type '" "int""'");
24371 arg2
= static_cast< int >(val2
);
24373 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24374 if (!SWIG_IsOK(ecode3
)) {
24375 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_Set" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
24377 arg3
= static_cast< wxDateTime::Month
>(val3
);
24380 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24381 if (!SWIG_IsOK(ecode4
)) {
24382 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_Set" "', expected argument " "4"" of type '" "int""'");
24384 arg4
= static_cast< int >(val4
);
24387 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24388 if (!SWIG_IsOK(ecode5
)) {
24389 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_Set" "', expected argument " "5"" of type '" "int""'");
24391 arg5
= static_cast< int >(val5
);
24394 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24395 if (!SWIG_IsOK(ecode6
)) {
24396 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DateTime_Set" "', expected argument " "6"" of type '" "int""'");
24398 arg6
= static_cast< int >(val6
);
24401 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24402 if (!SWIG_IsOK(ecode7
)) {
24403 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DateTime_Set" "', expected argument " "7"" of type '" "int""'");
24405 arg7
= static_cast< int >(val7
);
24408 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
24409 if (!SWIG_IsOK(ecode8
)) {
24410 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DateTime_Set" "', expected argument " "8"" of type '" "int""'");
24412 arg8
= static_cast< int >(val8
);
24415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24417 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
24418 result
= (wxDateTime
*) &_result_ref
;
24420 wxPyEndAllowThreads(__tstate
);
24421 if (PyErr_Occurred()) SWIG_fail
;
24423 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24430 SWIGINTERN PyObject
*_wrap_DateTime_ResetTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24431 PyObject
*resultobj
= 0;
24432 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24433 wxDateTime
*result
= 0 ;
24436 PyObject
*swig_obj
[1] ;
24438 if (!args
) SWIG_fail
;
24439 swig_obj
[0] = args
;
24440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24441 if (!SWIG_IsOK(res1
)) {
24442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ResetTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
24444 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24448 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
24449 result
= (wxDateTime
*) &_result_ref
;
24451 wxPyEndAllowThreads(__tstate
);
24452 if (PyErr_Occurred()) SWIG_fail
;
24454 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24461 SWIGINTERN PyObject
*_wrap_DateTime_GetDateOnly(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24462 PyObject
*resultobj
= 0;
24463 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24467 PyObject
*swig_obj
[1] ;
24469 if (!args
) SWIG_fail
;
24470 swig_obj
[0] = args
;
24471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24472 if (!SWIG_IsOK(res1
)) {
24473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDateOnly" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24475 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24478 result
= ((wxDateTime
const *)arg1
)->GetDateOnly();
24479 wxPyEndAllowThreads(__tstate
);
24480 if (PyErr_Occurred()) SWIG_fail
;
24482 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24489 SWIGINTERN PyObject
*_wrap_DateTime_SetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24490 PyObject
*resultobj
= 0;
24491 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24493 wxDateTime
*result
= 0 ;
24498 PyObject
* obj0
= 0 ;
24499 PyObject
* obj1
= 0 ;
24500 char * kwnames
[] = {
24501 (char *) "self",(char *) "year", NULL
24504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24506 if (!SWIG_IsOK(res1
)) {
24507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetYear" "', expected argument " "1"" of type '" "wxDateTime *""'");
24509 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24510 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24511 if (!SWIG_IsOK(ecode2
)) {
24512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetYear" "', expected argument " "2"" of type '" "int""'");
24514 arg2
= static_cast< int >(val2
);
24516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24518 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
24519 result
= (wxDateTime
*) &_result_ref
;
24521 wxPyEndAllowThreads(__tstate
);
24522 if (PyErr_Occurred()) SWIG_fail
;
24524 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24531 SWIGINTERN PyObject
*_wrap_DateTime_SetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24532 PyObject
*resultobj
= 0;
24533 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24534 wxDateTime::Month arg2
;
24535 wxDateTime
*result
= 0 ;
24540 PyObject
* obj0
= 0 ;
24541 PyObject
* obj1
= 0 ;
24542 char * kwnames
[] = {
24543 (char *) "self",(char *) "month", NULL
24546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24548 if (!SWIG_IsOK(res1
)) {
24549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMonth" "', expected argument " "1"" of type '" "wxDateTime *""'");
24551 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24552 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24553 if (!SWIG_IsOK(ecode2
)) {
24554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMonth" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
24556 arg2
= static_cast< wxDateTime::Month
>(val2
);
24558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24560 wxDateTime
&_result_ref
= (arg1
)->SetMonth(arg2
);
24561 result
= (wxDateTime
*) &_result_ref
;
24563 wxPyEndAllowThreads(__tstate
);
24564 if (PyErr_Occurred()) SWIG_fail
;
24566 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24573 SWIGINTERN PyObject
*_wrap_DateTime_SetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24574 PyObject
*resultobj
= 0;
24575 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24577 wxDateTime
*result
= 0 ;
24582 PyObject
* obj0
= 0 ;
24583 PyObject
* obj1
= 0 ;
24584 char * kwnames
[] = {
24585 (char *) "self",(char *) "day", NULL
24588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24590 if (!SWIG_IsOK(res1
)) {
24591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24593 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24594 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24595 if (!SWIG_IsOK(ecode2
)) {
24596 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetDay" "', expected argument " "2"" of type '" "int""'");
24598 arg2
= static_cast< int >(val2
);
24600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24602 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
24603 result
= (wxDateTime
*) &_result_ref
;
24605 wxPyEndAllowThreads(__tstate
);
24606 if (PyErr_Occurred()) SWIG_fail
;
24608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24615 SWIGINTERN PyObject
*_wrap_DateTime_SetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24616 PyObject
*resultobj
= 0;
24617 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24619 wxDateTime
*result
= 0 ;
24624 PyObject
* obj0
= 0 ;
24625 PyObject
* obj1
= 0 ;
24626 char * kwnames
[] = {
24627 (char *) "self",(char *) "hour", NULL
24630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24632 if (!SWIG_IsOK(res1
)) {
24633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHour" "', expected argument " "1"" of type '" "wxDateTime *""'");
24635 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24636 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24637 if (!SWIG_IsOK(ecode2
)) {
24638 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHour" "', expected argument " "2"" of type '" "int""'");
24640 arg2
= static_cast< int >(val2
);
24642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24644 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
24645 result
= (wxDateTime
*) &_result_ref
;
24647 wxPyEndAllowThreads(__tstate
);
24648 if (PyErr_Occurred()) SWIG_fail
;
24650 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24657 SWIGINTERN PyObject
*_wrap_DateTime_SetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24658 PyObject
*resultobj
= 0;
24659 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24661 wxDateTime
*result
= 0 ;
24666 PyObject
* obj0
= 0 ;
24667 PyObject
* obj1
= 0 ;
24668 char * kwnames
[] = {
24669 (char *) "self",(char *) "minute", NULL
24672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24674 if (!SWIG_IsOK(res1
)) {
24675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMinute" "', expected argument " "1"" of type '" "wxDateTime *""'");
24677 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24678 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24679 if (!SWIG_IsOK(ecode2
)) {
24680 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMinute" "', expected argument " "2"" of type '" "int""'");
24682 arg2
= static_cast< int >(val2
);
24684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24686 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
24687 result
= (wxDateTime
*) &_result_ref
;
24689 wxPyEndAllowThreads(__tstate
);
24690 if (PyErr_Occurred()) SWIG_fail
;
24692 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24699 SWIGINTERN PyObject
*_wrap_DateTime_SetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24700 PyObject
*resultobj
= 0;
24701 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24703 wxDateTime
*result
= 0 ;
24708 PyObject
* obj0
= 0 ;
24709 PyObject
* obj1
= 0 ;
24710 char * kwnames
[] = {
24711 (char *) "self",(char *) "second", NULL
24714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24716 if (!SWIG_IsOK(res1
)) {
24717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetSecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
24719 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24720 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24721 if (!SWIG_IsOK(ecode2
)) {
24722 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetSecond" "', expected argument " "2"" of type '" "int""'");
24724 arg2
= static_cast< int >(val2
);
24726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24728 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
24729 result
= (wxDateTime
*) &_result_ref
;
24731 wxPyEndAllowThreads(__tstate
);
24732 if (PyErr_Occurred()) SWIG_fail
;
24734 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24741 SWIGINTERN PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24742 PyObject
*resultobj
= 0;
24743 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24745 wxDateTime
*result
= 0 ;
24750 PyObject
* obj0
= 0 ;
24751 PyObject
* obj1
= 0 ;
24752 char * kwnames
[] = {
24753 (char *) "self",(char *) "millisecond", NULL
24756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24758 if (!SWIG_IsOK(res1
)) {
24759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMillisecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
24761 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24762 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24763 if (!SWIG_IsOK(ecode2
)) {
24764 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMillisecond" "', expected argument " "2"" of type '" "int""'");
24766 arg2
= static_cast< int >(val2
);
24768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24770 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
24771 result
= (wxDateTime
*) &_result_ref
;
24773 wxPyEndAllowThreads(__tstate
);
24774 if (PyErr_Occurred()) SWIG_fail
;
24776 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24783 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24784 PyObject
*resultobj
= 0;
24785 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24786 wxDateTime::WeekDay arg2
;
24787 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
24788 wxDateTime
*result
= 0 ;
24795 PyObject
* obj0
= 0 ;
24796 PyObject
* obj1
= 0 ;
24797 PyObject
* obj2
= 0 ;
24798 char * kwnames
[] = {
24799 (char *) "self",(char *) "weekday",(char *) "flags", NULL
24802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24804 if (!SWIG_IsOK(res1
)) {
24805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
24807 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24808 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24809 if (!SWIG_IsOK(ecode2
)) {
24810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24812 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24814 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24815 if (!SWIG_IsOK(ecode3
)) {
24816 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
24818 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
24821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24823 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek(arg2
,arg3
);
24824 result
= (wxDateTime
*) &_result_ref
;
24826 wxPyEndAllowThreads(__tstate
);
24827 if (PyErr_Occurred()) SWIG_fail
;
24829 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24836 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24837 PyObject
*resultobj
= 0;
24838 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24839 wxDateTime::WeekDay arg2
;
24840 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
24848 PyObject
* obj0
= 0 ;
24849 PyObject
* obj1
= 0 ;
24850 PyObject
* obj2
= 0 ;
24851 char * kwnames
[] = {
24852 (char *) "self",(char *) "weekday",(char *) "flags", NULL
24855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24857 if (!SWIG_IsOK(res1
)) {
24858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
24860 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24861 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24862 if (!SWIG_IsOK(ecode2
)) {
24863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24865 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24867 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24868 if (!SWIG_IsOK(ecode3
)) {
24869 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
24871 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
24874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24875 result
= (arg1
)->GetWeekDayInSameWeek(arg2
,arg3
);
24876 wxPyEndAllowThreads(__tstate
);
24877 if (PyErr_Occurred()) SWIG_fail
;
24879 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24886 SWIGINTERN PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24887 PyObject
*resultobj
= 0;
24888 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24889 wxDateTime::WeekDay arg2
;
24890 wxDateTime
*result
= 0 ;
24895 PyObject
* obj0
= 0 ;
24896 PyObject
* obj1
= 0 ;
24897 char * kwnames
[] = {
24898 (char *) "self",(char *) "weekday", NULL
24901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24903 if (!SWIG_IsOK(res1
)) {
24904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24906 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24907 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24908 if (!SWIG_IsOK(ecode2
)) {
24909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24911 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24915 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay(arg2
);
24916 result
= (wxDateTime
*) &_result_ref
;
24918 wxPyEndAllowThreads(__tstate
);
24919 if (PyErr_Occurred()) SWIG_fail
;
24921 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24928 SWIGINTERN PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24929 PyObject
*resultobj
= 0;
24930 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24931 wxDateTime::WeekDay arg2
;
24937 PyObject
* obj0
= 0 ;
24938 PyObject
* obj1
= 0 ;
24939 char * kwnames
[] = {
24940 (char *) "self",(char *) "weekday", NULL
24943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24945 if (!SWIG_IsOK(res1
)) {
24946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24948 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24949 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24950 if (!SWIG_IsOK(ecode2
)) {
24951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24953 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24956 result
= (arg1
)->GetNextWeekDay(arg2
);
24957 wxPyEndAllowThreads(__tstate
);
24958 if (PyErr_Occurred()) SWIG_fail
;
24960 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24967 SWIGINTERN PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24968 PyObject
*resultobj
= 0;
24969 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24970 wxDateTime::WeekDay arg2
;
24971 wxDateTime
*result
= 0 ;
24976 PyObject
* obj0
= 0 ;
24977 PyObject
* obj1
= 0 ;
24978 char * kwnames
[] = {
24979 (char *) "self",(char *) "weekday", NULL
24982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24984 if (!SWIG_IsOK(res1
)) {
24985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24987 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24988 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24989 if (!SWIG_IsOK(ecode2
)) {
24990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24992 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24996 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay(arg2
);
24997 result
= (wxDateTime
*) &_result_ref
;
24999 wxPyEndAllowThreads(__tstate
);
25000 if (PyErr_Occurred()) SWIG_fail
;
25002 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25009 SWIGINTERN PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25010 PyObject
*resultobj
= 0;
25011 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25012 wxDateTime::WeekDay arg2
;
25018 PyObject
* obj0
= 0 ;
25019 PyObject
* obj1
= 0 ;
25020 char * kwnames
[] = {
25021 (char *) "self",(char *) "weekday", NULL
25024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25026 if (!SWIG_IsOK(res1
)) {
25027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25029 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25030 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25031 if (!SWIG_IsOK(ecode2
)) {
25032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
25034 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
25036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25037 result
= (arg1
)->GetPrevWeekDay(arg2
);
25038 wxPyEndAllowThreads(__tstate
);
25039 if (PyErr_Occurred()) SWIG_fail
;
25041 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25048 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25049 PyObject
*resultobj
= 0;
25050 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25051 wxDateTime::WeekDay arg2
;
25052 int arg3
= (int) 1 ;
25053 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25054 int arg5
= (int) wxDateTime::Inv_Year
;
25066 PyObject
* obj0
= 0 ;
25067 PyObject
* obj1
= 0 ;
25068 PyObject
* obj2
= 0 ;
25069 PyObject
* obj3
= 0 ;
25070 PyObject
* obj4
= 0 ;
25071 char * kwnames
[] = {
25072 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
25075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25077 if (!SWIG_IsOK(res1
)) {
25078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25080 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25081 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25082 if (!SWIG_IsOK(ecode2
)) {
25083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
25085 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
25087 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25088 if (!SWIG_IsOK(ecode3
)) {
25089 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "3"" of type '" "int""'");
25091 arg3
= static_cast< int >(val3
);
25094 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25095 if (!SWIG_IsOK(ecode4
)) {
25096 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "4"" of type '" "wxDateTime::Month""'");
25098 arg4
= static_cast< wxDateTime::Month
>(val4
);
25101 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25102 if (!SWIG_IsOK(ecode5
)) {
25103 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "5"" of type '" "int""'");
25105 arg5
= static_cast< int >(val5
);
25108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25109 result
= (bool)(arg1
)->SetToWeekDay(arg2
,arg3
,arg4
,arg5
);
25110 wxPyEndAllowThreads(__tstate
);
25111 if (PyErr_Occurred()) SWIG_fail
;
25114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25122 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25123 PyObject
*resultobj
= 0;
25124 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25125 wxDateTime::WeekDay arg2
;
25126 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25127 int arg4
= (int) wxDateTime::Inv_Year
;
25137 PyObject
* obj0
= 0 ;
25138 PyObject
* obj1
= 0 ;
25139 PyObject
* obj2
= 0 ;
25140 PyObject
* obj3
= 0 ;
25141 char * kwnames
[] = {
25142 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
25145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25147 if (!SWIG_IsOK(res1
)) {
25148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25150 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25151 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25152 if (!SWIG_IsOK(ecode2
)) {
25153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
25155 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
25157 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25158 if (!SWIG_IsOK(ecode3
)) {
25159 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
25161 arg3
= static_cast< wxDateTime::Month
>(val3
);
25164 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25165 if (!SWIG_IsOK(ecode4
)) {
25166 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "4"" of type '" "int""'");
25168 arg4
= static_cast< int >(val4
);
25171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25172 result
= (bool)(arg1
)->SetToLastWeekDay(arg2
,arg3
,arg4
);
25173 wxPyEndAllowThreads(__tstate
);
25174 if (PyErr_Occurred()) SWIG_fail
;
25177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25185 SWIGINTERN PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25186 PyObject
*resultobj
= 0;
25187 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25188 wxDateTime::WeekDay arg2
;
25189 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25190 int arg4
= (int) wxDateTime::Inv_Year
;
25200 PyObject
* obj0
= 0 ;
25201 PyObject
* obj1
= 0 ;
25202 PyObject
* obj2
= 0 ;
25203 PyObject
* obj3
= 0 ;
25204 char * kwnames
[] = {
25205 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
25208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25210 if (!SWIG_IsOK(res1
)) {
25211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25213 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25214 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25215 if (!SWIG_IsOK(ecode2
)) {
25216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
25218 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
25220 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25221 if (!SWIG_IsOK(ecode3
)) {
25222 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
25224 arg3
= static_cast< wxDateTime::Month
>(val3
);
25227 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25228 if (!SWIG_IsOK(ecode4
)) {
25229 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "4"" of type '" "int""'");
25231 arg4
= static_cast< int >(val4
);
25234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25235 result
= (arg1
)->GetLastWeekDay(arg2
,arg3
,arg4
);
25236 wxPyEndAllowThreads(__tstate
);
25237 if (PyErr_Occurred()) SWIG_fail
;
25239 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25246 SWIGINTERN PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25247 PyObject
*resultobj
= 0;
25248 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25250 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
25251 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
25261 PyObject
* obj0
= 0 ;
25262 PyObject
* obj1
= 0 ;
25263 PyObject
* obj2
= 0 ;
25264 PyObject
* obj3
= 0 ;
25265 char * kwnames
[] = {
25266 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
25269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25271 if (!SWIG_IsOK(res1
)) {
25272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
25274 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25275 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25276 if (!SWIG_IsOK(ecode2
)) {
25277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "2"" of type '" "int""'");
25279 arg2
= static_cast< int >(val2
);
25281 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25282 if (!SWIG_IsOK(ecode3
)) {
25283 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
25285 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
25288 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25289 if (!SWIG_IsOK(ecode4
)) {
25290 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
25292 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
25295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25296 result
= (bool)(arg1
)->SetToTheWeek(arg2
,arg3
,arg4
);
25297 wxPyEndAllowThreads(__tstate
);
25298 if (PyErr_Occurred()) SWIG_fail
;
25301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25309 SWIGINTERN PyObject
*_wrap_DateTime_GetWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25310 PyObject
*resultobj
= 0;
25311 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25313 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
25314 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
25324 PyObject
* obj0
= 0 ;
25325 PyObject
* obj1
= 0 ;
25326 PyObject
* obj2
= 0 ;
25327 PyObject
* obj3
= 0 ;
25328 char * kwnames
[] = {
25329 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
25332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25334 if (!SWIG_IsOK(res1
)) {
25335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
25337 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25338 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25339 if (!SWIG_IsOK(ecode2
)) {
25340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeek" "', expected argument " "2"" of type '" "int""'");
25342 arg2
= static_cast< int >(val2
);
25344 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25345 if (!SWIG_IsOK(ecode3
)) {
25346 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
25348 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
25351 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25352 if (!SWIG_IsOK(ecode4
)) {
25353 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
25355 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
25358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25359 result
= (arg1
)->GetWeek(arg2
,arg3
,arg4
);
25360 wxPyEndAllowThreads(__tstate
);
25361 if (PyErr_Occurred()) SWIG_fail
;
25363 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25370 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25371 PyObject
*resultobj
= 0;
25374 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
25382 PyObject
* obj0
= 0 ;
25383 PyObject
* obj1
= 0 ;
25384 PyObject
* obj2
= 0 ;
25385 char * kwnames
[] = {
25386 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
25389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25390 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25391 if (!SWIG_IsOK(ecode1
)) {
25392 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "1"" of type '" "int""'");
25394 arg1
= static_cast< int >(val1
);
25395 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25396 if (!SWIG_IsOK(ecode2
)) {
25397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "2"" of type '" "int""'");
25399 arg2
= static_cast< int >(val2
);
25401 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25402 if (!SWIG_IsOK(ecode3
)) {
25403 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
25405 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
25408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25409 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,arg3
);
25410 wxPyEndAllowThreads(__tstate
);
25411 if (PyErr_Occurred()) SWIG_fail
;
25413 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25420 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25421 PyObject
*resultobj
= 0;
25422 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25423 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25424 int arg3
= (int) wxDateTime::Inv_Year
;
25425 wxDateTime
*result
= 0 ;
25432 PyObject
* obj0
= 0 ;
25433 PyObject
* obj1
= 0 ;
25434 PyObject
* obj2
= 0 ;
25435 char * kwnames
[] = {
25436 (char *) "self",(char *) "month",(char *) "year", NULL
25439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25441 if (!SWIG_IsOK(res1
)) {
25442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25444 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25446 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25447 if (!SWIG_IsOK(ecode2
)) {
25448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
25450 arg2
= static_cast< wxDateTime::Month
>(val2
);
25453 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25454 if (!SWIG_IsOK(ecode3
)) {
25455 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "3"" of type '" "int""'");
25457 arg3
= static_cast< int >(val3
);
25460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25462 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay(arg2
,arg3
);
25463 result
= (wxDateTime
*) &_result_ref
;
25465 wxPyEndAllowThreads(__tstate
);
25466 if (PyErr_Occurred()) SWIG_fail
;
25468 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25475 SWIGINTERN PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25476 PyObject
*resultobj
= 0;
25477 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25478 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25479 int arg3
= (int) wxDateTime::Inv_Year
;
25487 PyObject
* obj0
= 0 ;
25488 PyObject
* obj1
= 0 ;
25489 PyObject
* obj2
= 0 ;
25490 char * kwnames
[] = {
25491 (char *) "self",(char *) "month",(char *) "year", NULL
25494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25496 if (!SWIG_IsOK(res1
)) {
25497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25499 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25501 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25502 if (!SWIG_IsOK(ecode2
)) {
25503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
25505 arg2
= static_cast< wxDateTime::Month
>(val2
);
25508 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25509 if (!SWIG_IsOK(ecode3
)) {
25510 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "3"" of type '" "int""'");
25512 arg3
= static_cast< int >(val3
);
25515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25516 result
= (arg1
)->GetLastMonthDay(arg2
,arg3
);
25517 wxPyEndAllowThreads(__tstate
);
25518 if (PyErr_Occurred()) SWIG_fail
;
25520 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25527 SWIGINTERN PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25528 PyObject
*resultobj
= 0;
25529 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25531 wxDateTime
*result
= 0 ;
25536 PyObject
* obj0
= 0 ;
25537 PyObject
* obj1
= 0 ;
25538 char * kwnames
[] = {
25539 (char *) "self",(char *) "yday", NULL
25542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25544 if (!SWIG_IsOK(res1
)) {
25545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25547 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25548 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25549 if (!SWIG_IsOK(ecode2
)) {
25550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToYearDay" "', expected argument " "2"" of type '" "int""'");
25552 arg2
= static_cast< int >(val2
);
25554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25556 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
25557 result
= (wxDateTime
*) &_result_ref
;
25559 wxPyEndAllowThreads(__tstate
);
25560 if (PyErr_Occurred()) SWIG_fail
;
25562 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25569 SWIGINTERN PyObject
*_wrap_DateTime_GetYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25570 PyObject
*resultobj
= 0;
25571 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25578 PyObject
* obj0
= 0 ;
25579 PyObject
* obj1
= 0 ;
25580 char * kwnames
[] = {
25581 (char *) "self",(char *) "yday", NULL
25584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25586 if (!SWIG_IsOK(res1
)) {
25587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25589 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25590 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25591 if (!SWIG_IsOK(ecode2
)) {
25592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetYearDay" "', expected argument " "2"" of type '" "int""'");
25594 arg2
= static_cast< int >(val2
);
25596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25597 result
= (arg1
)->GetYearDay(arg2
);
25598 wxPyEndAllowThreads(__tstate
);
25599 if (PyErr_Occurred()) SWIG_fail
;
25601 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25608 SWIGINTERN PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25609 PyObject
*resultobj
= 0;
25610 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25614 PyObject
*swig_obj
[1] ;
25616 if (!args
) SWIG_fail
;
25617 swig_obj
[0] = args
;
25618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25619 if (!SWIG_IsOK(res1
)) {
25620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime *""'");
25622 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25625 result
= (double)(arg1
)->GetJulianDayNumber();
25626 wxPyEndAllowThreads(__tstate
);
25627 if (PyErr_Occurred()) SWIG_fail
;
25629 resultobj
= SWIG_From_double(static_cast< double >(result
));
25636 SWIGINTERN PyObject
*_wrap_DateTime_GetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25637 PyObject
*resultobj
= 0;
25638 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25642 PyObject
*swig_obj
[1] ;
25644 if (!args
) SWIG_fail
;
25645 swig_obj
[0] = args
;
25646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25647 if (!SWIG_IsOK(res1
)) {
25648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
25650 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25653 result
= (double)(arg1
)->GetJDN();
25654 wxPyEndAllowThreads(__tstate
);
25655 if (PyErr_Occurred()) SWIG_fail
;
25657 resultobj
= SWIG_From_double(static_cast< double >(result
));
25664 SWIGINTERN PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25665 PyObject
*resultobj
= 0;
25666 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25670 PyObject
*swig_obj
[1] ;
25672 if (!args
) SWIG_fail
;
25673 swig_obj
[0] = args
;
25674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25675 if (!SWIG_IsOK(res1
)) {
25676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetModifiedJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25678 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25681 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
25682 wxPyEndAllowThreads(__tstate
);
25683 if (PyErr_Occurred()) SWIG_fail
;
25685 resultobj
= SWIG_From_double(static_cast< double >(result
));
25692 SWIGINTERN PyObject
*_wrap_DateTime_GetMJD(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25693 PyObject
*resultobj
= 0;
25694 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25698 PyObject
*swig_obj
[1] ;
25700 if (!args
) SWIG_fail
;
25701 swig_obj
[0] = args
;
25702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25703 if (!SWIG_IsOK(res1
)) {
25704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMJD" "', expected argument " "1"" of type '" "wxDateTime *""'");
25706 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25709 result
= (double)(arg1
)->GetMJD();
25710 wxPyEndAllowThreads(__tstate
);
25711 if (PyErr_Occurred()) SWIG_fail
;
25713 resultobj
= SWIG_From_double(static_cast< double >(result
));
25720 SWIGINTERN PyObject
*_wrap_DateTime_GetRataDie(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25721 PyObject
*resultobj
= 0;
25722 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25726 PyObject
*swig_obj
[1] ;
25728 if (!args
) SWIG_fail
;
25729 swig_obj
[0] = args
;
25730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25731 if (!SWIG_IsOK(res1
)) {
25732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetRataDie" "', expected argument " "1"" of type '" "wxDateTime *""'");
25734 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25737 result
= (double)(arg1
)->GetRataDie();
25738 wxPyEndAllowThreads(__tstate
);
25739 if (PyErr_Occurred()) SWIG_fail
;
25741 resultobj
= SWIG_From_double(static_cast< double >(result
));
25748 SWIGINTERN PyObject
*_wrap_DateTime_ToTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25749 PyObject
*resultobj
= 0;
25750 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25751 wxDateTime::TimeZone
*arg2
= 0 ;
25752 bool arg3
= (bool) false ;
25756 bool temp2
= false ;
25759 PyObject
* obj0
= 0 ;
25760 PyObject
* obj1
= 0 ;
25761 PyObject
* obj2
= 0 ;
25762 char * kwnames
[] = {
25763 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25768 if (!SWIG_IsOK(res1
)) {
25769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
25771 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25773 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25777 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25778 if (!SWIG_IsOK(ecode3
)) {
25779 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_ToTimezone" "', expected argument " "3"" of type '" "bool""'");
25781 arg3
= static_cast< bool >(val3
);
25784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25785 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25786 wxPyEndAllowThreads(__tstate
);
25787 if (PyErr_Occurred()) SWIG_fail
;
25789 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25791 if (temp2
) delete arg2
;
25796 if (temp2
) delete arg2
;
25802 SWIGINTERN PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25803 PyObject
*resultobj
= 0;
25804 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25805 wxDateTime::TimeZone
*arg2
= 0 ;
25806 bool arg3
= (bool) false ;
25807 wxDateTime
*result
= 0 ;
25810 bool temp2
= false ;
25813 PyObject
* obj0
= 0 ;
25814 PyObject
* obj1
= 0 ;
25815 PyObject
* obj2
= 0 ;
25816 char * kwnames
[] = {
25817 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25822 if (!SWIG_IsOK(res1
)) {
25823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
25825 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25827 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25831 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25832 if (!SWIG_IsOK(ecode3
)) {
25833 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeTimezone" "', expected argument " "3"" of type '" "bool""'");
25835 arg3
= static_cast< bool >(val3
);
25838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25840 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25841 result
= (wxDateTime
*) &_result_ref
;
25843 wxPyEndAllowThreads(__tstate
);
25844 if (PyErr_Occurred()) SWIG_fail
;
25846 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25848 if (temp2
) delete arg2
;
25853 if (temp2
) delete arg2
;
25859 SWIGINTERN PyObject
*_wrap_DateTime_FromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25860 PyObject
*resultobj
= 0;
25861 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25862 wxDateTime::TimeZone
*arg2
= 0 ;
25863 bool arg3
= (bool) false ;
25867 bool temp2
= false ;
25870 PyObject
* obj0
= 0 ;
25871 PyObject
* obj1
= 0 ;
25872 PyObject
* obj2
= 0 ;
25873 char * kwnames
[] = {
25874 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_FromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25879 if (!SWIG_IsOK(res1
)) {
25880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromTimezone" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25882 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25884 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25888 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25889 if (!SWIG_IsOK(ecode3
)) {
25890 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_FromTimezone" "', expected argument " "3"" of type '" "bool""'");
25892 arg3
= static_cast< bool >(val3
);
25895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25896 result
= ((wxDateTime
const *)arg1
)->FromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25897 wxPyEndAllowThreads(__tstate
);
25898 if (PyErr_Occurred()) SWIG_fail
;
25900 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25902 if (temp2
) delete arg2
;
25907 if (temp2
) delete arg2
;
25913 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25914 PyObject
*resultobj
= 0;
25915 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25916 wxDateTime::TimeZone
*arg2
= 0 ;
25917 bool arg3
= (bool) false ;
25918 wxDateTime
*result
= 0 ;
25921 bool temp2
= false ;
25924 PyObject
* obj0
= 0 ;
25925 PyObject
* obj1
= 0 ;
25926 PyObject
* obj2
= 0 ;
25927 char * kwnames
[] = {
25928 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeFromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25933 if (!SWIG_IsOK(res1
)) {
25934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
25936 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25938 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25942 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25943 if (!SWIG_IsOK(ecode3
)) {
25944 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "3"" of type '" "bool""'");
25946 arg3
= static_cast< bool >(val3
);
25949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25951 wxDateTime
&_result_ref
= (arg1
)->MakeFromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25952 result
= (wxDateTime
*) &_result_ref
;
25954 wxPyEndAllowThreads(__tstate
);
25955 if (PyErr_Occurred()) SWIG_fail
;
25957 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25959 if (temp2
) delete arg2
;
25964 if (temp2
) delete arg2
;
25970 SWIGINTERN PyObject
*_wrap_DateTime_ToUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25971 PyObject
*resultobj
= 0;
25972 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25973 bool arg2
= (bool) false ;
25979 PyObject
* obj0
= 0 ;
25980 PyObject
* obj1
= 0 ;
25981 char * kwnames
[] = {
25982 (char *) "self",(char *) "noDST", NULL
25985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25987 if (!SWIG_IsOK(res1
)) {
25988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25990 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25992 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25993 if (!SWIG_IsOK(ecode2
)) {
25994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToUTC" "', expected argument " "2"" of type '" "bool""'");
25996 arg2
= static_cast< bool >(val2
);
25999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26000 result
= ((wxDateTime
const *)arg1
)->ToUTC(arg2
);
26001 wxPyEndAllowThreads(__tstate
);
26002 if (PyErr_Occurred()) SWIG_fail
;
26004 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26011 SWIGINTERN PyObject
*_wrap_DateTime_MakeUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26012 PyObject
*resultobj
= 0;
26013 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26014 bool arg2
= (bool) false ;
26015 wxDateTime
*result
= 0 ;
26020 PyObject
* obj0
= 0 ;
26021 PyObject
* obj1
= 0 ;
26022 char * kwnames
[] = {
26023 (char *) "self",(char *) "noDST", NULL
26026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26028 if (!SWIG_IsOK(res1
)) {
26029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
26031 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26033 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26034 if (!SWIG_IsOK(ecode2
)) {
26035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeUTC" "', expected argument " "2"" of type '" "bool""'");
26037 arg2
= static_cast< bool >(val2
);
26040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26042 wxDateTime
&_result_ref
= (arg1
)->MakeUTC(arg2
);
26043 result
= (wxDateTime
*) &_result_ref
;
26045 wxPyEndAllowThreads(__tstate
);
26046 if (PyErr_Occurred()) SWIG_fail
;
26048 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26055 SWIGINTERN PyObject
*_wrap_DateTime_ToGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26056 PyObject
*resultobj
= 0;
26057 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26058 bool arg2
= (bool) false ;
26064 PyObject
* obj0
= 0 ;
26065 PyObject
* obj1
= 0 ;
26066 char * kwnames
[] = {
26067 (char *) "self",(char *) "noDST", NULL
26070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26072 if (!SWIG_IsOK(res1
)) {
26073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToGMT" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26075 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26077 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26078 if (!SWIG_IsOK(ecode2
)) {
26079 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToGMT" "', expected argument " "2"" of type '" "bool""'");
26081 arg2
= static_cast< bool >(val2
);
26084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26085 result
= ((wxDateTime
const *)arg1
)->ToGMT(arg2
);
26086 wxPyEndAllowThreads(__tstate
);
26087 if (PyErr_Occurred()) SWIG_fail
;
26089 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26096 SWIGINTERN PyObject
*_wrap_DateTime_MakeGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26097 PyObject
*resultobj
= 0;
26098 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26099 bool arg2
= (bool) false ;
26100 wxDateTime
*result
= 0 ;
26105 PyObject
* obj0
= 0 ;
26106 PyObject
* obj1
= 0 ;
26107 char * kwnames
[] = {
26108 (char *) "self",(char *) "noDST", NULL
26111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26113 if (!SWIG_IsOK(res1
)) {
26114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeGMT" "', expected argument " "1"" of type '" "wxDateTime *""'");
26116 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26118 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26119 if (!SWIG_IsOK(ecode2
)) {
26120 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeGMT" "', expected argument " "2"" of type '" "bool""'");
26122 arg2
= static_cast< bool >(val2
);
26125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26127 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
26128 result
= (wxDateTime
*) &_result_ref
;
26130 wxPyEndAllowThreads(__tstate
);
26131 if (PyErr_Occurred()) SWIG_fail
;
26133 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26140 SWIGINTERN PyObject
*_wrap_DateTime_FromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26141 PyObject
*resultobj
= 0;
26142 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26143 bool arg2
= (bool) false ;
26149 PyObject
* obj0
= 0 ;
26150 PyObject
* obj1
= 0 ;
26151 char * kwnames
[] = {
26152 (char *) "self",(char *) "noDST", NULL
26155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_FromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26157 if (!SWIG_IsOK(res1
)) {
26158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26160 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26162 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26163 if (!SWIG_IsOK(ecode2
)) {
26164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_FromUTC" "', expected argument " "2"" of type '" "bool""'");
26166 arg2
= static_cast< bool >(val2
);
26169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26170 result
= ((wxDateTime
const *)arg1
)->FromUTC(arg2
);
26171 wxPyEndAllowThreads(__tstate
);
26172 if (PyErr_Occurred()) SWIG_fail
;
26174 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26181 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26182 PyObject
*resultobj
= 0;
26183 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26184 bool arg2
= (bool) false ;
26185 wxDateTime
*result
= 0 ;
26190 PyObject
* obj0
= 0 ;
26191 PyObject
* obj1
= 0 ;
26192 char * kwnames
[] = {
26193 (char *) "self",(char *) "noDST", NULL
26196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeFromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26198 if (!SWIG_IsOK(res1
)) {
26199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
26201 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26203 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26204 if (!SWIG_IsOK(ecode2
)) {
26205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "2"" of type '" "bool""'");
26207 arg2
= static_cast< bool >(val2
);
26210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26212 wxDateTime
&_result_ref
= (arg1
)->MakeFromUTC(arg2
);
26213 result
= (wxDateTime
*) &_result_ref
;
26215 wxPyEndAllowThreads(__tstate
);
26216 if (PyErr_Occurred()) SWIG_fail
;
26218 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26225 SWIGINTERN PyObject
*_wrap_DateTime_IsDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26226 PyObject
*resultobj
= 0;
26227 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26228 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
26234 PyObject
* obj0
= 0 ;
26235 PyObject
* obj1
= 0 ;
26236 char * kwnames
[] = {
26237 (char *) "self",(char *) "country", NULL
26240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26242 if (!SWIG_IsOK(res1
)) {
26243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsDST" "', expected argument " "1"" of type '" "wxDateTime *""'");
26245 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26247 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26248 if (!SWIG_IsOK(ecode2
)) {
26249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
26251 arg2
= static_cast< wxDateTime::Country
>(val2
);
26254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26255 result
= (int)(arg1
)->IsDST(arg2
);
26256 wxPyEndAllowThreads(__tstate
);
26257 if (PyErr_Occurred()) SWIG_fail
;
26259 resultobj
= SWIG_From_int(static_cast< int >(result
));
26266 SWIGINTERN PyObject
*_wrap_DateTime_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26267 PyObject
*resultobj
= 0;
26268 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26272 PyObject
*swig_obj
[1] ;
26274 if (!args
) SWIG_fail
;
26275 swig_obj
[0] = args
;
26276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26277 if (!SWIG_IsOK(res1
)) {
26278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsValid" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26280 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26283 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
26284 wxPyEndAllowThreads(__tstate
);
26285 if (PyErr_Occurred()) SWIG_fail
;
26288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26296 SWIGINTERN PyObject
*_wrap_DateTime_GetTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26297 PyObject
*resultobj
= 0;
26298 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26302 PyObject
*swig_obj
[1] ;
26304 if (!args
) SWIG_fail
;
26305 swig_obj
[0] = args
;
26306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26307 if (!SWIG_IsOK(res1
)) {
26308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetTicks" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26310 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26313 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
26314 wxPyEndAllowThreads(__tstate
);
26315 if (PyErr_Occurred()) SWIG_fail
;
26317 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
26324 SWIGINTERN PyObject
*_wrap_DateTime_GetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26325 PyObject
*resultobj
= 0;
26326 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26327 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26328 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26332 bool temp2
= false ;
26333 PyObject
* obj0
= 0 ;
26334 PyObject
* obj1
= 0 ;
26335 char * kwnames
[] = {
26336 (char *) "self",(char *) "tz", NULL
26339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26341 if (!SWIG_IsOK(res1
)) {
26342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26344 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26347 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26353 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
26354 wxPyEndAllowThreads(__tstate
);
26355 if (PyErr_Occurred()) SWIG_fail
;
26357 resultobj
= SWIG_From_int(static_cast< int >(result
));
26359 if (temp2
) delete arg2
;
26364 if (temp2
) delete arg2
;
26370 SWIGINTERN PyObject
*_wrap_DateTime_GetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26371 PyObject
*resultobj
= 0;
26372 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26373 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26374 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26375 wxDateTime::Month result
;
26378 bool temp2
= false ;
26379 PyObject
* obj0
= 0 ;
26380 PyObject
* obj1
= 0 ;
26381 char * kwnames
[] = {
26382 (char *) "self",(char *) "tz", NULL
26385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26387 if (!SWIG_IsOK(res1
)) {
26388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26390 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26393 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26399 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
26400 wxPyEndAllowThreads(__tstate
);
26401 if (PyErr_Occurred()) SWIG_fail
;
26403 resultobj
= SWIG_From_int(static_cast< int >(result
));
26405 if (temp2
) delete arg2
;
26410 if (temp2
) delete arg2
;
26416 SWIGINTERN PyObject
*_wrap_DateTime_GetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26417 PyObject
*resultobj
= 0;
26418 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26419 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26420 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26424 bool temp2
= false ;
26425 PyObject
* obj0
= 0 ;
26426 PyObject
* obj1
= 0 ;
26427 char * kwnames
[] = {
26428 (char *) "self",(char *) "tz", NULL
26431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26433 if (!SWIG_IsOK(res1
)) {
26434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26436 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26439 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26445 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
26446 wxPyEndAllowThreads(__tstate
);
26447 if (PyErr_Occurred()) SWIG_fail
;
26449 resultobj
= SWIG_From_int(static_cast< int >(result
));
26451 if (temp2
) delete arg2
;
26456 if (temp2
) delete arg2
;
26462 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26463 PyObject
*resultobj
= 0;
26464 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26465 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26466 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26467 wxDateTime::WeekDay result
;
26470 bool temp2
= false ;
26471 PyObject
* obj0
= 0 ;
26472 PyObject
* obj1
= 0 ;
26473 char * kwnames
[] = {
26474 (char *) "self",(char *) "tz", NULL
26477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26479 if (!SWIG_IsOK(res1
)) {
26480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26482 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26485 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26491 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
26492 wxPyEndAllowThreads(__tstate
);
26493 if (PyErr_Occurred()) SWIG_fail
;
26495 resultobj
= SWIG_From_int(static_cast< int >(result
));
26497 if (temp2
) delete arg2
;
26502 if (temp2
) delete arg2
;
26508 SWIGINTERN PyObject
*_wrap_DateTime_GetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26509 PyObject
*resultobj
= 0;
26510 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26511 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26512 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26516 bool temp2
= false ;
26517 PyObject
* obj0
= 0 ;
26518 PyObject
* obj1
= 0 ;
26519 char * kwnames
[] = {
26520 (char *) "self",(char *) "tz", NULL
26523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26525 if (!SWIG_IsOK(res1
)) {
26526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetHour" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26528 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26531 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26537 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
26538 wxPyEndAllowThreads(__tstate
);
26539 if (PyErr_Occurred()) SWIG_fail
;
26541 resultobj
= SWIG_From_int(static_cast< int >(result
));
26543 if (temp2
) delete arg2
;
26548 if (temp2
) delete arg2
;
26554 SWIGINTERN PyObject
*_wrap_DateTime_GetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26555 PyObject
*resultobj
= 0;
26556 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26557 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26558 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26562 bool temp2
= false ;
26563 PyObject
* obj0
= 0 ;
26564 PyObject
* obj1
= 0 ;
26565 char * kwnames
[] = {
26566 (char *) "self",(char *) "tz", NULL
26569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26571 if (!SWIG_IsOK(res1
)) {
26572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMinute" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26574 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26577 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26583 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
26584 wxPyEndAllowThreads(__tstate
);
26585 if (PyErr_Occurred()) SWIG_fail
;
26587 resultobj
= SWIG_From_int(static_cast< int >(result
));
26589 if (temp2
) delete arg2
;
26594 if (temp2
) delete arg2
;
26600 SWIGINTERN PyObject
*_wrap_DateTime_GetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26601 PyObject
*resultobj
= 0;
26602 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26603 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26604 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26608 bool temp2
= false ;
26609 PyObject
* obj0
= 0 ;
26610 PyObject
* obj1
= 0 ;
26611 char * kwnames
[] = {
26612 (char *) "self",(char *) "tz", NULL
26615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26617 if (!SWIG_IsOK(res1
)) {
26618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetSecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26620 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26623 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26629 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
26630 wxPyEndAllowThreads(__tstate
);
26631 if (PyErr_Occurred()) SWIG_fail
;
26633 resultobj
= SWIG_From_int(static_cast< int >(result
));
26635 if (temp2
) delete arg2
;
26640 if (temp2
) delete arg2
;
26646 SWIGINTERN PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26647 PyObject
*resultobj
= 0;
26648 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26649 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26650 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26654 bool temp2
= false ;
26655 PyObject
* obj0
= 0 ;
26656 PyObject
* obj1
= 0 ;
26657 char * kwnames
[] = {
26658 (char *) "self",(char *) "tz", NULL
26661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26663 if (!SWIG_IsOK(res1
)) {
26664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMillisecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26666 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26669 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26675 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
26676 wxPyEndAllowThreads(__tstate
);
26677 if (PyErr_Occurred()) SWIG_fail
;
26679 resultobj
= SWIG_From_int(static_cast< int >(result
));
26681 if (temp2
) delete arg2
;
26686 if (temp2
) delete arg2
;
26692 SWIGINTERN PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26693 PyObject
*resultobj
= 0;
26694 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26695 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26696 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26700 bool temp2
= false ;
26701 PyObject
* obj0
= 0 ;
26702 PyObject
* obj1
= 0 ;
26703 char * kwnames
[] = {
26704 (char *) "self",(char *) "tz", NULL
26707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26709 if (!SWIG_IsOK(res1
)) {
26710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDayOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26712 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26715 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26721 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
26722 wxPyEndAllowThreads(__tstate
);
26723 if (PyErr_Occurred()) SWIG_fail
;
26725 resultobj
= SWIG_From_int(static_cast< int >(result
));
26727 if (temp2
) delete arg2
;
26732 if (temp2
) delete arg2
;
26738 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26739 PyObject
*resultobj
= 0;
26740 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26741 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
26742 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
26743 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
26749 bool temp3
= false ;
26750 PyObject
* obj0
= 0 ;
26751 PyObject
* obj1
= 0 ;
26752 PyObject
* obj2
= 0 ;
26753 char * kwnames
[] = {
26754 (char *) "self",(char *) "flags",(char *) "tz", NULL
26757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26759 if (!SWIG_IsOK(res1
)) {
26760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26762 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26764 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26765 if (!SWIG_IsOK(ecode2
)) {
26766 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
26768 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
26772 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
26777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26778 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
26779 wxPyEndAllowThreads(__tstate
);
26780 if (PyErr_Occurred()) SWIG_fail
;
26782 resultobj
= SWIG_From_int(static_cast< int >(result
));
26784 if (temp3
) delete arg3
;
26789 if (temp3
) delete arg3
;
26795 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26796 PyObject
*resultobj
= 0;
26797 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26798 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
26799 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
26800 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
26806 bool temp3
= false ;
26807 PyObject
* obj0
= 0 ;
26808 PyObject
* obj1
= 0 ;
26809 PyObject
* obj2
= 0 ;
26810 char * kwnames
[] = {
26811 (char *) "self",(char *) "flags",(char *) "tz", NULL
26814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26816 if (!SWIG_IsOK(res1
)) {
26817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26819 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26821 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26822 if (!SWIG_IsOK(ecode2
)) {
26823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
26825 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
26829 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
26834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26835 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
26836 wxPyEndAllowThreads(__tstate
);
26837 if (PyErr_Occurred()) SWIG_fail
;
26839 resultobj
= SWIG_From_int(static_cast< int >(result
));
26841 if (temp3
) delete arg3
;
26846 if (temp3
) delete arg3
;
26852 SWIGINTERN PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26853 PyObject
*resultobj
= 0;
26854 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26855 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
26861 PyObject
* obj0
= 0 ;
26862 PyObject
* obj1
= 0 ;
26863 char * kwnames
[] = {
26864 (char *) "self",(char *) "country", NULL
26867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26869 if (!SWIG_IsOK(res1
)) {
26870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsWorkDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26872 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26874 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26875 if (!SWIG_IsOK(ecode2
)) {
26876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsWorkDay" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
26878 arg2
= static_cast< wxDateTime::Country
>(val2
);
26881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26882 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay(arg2
);
26883 wxPyEndAllowThreads(__tstate
);
26884 if (PyErr_Occurred()) SWIG_fail
;
26887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26895 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26896 PyObject
*resultobj
= 0;
26897 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26898 wxDateTime
*arg2
= 0 ;
26904 PyObject
* obj0
= 0 ;
26905 PyObject
* obj1
= 0 ;
26906 char * kwnames
[] = {
26907 (char *) "self",(char *) "datetime", NULL
26910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26912 if (!SWIG_IsOK(res1
)) {
26913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26915 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26916 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26917 if (!SWIG_IsOK(res2
)) {
26918 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26921 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26923 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26926 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
26927 wxPyEndAllowThreads(__tstate
);
26928 if (PyErr_Occurred()) SWIG_fail
;
26931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26939 SWIGINTERN PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26940 PyObject
*resultobj
= 0;
26941 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26942 wxDateTime
*arg2
= 0 ;
26948 PyObject
* obj0
= 0 ;
26949 PyObject
* obj1
= 0 ;
26950 char * kwnames
[] = {
26951 (char *) "self",(char *) "datetime", NULL
26954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26956 if (!SWIG_IsOK(res1
)) {
26957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26959 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26960 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26961 if (!SWIG_IsOK(res2
)) {
26962 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26965 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26967 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26970 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
26971 wxPyEndAllowThreads(__tstate
);
26972 if (PyErr_Occurred()) SWIG_fail
;
26975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26983 SWIGINTERN PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26984 PyObject
*resultobj
= 0;
26985 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26986 wxDateTime
*arg2
= 0 ;
26992 PyObject
* obj0
= 0 ;
26993 PyObject
* obj1
= 0 ;
26994 char * kwnames
[] = {
26995 (char *) "self",(char *) "datetime", NULL
26998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27000 if (!SWIG_IsOK(res1
)) {
27001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsLaterThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27003 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27004 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27005 if (!SWIG_IsOK(res2
)) {
27006 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27009 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27011 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27014 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
27015 wxPyEndAllowThreads(__tstate
);
27016 if (PyErr_Occurred()) SWIG_fail
;
27019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27027 SWIGINTERN PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27028 PyObject
*resultobj
= 0;
27029 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27030 wxDateTime
*arg2
= 0 ;
27031 wxDateTime
*arg3
= 0 ;
27039 PyObject
* obj0
= 0 ;
27040 PyObject
* obj1
= 0 ;
27041 PyObject
* obj2
= 0 ;
27042 char * kwnames
[] = {
27043 (char *) "self",(char *) "t1",(char *) "t2", NULL
27046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27048 if (!SWIG_IsOK(res1
)) {
27049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27051 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27052 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27053 if (!SWIG_IsOK(res2
)) {
27054 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27057 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27059 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27060 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27061 if (!SWIG_IsOK(res3
)) {
27062 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
27065 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
27067 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
27069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27070 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
27071 wxPyEndAllowThreads(__tstate
);
27072 if (PyErr_Occurred()) SWIG_fail
;
27075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27083 SWIGINTERN PyObject
*_wrap_DateTime_IsBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27084 PyObject
*resultobj
= 0;
27085 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27086 wxDateTime
*arg2
= 0 ;
27087 wxDateTime
*arg3
= 0 ;
27095 PyObject
* obj0
= 0 ;
27096 PyObject
* obj1
= 0 ;
27097 PyObject
* obj2
= 0 ;
27098 char * kwnames
[] = {
27099 (char *) "self",(char *) "t1",(char *) "t2", NULL
27102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27104 if (!SWIG_IsOK(res1
)) {
27105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27107 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27108 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27109 if (!SWIG_IsOK(res2
)) {
27110 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27113 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27115 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27116 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27117 if (!SWIG_IsOK(res3
)) {
27118 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
27121 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
27123 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
27125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27126 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
27127 wxPyEndAllowThreads(__tstate
);
27128 if (PyErr_Occurred()) SWIG_fail
;
27131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27139 SWIGINTERN PyObject
*_wrap_DateTime_IsSameDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27140 PyObject
*resultobj
= 0;
27141 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27142 wxDateTime
*arg2
= 0 ;
27148 PyObject
* obj0
= 0 ;
27149 PyObject
* obj1
= 0 ;
27150 char * kwnames
[] = {
27151 (char *) "self",(char *) "dt", NULL
27154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27156 if (!SWIG_IsOK(res1
)) {
27157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27159 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27160 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27161 if (!SWIG_IsOK(res2
)) {
27162 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27165 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27167 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27170 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
27171 wxPyEndAllowThreads(__tstate
);
27172 if (PyErr_Occurred()) SWIG_fail
;
27175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27183 SWIGINTERN PyObject
*_wrap_DateTime_IsSameTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27184 PyObject
*resultobj
= 0;
27185 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27186 wxDateTime
*arg2
= 0 ;
27192 PyObject
* obj0
= 0 ;
27193 PyObject
* obj1
= 0 ;
27194 char * kwnames
[] = {
27195 (char *) "self",(char *) "dt", NULL
27198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27200 if (!SWIG_IsOK(res1
)) {
27201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27203 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27204 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27205 if (!SWIG_IsOK(res2
)) {
27206 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27209 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27211 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27214 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
27215 wxPyEndAllowThreads(__tstate
);
27216 if (PyErr_Occurred()) SWIG_fail
;
27219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27227 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27228 PyObject
*resultobj
= 0;
27229 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27230 wxDateTime
*arg2
= 0 ;
27231 wxTimeSpan
*arg3
= 0 ;
27239 PyObject
* obj0
= 0 ;
27240 PyObject
* obj1
= 0 ;
27241 PyObject
* obj2
= 0 ;
27242 char * kwnames
[] = {
27243 (char *) "self",(char *) "dt",(char *) "ts", NULL
27246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27248 if (!SWIG_IsOK(res1
)) {
27249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27251 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27252 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27253 if (!SWIG_IsOK(res2
)) {
27254 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27257 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27259 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27260 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27261 if (!SWIG_IsOK(res3
)) {
27262 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
27265 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
27267 arg3
= reinterpret_cast< wxTimeSpan
* >(argp3
);
27269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27270 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
27271 wxPyEndAllowThreads(__tstate
);
27272 if (PyErr_Occurred()) SWIG_fail
;
27275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27283 SWIGINTERN PyObject
*_wrap_DateTime_AddTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27284 PyObject
*resultobj
= 0;
27285 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27286 wxTimeSpan
*arg2
= 0 ;
27287 wxDateTime
*result
= 0 ;
27292 PyObject
* obj0
= 0 ;
27293 PyObject
* obj1
= 0 ;
27294 char * kwnames
[] = {
27295 (char *) "self",(char *) "diff", NULL
27298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27300 if (!SWIG_IsOK(res1
)) {
27301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27303 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27304 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27305 if (!SWIG_IsOK(res2
)) {
27306 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27309 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27311 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27315 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
27316 result
= (wxDateTime
*) &_result_ref
;
27318 wxPyEndAllowThreads(__tstate
);
27319 if (PyErr_Occurred()) SWIG_fail
;
27321 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27328 SWIGINTERN PyObject
*_wrap_DateTime_AddDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27329 PyObject
*resultobj
= 0;
27330 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27331 wxDateSpan
*arg2
= 0 ;
27332 wxDateTime
*result
= 0 ;
27337 PyObject
* obj0
= 0 ;
27338 PyObject
* obj1
= 0 ;
27339 char * kwnames
[] = {
27340 (char *) "self",(char *) "diff", NULL
27343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27345 if (!SWIG_IsOK(res1
)) {
27346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27348 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27349 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27350 if (!SWIG_IsOK(res2
)) {
27351 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27354 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27356 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27360 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
27361 result
= (wxDateTime
*) &_result_ref
;
27363 wxPyEndAllowThreads(__tstate
);
27364 if (PyErr_Occurred()) SWIG_fail
;
27366 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27373 SWIGINTERN PyObject
*_wrap_DateTime_SubtractTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27374 PyObject
*resultobj
= 0;
27375 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27376 wxTimeSpan
*arg2
= 0 ;
27377 wxDateTime
*result
= 0 ;
27382 PyObject
* obj0
= 0 ;
27383 PyObject
* obj1
= 0 ;
27384 char * kwnames
[] = {
27385 (char *) "self",(char *) "diff", NULL
27388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27390 if (!SWIG_IsOK(res1
)) {
27391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27393 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27394 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27395 if (!SWIG_IsOK(res2
)) {
27396 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27399 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27401 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27405 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
27406 result
= (wxDateTime
*) &_result_ref
;
27408 wxPyEndAllowThreads(__tstate
);
27409 if (PyErr_Occurred()) SWIG_fail
;
27411 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27418 SWIGINTERN PyObject
*_wrap_DateTime_SubtractDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27419 PyObject
*resultobj
= 0;
27420 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27421 wxDateSpan
*arg2
= 0 ;
27422 wxDateTime
*result
= 0 ;
27427 PyObject
* obj0
= 0 ;
27428 PyObject
* obj1
= 0 ;
27429 char * kwnames
[] = {
27430 (char *) "self",(char *) "diff", NULL
27433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27435 if (!SWIG_IsOK(res1
)) {
27436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27438 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27439 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27440 if (!SWIG_IsOK(res2
)) {
27441 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27444 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27446 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27450 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
27451 result
= (wxDateTime
*) &_result_ref
;
27453 wxPyEndAllowThreads(__tstate
);
27454 if (PyErr_Occurred()) SWIG_fail
;
27456 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27463 SWIGINTERN PyObject
*_wrap_DateTime_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27464 PyObject
*resultobj
= 0;
27465 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27466 wxDateTime
*arg2
= 0 ;
27472 PyObject
* obj0
= 0 ;
27473 PyObject
* obj1
= 0 ;
27474 char * kwnames
[] = {
27475 (char *) "self",(char *) "dt", NULL
27478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27480 if (!SWIG_IsOK(res1
)) {
27481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Subtract" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27483 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27484 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27485 if (!SWIG_IsOK(res2
)) {
27486 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27489 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27491 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27494 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
27495 wxPyEndAllowThreads(__tstate
);
27496 if (PyErr_Occurred()) SWIG_fail
;
27498 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27505 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27506 PyObject
*resultobj
= 0;
27507 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27508 wxTimeSpan
*arg2
= 0 ;
27509 wxDateTime
*result
= 0 ;
27515 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27517 if (!SWIG_IsOK(res1
)) {
27518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27520 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27521 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27522 if (!SWIG_IsOK(res2
)) {
27523 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27526 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27528 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27532 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
27533 result
= (wxDateTime
*) &_result_ref
;
27535 wxPyEndAllowThreads(__tstate
);
27536 if (PyErr_Occurred()) SWIG_fail
;
27538 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27545 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27546 PyObject
*resultobj
= 0;
27547 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27548 wxDateSpan
*arg2
= 0 ;
27549 wxDateTime
*result
= 0 ;
27555 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27557 if (!SWIG_IsOK(res1
)) {
27558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27560 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27561 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27562 if (!SWIG_IsOK(res2
)) {
27563 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27566 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27568 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27572 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
27573 result
= (wxDateTime
*) &_result_ref
;
27575 wxPyEndAllowThreads(__tstate
);
27576 if (PyErr_Occurred()) SWIG_fail
;
27578 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27585 SWIGINTERN PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
27589 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___iadd__",0,2,argv
))) SWIG_fail
;
27594 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27595 _v
= SWIG_CheckState(res
);
27597 if (!_v
) goto check_1
;
27598 return _wrap_DateTime___iadd____SWIG_0(self
, argc
, argv
);
27603 return _wrap_DateTime___iadd____SWIG_1(self
, argc
, argv
);
27607 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
27612 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27613 PyObject
*resultobj
= 0;
27614 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27615 wxTimeSpan
*arg2
= 0 ;
27616 wxDateTime
*result
= 0 ;
27622 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27624 if (!SWIG_IsOK(res1
)) {
27625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27627 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27628 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27629 if (!SWIG_IsOK(res2
)) {
27630 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27633 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27635 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27639 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
27640 result
= (wxDateTime
*) &_result_ref
;
27642 wxPyEndAllowThreads(__tstate
);
27643 if (PyErr_Occurred()) SWIG_fail
;
27645 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27652 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27653 PyObject
*resultobj
= 0;
27654 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27655 wxDateSpan
*arg2
= 0 ;
27656 wxDateTime
*result
= 0 ;
27662 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27664 if (!SWIG_IsOK(res1
)) {
27665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27667 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27668 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27669 if (!SWIG_IsOK(res2
)) {
27670 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27673 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27675 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27679 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
27680 result
= (wxDateTime
*) &_result_ref
;
27682 wxPyEndAllowThreads(__tstate
);
27683 if (PyErr_Occurred()) SWIG_fail
;
27685 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27692 SWIGINTERN PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
27696 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___isub__",0,2,argv
))) SWIG_fail
;
27701 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27702 _v
= SWIG_CheckState(res
);
27704 if (!_v
) goto check_1
;
27705 return _wrap_DateTime___isub____SWIG_0(self
, argc
, argv
);
27710 return _wrap_DateTime___isub____SWIG_1(self
, argc
, argv
);
27714 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
27719 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27720 PyObject
*resultobj
= 0;
27721 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27722 wxTimeSpan
*arg2
= 0 ;
27729 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27731 if (!SWIG_IsOK(res1
)) {
27732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27734 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27735 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27736 if (!SWIG_IsOK(res2
)) {
27737 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27740 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27742 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27745 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
27746 wxPyEndAllowThreads(__tstate
);
27747 if (PyErr_Occurred()) SWIG_fail
;
27749 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27756 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27757 PyObject
*resultobj
= 0;
27758 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27759 wxDateSpan
*arg2
= 0 ;
27766 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27768 if (!SWIG_IsOK(res1
)) {
27769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27771 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27772 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27773 if (!SWIG_IsOK(res2
)) {
27774 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27777 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27779 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27782 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
27783 wxPyEndAllowThreads(__tstate
);
27784 if (PyErr_Occurred()) SWIG_fail
;
27786 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27793 SWIGINTERN PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
27797 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___add__",0,2,argv
))) SWIG_fail
;
27802 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27803 _v
= SWIG_CheckState(res
);
27805 if (!_v
) goto check_1
;
27806 return _wrap_DateTime___add____SWIG_0(self
, argc
, argv
);
27811 return _wrap_DateTime___add____SWIG_1(self
, argc
, argv
);
27815 Py_INCREF(Py_NotImplemented
);
27816 return Py_NotImplemented
;
27820 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27821 PyObject
*resultobj
= 0;
27822 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27823 wxDateTime
*arg2
= 0 ;
27830 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27832 if (!SWIG_IsOK(res1
)) {
27833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27835 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27836 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27837 if (!SWIG_IsOK(res2
)) {
27838 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27841 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27843 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27846 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
27847 wxPyEndAllowThreads(__tstate
);
27848 if (PyErr_Occurred()) SWIG_fail
;
27850 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27857 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27858 PyObject
*resultobj
= 0;
27859 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27860 wxTimeSpan
*arg2
= 0 ;
27867 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27869 if (!SWIG_IsOK(res1
)) {
27870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27872 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27873 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27874 if (!SWIG_IsOK(res2
)) {
27875 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27878 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27880 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27883 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
27884 wxPyEndAllowThreads(__tstate
);
27885 if (PyErr_Occurred()) SWIG_fail
;
27887 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27894 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27895 PyObject
*resultobj
= 0;
27896 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27897 wxDateSpan
*arg2
= 0 ;
27904 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27906 if (!SWIG_IsOK(res1
)) {
27907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27909 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27910 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27911 if (!SWIG_IsOK(res2
)) {
27912 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27915 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27917 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27920 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
27921 wxPyEndAllowThreads(__tstate
);
27922 if (PyErr_Occurred()) SWIG_fail
;
27924 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27931 SWIGINTERN PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
27935 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___sub__",0,2,argv
))) SWIG_fail
;
27940 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDateTime
, 0);
27941 _v
= SWIG_CheckState(res
);
27943 if (!_v
) goto check_1
;
27944 return _wrap_DateTime___sub____SWIG_0(self
, argc
, argv
);
27951 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27952 _v
= SWIG_CheckState(res
);
27954 if (!_v
) goto check_2
;
27955 return _wrap_DateTime___sub____SWIG_1(self
, argc
, argv
);
27960 return _wrap_DateTime___sub____SWIG_2(self
, argc
, argv
);
27964 Py_INCREF(Py_NotImplemented
);
27965 return Py_NotImplemented
;
27969 SWIGINTERN PyObject
*_wrap_DateTime___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27970 PyObject
*resultobj
= 0;
27971 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27972 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
27978 PyObject
* obj0
= 0 ;
27979 PyObject
* obj1
= 0 ;
27980 char * kwnames
[] = {
27981 (char *) "self",(char *) "other", NULL
27984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27986 if (!SWIG_IsOK(res1
)) {
27987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___lt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27989 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27990 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27991 if (!SWIG_IsOK(res2
)) {
27992 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___lt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
27994 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27997 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
27998 wxPyEndAllowThreads(__tstate
);
27999 if (PyErr_Occurred()) SWIG_fail
;
28002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28010 SWIGINTERN PyObject
*_wrap_DateTime___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28011 PyObject
*resultobj
= 0;
28012 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28013 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
28019 PyObject
* obj0
= 0 ;
28020 PyObject
* obj1
= 0 ;
28021 char * kwnames
[] = {
28022 (char *) "self",(char *) "other", NULL
28025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28027 if (!SWIG_IsOK(res1
)) {
28028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___le__" "', expected argument " "1"" of type '" "wxDateTime *""'");
28030 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28031 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28032 if (!SWIG_IsOK(res2
)) {
28033 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___le__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
28035 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
28037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28038 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
28039 wxPyEndAllowThreads(__tstate
);
28040 if (PyErr_Occurred()) SWIG_fail
;
28043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28051 SWIGINTERN PyObject
*_wrap_DateTime___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28052 PyObject
*resultobj
= 0;
28053 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28054 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
28060 PyObject
* obj0
= 0 ;
28061 PyObject
* obj1
= 0 ;
28062 char * kwnames
[] = {
28063 (char *) "self",(char *) "other", NULL
28066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28068 if (!SWIG_IsOK(res1
)) {
28069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___gt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
28071 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28072 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28073 if (!SWIG_IsOK(res2
)) {
28074 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___gt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
28076 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
28078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28079 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
28080 wxPyEndAllowThreads(__tstate
);
28081 if (PyErr_Occurred()) SWIG_fail
;
28084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28092 SWIGINTERN PyObject
*_wrap_DateTime___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28093 PyObject
*resultobj
= 0;
28094 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28095 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
28101 PyObject
* obj0
= 0 ;
28102 PyObject
* obj1
= 0 ;
28103 char * kwnames
[] = {
28104 (char *) "self",(char *) "other", NULL
28107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28109 if (!SWIG_IsOK(res1
)) {
28110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ge__" "', expected argument " "1"" of type '" "wxDateTime *""'");
28112 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28113 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28114 if (!SWIG_IsOK(res2
)) {
28115 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ge__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
28117 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
28119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28120 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
28121 wxPyEndAllowThreads(__tstate
);
28122 if (PyErr_Occurred()) SWIG_fail
;
28125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28133 SWIGINTERN PyObject
*_wrap_DateTime___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28134 PyObject
*resultobj
= 0;
28135 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28136 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
28142 PyObject
* obj0
= 0 ;
28143 PyObject
* obj1
= 0 ;
28144 char * kwnames
[] = {
28145 (char *) "self",(char *) "other", NULL
28148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28150 if (!SWIG_IsOK(res1
)) {
28151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___eq__" "', expected argument " "1"" of type '" "wxDateTime *""'");
28153 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28154 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28155 if (!SWIG_IsOK(res2
)) {
28156 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___eq__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
28158 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
28160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28161 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
28162 wxPyEndAllowThreads(__tstate
);
28163 if (PyErr_Occurred()) SWIG_fail
;
28166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28174 SWIGINTERN PyObject
*_wrap_DateTime___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28175 PyObject
*resultobj
= 0;
28176 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28177 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
28183 PyObject
* obj0
= 0 ;
28184 PyObject
* obj1
= 0 ;
28185 char * kwnames
[] = {
28186 (char *) "self",(char *) "other", NULL
28189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28191 if (!SWIG_IsOK(res1
)) {
28192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ne__" "', expected argument " "1"" of type '" "wxDateTime *""'");
28194 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28195 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28196 if (!SWIG_IsOK(res2
)) {
28197 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ne__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
28199 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
28201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28202 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
28203 wxPyEndAllowThreads(__tstate
);
28204 if (PyErr_Occurred()) SWIG_fail
;
28207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28215 SWIGINTERN PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28216 PyObject
*resultobj
= 0;
28217 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28218 wxString
*arg2
= 0 ;
28222 bool temp2
= false ;
28223 PyObject
* obj0
= 0 ;
28224 PyObject
* obj1
= 0 ;
28225 char * kwnames
[] = {
28226 (char *) "self",(char *) "date", NULL
28229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28231 if (!SWIG_IsOK(res1
)) {
28232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseRfc822Date" "', expected argument " "1"" of type '" "wxDateTime *""'");
28234 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28236 arg2
= wxString_in_helper(obj1
);
28237 if (arg2
== NULL
) SWIG_fail
;
28241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28242 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
28243 wxPyEndAllowThreads(__tstate
);
28244 if (PyErr_Occurred()) SWIG_fail
;
28246 resultobj
= SWIG_From_int(static_cast< int >(result
));
28261 SWIGINTERN PyObject
*_wrap_DateTime_ParseFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28262 PyObject
*resultobj
= 0;
28263 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28264 wxString
*arg2
= 0 ;
28265 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
28266 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
28267 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
28268 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
28272 bool temp2
= false ;
28273 bool temp3
= false ;
28276 PyObject
* obj0
= 0 ;
28277 PyObject
* obj1
= 0 ;
28278 PyObject
* obj2
= 0 ;
28279 PyObject
* obj3
= 0 ;
28280 char * kwnames
[] = {
28281 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
28284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28286 if (!SWIG_IsOK(res1
)) {
28287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseFormat" "', expected argument " "1"" of type '" "wxDateTime *""'");
28289 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28291 arg2
= wxString_in_helper(obj1
);
28292 if (arg2
== NULL
) SWIG_fail
;
28297 arg3
= wxString_in_helper(obj2
);
28298 if (arg3
== NULL
) SWIG_fail
;
28303 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
28304 if (!SWIG_IsOK(res4
)) {
28305 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
28308 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
28310 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
28313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28314 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
28315 wxPyEndAllowThreads(__tstate
);
28316 if (PyErr_Occurred()) SWIG_fail
;
28318 resultobj
= SWIG_From_int(static_cast< int >(result
));
28341 SWIGINTERN PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28342 PyObject
*resultobj
= 0;
28343 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28344 wxString
*arg2
= 0 ;
28348 bool temp2
= false ;
28349 PyObject
* obj0
= 0 ;
28350 PyObject
* obj1
= 0 ;
28351 char * kwnames
[] = {
28352 (char *) "self",(char *) "datetime", NULL
28355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28357 if (!SWIG_IsOK(res1
)) {
28358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
28360 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28362 arg2
= wxString_in_helper(obj1
);
28363 if (arg2
== NULL
) SWIG_fail
;
28367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28368 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
28369 wxPyEndAllowThreads(__tstate
);
28370 if (PyErr_Occurred()) SWIG_fail
;
28372 resultobj
= SWIG_From_int(static_cast< int >(result
));
28387 SWIGINTERN PyObject
*_wrap_DateTime_ParseDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28388 PyObject
*resultobj
= 0;
28389 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28390 wxString
*arg2
= 0 ;
28394 bool temp2
= false ;
28395 PyObject
* obj0
= 0 ;
28396 PyObject
* obj1
= 0 ;
28397 char * kwnames
[] = {
28398 (char *) "self",(char *) "date", NULL
28401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28403 if (!SWIG_IsOK(res1
)) {
28404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDate" "', expected argument " "1"" of type '" "wxDateTime *""'");
28406 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28408 arg2
= wxString_in_helper(obj1
);
28409 if (arg2
== NULL
) SWIG_fail
;
28413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28414 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
28415 wxPyEndAllowThreads(__tstate
);
28416 if (PyErr_Occurred()) SWIG_fail
;
28418 resultobj
= SWIG_From_int(static_cast< int >(result
));
28433 SWIGINTERN PyObject
*_wrap_DateTime_ParseTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28434 PyObject
*resultobj
= 0;
28435 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28436 wxString
*arg2
= 0 ;
28440 bool temp2
= false ;
28441 PyObject
* obj0
= 0 ;
28442 PyObject
* obj1
= 0 ;
28443 char * kwnames
[] = {
28444 (char *) "self",(char *) "time", NULL
28447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28449 if (!SWIG_IsOK(res1
)) {
28450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
28452 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28454 arg2
= wxString_in_helper(obj1
);
28455 if (arg2
== NULL
) SWIG_fail
;
28459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28460 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
28461 wxPyEndAllowThreads(__tstate
);
28462 if (PyErr_Occurred()) SWIG_fail
;
28464 resultobj
= SWIG_From_int(static_cast< int >(result
));
28479 SWIGINTERN PyObject
*_wrap_DateTime_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28480 PyObject
*resultobj
= 0;
28481 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28482 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
28483 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
28484 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
28485 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
28489 bool temp2
= false ;
28490 bool temp3
= false ;
28491 PyObject
* obj0
= 0 ;
28492 PyObject
* obj1
= 0 ;
28493 PyObject
* obj2
= 0 ;
28494 char * kwnames
[] = {
28495 (char *) "self",(char *) "format",(char *) "tz", NULL
28498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28500 if (!SWIG_IsOK(res1
)) {
28501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Format" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28503 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28506 arg2
= wxString_in_helper(obj1
);
28507 if (arg2
== NULL
) SWIG_fail
;
28513 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
28518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28519 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
28520 wxPyEndAllowThreads(__tstate
);
28521 if (PyErr_Occurred()) SWIG_fail
;
28525 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28527 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28535 if (temp3
) delete arg3
;
28544 if (temp3
) delete arg3
;
28550 SWIGINTERN PyObject
*_wrap_DateTime_FormatDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28551 PyObject
*resultobj
= 0;
28552 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28556 PyObject
*swig_obj
[1] ;
28558 if (!args
) SWIG_fail
;
28559 swig_obj
[0] = args
;
28560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28561 if (!SWIG_IsOK(res1
)) {
28562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28564 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28567 result
= ((wxDateTime
const *)arg1
)->FormatDate();
28568 wxPyEndAllowThreads(__tstate
);
28569 if (PyErr_Occurred()) SWIG_fail
;
28573 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28575 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28584 SWIGINTERN PyObject
*_wrap_DateTime_FormatTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28585 PyObject
*resultobj
= 0;
28586 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28590 PyObject
*swig_obj
[1] ;
28592 if (!args
) SWIG_fail
;
28593 swig_obj
[0] = args
;
28594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28595 if (!SWIG_IsOK(res1
)) {
28596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28598 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28601 result
= ((wxDateTime
const *)arg1
)->FormatTime();
28602 wxPyEndAllowThreads(__tstate
);
28603 if (PyErr_Occurred()) SWIG_fail
;
28607 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28609 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28618 SWIGINTERN PyObject
*_wrap_DateTime_FormatISODate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28619 PyObject
*resultobj
= 0;
28620 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28624 PyObject
*swig_obj
[1] ;
28626 if (!args
) SWIG_fail
;
28627 swig_obj
[0] = args
;
28628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28629 if (!SWIG_IsOK(res1
)) {
28630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISODate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28632 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28635 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
28636 wxPyEndAllowThreads(__tstate
);
28637 if (PyErr_Occurred()) SWIG_fail
;
28641 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28643 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28652 SWIGINTERN PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28653 PyObject
*resultobj
= 0;
28654 wxDateTime
*arg1
= (wxDateTime
*) 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_wxDateTime
, 0 | 0 );
28663 if (!SWIG_IsOK(res1
)) {
28664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISOTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28666 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28669 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
28670 wxPyEndAllowThreads(__tstate
);
28671 if (PyErr_Occurred()) SWIG_fail
;
28675 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28677 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28686 SWIGINTERN PyObject
*DateTime_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28688 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28689 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateTime
, SWIG_NewClientData(obj
));
28690 return SWIG_Py_Void();
28693 SWIGINTERN PyObject
*DateTime_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28694 return SWIG_Python_InitShadowInstance(args
);
28697 SWIGINTERN PyObject
*_wrap_TimeSpan_Milliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28698 PyObject
*resultobj
= 0;
28703 PyObject
* obj0
= 0 ;
28704 char * kwnames
[] = {
28705 (char *) "ms", NULL
28708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Milliseconds",kwnames
,&obj0
)) SWIG_fail
;
28709 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28710 if (!SWIG_IsOK(ecode1
)) {
28711 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Milliseconds" "', expected argument " "1"" of type '" "long""'");
28713 arg1
= static_cast< long >(val1
);
28715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28716 result
= wxTimeSpan::Milliseconds(arg1
);
28717 wxPyEndAllowThreads(__tstate
);
28718 if (PyErr_Occurred()) SWIG_fail
;
28720 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28727 SWIGINTERN PyObject
*_wrap_TimeSpan_Millisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28728 PyObject
*resultobj
= 0;
28731 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Millisecond",0,0,0)) SWIG_fail
;
28733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28734 result
= wxTimeSpan::Millisecond();
28735 wxPyEndAllowThreads(__tstate
);
28736 if (PyErr_Occurred()) SWIG_fail
;
28738 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28745 SWIGINTERN PyObject
*_wrap_TimeSpan_Seconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28746 PyObject
*resultobj
= 0;
28751 PyObject
* obj0
= 0 ;
28752 char * kwnames
[] = {
28753 (char *) "sec", NULL
28756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) SWIG_fail
;
28757 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28758 if (!SWIG_IsOK(ecode1
)) {
28759 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Seconds" "', expected argument " "1"" of type '" "long""'");
28761 arg1
= static_cast< long >(val1
);
28763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28764 result
= wxTimeSpan::Seconds(arg1
);
28765 wxPyEndAllowThreads(__tstate
);
28766 if (PyErr_Occurred()) SWIG_fail
;
28768 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28775 SWIGINTERN PyObject
*_wrap_TimeSpan_Second(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28776 PyObject
*resultobj
= 0;
28779 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Second",0,0,0)) SWIG_fail
;
28781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28782 result
= wxTimeSpan::Second();
28783 wxPyEndAllowThreads(__tstate
);
28784 if (PyErr_Occurred()) SWIG_fail
;
28786 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28793 SWIGINTERN PyObject
*_wrap_TimeSpan_Minutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28794 PyObject
*resultobj
= 0;
28799 PyObject
* obj0
= 0 ;
28800 char * kwnames
[] = {
28801 (char *) "min", NULL
28804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) SWIG_fail
;
28805 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28806 if (!SWIG_IsOK(ecode1
)) {
28807 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Minutes" "', expected argument " "1"" of type '" "long""'");
28809 arg1
= static_cast< long >(val1
);
28811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28812 result
= wxTimeSpan::Minutes(arg1
);
28813 wxPyEndAllowThreads(__tstate
);
28814 if (PyErr_Occurred()) SWIG_fail
;
28816 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28823 SWIGINTERN PyObject
*_wrap_TimeSpan_Minute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28824 PyObject
*resultobj
= 0;
28827 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Minute",0,0,0)) SWIG_fail
;
28829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28830 result
= wxTimeSpan::Minute();
28831 wxPyEndAllowThreads(__tstate
);
28832 if (PyErr_Occurred()) SWIG_fail
;
28834 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28841 SWIGINTERN PyObject
*_wrap_TimeSpan_Hours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28842 PyObject
*resultobj
= 0;
28847 PyObject
* obj0
= 0 ;
28848 char * kwnames
[] = {
28849 (char *) "hours", NULL
28852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) SWIG_fail
;
28853 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28854 if (!SWIG_IsOK(ecode1
)) {
28855 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Hours" "', expected argument " "1"" of type '" "long""'");
28857 arg1
= static_cast< long >(val1
);
28859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28860 result
= wxTimeSpan::Hours(arg1
);
28861 wxPyEndAllowThreads(__tstate
);
28862 if (PyErr_Occurred()) SWIG_fail
;
28864 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28871 SWIGINTERN PyObject
*_wrap_TimeSpan_Hour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28872 PyObject
*resultobj
= 0;
28875 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Hour",0,0,0)) SWIG_fail
;
28877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28878 result
= wxTimeSpan::Hour();
28879 wxPyEndAllowThreads(__tstate
);
28880 if (PyErr_Occurred()) SWIG_fail
;
28882 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28889 SWIGINTERN PyObject
*_wrap_TimeSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28890 PyObject
*resultobj
= 0;
28895 PyObject
* obj0
= 0 ;
28896 char * kwnames
[] = {
28897 (char *) "days", NULL
28900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
28901 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28902 if (!SWIG_IsOK(ecode1
)) {
28903 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Days" "', expected argument " "1"" of type '" "long""'");
28905 arg1
= static_cast< long >(val1
);
28907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28908 result
= wxTimeSpan::Days(arg1
);
28909 wxPyEndAllowThreads(__tstate
);
28910 if (PyErr_Occurred()) SWIG_fail
;
28912 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28919 SWIGINTERN PyObject
*_wrap_TimeSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28920 PyObject
*resultobj
= 0;
28923 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Day",0,0,0)) SWIG_fail
;
28925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28926 result
= wxTimeSpan::Day();
28927 wxPyEndAllowThreads(__tstate
);
28928 if (PyErr_Occurred()) SWIG_fail
;
28930 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28937 SWIGINTERN PyObject
*_wrap_TimeSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28938 PyObject
*resultobj
= 0;
28943 PyObject
* obj0
= 0 ;
28944 char * kwnames
[] = {
28945 (char *) "days", NULL
28948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
28949 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28950 if (!SWIG_IsOK(ecode1
)) {
28951 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Weeks" "', expected argument " "1"" of type '" "long""'");
28953 arg1
= static_cast< long >(val1
);
28955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28956 result
= wxTimeSpan::Weeks(arg1
);
28957 wxPyEndAllowThreads(__tstate
);
28958 if (PyErr_Occurred()) SWIG_fail
;
28960 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28967 SWIGINTERN PyObject
*_wrap_TimeSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28968 PyObject
*resultobj
= 0;
28971 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Week",0,0,0)) SWIG_fail
;
28973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28974 result
= wxTimeSpan::Week();
28975 wxPyEndAllowThreads(__tstate
);
28976 if (PyErr_Occurred()) SWIG_fail
;
28978 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28985 SWIGINTERN PyObject
*_wrap_new_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28986 PyObject
*resultobj
= 0;
28987 long arg1
= (long) 0 ;
28988 long arg2
= (long) 0 ;
28989 long arg3
= (long) 0 ;
28990 long arg4
= (long) 0 ;
28991 wxTimeSpan
*result
= 0 ;
29000 PyObject
* obj0
= 0 ;
29001 PyObject
* obj1
= 0 ;
29002 PyObject
* obj2
= 0 ;
29003 PyObject
* obj3
= 0 ;
29004 char * kwnames
[] = {
29005 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
29008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29010 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
29011 if (!SWIG_IsOK(ecode1
)) {
29012 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimeSpan" "', expected argument " "1"" of type '" "long""'");
29014 arg1
= static_cast< long >(val1
);
29017 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29018 if (!SWIG_IsOK(ecode2
)) {
29019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimeSpan" "', expected argument " "2"" of type '" "long""'");
29021 arg2
= static_cast< long >(val2
);
29024 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29025 if (!SWIG_IsOK(ecode3
)) {
29026 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimeSpan" "', expected argument " "3"" of type '" "long""'");
29028 arg3
= static_cast< long >(val3
);
29031 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29032 if (!SWIG_IsOK(ecode4
)) {
29033 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TimeSpan" "', expected argument " "4"" of type '" "long""'");
29035 arg4
= static_cast< long >(val4
);
29038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29039 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
29040 wxPyEndAllowThreads(__tstate
);
29041 if (PyErr_Occurred()) SWIG_fail
;
29043 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_NEW
| 0 );
29050 SWIGINTERN PyObject
*_wrap_delete_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29051 PyObject
*resultobj
= 0;
29052 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29055 PyObject
*swig_obj
[1] ;
29057 if (!args
) SWIG_fail
;
29058 swig_obj
[0] = args
;
29059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
29060 if (!SWIG_IsOK(res1
)) {
29061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimeSpan" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29063 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29068 wxPyEndAllowThreads(__tstate
);
29069 if (PyErr_Occurred()) SWIG_fail
;
29071 resultobj
= SWIG_Py_Void();
29078 SWIGINTERN PyObject
*_wrap_TimeSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29079 PyObject
*resultobj
= 0;
29080 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29081 wxTimeSpan
*arg2
= 0 ;
29082 wxTimeSpan
*result
= 0 ;
29087 PyObject
* obj0
= 0 ;
29088 PyObject
* obj1
= 0 ;
29089 char * kwnames
[] = {
29090 (char *) "self",(char *) "diff", NULL
29093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29095 if (!SWIG_IsOK(res1
)) {
29096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Add" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29098 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29099 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29100 if (!SWIG_IsOK(res2
)) {
29101 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29104 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29106 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29110 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
29111 result
= (wxTimeSpan
*) &_result_ref
;
29113 wxPyEndAllowThreads(__tstate
);
29114 if (PyErr_Occurred()) SWIG_fail
;
29116 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29123 SWIGINTERN PyObject
*_wrap_TimeSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29124 PyObject
*resultobj
= 0;
29125 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29126 wxTimeSpan
*arg2
= 0 ;
29127 wxTimeSpan
*result
= 0 ;
29132 PyObject
* obj0
= 0 ;
29133 PyObject
* obj1
= 0 ;
29134 char * kwnames
[] = {
29135 (char *) "self",(char *) "diff", NULL
29138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29140 if (!SWIG_IsOK(res1
)) {
29141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Subtract" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29143 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29144 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29145 if (!SWIG_IsOK(res2
)) {
29146 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29149 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29151 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29155 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
29156 result
= (wxTimeSpan
*) &_result_ref
;
29158 wxPyEndAllowThreads(__tstate
);
29159 if (PyErr_Occurred()) SWIG_fail
;
29161 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29168 SWIGINTERN PyObject
*_wrap_TimeSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29169 PyObject
*resultobj
= 0;
29170 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29172 wxTimeSpan
*result
= 0 ;
29177 PyObject
* obj0
= 0 ;
29178 PyObject
* obj1
= 0 ;
29179 char * kwnames
[] = {
29180 (char *) "self",(char *) "n", NULL
29183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29185 if (!SWIG_IsOK(res1
)) {
29186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Multiply" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29188 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29189 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29190 if (!SWIG_IsOK(ecode2
)) {
29191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
29193 arg2
= static_cast< int >(val2
);
29195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29197 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
29198 result
= (wxTimeSpan
*) &_result_ref
;
29200 wxPyEndAllowThreads(__tstate
);
29201 if (PyErr_Occurred()) SWIG_fail
;
29203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29210 SWIGINTERN PyObject
*_wrap_TimeSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29211 PyObject
*resultobj
= 0;
29212 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29213 wxTimeSpan
*result
= 0 ;
29216 PyObject
*swig_obj
[1] ;
29218 if (!args
) SWIG_fail
;
29219 swig_obj
[0] = args
;
29220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29221 if (!SWIG_IsOK(res1
)) {
29222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Neg" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29224 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29228 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
29229 result
= (wxTimeSpan
*) &_result_ref
;
29231 wxPyEndAllowThreads(__tstate
);
29232 if (PyErr_Occurred()) SWIG_fail
;
29234 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29241 SWIGINTERN PyObject
*_wrap_TimeSpan_Abs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29242 PyObject
*resultobj
= 0;
29243 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29247 PyObject
*swig_obj
[1] ;
29249 if (!args
) SWIG_fail
;
29250 swig_obj
[0] = args
;
29251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29252 if (!SWIG_IsOK(res1
)) {
29253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Abs" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29255 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29258 result
= ((wxTimeSpan
const *)arg1
)->Abs();
29259 wxPyEndAllowThreads(__tstate
);
29260 if (PyErr_Occurred()) SWIG_fail
;
29262 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29269 SWIGINTERN PyObject
*_wrap_TimeSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29270 PyObject
*resultobj
= 0;
29271 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29272 wxTimeSpan
*arg2
= 0 ;
29273 wxTimeSpan
*result
= 0 ;
29278 PyObject
* obj0
= 0 ;
29279 PyObject
* obj1
= 0 ;
29280 char * kwnames
[] = {
29281 (char *) "self",(char *) "diff", NULL
29284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
29286 if (!SWIG_IsOK(res1
)) {
29287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___iadd__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29289 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29290 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29291 if (!SWIG_IsOK(res2
)) {
29292 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29295 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29297 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29301 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
29302 result
= (wxTimeSpan
*) &_result_ref
;
29304 wxPyEndAllowThreads(__tstate
);
29305 if (PyErr_Occurred()) SWIG_fail
;
29307 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29314 SWIGINTERN PyObject
*_wrap_TimeSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29315 PyObject
*resultobj
= 0;
29316 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29317 wxTimeSpan
*arg2
= 0 ;
29318 wxTimeSpan
*result
= 0 ;
29323 PyObject
* obj0
= 0 ;
29324 PyObject
* obj1
= 0 ;
29325 char * kwnames
[] = {
29326 (char *) "self",(char *) "diff", NULL
29329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
29331 if (!SWIG_IsOK(res1
)) {
29332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___isub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29334 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29335 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29336 if (!SWIG_IsOK(res2
)) {
29337 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29340 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29342 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29346 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
29347 result
= (wxTimeSpan
*) &_result_ref
;
29349 wxPyEndAllowThreads(__tstate
);
29350 if (PyErr_Occurred()) SWIG_fail
;
29352 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29359 SWIGINTERN PyObject
*_wrap_TimeSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29360 PyObject
*resultobj
= 0;
29361 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29363 wxTimeSpan
*result
= 0 ;
29368 PyObject
* obj0
= 0 ;
29369 PyObject
* obj1
= 0 ;
29370 char * kwnames
[] = {
29371 (char *) "self",(char *) "n", NULL
29374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
29376 if (!SWIG_IsOK(res1
)) {
29377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___imul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29379 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29380 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29381 if (!SWIG_IsOK(ecode2
)) {
29382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___imul__" "', expected argument " "2"" of type '" "int""'");
29384 arg2
= static_cast< int >(val2
);
29386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29388 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
29389 result
= (wxTimeSpan
*) &_result_ref
;
29391 wxPyEndAllowThreads(__tstate
);
29392 if (PyErr_Occurred()) SWIG_fail
;
29394 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29401 SWIGINTERN PyObject
*_wrap_TimeSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29402 PyObject
*resultobj
= 0;
29403 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29404 wxTimeSpan
*result
= 0 ;
29407 PyObject
*swig_obj
[1] ;
29409 if (!args
) SWIG_fail
;
29410 swig_obj
[0] = args
;
29411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29412 if (!SWIG_IsOK(res1
)) {
29413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___neg__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29415 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29419 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
29420 result
= (wxTimeSpan
*) &_result_ref
;
29422 wxPyEndAllowThreads(__tstate
);
29423 if (PyErr_Occurred()) SWIG_fail
;
29425 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29432 SWIGINTERN PyObject
*_wrap_TimeSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29433 PyObject
*resultobj
= 0;
29434 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29435 wxTimeSpan
*arg2
= 0 ;
29441 PyObject
* obj0
= 0 ;
29442 PyObject
* obj1
= 0 ;
29443 char * kwnames
[] = {
29444 (char *) "self",(char *) "other", NULL
29447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29449 if (!SWIG_IsOK(res1
)) {
29450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___add__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29452 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29453 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29454 if (!SWIG_IsOK(res2
)) {
29455 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29458 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29460 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29463 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
29464 wxPyEndAllowThreads(__tstate
);
29465 if (PyErr_Occurred()) SWIG_fail
;
29467 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29474 SWIGINTERN PyObject
*_wrap_TimeSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29475 PyObject
*resultobj
= 0;
29476 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29477 wxTimeSpan
*arg2
= 0 ;
29483 PyObject
* obj0
= 0 ;
29484 PyObject
* obj1
= 0 ;
29485 char * kwnames
[] = {
29486 (char *) "self",(char *) "other", NULL
29489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29491 if (!SWIG_IsOK(res1
)) {
29492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___sub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29494 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29495 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29496 if (!SWIG_IsOK(res2
)) {
29497 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29500 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29502 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29505 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
29506 wxPyEndAllowThreads(__tstate
);
29507 if (PyErr_Occurred()) SWIG_fail
;
29509 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29516 SWIGINTERN PyObject
*_wrap_TimeSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29517 PyObject
*resultobj
= 0;
29518 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29525 PyObject
* obj0
= 0 ;
29526 PyObject
* obj1
= 0 ;
29527 char * kwnames
[] = {
29528 (char *) "self",(char *) "n", NULL
29531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29533 if (!SWIG_IsOK(res1
)) {
29534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___mul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29536 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29537 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29538 if (!SWIG_IsOK(ecode2
)) {
29539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___mul__" "', expected argument " "2"" of type '" "int""'");
29541 arg2
= static_cast< int >(val2
);
29543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29544 result
= wxTimeSpan___mul__(arg1
,arg2
);
29545 wxPyEndAllowThreads(__tstate
);
29546 if (PyErr_Occurred()) SWIG_fail
;
29548 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29555 SWIGINTERN PyObject
*_wrap_TimeSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29556 PyObject
*resultobj
= 0;
29557 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29564 PyObject
* obj0
= 0 ;
29565 PyObject
* obj1
= 0 ;
29566 char * kwnames
[] = {
29567 (char *) "self",(char *) "n", NULL
29570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29572 if (!SWIG_IsOK(res1
)) {
29573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___rmul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29575 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29576 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29577 if (!SWIG_IsOK(ecode2
)) {
29578 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
29580 arg2
= static_cast< int >(val2
);
29582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29583 result
= wxTimeSpan___rmul__(arg1
,arg2
);
29584 wxPyEndAllowThreads(__tstate
);
29585 if (PyErr_Occurred()) SWIG_fail
;
29587 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29594 SWIGINTERN PyObject
*_wrap_TimeSpan___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29595 PyObject
*resultobj
= 0;
29596 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29597 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29603 PyObject
* obj0
= 0 ;
29604 PyObject
* obj1
= 0 ;
29605 char * kwnames
[] = {
29606 (char *) "self",(char *) "other", NULL
29609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29611 if (!SWIG_IsOK(res1
)) {
29612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___lt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29614 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29615 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29616 if (!SWIG_IsOK(res2
)) {
29617 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___lt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29619 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29622 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
29623 wxPyEndAllowThreads(__tstate
);
29624 if (PyErr_Occurred()) SWIG_fail
;
29627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29635 SWIGINTERN PyObject
*_wrap_TimeSpan___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29636 PyObject
*resultobj
= 0;
29637 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29638 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29644 PyObject
* obj0
= 0 ;
29645 PyObject
* obj1
= 0 ;
29646 char * kwnames
[] = {
29647 (char *) "self",(char *) "other", NULL
29650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29652 if (!SWIG_IsOK(res1
)) {
29653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___le__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29655 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29656 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29657 if (!SWIG_IsOK(res2
)) {
29658 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___le__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29660 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29663 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
29664 wxPyEndAllowThreads(__tstate
);
29665 if (PyErr_Occurred()) SWIG_fail
;
29668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29676 SWIGINTERN PyObject
*_wrap_TimeSpan___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29677 PyObject
*resultobj
= 0;
29678 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29679 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29685 PyObject
* obj0
= 0 ;
29686 PyObject
* obj1
= 0 ;
29687 char * kwnames
[] = {
29688 (char *) "self",(char *) "other", NULL
29691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29693 if (!SWIG_IsOK(res1
)) {
29694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___gt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29696 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29697 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29698 if (!SWIG_IsOK(res2
)) {
29699 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___gt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29701 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29704 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
29705 wxPyEndAllowThreads(__tstate
);
29706 if (PyErr_Occurred()) SWIG_fail
;
29709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29717 SWIGINTERN PyObject
*_wrap_TimeSpan___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29718 PyObject
*resultobj
= 0;
29719 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29720 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29726 PyObject
* obj0
= 0 ;
29727 PyObject
* obj1
= 0 ;
29728 char * kwnames
[] = {
29729 (char *) "self",(char *) "other", NULL
29732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29734 if (!SWIG_IsOK(res1
)) {
29735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ge__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29737 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29738 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29739 if (!SWIG_IsOK(res2
)) {
29740 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ge__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29742 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29745 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
29746 wxPyEndAllowThreads(__tstate
);
29747 if (PyErr_Occurred()) SWIG_fail
;
29750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29758 SWIGINTERN PyObject
*_wrap_TimeSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29759 PyObject
*resultobj
= 0;
29760 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29761 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29767 PyObject
* obj0
= 0 ;
29768 PyObject
* obj1
= 0 ;
29769 char * kwnames
[] = {
29770 (char *) "self",(char *) "other", NULL
29773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29775 if (!SWIG_IsOK(res1
)) {
29776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___eq__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29778 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29779 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29780 if (!SWIG_IsOK(res2
)) {
29781 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___eq__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29783 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29786 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
29787 wxPyEndAllowThreads(__tstate
);
29788 if (PyErr_Occurred()) SWIG_fail
;
29791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29799 SWIGINTERN PyObject
*_wrap_TimeSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29800 PyObject
*resultobj
= 0;
29801 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29802 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29808 PyObject
* obj0
= 0 ;
29809 PyObject
* obj1
= 0 ;
29810 char * kwnames
[] = {
29811 (char *) "self",(char *) "other", NULL
29814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29816 if (!SWIG_IsOK(res1
)) {
29817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ne__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29819 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29820 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29821 if (!SWIG_IsOK(res2
)) {
29822 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ne__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29824 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29827 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
29828 wxPyEndAllowThreads(__tstate
);
29829 if (PyErr_Occurred()) SWIG_fail
;
29832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29840 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29841 PyObject
*resultobj
= 0;
29842 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29846 PyObject
*swig_obj
[1] ;
29848 if (!args
) SWIG_fail
;
29849 swig_obj
[0] = args
;
29850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29851 if (!SWIG_IsOK(res1
)) {
29852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNull" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29854 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29857 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
29858 wxPyEndAllowThreads(__tstate
);
29859 if (PyErr_Occurred()) SWIG_fail
;
29862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29870 SWIGINTERN PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29871 PyObject
*resultobj
= 0;
29872 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29876 PyObject
*swig_obj
[1] ;
29878 if (!args
) SWIG_fail
;
29879 swig_obj
[0] = args
;
29880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29881 if (!SWIG_IsOK(res1
)) {
29882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsPositive" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29884 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29887 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
29888 wxPyEndAllowThreads(__tstate
);
29889 if (PyErr_Occurred()) SWIG_fail
;
29892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29900 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29901 PyObject
*resultobj
= 0;
29902 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29906 PyObject
*swig_obj
[1] ;
29908 if (!args
) SWIG_fail
;
29909 swig_obj
[0] = args
;
29910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29911 if (!SWIG_IsOK(res1
)) {
29912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNegative" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29914 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29917 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
29918 wxPyEndAllowThreads(__tstate
);
29919 if (PyErr_Occurred()) SWIG_fail
;
29922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29930 SWIGINTERN PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29931 PyObject
*resultobj
= 0;
29932 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29933 wxTimeSpan
*arg2
= 0 ;
29939 PyObject
* obj0
= 0 ;
29940 PyObject
* obj1
= 0 ;
29941 char * kwnames
[] = {
29942 (char *) "self",(char *) "ts", NULL
29945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29947 if (!SWIG_IsOK(res1
)) {
29948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29950 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29951 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29952 if (!SWIG_IsOK(res2
)) {
29953 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29956 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29958 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29961 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
29962 wxPyEndAllowThreads(__tstate
);
29963 if (PyErr_Occurred()) SWIG_fail
;
29966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29974 SWIGINTERN PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29975 PyObject
*resultobj
= 0;
29976 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29977 wxTimeSpan
*arg2
= 0 ;
29983 PyObject
* obj0
= 0 ;
29984 PyObject
* obj1
= 0 ;
29985 char * kwnames
[] = {
29986 (char *) "self",(char *) "ts", NULL
29989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29991 if (!SWIG_IsOK(res1
)) {
29992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29994 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29995 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29996 if (!SWIG_IsOK(res2
)) {
29997 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
30000 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
30002 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
30004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30005 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
30006 wxPyEndAllowThreads(__tstate
);
30007 if (PyErr_Occurred()) SWIG_fail
;
30010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30018 SWIGINTERN PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30019 PyObject
*resultobj
= 0;
30020 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30021 wxTimeSpan
*arg2
= 0 ;
30027 PyObject
* obj0
= 0 ;
30028 PyObject
* obj1
= 0 ;
30029 char * kwnames
[] = {
30030 (char *) "self",(char *) "t", NULL
30033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30035 if (!SWIG_IsOK(res1
)) {
30036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30038 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30039 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
30040 if (!SWIG_IsOK(res2
)) {
30041 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
30044 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
30046 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
30048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30049 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
30050 wxPyEndAllowThreads(__tstate
);
30051 if (PyErr_Occurred()) SWIG_fail
;
30054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30062 SWIGINTERN PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30063 PyObject
*resultobj
= 0;
30064 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30068 PyObject
*swig_obj
[1] ;
30070 if (!args
) SWIG_fail
;
30071 swig_obj
[0] = args
;
30072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30073 if (!SWIG_IsOK(res1
)) {
30074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetWeeks" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30076 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30079 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
30080 wxPyEndAllowThreads(__tstate
);
30081 if (PyErr_Occurred()) SWIG_fail
;
30083 resultobj
= SWIG_From_int(static_cast< int >(result
));
30090 SWIGINTERN PyObject
*_wrap_TimeSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30091 PyObject
*resultobj
= 0;
30092 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30096 PyObject
*swig_obj
[1] ;
30098 if (!args
) SWIG_fail
;
30099 swig_obj
[0] = args
;
30100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30101 if (!SWIG_IsOK(res1
)) {
30102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetDays" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30104 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30107 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
30108 wxPyEndAllowThreads(__tstate
);
30109 if (PyErr_Occurred()) SWIG_fail
;
30111 resultobj
= SWIG_From_int(static_cast< int >(result
));
30118 SWIGINTERN PyObject
*_wrap_TimeSpan_GetHours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30119 PyObject
*resultobj
= 0;
30120 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30124 PyObject
*swig_obj
[1] ;
30126 if (!args
) SWIG_fail
;
30127 swig_obj
[0] = args
;
30128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30129 if (!SWIG_IsOK(res1
)) {
30130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetHours" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30132 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30135 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
30136 wxPyEndAllowThreads(__tstate
);
30137 if (PyErr_Occurred()) SWIG_fail
;
30139 resultobj
= SWIG_From_int(static_cast< int >(result
));
30146 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30147 PyObject
*resultobj
= 0;
30148 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30152 PyObject
*swig_obj
[1] ;
30154 if (!args
) SWIG_fail
;
30155 swig_obj
[0] = args
;
30156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30157 if (!SWIG_IsOK(res1
)) {
30158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMinutes" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30160 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30163 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
30164 wxPyEndAllowThreads(__tstate
);
30165 if (PyErr_Occurred()) SWIG_fail
;
30167 resultobj
= SWIG_From_int(static_cast< int >(result
));
30174 SWIGINTERN PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30175 PyObject
*resultobj
= 0;
30176 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30180 PyObject
*swig_obj
[1] ;
30182 if (!args
) SWIG_fail
;
30183 swig_obj
[0] = args
;
30184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30185 if (!SWIG_IsOK(res1
)) {
30186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetSeconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30188 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30191 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
30192 wxPyEndAllowThreads(__tstate
);
30193 if (PyErr_Occurred()) SWIG_fail
;
30196 PyObject
*hi
, *lo
, *shifter
, *shifted
;
30197 hi
= PyLong_FromLong( (&result
)->GetHi() );
30198 lo
= PyLong_FromLong( (&result
)->GetLo() );
30199 shifter
= PyLong_FromLong(32);
30200 shifted
= PyNumber_Lshift(hi
, shifter
);
30201 resultobj
= PyNumber_Or(shifted
, lo
);
30204 Py_DECREF(shifter
);
30205 Py_DECREF(shifted
);
30213 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30214 PyObject
*resultobj
= 0;
30215 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30219 PyObject
*swig_obj
[1] ;
30221 if (!args
) SWIG_fail
;
30222 swig_obj
[0] = args
;
30223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30224 if (!SWIG_IsOK(res1
)) {
30225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMilliseconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30227 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30230 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
30231 wxPyEndAllowThreads(__tstate
);
30232 if (PyErr_Occurred()) SWIG_fail
;
30235 PyObject
*hi
, *lo
, *shifter
, *shifted
;
30236 hi
= PyLong_FromLong( (&result
)->GetHi() );
30237 lo
= PyLong_FromLong( (&result
)->GetLo() );
30238 shifter
= PyLong_FromLong(32);
30239 shifted
= PyNumber_Lshift(hi
, shifter
);
30240 resultobj
= PyNumber_Or(shifted
, lo
);
30243 Py_DECREF(shifter
);
30244 Py_DECREF(shifted
);
30252 SWIGINTERN PyObject
*_wrap_TimeSpan_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30253 PyObject
*resultobj
= 0;
30254 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30255 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
30256 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
30260 bool temp2
= false ;
30261 PyObject
* obj0
= 0 ;
30262 PyObject
* obj1
= 0 ;
30263 char * kwnames
[] = {
30264 (char *) "self",(char *) "format", NULL
30267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30269 if (!SWIG_IsOK(res1
)) {
30270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Format" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30272 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30275 arg2
= wxString_in_helper(obj1
);
30276 if (arg2
== NULL
) SWIG_fail
;
30281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30282 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
30283 wxPyEndAllowThreads(__tstate
);
30284 if (PyErr_Occurred()) SWIG_fail
;
30288 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30290 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30307 SWIGINTERN PyObject
*TimeSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30309 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30310 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimeSpan
, SWIG_NewClientData(obj
));
30311 return SWIG_Py_Void();
30314 SWIGINTERN PyObject
*TimeSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30315 return SWIG_Python_InitShadowInstance(args
);
30318 SWIGINTERN PyObject
*_wrap_new_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30319 PyObject
*resultobj
= 0;
30320 int arg1
= (int) 0 ;
30321 int arg2
= (int) 0 ;
30322 int arg3
= (int) 0 ;
30323 int arg4
= (int) 0 ;
30324 wxDateSpan
*result
= 0 ;
30333 PyObject
* obj0
= 0 ;
30334 PyObject
* obj1
= 0 ;
30335 PyObject
* obj2
= 0 ;
30336 PyObject
* obj3
= 0 ;
30337 char * kwnames
[] = {
30338 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
30341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30343 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30344 if (!SWIG_IsOK(ecode1
)) {
30345 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateSpan" "', expected argument " "1"" of type '" "int""'");
30347 arg1
= static_cast< int >(val1
);
30350 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30351 if (!SWIG_IsOK(ecode2
)) {
30352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateSpan" "', expected argument " "2"" of type '" "int""'");
30354 arg2
= static_cast< int >(val2
);
30357 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30358 if (!SWIG_IsOK(ecode3
)) {
30359 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateSpan" "', expected argument " "3"" of type '" "int""'");
30361 arg3
= static_cast< int >(val3
);
30364 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30365 if (!SWIG_IsOK(ecode4
)) {
30366 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateSpan" "', expected argument " "4"" of type '" "int""'");
30368 arg4
= static_cast< int >(val4
);
30371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30372 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
30373 wxPyEndAllowThreads(__tstate
);
30374 if (PyErr_Occurred()) SWIG_fail
;
30376 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_NEW
| 0 );
30383 SWIGINTERN PyObject
*_wrap_delete_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30384 PyObject
*resultobj
= 0;
30385 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30388 PyObject
*swig_obj
[1] ;
30390 if (!args
) SWIG_fail
;
30391 swig_obj
[0] = args
;
30392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
30393 if (!SWIG_IsOK(res1
)) {
30394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateSpan" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30396 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30401 wxPyEndAllowThreads(__tstate
);
30402 if (PyErr_Occurred()) SWIG_fail
;
30404 resultobj
= SWIG_Py_Void();
30411 SWIGINTERN PyObject
*_wrap_DateSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30412 PyObject
*resultobj
= 0;
30417 PyObject
* obj0
= 0 ;
30418 char * kwnames
[] = {
30419 (char *) "days", NULL
30422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
30423 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30424 if (!SWIG_IsOK(ecode1
)) {
30425 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Days" "', expected argument " "1"" of type '" "int""'");
30427 arg1
= static_cast< int >(val1
);
30429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30430 result
= wxDateSpan::Days(arg1
);
30431 wxPyEndAllowThreads(__tstate
);
30432 if (PyErr_Occurred()) SWIG_fail
;
30434 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30441 SWIGINTERN PyObject
*_wrap_DateSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30442 PyObject
*resultobj
= 0;
30445 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Day",0,0,0)) SWIG_fail
;
30447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30448 result
= wxDateSpan::Day();
30449 wxPyEndAllowThreads(__tstate
);
30450 if (PyErr_Occurred()) SWIG_fail
;
30452 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30459 SWIGINTERN PyObject
*_wrap_DateSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30460 PyObject
*resultobj
= 0;
30465 PyObject
* obj0
= 0 ;
30466 char * kwnames
[] = {
30467 (char *) "weeks", NULL
30470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
30471 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30472 if (!SWIG_IsOK(ecode1
)) {
30473 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Weeks" "', expected argument " "1"" of type '" "int""'");
30475 arg1
= static_cast< int >(val1
);
30477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30478 result
= wxDateSpan::Weeks(arg1
);
30479 wxPyEndAllowThreads(__tstate
);
30480 if (PyErr_Occurred()) SWIG_fail
;
30482 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30489 SWIGINTERN PyObject
*_wrap_DateSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30490 PyObject
*resultobj
= 0;
30493 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Week",0,0,0)) SWIG_fail
;
30495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30496 result
= wxDateSpan::Week();
30497 wxPyEndAllowThreads(__tstate
);
30498 if (PyErr_Occurred()) SWIG_fail
;
30500 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30507 SWIGINTERN PyObject
*_wrap_DateSpan_Months(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30508 PyObject
*resultobj
= 0;
30513 PyObject
* obj0
= 0 ;
30514 char * kwnames
[] = {
30515 (char *) "mon", NULL
30518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) SWIG_fail
;
30519 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30520 if (!SWIG_IsOK(ecode1
)) {
30521 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Months" "', expected argument " "1"" of type '" "int""'");
30523 arg1
= static_cast< int >(val1
);
30525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30526 result
= wxDateSpan::Months(arg1
);
30527 wxPyEndAllowThreads(__tstate
);
30528 if (PyErr_Occurred()) SWIG_fail
;
30530 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30537 SWIGINTERN PyObject
*_wrap_DateSpan_Month(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30538 PyObject
*resultobj
= 0;
30541 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Month",0,0,0)) SWIG_fail
;
30543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30544 result
= wxDateSpan::Month();
30545 wxPyEndAllowThreads(__tstate
);
30546 if (PyErr_Occurred()) SWIG_fail
;
30548 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30555 SWIGINTERN PyObject
*_wrap_DateSpan_Years(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30556 PyObject
*resultobj
= 0;
30561 PyObject
* obj0
= 0 ;
30562 char * kwnames
[] = {
30563 (char *) "years", NULL
30566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) SWIG_fail
;
30567 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30568 if (!SWIG_IsOK(ecode1
)) {
30569 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Years" "', expected argument " "1"" of type '" "int""'");
30571 arg1
= static_cast< int >(val1
);
30573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30574 result
= wxDateSpan::Years(arg1
);
30575 wxPyEndAllowThreads(__tstate
);
30576 if (PyErr_Occurred()) SWIG_fail
;
30578 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30585 SWIGINTERN PyObject
*_wrap_DateSpan_Year(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30586 PyObject
*resultobj
= 0;
30589 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Year",0,0,0)) SWIG_fail
;
30591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30592 result
= wxDateSpan::Year();
30593 wxPyEndAllowThreads(__tstate
);
30594 if (PyErr_Occurred()) SWIG_fail
;
30596 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30603 SWIGINTERN PyObject
*_wrap_DateSpan_SetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30604 PyObject
*resultobj
= 0;
30605 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30607 wxDateSpan
*result
= 0 ;
30612 PyObject
* obj0
= 0 ;
30613 PyObject
* obj1
= 0 ;
30614 char * kwnames
[] = {
30615 (char *) "self",(char *) "n", NULL
30618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30620 if (!SWIG_IsOK(res1
)) {
30621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetYears" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30623 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30624 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30625 if (!SWIG_IsOK(ecode2
)) {
30626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetYears" "', expected argument " "2"" of type '" "int""'");
30628 arg2
= static_cast< int >(val2
);
30630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30632 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
30633 result
= (wxDateSpan
*) &_result_ref
;
30635 wxPyEndAllowThreads(__tstate
);
30636 if (PyErr_Occurred()) SWIG_fail
;
30638 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30645 SWIGINTERN PyObject
*_wrap_DateSpan_SetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30646 PyObject
*resultobj
= 0;
30647 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30649 wxDateSpan
*result
= 0 ;
30654 PyObject
* obj0
= 0 ;
30655 PyObject
* obj1
= 0 ;
30656 char * kwnames
[] = {
30657 (char *) "self",(char *) "n", NULL
30660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30662 if (!SWIG_IsOK(res1
)) {
30663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetMonths" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30665 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30666 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30667 if (!SWIG_IsOK(ecode2
)) {
30668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetMonths" "', expected argument " "2"" of type '" "int""'");
30670 arg2
= static_cast< int >(val2
);
30672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30674 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
30675 result
= (wxDateSpan
*) &_result_ref
;
30677 wxPyEndAllowThreads(__tstate
);
30678 if (PyErr_Occurred()) SWIG_fail
;
30680 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30687 SWIGINTERN PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30688 PyObject
*resultobj
= 0;
30689 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30691 wxDateSpan
*result
= 0 ;
30696 PyObject
* obj0
= 0 ;
30697 PyObject
* obj1
= 0 ;
30698 char * kwnames
[] = {
30699 (char *) "self",(char *) "n", NULL
30702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30704 if (!SWIG_IsOK(res1
)) {
30705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetWeeks" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30707 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30708 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30709 if (!SWIG_IsOK(ecode2
)) {
30710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetWeeks" "', expected argument " "2"" of type '" "int""'");
30712 arg2
= static_cast< int >(val2
);
30714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30716 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
30717 result
= (wxDateSpan
*) &_result_ref
;
30719 wxPyEndAllowThreads(__tstate
);
30720 if (PyErr_Occurred()) SWIG_fail
;
30722 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30729 SWIGINTERN PyObject
*_wrap_DateSpan_SetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30730 PyObject
*resultobj
= 0;
30731 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30733 wxDateSpan
*result
= 0 ;
30738 PyObject
* obj0
= 0 ;
30739 PyObject
* obj1
= 0 ;
30740 char * kwnames
[] = {
30741 (char *) "self",(char *) "n", NULL
30744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30746 if (!SWIG_IsOK(res1
)) {
30747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetDays" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30749 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30750 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30751 if (!SWIG_IsOK(ecode2
)) {
30752 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetDays" "', expected argument " "2"" of type '" "int""'");
30754 arg2
= static_cast< int >(val2
);
30756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30758 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
30759 result
= (wxDateSpan
*) &_result_ref
;
30761 wxPyEndAllowThreads(__tstate
);
30762 if (PyErr_Occurred()) SWIG_fail
;
30764 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30771 SWIGINTERN PyObject
*_wrap_DateSpan_GetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30772 PyObject
*resultobj
= 0;
30773 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30777 PyObject
*swig_obj
[1] ;
30779 if (!args
) SWIG_fail
;
30780 swig_obj
[0] = args
;
30781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30782 if (!SWIG_IsOK(res1
)) {
30783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetYears" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30785 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30788 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
30789 wxPyEndAllowThreads(__tstate
);
30790 if (PyErr_Occurred()) SWIG_fail
;
30792 resultobj
= SWIG_From_int(static_cast< int >(result
));
30799 SWIGINTERN PyObject
*_wrap_DateSpan_GetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30800 PyObject
*resultobj
= 0;
30801 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30805 PyObject
*swig_obj
[1] ;
30807 if (!args
) SWIG_fail
;
30808 swig_obj
[0] = args
;
30809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30810 if (!SWIG_IsOK(res1
)) {
30811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetMonths" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30813 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30816 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
30817 wxPyEndAllowThreads(__tstate
);
30818 if (PyErr_Occurred()) SWIG_fail
;
30820 resultobj
= SWIG_From_int(static_cast< int >(result
));
30827 SWIGINTERN PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30828 PyObject
*resultobj
= 0;
30829 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30833 PyObject
*swig_obj
[1] ;
30835 if (!args
) SWIG_fail
;
30836 swig_obj
[0] = args
;
30837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30838 if (!SWIG_IsOK(res1
)) {
30839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetWeeks" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30841 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30844 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
30845 wxPyEndAllowThreads(__tstate
);
30846 if (PyErr_Occurred()) SWIG_fail
;
30848 resultobj
= SWIG_From_int(static_cast< int >(result
));
30855 SWIGINTERN PyObject
*_wrap_DateSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30856 PyObject
*resultobj
= 0;
30857 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30861 PyObject
*swig_obj
[1] ;
30863 if (!args
) SWIG_fail
;
30864 swig_obj
[0] = args
;
30865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30866 if (!SWIG_IsOK(res1
)) {
30867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30869 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30872 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
30873 wxPyEndAllowThreads(__tstate
);
30874 if (PyErr_Occurred()) SWIG_fail
;
30876 resultobj
= SWIG_From_int(static_cast< int >(result
));
30883 SWIGINTERN PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30884 PyObject
*resultobj
= 0;
30885 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30889 PyObject
*swig_obj
[1] ;
30891 if (!args
) SWIG_fail
;
30892 swig_obj
[0] = args
;
30893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30894 if (!SWIG_IsOK(res1
)) {
30895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetTotalDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30897 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30900 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
30901 wxPyEndAllowThreads(__tstate
);
30902 if (PyErr_Occurred()) SWIG_fail
;
30904 resultobj
= SWIG_From_int(static_cast< int >(result
));
30911 SWIGINTERN PyObject
*_wrap_DateSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30912 PyObject
*resultobj
= 0;
30913 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30914 wxDateSpan
*arg2
= 0 ;
30915 wxDateSpan
*result
= 0 ;
30920 PyObject
* obj0
= 0 ;
30921 PyObject
* obj1
= 0 ;
30922 char * kwnames
[] = {
30923 (char *) "self",(char *) "other", NULL
30926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30928 if (!SWIG_IsOK(res1
)) {
30929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Add" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30931 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30932 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30933 if (!SWIG_IsOK(res2
)) {
30934 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30937 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30939 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30943 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
30944 result
= (wxDateSpan
*) &_result_ref
;
30946 wxPyEndAllowThreads(__tstate
);
30947 if (PyErr_Occurred()) SWIG_fail
;
30949 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30956 SWIGINTERN PyObject
*_wrap_DateSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30957 PyObject
*resultobj
= 0;
30958 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30959 wxDateSpan
*arg2
= 0 ;
30960 wxDateSpan
*result
= 0 ;
30965 PyObject
* obj0
= 0 ;
30966 PyObject
* obj1
= 0 ;
30967 char * kwnames
[] = {
30968 (char *) "self",(char *) "other", NULL
30971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30973 if (!SWIG_IsOK(res1
)) {
30974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Subtract" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30976 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30977 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30978 if (!SWIG_IsOK(res2
)) {
30979 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30982 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30984 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30988 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
30989 result
= (wxDateSpan
*) &_result_ref
;
30991 wxPyEndAllowThreads(__tstate
);
30992 if (PyErr_Occurred()) SWIG_fail
;
30994 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31001 SWIGINTERN PyObject
*_wrap_DateSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31002 PyObject
*resultobj
= 0;
31003 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31004 wxDateSpan
*result
= 0 ;
31007 PyObject
*swig_obj
[1] ;
31009 if (!args
) SWIG_fail
;
31010 swig_obj
[0] = args
;
31011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31012 if (!SWIG_IsOK(res1
)) {
31013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Neg" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31015 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31019 wxDateSpan
&_result_ref
= (arg1
)->Neg();
31020 result
= (wxDateSpan
*) &_result_ref
;
31022 wxPyEndAllowThreads(__tstate
);
31023 if (PyErr_Occurred()) SWIG_fail
;
31025 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31032 SWIGINTERN PyObject
*_wrap_DateSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31033 PyObject
*resultobj
= 0;
31034 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31036 wxDateSpan
*result
= 0 ;
31041 PyObject
* obj0
= 0 ;
31042 PyObject
* obj1
= 0 ;
31043 char * kwnames
[] = {
31044 (char *) "self",(char *) "factor", NULL
31047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31049 if (!SWIG_IsOK(res1
)) {
31050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Multiply" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31052 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31053 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31054 if (!SWIG_IsOK(ecode2
)) {
31055 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
31057 arg2
= static_cast< int >(val2
);
31059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31061 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
31062 result
= (wxDateSpan
*) &_result_ref
;
31064 wxPyEndAllowThreads(__tstate
);
31065 if (PyErr_Occurred()) SWIG_fail
;
31067 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31074 SWIGINTERN PyObject
*_wrap_DateSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31075 PyObject
*resultobj
= 0;
31076 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31077 wxDateSpan
*arg2
= 0 ;
31078 wxDateSpan
*result
= 0 ;
31083 PyObject
* obj0
= 0 ;
31084 PyObject
* obj1
= 0 ;
31085 char * kwnames
[] = {
31086 (char *) "self",(char *) "other", NULL
31089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
31091 if (!SWIG_IsOK(res1
)) {
31092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___iadd__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31094 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31095 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
31096 if (!SWIG_IsOK(res2
)) {
31097 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31100 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31102 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31106 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
31107 result
= (wxDateSpan
*) &_result_ref
;
31109 wxPyEndAllowThreads(__tstate
);
31110 if (PyErr_Occurred()) SWIG_fail
;
31112 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31119 SWIGINTERN PyObject
*_wrap_DateSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31120 PyObject
*resultobj
= 0;
31121 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31122 wxDateSpan
*arg2
= 0 ;
31123 wxDateSpan
*result
= 0 ;
31128 PyObject
* obj0
= 0 ;
31129 PyObject
* obj1
= 0 ;
31130 char * kwnames
[] = {
31131 (char *) "self",(char *) "other", NULL
31134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
31136 if (!SWIG_IsOK(res1
)) {
31137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___isub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31139 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31140 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
31141 if (!SWIG_IsOK(res2
)) {
31142 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31145 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31147 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31151 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
31152 result
= (wxDateSpan
*) &_result_ref
;
31154 wxPyEndAllowThreads(__tstate
);
31155 if (PyErr_Occurred()) SWIG_fail
;
31157 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31164 SWIGINTERN PyObject
*_wrap_DateSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31165 PyObject
*resultobj
= 0;
31166 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31167 wxDateSpan
*result
= 0 ;
31170 PyObject
*swig_obj
[1] ;
31172 if (!args
) SWIG_fail
;
31173 swig_obj
[0] = args
;
31174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31175 if (!SWIG_IsOK(res1
)) {
31176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___neg__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31178 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31182 wxDateSpan
&_result_ref
= (arg1
)->operator -();
31183 result
= (wxDateSpan
*) &_result_ref
;
31185 wxPyEndAllowThreads(__tstate
);
31186 if (PyErr_Occurred()) SWIG_fail
;
31188 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31195 SWIGINTERN PyObject
*_wrap_DateSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31196 PyObject
*resultobj
= 0;
31197 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31199 wxDateSpan
*result
= 0 ;
31204 PyObject
* obj0
= 0 ;
31205 PyObject
* obj1
= 0 ;
31206 char * kwnames
[] = {
31207 (char *) "self",(char *) "factor", NULL
31210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
31212 if (!SWIG_IsOK(res1
)) {
31213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___imul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31215 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31216 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31217 if (!SWIG_IsOK(ecode2
)) {
31218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___imul__" "', expected argument " "2"" of type '" "int""'");
31220 arg2
= static_cast< int >(val2
);
31222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31224 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
31225 result
= (wxDateSpan
*) &_result_ref
;
31227 wxPyEndAllowThreads(__tstate
);
31228 if (PyErr_Occurred()) SWIG_fail
;
31230 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31237 SWIGINTERN PyObject
*_wrap_DateSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31238 PyObject
*resultobj
= 0;
31239 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31240 wxDateSpan
*arg2
= 0 ;
31246 PyObject
* obj0
= 0 ;
31247 PyObject
* obj1
= 0 ;
31248 char * kwnames
[] = {
31249 (char *) "self",(char *) "other", NULL
31252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31254 if (!SWIG_IsOK(res1
)) {
31255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___add__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31257 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31258 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
31259 if (!SWIG_IsOK(res2
)) {
31260 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31263 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31265 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31268 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
31269 wxPyEndAllowThreads(__tstate
);
31270 if (PyErr_Occurred()) SWIG_fail
;
31272 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31279 SWIGINTERN PyObject
*_wrap_DateSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31280 PyObject
*resultobj
= 0;
31281 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31282 wxDateSpan
*arg2
= 0 ;
31288 PyObject
* obj0
= 0 ;
31289 PyObject
* obj1
= 0 ;
31290 char * kwnames
[] = {
31291 (char *) "self",(char *) "other", NULL
31294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31296 if (!SWIG_IsOK(res1
)) {
31297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___sub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31299 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31300 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
31301 if (!SWIG_IsOK(res2
)) {
31302 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31305 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31307 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31310 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
31311 wxPyEndAllowThreads(__tstate
);
31312 if (PyErr_Occurred()) SWIG_fail
;
31314 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31321 SWIGINTERN PyObject
*_wrap_DateSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31322 PyObject
*resultobj
= 0;
31323 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31330 PyObject
* obj0
= 0 ;
31331 PyObject
* obj1
= 0 ;
31332 char * kwnames
[] = {
31333 (char *) "self",(char *) "n", NULL
31336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31338 if (!SWIG_IsOK(res1
)) {
31339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___mul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31341 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31342 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31343 if (!SWIG_IsOK(ecode2
)) {
31344 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___mul__" "', expected argument " "2"" of type '" "int""'");
31346 arg2
= static_cast< int >(val2
);
31348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31349 result
= wxDateSpan___mul__(arg1
,arg2
);
31350 wxPyEndAllowThreads(__tstate
);
31351 if (PyErr_Occurred()) SWIG_fail
;
31353 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31360 SWIGINTERN PyObject
*_wrap_DateSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31361 PyObject
*resultobj
= 0;
31362 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31369 PyObject
* obj0
= 0 ;
31370 PyObject
* obj1
= 0 ;
31371 char * kwnames
[] = {
31372 (char *) "self",(char *) "n", NULL
31375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31377 if (!SWIG_IsOK(res1
)) {
31378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___rmul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31380 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31381 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31382 if (!SWIG_IsOK(ecode2
)) {
31383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
31385 arg2
= static_cast< int >(val2
);
31387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31388 result
= wxDateSpan___rmul__(arg1
,arg2
);
31389 wxPyEndAllowThreads(__tstate
);
31390 if (PyErr_Occurred()) SWIG_fail
;
31392 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31399 SWIGINTERN PyObject
*_wrap_DateSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31400 PyObject
*resultobj
= 0;
31401 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31402 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
31408 PyObject
* obj0
= 0 ;
31409 PyObject
* obj1
= 0 ;
31410 char * kwnames
[] = {
31411 (char *) "self",(char *) "other", NULL
31414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31416 if (!SWIG_IsOK(res1
)) {
31417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___eq__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31419 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31420 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31421 if (!SWIG_IsOK(res2
)) {
31422 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___eq__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
31424 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31427 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
31428 wxPyEndAllowThreads(__tstate
);
31429 if (PyErr_Occurred()) SWIG_fail
;
31432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31440 SWIGINTERN PyObject
*_wrap_DateSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31441 PyObject
*resultobj
= 0;
31442 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31443 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
31449 PyObject
* obj0
= 0 ;
31450 PyObject
* obj1
= 0 ;
31451 char * kwnames
[] = {
31452 (char *) "self",(char *) "other", NULL
31455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31457 if (!SWIG_IsOK(res1
)) {
31458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___ne__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31460 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31461 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31462 if (!SWIG_IsOK(res2
)) {
31463 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___ne__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
31465 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31468 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
31469 wxPyEndAllowThreads(__tstate
);
31470 if (PyErr_Occurred()) SWIG_fail
;
31473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31481 SWIGINTERN PyObject
*DateSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31483 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31484 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateSpan
, SWIG_NewClientData(obj
));
31485 return SWIG_Py_Void();
31488 SWIGINTERN PyObject
*DateSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31489 return SWIG_Python_InitShadowInstance(args
);
31492 SWIGINTERN PyObject
*_wrap_GetLocalTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31493 PyObject
*resultobj
= 0;
31496 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTime",0,0,0)) SWIG_fail
;
31498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31499 result
= (long)wxGetLocalTime();
31500 wxPyEndAllowThreads(__tstate
);
31501 if (PyErr_Occurred()) SWIG_fail
;
31503 resultobj
= SWIG_From_long(static_cast< long >(result
));
31510 SWIGINTERN PyObject
*_wrap_GetUTCTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31511 PyObject
*resultobj
= 0;
31514 if (!SWIG_Python_UnpackTuple(args
,"GetUTCTime",0,0,0)) SWIG_fail
;
31516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31517 result
= (long)wxGetUTCTime();
31518 wxPyEndAllowThreads(__tstate
);
31519 if (PyErr_Occurred()) SWIG_fail
;
31521 resultobj
= SWIG_From_long(static_cast< long >(result
));
31528 SWIGINTERN PyObject
*_wrap_GetCurrentTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31529 PyObject
*resultobj
= 0;
31532 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentTime",0,0,0)) SWIG_fail
;
31534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31535 result
= (long)wxGetCurrentTime();
31536 wxPyEndAllowThreads(__tstate
);
31537 if (PyErr_Occurred()) SWIG_fail
;
31539 resultobj
= SWIG_From_long(static_cast< long >(result
));
31546 SWIGINTERN PyObject
*_wrap_GetLocalTimeMillis(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31547 PyObject
*resultobj
= 0;
31550 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTimeMillis",0,0,0)) SWIG_fail
;
31552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31553 result
= wxGetLocalTimeMillis();
31554 wxPyEndAllowThreads(__tstate
);
31555 if (PyErr_Occurred()) SWIG_fail
;
31558 PyObject
*hi
, *lo
, *shifter
, *shifted
;
31559 hi
= PyLong_FromLong( (&result
)->GetHi() );
31560 lo
= PyLong_FromLong( (&result
)->GetLo() );
31561 shifter
= PyLong_FromLong(32);
31562 shifted
= PyNumber_Lshift(hi
, shifter
);
31563 resultobj
= PyNumber_Or(shifted
, lo
);
31566 Py_DECREF(shifter
);
31567 Py_DECREF(shifted
);
31575 SWIGINTERN
int DefaultDateTime_set(PyObject
*) {
31576 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTime is read-only.");
31581 SWIGINTERN PyObject
*DefaultDateTime_get(void) {
31582 PyObject
*pyobj
= 0;
31584 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0 );
31589 SWIGINTERN PyObject
*_wrap_new_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31590 PyObject
*resultobj
= 0;
31591 wxDataFormatId arg1
;
31592 wxDataFormat
*result
= 0 ;
31595 PyObject
* obj0
= 0 ;
31596 char * kwnames
[] = {
31597 (char *) "type", NULL
31600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) SWIG_fail
;
31601 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31602 if (!SWIG_IsOK(ecode1
)) {
31603 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DataFormat" "', expected argument " "1"" of type '" "wxDataFormatId""'");
31605 arg1
= static_cast< wxDataFormatId
>(val1
);
31607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31608 result
= (wxDataFormat
*)new wxDataFormat(arg1
);
31609 wxPyEndAllowThreads(__tstate
);
31610 if (PyErr_Occurred()) SWIG_fail
;
31612 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_NEW
| 0 );
31619 SWIGINTERN PyObject
*_wrap_new_CustomDataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31620 PyObject
*resultobj
= 0;
31621 wxString
*arg1
= 0 ;
31622 wxDataFormat
*result
= 0 ;
31623 bool temp1
= false ;
31624 PyObject
* obj0
= 0 ;
31625 char * kwnames
[] = {
31626 (char *) "format", NULL
31629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) SWIG_fail
;
31631 arg1
= wxString_in_helper(obj0
);
31632 if (arg1
== NULL
) SWIG_fail
;
31636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31637 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
31638 wxPyEndAllowThreads(__tstate
);
31639 if (PyErr_Occurred()) SWIG_fail
;
31641 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
31656 SWIGINTERN PyObject
*_wrap_delete_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31657 PyObject
*resultobj
= 0;
31658 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31661 PyObject
*swig_obj
[1] ;
31663 if (!args
) SWIG_fail
;
31664 swig_obj
[0] = args
;
31665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_DISOWN
| 0 );
31666 if (!SWIG_IsOK(res1
)) {
31667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataFormat" "', expected argument " "1"" of type '" "wxDataFormat *""'");
31669 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31674 wxPyEndAllowThreads(__tstate
);
31675 if (PyErr_Occurred()) SWIG_fail
;
31677 resultobj
= SWIG_Py_Void();
31684 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31685 PyObject
*resultobj
= 0;
31686 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31687 wxDataFormatId arg2
;
31694 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31696 if (!SWIG_IsOK(res1
)) {
31697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31699 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31700 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
31701 if (!SWIG_IsOK(ecode2
)) {
31702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
31704 arg2
= static_cast< wxDataFormatId
>(val2
);
31706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31707 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==(arg2
);
31708 wxPyEndAllowThreads(__tstate
);
31709 if (PyErr_Occurred()) SWIG_fail
;
31712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31720 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31721 PyObject
*resultobj
= 0;
31722 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31723 wxDataFormatId arg2
;
31730 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31732 if (!SWIG_IsOK(res1
)) {
31733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31735 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31736 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
31737 if (!SWIG_IsOK(ecode2
)) {
31738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
31740 arg2
= static_cast< wxDataFormatId
>(val2
);
31742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31743 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=(arg2
);
31744 wxPyEndAllowThreads(__tstate
);
31745 if (PyErr_Occurred()) SWIG_fail
;
31748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31756 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31757 PyObject
*resultobj
= 0;
31758 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31759 wxDataFormat
*arg2
= 0 ;
31766 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31768 if (!SWIG_IsOK(res1
)) {
31769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31771 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31772 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31773 if (!SWIG_IsOK(res2
)) {
31774 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31777 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31779 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31782 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
31783 wxPyEndAllowThreads(__tstate
);
31784 if (PyErr_Occurred()) SWIG_fail
;
31787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31795 SWIGINTERN PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
31799 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___eq__",0,2,argv
))) SWIG_fail
;
31804 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
31805 _v
= SWIG_CheckState(res
);
31807 if (!_v
) goto check_1
;
31808 return _wrap_DataFormat___eq____SWIG_1(self
, argc
, argv
);
31813 return _wrap_DataFormat___eq____SWIG_0(self
, argc
, argv
);
31817 Py_INCREF(Py_NotImplemented
);
31818 return Py_NotImplemented
;
31822 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31823 PyObject
*resultobj
= 0;
31824 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31825 wxDataFormat
*arg2
= 0 ;
31832 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31834 if (!SWIG_IsOK(res1
)) {
31835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31837 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31838 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31839 if (!SWIG_IsOK(res2
)) {
31840 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31843 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31845 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31848 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
31849 wxPyEndAllowThreads(__tstate
);
31850 if (PyErr_Occurred()) SWIG_fail
;
31853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31861 SWIGINTERN PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
31865 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___ne__",0,2,argv
))) SWIG_fail
;
31870 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
31871 _v
= SWIG_CheckState(res
);
31873 if (!_v
) goto check_1
;
31874 return _wrap_DataFormat___ne____SWIG_1(self
, argc
, argv
);
31879 return _wrap_DataFormat___ne____SWIG_0(self
, argc
, argv
);
31883 Py_INCREF(Py_NotImplemented
);
31884 return Py_NotImplemented
;
31888 SWIGINTERN PyObject
*_wrap_DataFormat_SetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31889 PyObject
*resultobj
= 0;
31890 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31891 wxDataFormatId arg2
;
31896 PyObject
* obj0
= 0 ;
31897 PyObject
* obj1
= 0 ;
31898 char * kwnames
[] = {
31899 (char *) "self",(char *) "format", NULL
31902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31904 if (!SWIG_IsOK(res1
)) {
31905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetType" "', expected argument " "1"" of type '" "wxDataFormat *""'");
31907 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31908 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31909 if (!SWIG_IsOK(ecode2
)) {
31910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat_SetType" "', expected argument " "2"" of type '" "wxDataFormatId""'");
31912 arg2
= static_cast< wxDataFormatId
>(val2
);
31914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31915 (arg1
)->SetType(arg2
);
31916 wxPyEndAllowThreads(__tstate
);
31917 if (PyErr_Occurred()) SWIG_fail
;
31919 resultobj
= SWIG_Py_Void();
31926 SWIGINTERN PyObject
*_wrap_DataFormat_GetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31927 PyObject
*resultobj
= 0;
31928 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31929 wxDataFormatId result
;
31932 PyObject
*swig_obj
[1] ;
31934 if (!args
) SWIG_fail
;
31935 swig_obj
[0] = args
;
31936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31937 if (!SWIG_IsOK(res1
)) {
31938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_GetType" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31940 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31943 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
31944 wxPyEndAllowThreads(__tstate
);
31945 if (PyErr_Occurred()) SWIG_fail
;
31947 resultobj
= SWIG_From_int(static_cast< int >(result
));
31954 SWIGINTERN PyObject
*_wrap_DataFormat__GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31955 PyObject
*resultobj
= 0;
31956 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31960 PyObject
*swig_obj
[1] ;
31962 if (!args
) SWIG_fail
;
31963 swig_obj
[0] = args
;
31964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31965 if (!SWIG_IsOK(res1
)) {
31966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat__GetId" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31968 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31971 result
= ((wxDataFormat
const *)arg1
)->GetId();
31972 wxPyEndAllowThreads(__tstate
);
31973 if (PyErr_Occurred()) SWIG_fail
;
31977 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31979 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31988 SWIGINTERN PyObject
*_wrap_DataFormat_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31989 PyObject
*resultobj
= 0;
31990 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31991 wxString
*arg2
= 0 ;
31994 bool temp2
= false ;
31995 PyObject
* obj0
= 0 ;
31996 PyObject
* obj1
= 0 ;
31997 char * kwnames
[] = {
31998 (char *) "self",(char *) "format", NULL
32001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
32003 if (!SWIG_IsOK(res1
)) {
32004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetId" "', expected argument " "1"" of type '" "wxDataFormat *""'");
32006 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
32008 arg2
= wxString_in_helper(obj1
);
32009 if (arg2
== NULL
) SWIG_fail
;
32013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32014 (arg1
)->SetId((wxString
const &)*arg2
);
32015 wxPyEndAllowThreads(__tstate
);
32016 if (PyErr_Occurred()) SWIG_fail
;
32018 resultobj
= SWIG_Py_Void();
32033 SWIGINTERN PyObject
*DataFormat_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32035 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32036 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataFormat
, SWIG_NewClientData(obj
));
32037 return SWIG_Py_Void();
32040 SWIGINTERN PyObject
*DataFormat_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32041 return SWIG_Python_InitShadowInstance(args
);
32044 SWIGINTERN
int FormatInvalid_set(PyObject
*) {
32045 SWIG_Error(SWIG_AttributeError
,"Variable FormatInvalid is read-only.");
32050 SWIGINTERN PyObject
*FormatInvalid_get(void) {
32051 PyObject
*pyobj
= 0;
32053 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0 );
32058 SWIGINTERN PyObject
*_wrap_delete_DataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32059 PyObject
*resultobj
= 0;
32060 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32063 PyObject
*swig_obj
[1] ;
32065 if (!args
) SWIG_fail
;
32066 swig_obj
[0] = args
;
32067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
32068 if (!SWIG_IsOK(res1
)) {
32069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataObject" "', expected argument " "1"" of type '" "wxDataObject *""'");
32071 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32076 wxPyEndAllowThreads(__tstate
);
32077 if (PyErr_Occurred()) SWIG_fail
;
32079 resultobj
= SWIG_Py_Void();
32086 SWIGINTERN PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32087 PyObject
*resultobj
= 0;
32088 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32089 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
32090 SwigValueWrapper
<wxDataFormat
> result
;
32095 PyObject
* obj0
= 0 ;
32096 PyObject
* obj1
= 0 ;
32097 char * kwnames
[] = {
32098 (char *) "self",(char *) "dir", NULL
32101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32103 if (!SWIG_IsOK(res1
)) {
32104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "1"" of type '" "wxDataObject const *""'");
32106 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32108 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32109 if (!SWIG_IsOK(ecode2
)) {
32110 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
32112 arg2
= static_cast< wxDataObject::Direction
>(val2
);
32115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32116 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat(arg2
);
32117 wxPyEndAllowThreads(__tstate
);
32118 if (PyErr_Occurred()) SWIG_fail
;
32120 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
32127 SWIGINTERN PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32128 PyObject
*resultobj
= 0;
32129 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32130 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
32136 PyObject
* obj0
= 0 ;
32137 PyObject
* obj1
= 0 ;
32138 char * kwnames
[] = {
32139 (char *) "self",(char *) "dir", NULL
32142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32144 if (!SWIG_IsOK(res1
)) {
32145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetFormatCount" "', expected argument " "1"" of type '" "wxDataObject const *""'");
32147 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32149 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32150 if (!SWIG_IsOK(ecode2
)) {
32151 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetFormatCount" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
32153 arg2
= static_cast< wxDataObject::Direction
>(val2
);
32156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32157 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount(arg2
);
32158 wxPyEndAllowThreads(__tstate
);
32159 if (PyErr_Occurred()) SWIG_fail
;
32161 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32168 SWIGINTERN PyObject
*_wrap_DataObject_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32169 PyObject
*resultobj
= 0;
32170 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32171 wxDataFormat
*arg2
= 0 ;
32172 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
32180 PyObject
* obj0
= 0 ;
32181 PyObject
* obj1
= 0 ;
32182 PyObject
* obj2
= 0 ;
32183 char * kwnames
[] = {
32184 (char *) "self",(char *) "format",(char *) "dir", NULL
32187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32189 if (!SWIG_IsOK(res1
)) {
32190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_IsSupported" "', expected argument " "1"" of type '" "wxDataObject const *""'");
32192 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32193 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32194 if (!SWIG_IsOK(res2
)) {
32195 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32198 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32200 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32202 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32203 if (!SWIG_IsOK(ecode3
)) {
32204 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObject_IsSupported" "', expected argument " "3"" of type '" "wxDataObject::Direction""'");
32206 arg3
= static_cast< wxDataObject::Direction
>(val3
);
32209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32210 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,arg3
);
32211 wxPyEndAllowThreads(__tstate
);
32212 if (PyErr_Occurred()) SWIG_fail
;
32215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32223 SWIGINTERN PyObject
*_wrap_DataObject_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32224 PyObject
*resultobj
= 0;
32225 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32226 wxDataFormat
*arg2
= 0 ;
32232 PyObject
* obj0
= 0 ;
32233 PyObject
* obj1
= 0 ;
32234 char * kwnames
[] = {
32235 (char *) "self",(char *) "format", NULL
32238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32240 if (!SWIG_IsOK(res1
)) {
32241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataSize" "', expected argument " "1"" of type '" "wxDataObject const *""'");
32243 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32244 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32245 if (!SWIG_IsOK(res2
)) {
32246 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32249 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32251 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32254 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
32255 wxPyEndAllowThreads(__tstate
);
32256 if (PyErr_Occurred()) SWIG_fail
;
32258 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32265 SWIGINTERN PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32266 PyObject
*resultobj
= 0;
32267 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32268 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
32269 PyObject
*result
= 0 ;
32274 PyObject
* obj0
= 0 ;
32275 PyObject
* obj1
= 0 ;
32276 char * kwnames
[] = {
32277 (char *) "self",(char *) "dir", NULL
32280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32282 if (!SWIG_IsOK(res1
)) {
32283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetAllFormats" "', expected argument " "1"" of type '" "wxDataObject *""'");
32285 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32287 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32288 if (!SWIG_IsOK(ecode2
)) {
32289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetAllFormats" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
32291 arg2
= static_cast< wxDataObject::Direction
>(val2
);
32294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32295 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,arg2
);
32296 wxPyEndAllowThreads(__tstate
);
32297 if (PyErr_Occurred()) SWIG_fail
;
32299 resultobj
= result
;
32306 SWIGINTERN PyObject
*_wrap_DataObject_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32307 PyObject
*resultobj
= 0;
32308 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32309 wxDataFormat
*arg2
= 0 ;
32310 PyObject
*result
= 0 ;
32315 PyObject
* obj0
= 0 ;
32316 PyObject
* obj1
= 0 ;
32317 char * kwnames
[] = {
32318 (char *) "self",(char *) "format", NULL
32321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32323 if (!SWIG_IsOK(res1
)) {
32324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataHere" "', expected argument " "1"" of type '" "wxDataObject *""'");
32326 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32327 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32328 if (!SWIG_IsOK(res2
)) {
32329 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32332 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32334 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32337 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
32338 wxPyEndAllowThreads(__tstate
);
32339 if (PyErr_Occurred()) SWIG_fail
;
32341 resultobj
= result
;
32348 SWIGINTERN PyObject
*_wrap_DataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32349 PyObject
*resultobj
= 0;
32350 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32351 wxDataFormat
*arg2
= 0 ;
32352 PyObject
*arg3
= (PyObject
*) 0 ;
32358 PyObject
* obj0
= 0 ;
32359 PyObject
* obj1
= 0 ;
32360 PyObject
* obj2
= 0 ;
32361 char * kwnames
[] = {
32362 (char *) "self",(char *) "format",(char *) "data", NULL
32365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32367 if (!SWIG_IsOK(res1
)) {
32368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_SetData" "', expected argument " "1"" of type '" "wxDataObject *""'");
32370 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32371 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32372 if (!SWIG_IsOK(res2
)) {
32373 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32376 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32378 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32382 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
32383 wxPyEndAllowThreads(__tstate
);
32384 if (PyErr_Occurred()) SWIG_fail
;
32387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32395 SWIGINTERN PyObject
*DataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32397 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32398 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObject
, SWIG_NewClientData(obj
));
32399 return SWIG_Py_Void();
32402 SWIGINTERN PyObject
*_wrap_new_DataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32403 PyObject
*resultobj
= 0;
32404 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
32405 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
32406 wxDataObjectSimple
*result
= 0 ;
32409 PyObject
* obj0
= 0 ;
32410 char * kwnames
[] = {
32411 (char *) "format", NULL
32414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
32416 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32417 if (!SWIG_IsOK(res1
)) {
32418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32421 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32423 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
32426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32427 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
32428 wxPyEndAllowThreads(__tstate
);
32429 if (PyErr_Occurred()) SWIG_fail
;
32431 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
32438 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32439 PyObject
*resultobj
= 0;
32440 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32441 wxDataFormat
*result
= 0 ;
32444 PyObject
*swig_obj
[1] ;
32446 if (!args
) SWIG_fail
;
32447 swig_obj
[0] = args
;
32448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32449 if (!SWIG_IsOK(res1
)) {
32450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32452 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32456 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
32457 result
= (wxDataFormat
*) &_result_ref
;
32459 wxPyEndAllowThreads(__tstate
);
32460 if (PyErr_Occurred()) SWIG_fail
;
32462 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, 0 | 0 );
32469 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32470 PyObject
*resultobj
= 0;
32471 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32472 wxDataFormat
*arg2
= 0 ;
32477 PyObject
* obj0
= 0 ;
32478 PyObject
* obj1
= 0 ;
32479 char * kwnames
[] = {
32480 (char *) "self",(char *) "format", NULL
32483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32485 if (!SWIG_IsOK(res1
)) {
32486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32488 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32489 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32490 if (!SWIG_IsOK(res2
)) {
32491 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32494 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32496 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32499 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
32500 wxPyEndAllowThreads(__tstate
);
32501 if (PyErr_Occurred()) SWIG_fail
;
32503 resultobj
= SWIG_Py_Void();
32510 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32511 PyObject
*resultobj
= 0;
32512 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32516 PyObject
*swig_obj
[1] ;
32518 if (!args
) SWIG_fail
;
32519 swig_obj
[0] = args
;
32520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32521 if (!SWIG_IsOK(res1
)) {
32522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataSize" "', expected argument " "1"" of type '" "wxDataObjectSimple const *""'");
32524 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32527 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
32528 wxPyEndAllowThreads(__tstate
);
32529 if (PyErr_Occurred()) SWIG_fail
;
32531 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32538 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32539 PyObject
*resultobj
= 0;
32540 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32541 PyObject
*result
= 0 ;
32544 PyObject
*swig_obj
[1] ;
32546 if (!args
) SWIG_fail
;
32547 swig_obj
[0] = args
;
32548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32549 if (!SWIG_IsOK(res1
)) {
32550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataHere" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32552 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32555 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
32556 wxPyEndAllowThreads(__tstate
);
32557 if (PyErr_Occurred()) SWIG_fail
;
32559 resultobj
= result
;
32566 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32567 PyObject
*resultobj
= 0;
32568 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32569 PyObject
*arg2
= (PyObject
*) 0 ;
32573 PyObject
* obj0
= 0 ;
32574 PyObject
* obj1
= 0 ;
32575 char * kwnames
[] = {
32576 (char *) "self",(char *) "data", NULL
32579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32581 if (!SWIG_IsOK(res1
)) {
32582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetData" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32584 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32588 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
32589 wxPyEndAllowThreads(__tstate
);
32590 if (PyErr_Occurred()) SWIG_fail
;
32593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32601 SWIGINTERN PyObject
*DataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32603 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32604 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectSimple
, SWIG_NewClientData(obj
));
32605 return SWIG_Py_Void();
32608 SWIGINTERN PyObject
*DataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32609 return SWIG_Python_InitShadowInstance(args
);
32612 SWIGINTERN PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32613 PyObject
*resultobj
= 0;
32614 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
32615 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
32616 wxPyDataObjectSimple
*result
= 0 ;
32619 PyObject
* obj0
= 0 ;
32620 char * kwnames
[] = {
32621 (char *) "format", NULL
32624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
32626 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32627 if (!SWIG_IsOK(res1
)) {
32628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32631 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32633 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
32636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32637 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
32638 wxPyEndAllowThreads(__tstate
);
32639 if (PyErr_Occurred()) SWIG_fail
;
32641 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
32648 SWIGINTERN PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32649 PyObject
*resultobj
= 0;
32650 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
32651 PyObject
*arg2
= (PyObject
*) 0 ;
32652 PyObject
*arg3
= (PyObject
*) 0 ;
32655 PyObject
* obj0
= 0 ;
32656 PyObject
* obj1
= 0 ;
32657 PyObject
* obj2
= 0 ;
32658 char * kwnames
[] = {
32659 (char *) "self",(char *) "self",(char *) "_class", NULL
32662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDataObjectSimple
, 0 | 0 );
32664 if (!SWIG_IsOK(res1
)) {
32665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyDataObjectSimple__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDataObjectSimple *""'");
32667 arg1
= reinterpret_cast< wxPyDataObjectSimple
* >(argp1
);
32671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32672 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32673 wxPyEndAllowThreads(__tstate
);
32674 if (PyErr_Occurred()) SWIG_fail
;
32676 resultobj
= SWIG_Py_Void();
32683 SWIGINTERN PyObject
*PyDataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32685 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32686 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_NewClientData(obj
));
32687 return SWIG_Py_Void();
32690 SWIGINTERN PyObject
*PyDataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32691 return SWIG_Python_InitShadowInstance(args
);
32694 SWIGINTERN PyObject
*_wrap_new_DataObjectComposite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32695 PyObject
*resultobj
= 0;
32696 wxDataObjectComposite
*result
= 0 ;
32698 if (!SWIG_Python_UnpackTuple(args
,"new_DataObjectComposite",0,0,0)) SWIG_fail
;
32700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32701 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
32702 wxPyEndAllowThreads(__tstate
);
32703 if (PyErr_Occurred()) SWIG_fail
;
32705 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_NEW
| 0 );
32712 SWIGINTERN PyObject
*_wrap_DataObjectComposite_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32713 PyObject
*resultobj
= 0;
32714 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
32715 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
32716 bool arg3
= (bool) false ;
32722 PyObject
* obj0
= 0 ;
32723 PyObject
* obj1
= 0 ;
32724 PyObject
* obj2
= 0 ;
32725 char * kwnames
[] = {
32726 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
32729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
32731 if (!SWIG_IsOK(res1
)) {
32732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_Add" "', expected argument " "1"" of type '" "wxDataObjectComposite *""'");
32734 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
32735 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_DISOWN
| 0 );
32736 if (!SWIG_IsOK(res2
)) {
32737 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectComposite_Add" "', expected argument " "2"" of type '" "wxDataObjectSimple *""'");
32740 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32741 if (!SWIG_IsOK(ecode3
)) {
32742 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObjectComposite_Add" "', expected argument " "3"" of type '" "bool""'");
32744 arg3
= static_cast< bool >(val3
);
32747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32748 (arg1
)->Add(arg2
,arg3
);
32749 wxPyEndAllowThreads(__tstate
);
32750 if (PyErr_Occurred()) SWIG_fail
;
32752 resultobj
= SWIG_Py_Void();
32759 SWIGINTERN PyObject
*_wrap_DataObjectComposite_GetReceivedFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32760 PyObject
*resultobj
= 0;
32761 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
32762 SwigValueWrapper
<wxDataFormat
> result
;
32765 PyObject
*swig_obj
[1] ;
32767 if (!args
) SWIG_fail
;
32768 swig_obj
[0] = args
;
32769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
32770 if (!SWIG_IsOK(res1
)) {
32771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_GetReceivedFormat" "', expected argument " "1"" of type '" "wxDataObjectComposite const *""'");
32773 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
32775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32776 result
= ((wxDataObjectComposite
const *)arg1
)->GetReceivedFormat();
32777 wxPyEndAllowThreads(__tstate
);
32778 if (PyErr_Occurred()) SWIG_fail
;
32780 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
32787 SWIGINTERN PyObject
*DataObjectComposite_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32789 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32790 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectComposite
, SWIG_NewClientData(obj
));
32791 return SWIG_Py_Void();
32794 SWIGINTERN PyObject
*DataObjectComposite_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32795 return SWIG_Python_InitShadowInstance(args
);
32798 SWIGINTERN PyObject
*_wrap_new_TextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32799 PyObject
*resultobj
= 0;
32800 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32801 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32802 wxTextDataObject
*result
= 0 ;
32803 bool temp1
= false ;
32804 PyObject
* obj0
= 0 ;
32805 char * kwnames
[] = {
32806 (char *) "text", NULL
32809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) SWIG_fail
;
32812 arg1
= wxString_in_helper(obj0
);
32813 if (arg1
== NULL
) SWIG_fail
;
32818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32819 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
32820 wxPyEndAllowThreads(__tstate
);
32821 if (PyErr_Occurred()) SWIG_fail
;
32823 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_NEW
| 0 );
32838 SWIGINTERN PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32839 PyObject
*resultobj
= 0;
32840 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
32844 PyObject
*swig_obj
[1] ;
32846 if (!args
) SWIG_fail
;
32847 swig_obj
[0] = args
;
32848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
32849 if (!SWIG_IsOK(res1
)) {
32850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetTextLength" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
32852 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
32854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32855 result
= (size_t)(arg1
)->GetTextLength();
32856 wxPyEndAllowThreads(__tstate
);
32857 if (PyErr_Occurred()) SWIG_fail
;
32859 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32866 SWIGINTERN PyObject
*_wrap_TextDataObject_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32867 PyObject
*resultobj
= 0;
32868 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
32872 PyObject
*swig_obj
[1] ;
32874 if (!args
) SWIG_fail
;
32875 swig_obj
[0] = args
;
32876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
32877 if (!SWIG_IsOK(res1
)) {
32878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
32880 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
32882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32883 result
= (arg1
)->GetText();
32884 wxPyEndAllowThreads(__tstate
);
32885 if (PyErr_Occurred()) SWIG_fail
;
32889 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32891 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32900 SWIGINTERN PyObject
*_wrap_TextDataObject_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32901 PyObject
*resultobj
= 0;
32902 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
32903 wxString
*arg2
= 0 ;
32906 bool temp2
= false ;
32907 PyObject
* obj0
= 0 ;
32908 PyObject
* obj1
= 0 ;
32909 char * kwnames
[] = {
32910 (char *) "self",(char *) "text", NULL
32913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
32915 if (!SWIG_IsOK(res1
)) {
32916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_SetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
32918 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
32920 arg2
= wxString_in_helper(obj1
);
32921 if (arg2
== NULL
) SWIG_fail
;
32925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32926 (arg1
)->SetText((wxString
const &)*arg2
);
32927 wxPyEndAllowThreads(__tstate
);
32928 if (PyErr_Occurred()) SWIG_fail
;
32930 resultobj
= SWIG_Py_Void();
32945 SWIGINTERN PyObject
*TextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32947 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32948 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextDataObject
, SWIG_NewClientData(obj
));
32949 return SWIG_Py_Void();
32952 SWIGINTERN PyObject
*TextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32953 return SWIG_Python_InitShadowInstance(args
);
32956 SWIGINTERN PyObject
*_wrap_new_PyTextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32957 PyObject
*resultobj
= 0;
32958 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32959 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32960 wxPyTextDataObject
*result
= 0 ;
32961 bool temp1
= false ;
32962 PyObject
* obj0
= 0 ;
32963 char * kwnames
[] = {
32964 (char *) "text", NULL
32967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) SWIG_fail
;
32970 arg1
= wxString_in_helper(obj0
);
32971 if (arg1
== NULL
) SWIG_fail
;
32976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32977 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
32978 wxPyEndAllowThreads(__tstate
);
32979 if (PyErr_Occurred()) SWIG_fail
;
32981 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_NEW
| 0 );
32996 SWIGINTERN PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32997 PyObject
*resultobj
= 0;
32998 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
32999 PyObject
*arg2
= (PyObject
*) 0 ;
33000 PyObject
*arg3
= (PyObject
*) 0 ;
33003 PyObject
* obj0
= 0 ;
33004 PyObject
* obj1
= 0 ;
33005 PyObject
* obj2
= 0 ;
33006 char * kwnames
[] = {
33007 (char *) "self",(char *) "self",(char *) "_class", NULL
33010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDataObject
, 0 | 0 );
33012 if (!SWIG_IsOK(res1
)) {
33013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTextDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDataObject *""'");
33015 arg1
= reinterpret_cast< wxPyTextDataObject
* >(argp1
);
33019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33020 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33021 wxPyEndAllowThreads(__tstate
);
33022 if (PyErr_Occurred()) SWIG_fail
;
33024 resultobj
= SWIG_Py_Void();
33031 SWIGINTERN PyObject
*PyTextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33033 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33034 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDataObject
, SWIG_NewClientData(obj
));
33035 return SWIG_Py_Void();
33038 SWIGINTERN PyObject
*PyTextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33039 return SWIG_Python_InitShadowInstance(args
);
33042 SWIGINTERN PyObject
*_wrap_new_BitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33043 PyObject
*resultobj
= 0;
33044 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
33045 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
33046 wxBitmapDataObject
*result
= 0 ;
33049 PyObject
* obj0
= 0 ;
33050 char * kwnames
[] = {
33051 (char *) "bitmap", NULL
33054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
33056 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33057 if (!SWIG_IsOK(res1
)) {
33058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
33061 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
33063 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
33066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33067 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
33068 wxPyEndAllowThreads(__tstate
);
33069 if (PyErr_Occurred()) SWIG_fail
;
33071 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
33078 SWIGINTERN PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33079 PyObject
*resultobj
= 0;
33080 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
33084 PyObject
*swig_obj
[1] ;
33086 if (!args
) SWIG_fail
;
33087 swig_obj
[0] = args
;
33088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
33089 if (!SWIG_IsOK(res1
)) {
33090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_GetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject const *""'");
33092 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
33094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33095 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
33096 wxPyEndAllowThreads(__tstate
);
33097 if (PyErr_Occurred()) SWIG_fail
;
33099 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
33106 SWIGINTERN PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33107 PyObject
*resultobj
= 0;
33108 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
33109 wxBitmap
*arg2
= 0 ;
33114 PyObject
* obj0
= 0 ;
33115 PyObject
* obj1
= 0 ;
33116 char * kwnames
[] = {
33117 (char *) "self",(char *) "bitmap", NULL
33120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
33122 if (!SWIG_IsOK(res1
)) {
33123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject *""'");
33125 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
33126 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33127 if (!SWIG_IsOK(res2
)) {
33128 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33131 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33133 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33136 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
33137 wxPyEndAllowThreads(__tstate
);
33138 if (PyErr_Occurred()) SWIG_fail
;
33140 resultobj
= SWIG_Py_Void();
33147 SWIGINTERN PyObject
*BitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33149 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33150 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapDataObject
, SWIG_NewClientData(obj
));
33151 return SWIG_Py_Void();
33154 SWIGINTERN PyObject
*BitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33155 return SWIG_Python_InitShadowInstance(args
);
33158 SWIGINTERN PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33159 PyObject
*resultobj
= 0;
33160 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
33161 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
33162 wxPyBitmapDataObject
*result
= 0 ;
33165 PyObject
* obj0
= 0 ;
33166 char * kwnames
[] = {
33167 (char *) "bitmap", NULL
33170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
33172 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33173 if (!SWIG_IsOK(res1
)) {
33174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
33177 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
33179 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
33182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33183 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
33184 wxPyEndAllowThreads(__tstate
);
33185 if (PyErr_Occurred()) SWIG_fail
;
33187 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
33194 SWIGINTERN PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33195 PyObject
*resultobj
= 0;
33196 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
33197 PyObject
*arg2
= (PyObject
*) 0 ;
33198 PyObject
*arg3
= (PyObject
*) 0 ;
33201 PyObject
* obj0
= 0 ;
33202 PyObject
* obj1
= 0 ;
33203 PyObject
* obj2
= 0 ;
33204 char * kwnames
[] = {
33205 (char *) "self",(char *) "self",(char *) "_class", NULL
33208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyBitmapDataObject
, 0 | 0 );
33210 if (!SWIG_IsOK(res1
)) {
33211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyBitmapDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyBitmapDataObject *""'");
33213 arg1
= reinterpret_cast< wxPyBitmapDataObject
* >(argp1
);
33217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33218 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33219 wxPyEndAllowThreads(__tstate
);
33220 if (PyErr_Occurred()) SWIG_fail
;
33222 resultobj
= SWIG_Py_Void();
33229 SWIGINTERN PyObject
*PyBitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33231 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33232 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_NewClientData(obj
));
33233 return SWIG_Py_Void();
33236 SWIGINTERN PyObject
*PyBitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33237 return SWIG_Python_InitShadowInstance(args
);
33240 SWIGINTERN PyObject
*_wrap_new_FileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33241 PyObject
*resultobj
= 0;
33242 wxFileDataObject
*result
= 0 ;
33244 if (!SWIG_Python_UnpackTuple(args
,"new_FileDataObject",0,0,0)) SWIG_fail
;
33246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33247 result
= (wxFileDataObject
*)new wxFileDataObject();
33248 wxPyEndAllowThreads(__tstate
);
33249 if (PyErr_Occurred()) SWIG_fail
;
33251 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_NEW
| 0 );
33258 SWIGINTERN PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33259 PyObject
*resultobj
= 0;
33260 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
33261 wxArrayString
*result
= 0 ;
33264 PyObject
*swig_obj
[1] ;
33266 if (!args
) SWIG_fail
;
33267 swig_obj
[0] = args
;
33268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
33269 if (!SWIG_IsOK(res1
)) {
33270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_GetFilenames" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
33272 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
33274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33276 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
33277 result
= (wxArrayString
*) &_result_ref
;
33279 wxPyEndAllowThreads(__tstate
);
33280 if (PyErr_Occurred()) SWIG_fail
;
33283 resultobj
= wxArrayString2PyList_helper(*result
);
33291 SWIGINTERN PyObject
*_wrap_FileDataObject_AddFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33292 PyObject
*resultobj
= 0;
33293 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
33294 wxString
*arg2
= 0 ;
33297 bool temp2
= false ;
33298 PyObject
* obj0
= 0 ;
33299 PyObject
* obj1
= 0 ;
33300 char * kwnames
[] = {
33301 (char *) "self",(char *) "filename", NULL
33304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
33306 if (!SWIG_IsOK(res1
)) {
33307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_AddFile" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
33309 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
33311 arg2
= wxString_in_helper(obj1
);
33312 if (arg2
== NULL
) SWIG_fail
;
33316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33317 (arg1
)->AddFile((wxString
const &)*arg2
);
33318 wxPyEndAllowThreads(__tstate
);
33319 if (PyErr_Occurred()) SWIG_fail
;
33321 resultobj
= SWIG_Py_Void();
33336 SWIGINTERN PyObject
*FileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33338 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33339 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDataObject
, SWIG_NewClientData(obj
));
33340 return SWIG_Py_Void();
33343 SWIGINTERN PyObject
*FileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33344 return SWIG_Python_InitShadowInstance(args
);
33347 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33348 PyObject
*resultobj
= 0;
33349 wxDataFormat
*arg1
= 0 ;
33350 wxCustomDataObject
*result
= 0 ;
33354 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
33355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
33356 if (!SWIG_IsOK(res1
)) {
33357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
33360 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
33362 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
33364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33365 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
33366 wxPyEndAllowThreads(__tstate
);
33367 if (PyErr_Occurred()) SWIG_fail
;
33369 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
33376 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33377 PyObject
*resultobj
= 0;
33378 wxString
*arg1
= 0 ;
33379 wxCustomDataObject
*result
= 0 ;
33380 bool temp1
= false ;
33382 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
33384 arg1
= wxString_in_helper(swig_obj
[0]);
33385 if (arg1
== NULL
) SWIG_fail
;
33389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33390 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
33391 wxPyEndAllowThreads(__tstate
);
33392 if (PyErr_Occurred()) SWIG_fail
;
33394 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
33409 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
33410 PyObject
*resultobj
= 0;
33411 wxCustomDataObject
*result
= 0 ;
33413 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
33415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33416 result
= (wxCustomDataObject
*)new wxCustomDataObject();
33417 wxPyEndAllowThreads(__tstate
);
33418 if (PyErr_Occurred()) SWIG_fail
;
33420 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
33427 SWIGINTERN PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
33431 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_CustomDataObject",0,1,argv
))) SWIG_fail
;
33434 return _wrap_new_CustomDataObject__SWIG_2(self
, argc
, argv
);
33440 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
33443 if (!_v
) goto check_2
;
33444 return _wrap_new_CustomDataObject__SWIG_1(self
, argc
, argv
);
33449 return _wrap_new_CustomDataObject__SWIG_0(self
, argc
, argv
);
33453 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
33458 SWIGINTERN PyObject
*_wrap_CustomDataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33459 PyObject
*resultobj
= 0;
33460 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
33461 PyObject
*arg2
= (PyObject
*) 0 ;
33465 PyObject
* obj0
= 0 ;
33466 PyObject
* obj1
= 0 ;
33467 char * kwnames
[] = {
33468 (char *) "self",(char *) "data", NULL
33471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
33473 if (!SWIG_IsOK(res1
)) {
33474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_SetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
33476 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
33479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33480 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
33481 wxPyEndAllowThreads(__tstate
);
33482 if (PyErr_Occurred()) SWIG_fail
;
33485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33493 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33494 PyObject
*resultobj
= 0;
33495 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
33499 PyObject
*swig_obj
[1] ;
33501 if (!args
) SWIG_fail
;
33502 swig_obj
[0] = args
;
33503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
33504 if (!SWIG_IsOK(res1
)) {
33505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetSize" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
33507 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
33509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33510 result
= (size_t)(arg1
)->GetSize();
33511 wxPyEndAllowThreads(__tstate
);
33512 if (PyErr_Occurred()) SWIG_fail
;
33514 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
33521 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33522 PyObject
*resultobj
= 0;
33523 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
33524 PyObject
*result
= 0 ;
33527 PyObject
*swig_obj
[1] ;
33529 if (!args
) SWIG_fail
;
33530 swig_obj
[0] = args
;
33531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
33532 if (!SWIG_IsOK(res1
)) {
33533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
33535 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
33537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33538 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
33539 wxPyEndAllowThreads(__tstate
);
33540 if (PyErr_Occurred()) SWIG_fail
;
33542 resultobj
= result
;
33549 SWIGINTERN PyObject
*CustomDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33551 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33552 SWIG_TypeNewClientData(SWIGTYPE_p_wxCustomDataObject
, SWIG_NewClientData(obj
));
33553 return SWIG_Py_Void();
33556 SWIGINTERN PyObject
*CustomDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33557 return SWIG_Python_InitShadowInstance(args
);
33560 SWIGINTERN PyObject
*_wrap_new_URLDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33561 PyObject
*resultobj
= 0;
33562 wxString
const &arg1_defvalue
= wxPyEmptyString
;
33563 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
33564 wxURLDataObject
*result
= 0 ;
33565 bool temp1
= false ;
33566 PyObject
* obj0
= 0 ;
33567 char * kwnames
[] = {
33568 (char *) "url", NULL
33571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_URLDataObject",kwnames
,&obj0
)) SWIG_fail
;
33574 arg1
= wxString_in_helper(obj0
);
33575 if (arg1
== NULL
) SWIG_fail
;
33580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33581 result
= (wxURLDataObject
*)new wxURLDataObject((wxString
const &)*arg1
);
33582 wxPyEndAllowThreads(__tstate
);
33583 if (PyErr_Occurred()) SWIG_fail
;
33585 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_NEW
| 0 );
33600 SWIGINTERN PyObject
*_wrap_URLDataObject_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33601 PyObject
*resultobj
= 0;
33602 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
33606 PyObject
*swig_obj
[1] ;
33608 if (!args
) SWIG_fail
;
33609 swig_obj
[0] = args
;
33610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
33611 if (!SWIG_IsOK(res1
)) {
33612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_GetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
33614 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
33616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33617 result
= (arg1
)->GetURL();
33618 wxPyEndAllowThreads(__tstate
);
33619 if (PyErr_Occurred()) SWIG_fail
;
33623 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33625 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33634 SWIGINTERN PyObject
*_wrap_URLDataObject_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33635 PyObject
*resultobj
= 0;
33636 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
33637 wxString
*arg2
= 0 ;
33640 bool temp2
= false ;
33641 PyObject
* obj0
= 0 ;
33642 PyObject
* obj1
= 0 ;
33643 char * kwnames
[] = {
33644 (char *) "self",(char *) "url", NULL
33647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
33649 if (!SWIG_IsOK(res1
)) {
33650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_SetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
33652 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
33654 arg2
= wxString_in_helper(obj1
);
33655 if (arg2
== NULL
) SWIG_fail
;
33659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33660 (arg1
)->SetURL((wxString
const &)*arg2
);
33661 wxPyEndAllowThreads(__tstate
);
33662 if (PyErr_Occurred()) SWIG_fail
;
33664 resultobj
= SWIG_Py_Void();
33679 SWIGINTERN PyObject
*URLDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33681 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33682 SWIG_TypeNewClientData(SWIGTYPE_p_wxURLDataObject
, SWIG_NewClientData(obj
));
33683 return SWIG_Py_Void();
33686 SWIGINTERN PyObject
*URLDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33687 return SWIG_Python_InitShadowInstance(args
);
33690 SWIGINTERN PyObject
*_wrap_new_MetafileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33691 PyObject
*resultobj
= 0;
33692 wxMetafileDataObject
*result
= 0 ;
33694 if (!SWIG_Python_UnpackTuple(args
,"new_MetafileDataObject",0,0,0)) SWIG_fail
;
33696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33697 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
33698 wxPyEndAllowThreads(__tstate
);
33699 if (PyErr_Occurred()) SWIG_fail
;
33701 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_NEW
| 0 );
33708 SWIGINTERN PyObject
*MetafileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33710 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33711 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetafileDataObject
, SWIG_NewClientData(obj
));
33712 return SWIG_Py_Void();
33715 SWIGINTERN PyObject
*MetafileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33716 return SWIG_Python_InitShadowInstance(args
);
33719 SWIGINTERN PyObject
*_wrap_IsDragResultOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33720 PyObject
*resultobj
= 0;
33721 wxDragResult arg1
;
33725 PyObject
* obj0
= 0 ;
33726 char * kwnames
[] = {
33727 (char *) "res", NULL
33730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) SWIG_fail
;
33731 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33732 if (!SWIG_IsOK(ecode1
)) {
33733 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsDragResultOk" "', expected argument " "1"" of type '" "wxDragResult""'");
33735 arg1
= static_cast< wxDragResult
>(val1
);
33737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33738 result
= (bool)wxIsDragResultOk(arg1
);
33739 wxPyEndAllowThreads(__tstate
);
33740 if (PyErr_Occurred()) SWIG_fail
;
33743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33751 SWIGINTERN PyObject
*_wrap_new_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33752 PyObject
*resultobj
= 0;
33753 wxWindow
*arg1
= (wxWindow
*) 0 ;
33754 wxIcon
const &arg2_defvalue
= wxNullIcon
;
33755 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
33756 wxIcon
const &arg3_defvalue
= wxNullIcon
;
33757 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
33758 wxIcon
const &arg4_defvalue
= wxNullIcon
;
33759 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
33760 wxPyDropSource
*result
= 0 ;
33769 PyObject
* obj0
= 0 ;
33770 PyObject
* obj1
= 0 ;
33771 PyObject
* obj2
= 0 ;
33772 PyObject
* obj3
= 0 ;
33773 char * kwnames
[] = {
33774 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
33777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33779 if (!SWIG_IsOK(res1
)) {
33780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropSource" "', expected argument " "1"" of type '" "wxWindow *""'");
33782 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33784 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
33785 if (!SWIG_IsOK(res2
)) {
33786 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxIcon const &""'");
33789 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxIcon const &""'");
33791 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
33794 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxIcon
, 0 | 0);
33795 if (!SWIG_IsOK(res3
)) {
33796 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxIcon const &""'");
33799 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxIcon const &""'");
33801 arg3
= reinterpret_cast< wxIcon
* >(argp3
);
33804 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxIcon
, 0 | 0);
33805 if (!SWIG_IsOK(res4
)) {
33806 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxIcon const &""'");
33809 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxIcon const &""'");
33811 arg4
= reinterpret_cast< wxIcon
* >(argp4
);
33814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33815 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
33816 wxPyEndAllowThreads(__tstate
);
33817 if (PyErr_Occurred()) SWIG_fail
;
33819 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_NEW
| 0 );
33826 SWIGINTERN PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33827 PyObject
*resultobj
= 0;
33828 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33829 PyObject
*arg2
= (PyObject
*) 0 ;
33830 PyObject
*arg3
= (PyObject
*) 0 ;
33831 int arg4
= (int) 0 ;
33836 PyObject
* obj0
= 0 ;
33837 PyObject
* obj1
= 0 ;
33838 PyObject
* obj2
= 0 ;
33839 PyObject
* obj3
= 0 ;
33840 char * kwnames
[] = {
33841 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
33844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33846 if (!SWIG_IsOK(res1
)) {
33847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33849 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33853 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33854 if (!SWIG_IsOK(ecode4
)) {
33855 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
33857 arg4
= static_cast< int >(val4
);
33860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33861 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
33862 wxPyEndAllowThreads(__tstate
);
33863 if (PyErr_Occurred()) SWIG_fail
;
33865 resultobj
= SWIG_Py_Void();
33872 SWIGINTERN PyObject
*_wrap_delete_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33873 PyObject
*resultobj
= 0;
33874 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33877 PyObject
*swig_obj
[1] ;
33879 if (!args
) SWIG_fail
;
33880 swig_obj
[0] = args
;
33881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_DISOWN
| 0 );
33882 if (!SWIG_IsOK(res1
)) {
33883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropSource" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33885 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33890 wxPyEndAllowThreads(__tstate
);
33891 if (PyErr_Occurred()) SWIG_fail
;
33893 resultobj
= SWIG_Py_Void();
33900 SWIGINTERN PyObject
*_wrap_DropSource_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33901 PyObject
*resultobj
= 0;
33902 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33903 wxDataObject
*arg2
= 0 ;
33908 PyObject
* obj0
= 0 ;
33909 PyObject
* obj1
= 0 ;
33910 char * kwnames
[] = {
33911 (char *) "self",(char *) "data", NULL
33914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33916 if (!SWIG_IsOK(res1
)) {
33917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetData" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33919 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33920 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
33921 if (!SWIG_IsOK(res2
)) {
33922 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
33925 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
33927 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
33929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33930 (arg1
)->SetData(*arg2
);
33931 wxPyEndAllowThreads(__tstate
);
33932 if (PyErr_Occurred()) SWIG_fail
;
33934 resultobj
= SWIG_Py_Void();
33941 SWIGINTERN PyObject
*_wrap_DropSource_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33942 PyObject
*resultobj
= 0;
33943 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33944 wxDataObject
*result
= 0 ;
33947 PyObject
*swig_obj
[1] ;
33949 if (!args
) SWIG_fail
;
33950 swig_obj
[0] = args
;
33951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33952 if (!SWIG_IsOK(res1
)) {
33953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33955 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33958 result
= (wxDataObject
*)(arg1
)->GetDataObject();
33959 wxPyEndAllowThreads(__tstate
);
33960 if (PyErr_Occurred()) SWIG_fail
;
33962 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
33969 SWIGINTERN PyObject
*_wrap_DropSource_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33970 PyObject
*resultobj
= 0;
33971 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33972 wxDragResult arg2
;
33973 wxCursor
*arg3
= 0 ;
33980 PyObject
* obj0
= 0 ;
33981 PyObject
* obj1
= 0 ;
33982 PyObject
* obj2
= 0 ;
33983 char * kwnames
[] = {
33984 (char *) "self",(char *) "res",(char *) "cursor", NULL
33987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33989 if (!SWIG_IsOK(res1
)) {
33990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetCursor" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33992 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33993 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33994 if (!SWIG_IsOK(ecode2
)) {
33995 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_SetCursor" "', expected argument " "2"" of type '" "wxDragResult""'");
33997 arg2
= static_cast< wxDragResult
>(val2
);
33998 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxCursor
, 0 | 0);
33999 if (!SWIG_IsOK(res3
)) {
34000 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
34003 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
34005 arg3
= reinterpret_cast< wxCursor
* >(argp3
);
34007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34008 (arg1
)->SetCursor(arg2
,(wxCursor
const &)*arg3
);
34009 wxPyEndAllowThreads(__tstate
);
34010 if (PyErr_Occurred()) SWIG_fail
;
34012 resultobj
= SWIG_Py_Void();
34019 SWIGINTERN PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34020 PyObject
*resultobj
= 0;
34021 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
34022 int arg2
= (int) wxDrag_CopyOnly
;
34023 wxDragResult result
;
34028 PyObject
* obj0
= 0 ;
34029 PyObject
* obj1
= 0 ;
34030 char * kwnames
[] = {
34031 (char *) "self",(char *) "flags", NULL
34034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
34036 if (!SWIG_IsOK(res1
)) {
34037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_DoDragDrop" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
34039 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
34041 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34042 if (!SWIG_IsOK(ecode2
)) {
34043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_DoDragDrop" "', expected argument " "2"" of type '" "int""'");
34045 arg2
= static_cast< int >(val2
);
34048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34049 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
34050 wxPyEndAllowThreads(__tstate
);
34051 if (PyErr_Occurred()) SWIG_fail
;
34053 resultobj
= SWIG_From_int(static_cast< int >(result
));
34060 SWIGINTERN PyObject
*_wrap_DropSource_GiveFeedback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34061 PyObject
*resultobj
= 0;
34062 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
34063 wxDragResult arg2
;
34069 PyObject
* obj0
= 0 ;
34070 PyObject
* obj1
= 0 ;
34071 char * kwnames
[] = {
34072 (char *) "self",(char *) "effect", NULL
34075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_GiveFeedback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
34077 if (!SWIG_IsOK(res1
)) {
34078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GiveFeedback" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
34080 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
34081 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34082 if (!SWIG_IsOK(ecode2
)) {
34083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_GiveFeedback" "', expected argument " "2"" of type '" "wxDragResult""'");
34085 arg2
= static_cast< wxDragResult
>(val2
);
34087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34088 result
= (bool)(arg1
)->GiveFeedback(arg2
);
34089 wxPyEndAllowThreads(__tstate
);
34090 if (PyErr_Occurred()) SWIG_fail
;
34093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34101 SWIGINTERN PyObject
*DropSource_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34103 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34104 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropSource
, SWIG_NewClientData(obj
));
34105 return SWIG_Py_Void();
34108 SWIGINTERN PyObject
*DropSource_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34109 return SWIG_Python_InitShadowInstance(args
);
34112 SWIGINTERN PyObject
*_wrap_new_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34113 PyObject
*resultobj
= 0;
34114 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
34115 wxPyDropTarget
*result
= 0 ;
34117 PyObject
* obj0
= 0 ;
34118 char * kwnames
[] = {
34119 (char *) "dataObject", NULL
34122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) SWIG_fail
;
34124 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
34125 if (!SWIG_IsOK(res1
)) {
34126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropTarget" "', expected argument " "1"" of type '" "wxDataObject *""'");
34130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34131 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
34132 wxPyEndAllowThreads(__tstate
);
34133 if (PyErr_Occurred()) SWIG_fail
;
34135 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_NEW
| 0 );
34142 SWIGINTERN PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34143 PyObject
*resultobj
= 0;
34144 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34145 PyObject
*arg2
= (PyObject
*) 0 ;
34146 PyObject
*arg3
= (PyObject
*) 0 ;
34149 PyObject
* obj0
= 0 ;
34150 PyObject
* obj1
= 0 ;
34151 PyObject
* obj2
= 0 ;
34152 char * kwnames
[] = {
34153 (char *) "self",(char *) "self",(char *) "_class", NULL
34156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34158 if (!SWIG_IsOK(res1
)) {
34159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34161 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34166 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34167 wxPyEndAllowThreads(__tstate
);
34168 if (PyErr_Occurred()) SWIG_fail
;
34170 resultobj
= SWIG_Py_Void();
34177 SWIGINTERN PyObject
*_wrap_delete_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34178 PyObject
*resultobj
= 0;
34179 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34182 PyObject
*swig_obj
[1] ;
34184 if (!args
) SWIG_fail
;
34185 swig_obj
[0] = args
;
34186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_DISOWN
| 0 );
34187 if (!SWIG_IsOK(res1
)) {
34188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropTarget" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34190 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34195 wxPyEndAllowThreads(__tstate
);
34196 if (PyErr_Occurred()) SWIG_fail
;
34198 resultobj
= SWIG_Py_Void();
34205 SWIGINTERN PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34206 PyObject
*resultobj
= 0;
34207 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34208 wxDataObject
*result
= 0 ;
34211 PyObject
*swig_obj
[1] ;
34213 if (!args
) SWIG_fail
;
34214 swig_obj
[0] = args
;
34215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34216 if (!SWIG_IsOK(res1
)) {
34217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34219 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34222 result
= (wxDataObject
*)(arg1
)->GetDataObject();
34223 wxPyEndAllowThreads(__tstate
);
34224 if (PyErr_Occurred()) SWIG_fail
;
34226 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
34233 SWIGINTERN PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34234 PyObject
*resultobj
= 0;
34235 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34236 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
34240 PyObject
* obj0
= 0 ;
34241 PyObject
* obj1
= 0 ;
34242 char * kwnames
[] = {
34243 (char *) "self",(char *) "dataObject", NULL
34246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34248 if (!SWIG_IsOK(res1
)) {
34249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34251 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34252 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
34253 if (!SWIG_IsOK(res2
)) {
34254 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropTarget_SetDataObject" "', expected argument " "2"" of type '" "wxDataObject *""'");
34257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34258 (arg1
)->SetDataObject(arg2
);
34259 wxPyEndAllowThreads(__tstate
);
34260 if (PyErr_Occurred()) SWIG_fail
;
34262 resultobj
= SWIG_Py_Void();
34269 SWIGINTERN PyObject
*_wrap_DropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34270 PyObject
*resultobj
= 0;
34271 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34274 wxDragResult arg4
;
34275 wxDragResult result
;
34284 PyObject
* obj0
= 0 ;
34285 PyObject
* obj1
= 0 ;
34286 PyObject
* obj2
= 0 ;
34287 PyObject
* obj3
= 0 ;
34288 char * kwnames
[] = {
34289 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34294 if (!SWIG_IsOK(res1
)) {
34295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34297 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34298 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34299 if (!SWIG_IsOK(ecode2
)) {
34300 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
34302 arg2
= static_cast< int >(val2
);
34303 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34304 if (!SWIG_IsOK(ecode3
)) {
34305 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
34307 arg3
= static_cast< int >(val3
);
34308 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34309 if (!SWIG_IsOK(ecode4
)) {
34310 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
34312 arg4
= static_cast< wxDragResult
>(val4
);
34314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34315 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
34316 wxPyEndAllowThreads(__tstate
);
34317 if (PyErr_Occurred()) SWIG_fail
;
34319 resultobj
= SWIG_From_int(static_cast< int >(result
));
34326 SWIGINTERN PyObject
*_wrap_DropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34327 PyObject
*resultobj
= 0;
34328 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34331 wxDragResult arg4
;
34332 wxDragResult result
;
34341 PyObject
* obj0
= 0 ;
34342 PyObject
* obj1
= 0 ;
34343 PyObject
* obj2
= 0 ;
34344 PyObject
* obj3
= 0 ;
34345 char * kwnames
[] = {
34346 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34351 if (!SWIG_IsOK(res1
)) {
34352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34354 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34355 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34356 if (!SWIG_IsOK(ecode2
)) {
34357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
34359 arg2
= static_cast< int >(val2
);
34360 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34361 if (!SWIG_IsOK(ecode3
)) {
34362 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
34364 arg3
= static_cast< int >(val3
);
34365 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34366 if (!SWIG_IsOK(ecode4
)) {
34367 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
34369 arg4
= static_cast< wxDragResult
>(val4
);
34371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34372 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
34373 wxPyEndAllowThreads(__tstate
);
34374 if (PyErr_Occurred()) SWIG_fail
;
34376 resultobj
= SWIG_From_int(static_cast< int >(result
));
34383 SWIGINTERN PyObject
*_wrap_DropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34384 PyObject
*resultobj
= 0;
34385 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34388 PyObject
*swig_obj
[1] ;
34390 if (!args
) SWIG_fail
;
34391 swig_obj
[0] = args
;
34392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34393 if (!SWIG_IsOK(res1
)) {
34394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34396 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34400 wxPyEndAllowThreads(__tstate
);
34401 if (PyErr_Occurred()) SWIG_fail
;
34403 resultobj
= SWIG_Py_Void();
34410 SWIGINTERN PyObject
*_wrap_DropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34411 PyObject
*resultobj
= 0;
34412 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34422 PyObject
* obj0
= 0 ;
34423 PyObject
* obj1
= 0 ;
34424 PyObject
* obj2
= 0 ;
34425 char * kwnames
[] = {
34426 (char *) "self",(char *) "x",(char *) "y", NULL
34429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34431 if (!SWIG_IsOK(res1
)) {
34432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34434 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34435 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34436 if (!SWIG_IsOK(ecode2
)) {
34437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
34439 arg2
= static_cast< int >(val2
);
34440 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34441 if (!SWIG_IsOK(ecode3
)) {
34442 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
34444 arg3
= static_cast< int >(val3
);
34446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34447 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
34448 wxPyEndAllowThreads(__tstate
);
34449 if (PyErr_Occurred()) SWIG_fail
;
34452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34460 SWIGINTERN PyObject
*_wrap_DropTarget_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34461 PyObject
*resultobj
= 0;
34462 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34466 PyObject
*swig_obj
[1] ;
34468 if (!args
) SWIG_fail
;
34469 swig_obj
[0] = args
;
34470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34471 if (!SWIG_IsOK(res1
)) {
34472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetData" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34474 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34477 result
= (bool)(arg1
)->GetData();
34478 wxPyEndAllowThreads(__tstate
);
34479 if (PyErr_Occurred()) SWIG_fail
;
34482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34490 SWIGINTERN PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34491 PyObject
*resultobj
= 0;
34492 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34493 wxDragResult arg2
;
34498 PyObject
* obj0
= 0 ;
34499 PyObject
* obj1
= 0 ;
34500 char * kwnames
[] = {
34501 (char *) "self",(char *) "action", NULL
34504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34506 if (!SWIG_IsOK(res1
)) {
34507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34509 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34510 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34511 if (!SWIG_IsOK(ecode2
)) {
34512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "2"" of type '" "wxDragResult""'");
34514 arg2
= static_cast< wxDragResult
>(val2
);
34516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34517 (arg1
)->SetDefaultAction(arg2
);
34518 wxPyEndAllowThreads(__tstate
);
34519 if (PyErr_Occurred()) SWIG_fail
;
34521 resultobj
= SWIG_Py_Void();
34528 SWIGINTERN PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34529 PyObject
*resultobj
= 0;
34530 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34531 wxDragResult result
;
34534 PyObject
*swig_obj
[1] ;
34536 if (!args
) SWIG_fail
;
34537 swig_obj
[0] = args
;
34538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34539 if (!SWIG_IsOK(res1
)) {
34540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34542 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34545 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
34546 wxPyEndAllowThreads(__tstate
);
34547 if (PyErr_Occurred()) SWIG_fail
;
34549 resultobj
= SWIG_From_int(static_cast< int >(result
));
34556 SWIGINTERN PyObject
*DropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34558 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34559 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropTarget
, SWIG_NewClientData(obj
));
34560 return SWIG_Py_Void();
34563 SWIGINTERN PyObject
*DropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34564 return SWIG_Python_InitShadowInstance(args
);
34567 SWIGINTERN PyObject
*_wrap_new_TextDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34568 PyObject
*resultobj
= 0;
34569 wxPyTextDropTarget
*result
= 0 ;
34571 if (!SWIG_Python_UnpackTuple(args
,"new_TextDropTarget",0,0,0)) SWIG_fail
;
34573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34574 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
34575 wxPyEndAllowThreads(__tstate
);
34576 if (PyErr_Occurred()) SWIG_fail
;
34578 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_NEW
| 0 );
34585 SWIGINTERN PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34586 PyObject
*resultobj
= 0;
34587 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34588 PyObject
*arg2
= (PyObject
*) 0 ;
34589 PyObject
*arg3
= (PyObject
*) 0 ;
34592 PyObject
* obj0
= 0 ;
34593 PyObject
* obj1
= 0 ;
34594 PyObject
* obj2
= 0 ;
34595 char * kwnames
[] = {
34596 (char *) "self",(char *) "self",(char *) "_class", NULL
34599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34601 if (!SWIG_IsOK(res1
)) {
34602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34604 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34609 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34610 wxPyEndAllowThreads(__tstate
);
34611 if (PyErr_Occurred()) SWIG_fail
;
34613 resultobj
= SWIG_Py_Void();
34620 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDropText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34621 PyObject
*resultobj
= 0;
34622 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34625 wxString
*arg4
= 0 ;
34633 bool temp4
= false ;
34634 PyObject
* obj0
= 0 ;
34635 PyObject
* obj1
= 0 ;
34636 PyObject
* obj2
= 0 ;
34637 PyObject
* obj3
= 0 ;
34638 char * kwnames
[] = {
34639 (char *) "self",(char *) "x",(char *) "y",(char *) "text", NULL
34642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDropText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34644 if (!SWIG_IsOK(res1
)) {
34645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34647 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34648 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34649 if (!SWIG_IsOK(ecode2
)) {
34650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "2"" of type '" "int""'");
34652 arg2
= static_cast< int >(val2
);
34653 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34654 if (!SWIG_IsOK(ecode3
)) {
34655 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "3"" of type '" "int""'");
34657 arg3
= static_cast< int >(val3
);
34659 arg4
= wxString_in_helper(obj3
);
34660 if (arg4
== NULL
) SWIG_fail
;
34664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34665 result
= (bool)(arg1
)->OnDropText(arg2
,arg3
,(wxString
const &)*arg4
);
34666 wxPyEndAllowThreads(__tstate
);
34667 if (PyErr_Occurred()) SWIG_fail
;
34670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34686 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34687 PyObject
*resultobj
= 0;
34688 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34691 wxDragResult arg4
;
34692 wxDragResult result
;
34701 PyObject
* obj0
= 0 ;
34702 PyObject
* obj1
= 0 ;
34703 PyObject
* obj2
= 0 ;
34704 PyObject
* obj3
= 0 ;
34705 char * kwnames
[] = {
34706 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34711 if (!SWIG_IsOK(res1
)) {
34712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34714 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34715 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34716 if (!SWIG_IsOK(ecode2
)) {
34717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
34719 arg2
= static_cast< int >(val2
);
34720 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34721 if (!SWIG_IsOK(ecode3
)) {
34722 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
34724 arg3
= static_cast< int >(val3
);
34725 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34726 if (!SWIG_IsOK(ecode4
)) {
34727 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
34729 arg4
= static_cast< wxDragResult
>(val4
);
34731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34732 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
34733 wxPyEndAllowThreads(__tstate
);
34734 if (PyErr_Occurred()) SWIG_fail
;
34736 resultobj
= SWIG_From_int(static_cast< int >(result
));
34743 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34744 PyObject
*resultobj
= 0;
34745 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34748 wxDragResult arg4
;
34749 wxDragResult result
;
34758 PyObject
* obj0
= 0 ;
34759 PyObject
* obj1
= 0 ;
34760 PyObject
* obj2
= 0 ;
34761 PyObject
* obj3
= 0 ;
34762 char * kwnames
[] = {
34763 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34768 if (!SWIG_IsOK(res1
)) {
34769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34771 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34772 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34773 if (!SWIG_IsOK(ecode2
)) {
34774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
34776 arg2
= static_cast< int >(val2
);
34777 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34778 if (!SWIG_IsOK(ecode3
)) {
34779 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
34781 arg3
= static_cast< int >(val3
);
34782 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34783 if (!SWIG_IsOK(ecode4
)) {
34784 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
34786 arg4
= static_cast< wxDragResult
>(val4
);
34788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34789 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
34790 wxPyEndAllowThreads(__tstate
);
34791 if (PyErr_Occurred()) SWIG_fail
;
34793 resultobj
= SWIG_From_int(static_cast< int >(result
));
34800 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34801 PyObject
*resultobj
= 0;
34802 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34805 PyObject
*swig_obj
[1] ;
34807 if (!args
) SWIG_fail
;
34808 swig_obj
[0] = args
;
34809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34810 if (!SWIG_IsOK(res1
)) {
34811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34813 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34817 wxPyEndAllowThreads(__tstate
);
34818 if (PyErr_Occurred()) SWIG_fail
;
34820 resultobj
= SWIG_Py_Void();
34827 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34828 PyObject
*resultobj
= 0;
34829 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34839 PyObject
* obj0
= 0 ;
34840 PyObject
* obj1
= 0 ;
34841 PyObject
* obj2
= 0 ;
34842 char * kwnames
[] = {
34843 (char *) "self",(char *) "x",(char *) "y", NULL
34846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34848 if (!SWIG_IsOK(res1
)) {
34849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34851 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34852 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34853 if (!SWIG_IsOK(ecode2
)) {
34854 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
34856 arg2
= static_cast< int >(val2
);
34857 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34858 if (!SWIG_IsOK(ecode3
)) {
34859 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
34861 arg3
= static_cast< int >(val3
);
34863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34864 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
34865 wxPyEndAllowThreads(__tstate
);
34866 if (PyErr_Occurred()) SWIG_fail
;
34869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34877 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34878 PyObject
*resultobj
= 0;
34879 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34882 wxDragResult arg4
;
34883 wxDragResult result
;
34892 PyObject
* obj0
= 0 ;
34893 PyObject
* obj1
= 0 ;
34894 PyObject
* obj2
= 0 ;
34895 PyObject
* obj3
= 0 ;
34896 char * kwnames
[] = {
34897 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34902 if (!SWIG_IsOK(res1
)) {
34903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34905 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34906 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34907 if (!SWIG_IsOK(ecode2
)) {
34908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
34910 arg2
= static_cast< int >(val2
);
34911 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34912 if (!SWIG_IsOK(ecode3
)) {
34913 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
34915 arg3
= static_cast< int >(val3
);
34916 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34917 if (!SWIG_IsOK(ecode4
)) {
34918 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
34920 arg4
= static_cast< wxDragResult
>(val4
);
34922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34923 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
34924 wxPyEndAllowThreads(__tstate
);
34925 if (PyErr_Occurred()) SWIG_fail
;
34927 resultobj
= SWIG_From_int(static_cast< int >(result
));
34934 SWIGINTERN PyObject
*TextDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34936 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34937 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDropTarget
, SWIG_NewClientData(obj
));
34938 return SWIG_Py_Void();
34941 SWIGINTERN PyObject
*TextDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34942 return SWIG_Python_InitShadowInstance(args
);
34945 SWIGINTERN PyObject
*_wrap_new_FileDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34946 PyObject
*resultobj
= 0;
34947 wxPyFileDropTarget
*result
= 0 ;
34949 if (!SWIG_Python_UnpackTuple(args
,"new_FileDropTarget",0,0,0)) SWIG_fail
;
34951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34952 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
34953 wxPyEndAllowThreads(__tstate
);
34954 if (PyErr_Occurred()) SWIG_fail
;
34956 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_NEW
| 0 );
34963 SWIGINTERN PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34964 PyObject
*resultobj
= 0;
34965 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34966 PyObject
*arg2
= (PyObject
*) 0 ;
34967 PyObject
*arg3
= (PyObject
*) 0 ;
34970 PyObject
* obj0
= 0 ;
34971 PyObject
* obj1
= 0 ;
34972 PyObject
* obj2
= 0 ;
34973 char * kwnames
[] = {
34974 (char *) "self",(char *) "self",(char *) "_class", NULL
34977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
34979 if (!SWIG_IsOK(res1
)) {
34980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
34982 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
34986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34987 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34988 wxPyEndAllowThreads(__tstate
);
34989 if (PyErr_Occurred()) SWIG_fail
;
34991 resultobj
= SWIG_Py_Void();
34998 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDropFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34999 PyObject
*resultobj
= 0;
35000 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35003 wxArrayString
*arg4
= 0 ;
35011 bool temp4
= false ;
35012 PyObject
* obj0
= 0 ;
35013 PyObject
* obj1
= 0 ;
35014 PyObject
* obj2
= 0 ;
35015 PyObject
* obj3
= 0 ;
35016 char * kwnames
[] = {
35017 (char *) "self",(char *) "x",(char *) "y",(char *) "filenames", NULL
35020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDropFiles",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35022 if (!SWIG_IsOK(res1
)) {
35023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35025 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35026 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35027 if (!SWIG_IsOK(ecode2
)) {
35028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "2"" of type '" "int""'");
35030 arg2
= static_cast< int >(val2
);
35031 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35032 if (!SWIG_IsOK(ecode3
)) {
35033 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "3"" of type '" "int""'");
35035 arg3
= static_cast< int >(val3
);
35037 if (! PySequence_Check(obj3
)) {
35038 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
35041 arg4
= new wxArrayString
;
35043 int i
, len
=PySequence_Length(obj3
);
35044 for (i
=0; i
<len
; i
++) {
35045 PyObject
* item
= PySequence_GetItem(obj3
, i
);
35046 wxString
* s
= wxString_in_helper(item
);
35047 if (PyErr_Occurred()) SWIG_fail
;
35054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35055 result
= (bool)(arg1
)->OnDropFiles(arg2
,arg3
,(wxArrayString
const &)*arg4
);
35056 wxPyEndAllowThreads(__tstate
);
35057 if (PyErr_Occurred()) SWIG_fail
;
35060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35063 if (temp4
) delete arg4
;
35068 if (temp4
) delete arg4
;
35074 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35075 PyObject
*resultobj
= 0;
35076 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35079 wxDragResult arg4
;
35080 wxDragResult result
;
35089 PyObject
* obj0
= 0 ;
35090 PyObject
* obj1
= 0 ;
35091 PyObject
* obj2
= 0 ;
35092 PyObject
* obj3
= 0 ;
35093 char * kwnames
[] = {
35094 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
35097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35099 if (!SWIG_IsOK(res1
)) {
35100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35102 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35103 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35104 if (!SWIG_IsOK(ecode2
)) {
35105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
35107 arg2
= static_cast< int >(val2
);
35108 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35109 if (!SWIG_IsOK(ecode3
)) {
35110 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
35112 arg3
= static_cast< int >(val3
);
35113 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35114 if (!SWIG_IsOK(ecode4
)) {
35115 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
35117 arg4
= static_cast< wxDragResult
>(val4
);
35119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35120 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
35121 wxPyEndAllowThreads(__tstate
);
35122 if (PyErr_Occurred()) SWIG_fail
;
35124 resultobj
= SWIG_From_int(static_cast< int >(result
));
35131 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35132 PyObject
*resultobj
= 0;
35133 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35136 wxDragResult arg4
;
35137 wxDragResult result
;
35146 PyObject
* obj0
= 0 ;
35147 PyObject
* obj1
= 0 ;
35148 PyObject
* obj2
= 0 ;
35149 PyObject
* obj3
= 0 ;
35150 char * kwnames
[] = {
35151 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
35154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35156 if (!SWIG_IsOK(res1
)) {
35157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35159 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35160 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35161 if (!SWIG_IsOK(ecode2
)) {
35162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
35164 arg2
= static_cast< int >(val2
);
35165 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35166 if (!SWIG_IsOK(ecode3
)) {
35167 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
35169 arg3
= static_cast< int >(val3
);
35170 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35171 if (!SWIG_IsOK(ecode4
)) {
35172 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
35174 arg4
= static_cast< wxDragResult
>(val4
);
35176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35177 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
35178 wxPyEndAllowThreads(__tstate
);
35179 if (PyErr_Occurred()) SWIG_fail
;
35181 resultobj
= SWIG_From_int(static_cast< int >(result
));
35188 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35189 PyObject
*resultobj
= 0;
35190 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35193 PyObject
*swig_obj
[1] ;
35195 if (!args
) SWIG_fail
;
35196 swig_obj
[0] = args
;
35197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35198 if (!SWIG_IsOK(res1
)) {
35199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35201 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35205 wxPyEndAllowThreads(__tstate
);
35206 if (PyErr_Occurred()) SWIG_fail
;
35208 resultobj
= SWIG_Py_Void();
35215 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35216 PyObject
*resultobj
= 0;
35217 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35227 PyObject
* obj0
= 0 ;
35228 PyObject
* obj1
= 0 ;
35229 PyObject
* obj2
= 0 ;
35230 char * kwnames
[] = {
35231 (char *) "self",(char *) "x",(char *) "y", NULL
35234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35236 if (!SWIG_IsOK(res1
)) {
35237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35239 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35240 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35241 if (!SWIG_IsOK(ecode2
)) {
35242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
35244 arg2
= static_cast< int >(val2
);
35245 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35246 if (!SWIG_IsOK(ecode3
)) {
35247 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
35249 arg3
= static_cast< int >(val3
);
35251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35252 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
35253 wxPyEndAllowThreads(__tstate
);
35254 if (PyErr_Occurred()) SWIG_fail
;
35257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35265 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35266 PyObject
*resultobj
= 0;
35267 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35270 wxDragResult arg4
;
35271 wxDragResult result
;
35280 PyObject
* obj0
= 0 ;
35281 PyObject
* obj1
= 0 ;
35282 PyObject
* obj2
= 0 ;
35283 PyObject
* obj3
= 0 ;
35284 char * kwnames
[] = {
35285 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
35288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35290 if (!SWIG_IsOK(res1
)) {
35291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35293 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35294 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35295 if (!SWIG_IsOK(ecode2
)) {
35296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
35298 arg2
= static_cast< int >(val2
);
35299 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35300 if (!SWIG_IsOK(ecode3
)) {
35301 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
35303 arg3
= static_cast< int >(val3
);
35304 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35305 if (!SWIG_IsOK(ecode4
)) {
35306 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
35308 arg4
= static_cast< wxDragResult
>(val4
);
35310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35311 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
35312 wxPyEndAllowThreads(__tstate
);
35313 if (PyErr_Occurred()) SWIG_fail
;
35315 resultobj
= SWIG_From_int(static_cast< int >(result
));
35322 SWIGINTERN PyObject
*FileDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35324 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35325 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFileDropTarget
, SWIG_NewClientData(obj
));
35326 return SWIG_Py_Void();
35329 SWIGINTERN PyObject
*FileDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35330 return SWIG_Python_InitShadowInstance(args
);
35333 SWIGINTERN PyObject
*_wrap_new_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35334 PyObject
*resultobj
= 0;
35335 wxClipboard
*result
= 0 ;
35337 if (!SWIG_Python_UnpackTuple(args
,"new_Clipboard",0,0,0)) SWIG_fail
;
35339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35340 result
= (wxClipboard
*)new wxClipboard();
35341 wxPyEndAllowThreads(__tstate
);
35342 if (PyErr_Occurred()) SWIG_fail
;
35344 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, SWIG_POINTER_NEW
| 0 );
35351 SWIGINTERN PyObject
*_wrap_delete_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35352 PyObject
*resultobj
= 0;
35353 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35356 PyObject
*swig_obj
[1] ;
35358 if (!args
) SWIG_fail
;
35359 swig_obj
[0] = args
;
35360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, SWIG_POINTER_DISOWN
| 0 );
35361 if (!SWIG_IsOK(res1
)) {
35362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Clipboard" "', expected argument " "1"" of type '" "wxClipboard *""'");
35364 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35369 wxPyEndAllowThreads(__tstate
);
35370 if (PyErr_Occurred()) SWIG_fail
;
35372 resultobj
= SWIG_Py_Void();
35379 SWIGINTERN PyObject
*_wrap_Clipboard_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35380 PyObject
*resultobj
= 0;
35381 wxClipboard
*arg1
= (wxClipboard
*) 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_wxClipboard
, 0 | 0 );
35390 if (!SWIG_IsOK(res1
)) {
35391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Open" "', expected argument " "1"" of type '" "wxClipboard *""'");
35393 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35396 result
= (bool)(arg1
)->Open();
35397 wxPyEndAllowThreads(__tstate
);
35398 if (PyErr_Occurred()) SWIG_fail
;
35401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35409 SWIGINTERN PyObject
*_wrap_Clipboard_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35410 PyObject
*resultobj
= 0;
35411 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35414 PyObject
*swig_obj
[1] ;
35416 if (!args
) SWIG_fail
;
35417 swig_obj
[0] = args
;
35418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35419 if (!SWIG_IsOK(res1
)) {
35420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Close" "', expected argument " "1"" of type '" "wxClipboard *""'");
35422 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35426 wxPyEndAllowThreads(__tstate
);
35427 if (PyErr_Occurred()) SWIG_fail
;
35429 resultobj
= SWIG_Py_Void();
35436 SWIGINTERN PyObject
*_wrap_Clipboard_IsOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35437 PyObject
*resultobj
= 0;
35438 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35442 PyObject
*swig_obj
[1] ;
35444 if (!args
) SWIG_fail
;
35445 swig_obj
[0] = args
;
35446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35447 if (!SWIG_IsOK(res1
)) {
35448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsOpened" "', expected argument " "1"" of type '" "wxClipboard const *""'");
35450 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35453 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
35454 wxPyEndAllowThreads(__tstate
);
35455 if (PyErr_Occurred()) SWIG_fail
;
35458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35466 SWIGINTERN PyObject
*_wrap_Clipboard_AddData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35467 PyObject
*resultobj
= 0;
35468 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35469 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
35474 PyObject
* obj0
= 0 ;
35475 PyObject
* obj1
= 0 ;
35476 char * kwnames
[] = {
35477 (char *) "self",(char *) "data", NULL
35480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35482 if (!SWIG_IsOK(res1
)) {
35483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_AddData" "', expected argument " "1"" of type '" "wxClipboard *""'");
35485 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35486 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
35487 if (!SWIG_IsOK(res2
)) {
35488 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_AddData" "', expected argument " "2"" of type '" "wxDataObject *""'");
35491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35492 result
= (bool)(arg1
)->AddData(arg2
);
35493 wxPyEndAllowThreads(__tstate
);
35494 if (PyErr_Occurred()) SWIG_fail
;
35497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35505 SWIGINTERN PyObject
*_wrap_Clipboard_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35506 PyObject
*resultobj
= 0;
35507 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35508 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
35513 PyObject
* obj0
= 0 ;
35514 PyObject
* obj1
= 0 ;
35515 char * kwnames
[] = {
35516 (char *) "self",(char *) "data", NULL
35519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35521 if (!SWIG_IsOK(res1
)) {
35522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_SetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
35524 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35525 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
35526 if (!SWIG_IsOK(res2
)) {
35527 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_SetData" "', expected argument " "2"" of type '" "wxDataObject *""'");
35530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35531 result
= (bool)(arg1
)->SetData(arg2
);
35532 wxPyEndAllowThreads(__tstate
);
35533 if (PyErr_Occurred()) SWIG_fail
;
35536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35544 SWIGINTERN PyObject
*_wrap_Clipboard_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35545 PyObject
*resultobj
= 0;
35546 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35547 wxDataFormat
*arg2
= 0 ;
35553 PyObject
* obj0
= 0 ;
35554 PyObject
* obj1
= 0 ;
35555 char * kwnames
[] = {
35556 (char *) "self",(char *) "format", NULL
35559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35561 if (!SWIG_IsOK(res1
)) {
35562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsSupported" "', expected argument " "1"" of type '" "wxClipboard *""'");
35564 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35565 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
35566 if (!SWIG_IsOK(res2
)) {
35567 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
35570 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
35572 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
35574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35575 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
35576 wxPyEndAllowThreads(__tstate
);
35577 if (PyErr_Occurred()) SWIG_fail
;
35580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35588 SWIGINTERN PyObject
*_wrap_Clipboard_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35589 PyObject
*resultobj
= 0;
35590 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35591 wxDataObject
*arg2
= 0 ;
35597 PyObject
* obj0
= 0 ;
35598 PyObject
* obj1
= 0 ;
35599 char * kwnames
[] = {
35600 (char *) "self",(char *) "data", NULL
35603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35605 if (!SWIG_IsOK(res1
)) {
35606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_GetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
35608 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35609 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
35610 if (!SWIG_IsOK(res2
)) {
35611 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
35614 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
35616 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
35618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35619 result
= (bool)(arg1
)->GetData(*arg2
);
35620 wxPyEndAllowThreads(__tstate
);
35621 if (PyErr_Occurred()) SWIG_fail
;
35624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35632 SWIGINTERN PyObject
*_wrap_Clipboard_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35633 PyObject
*resultobj
= 0;
35634 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35637 PyObject
*swig_obj
[1] ;
35639 if (!args
) SWIG_fail
;
35640 swig_obj
[0] = args
;
35641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35642 if (!SWIG_IsOK(res1
)) {
35643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Clear" "', expected argument " "1"" of type '" "wxClipboard *""'");
35645 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35649 wxPyEndAllowThreads(__tstate
);
35650 if (PyErr_Occurred()) SWIG_fail
;
35652 resultobj
= SWIG_Py_Void();
35659 SWIGINTERN PyObject
*_wrap_Clipboard_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35660 PyObject
*resultobj
= 0;
35661 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35665 PyObject
*swig_obj
[1] ;
35667 if (!args
) SWIG_fail
;
35668 swig_obj
[0] = args
;
35669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35670 if (!SWIG_IsOK(res1
)) {
35671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Flush" "', expected argument " "1"" of type '" "wxClipboard *""'");
35673 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35676 result
= (bool)(arg1
)->Flush();
35677 wxPyEndAllowThreads(__tstate
);
35678 if (PyErr_Occurred()) SWIG_fail
;
35681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35689 SWIGINTERN PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35690 PyObject
*resultobj
= 0;
35691 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35692 bool arg2
= (bool) true ;
35697 PyObject
* obj0
= 0 ;
35698 PyObject
* obj1
= 0 ;
35699 char * kwnames
[] = {
35700 (char *) "self",(char *) "primary", NULL
35703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35705 if (!SWIG_IsOK(res1
)) {
35706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "1"" of type '" "wxClipboard *""'");
35708 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35710 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
35711 if (!SWIG_IsOK(ecode2
)) {
35712 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "2"" of type '" "bool""'");
35714 arg2
= static_cast< bool >(val2
);
35717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35718 (arg1
)->UsePrimarySelection(arg2
);
35719 wxPyEndAllowThreads(__tstate
);
35720 if (PyErr_Occurred()) SWIG_fail
;
35722 resultobj
= SWIG_Py_Void();
35729 SWIGINTERN PyObject
*_wrap_Clipboard_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35730 PyObject
*resultobj
= 0;
35731 wxClipboard
*result
= 0 ;
35733 if (!SWIG_Python_UnpackTuple(args
,"Clipboard_Get",0,0,0)) SWIG_fail
;
35735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35736 result
= (wxClipboard
*)wxClipboard::Get();
35737 wxPyEndAllowThreads(__tstate
);
35738 if (PyErr_Occurred()) SWIG_fail
;
35740 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, 0 | 0 );
35747 SWIGINTERN PyObject
*Clipboard_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35749 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35750 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboard
, SWIG_NewClientData(obj
));
35751 return SWIG_Py_Void();
35754 SWIGINTERN PyObject
*Clipboard_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35755 return SWIG_Python_InitShadowInstance(args
);
35758 SWIGINTERN PyObject
*_wrap_new_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35759 PyObject
*resultobj
= 0;
35760 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
35761 wxClipboardLocker
*result
= 0 ;
35764 PyObject
* obj0
= 0 ;
35765 char * kwnames
[] = {
35766 (char *) "clipboard", NULL
35769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) SWIG_fail
;
35771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35772 if (!SWIG_IsOK(res1
)) {
35773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboard *""'");
35775 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35779 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
35780 wxPyEndAllowThreads(__tstate
);
35781 if (PyErr_Occurred()) SWIG_fail
;
35783 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_NEW
| 0 );
35790 SWIGINTERN PyObject
*_wrap_delete_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35791 PyObject
*resultobj
= 0;
35792 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 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_wxClipboardLocker
, SWIG_POINTER_DISOWN
| 0 );
35800 if (!SWIG_IsOK(res1
)) {
35801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
35803 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
35805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35808 wxPyEndAllowThreads(__tstate
);
35809 if (PyErr_Occurred()) SWIG_fail
;
35811 resultobj
= SWIG_Py_Void();
35818 SWIGINTERN PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35819 PyObject
*resultobj
= 0;
35820 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
35824 PyObject
*swig_obj
[1] ;
35826 if (!args
) SWIG_fail
;
35827 swig_obj
[0] = args
;
35828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, 0 | 0 );
35829 if (!SWIG_IsOK(res1
)) {
35830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ClipboardLocker___nonzero__" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
35832 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
35834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35835 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
35836 wxPyEndAllowThreads(__tstate
);
35837 if (PyErr_Occurred()) SWIG_fail
;
35840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35848 SWIGINTERN PyObject
*ClipboardLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35850 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35851 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboardLocker
, SWIG_NewClientData(obj
));
35852 return SWIG_Py_Void();
35855 SWIGINTERN PyObject
*ClipboardLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35856 return SWIG_Python_InitShadowInstance(args
);
35859 SWIGINTERN PyObject
*_wrap_new_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35860 PyObject
*resultobj
= 0;
35861 int arg1
= (int) 0 ;
35862 int arg2
= (int) 0 ;
35863 int arg3
= (int) 0 ;
35864 int arg4
= (int) 0 ;
35865 wxVideoMode
*result
= 0 ;
35874 PyObject
* obj0
= 0 ;
35875 PyObject
* obj1
= 0 ;
35876 PyObject
* obj2
= 0 ;
35877 PyObject
* obj3
= 0 ;
35878 char * kwnames
[] = {
35879 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
35882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35884 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
35885 if (!SWIG_IsOK(ecode1
)) {
35886 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_VideoMode" "', expected argument " "1"" of type '" "int""'");
35888 arg1
= static_cast< int >(val1
);
35891 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35892 if (!SWIG_IsOK(ecode2
)) {
35893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VideoMode" "', expected argument " "2"" of type '" "int""'");
35895 arg2
= static_cast< int >(val2
);
35898 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35899 if (!SWIG_IsOK(ecode3
)) {
35900 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_VideoMode" "', expected argument " "3"" of type '" "int""'");
35902 arg3
= static_cast< int >(val3
);
35905 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35906 if (!SWIG_IsOK(ecode4
)) {
35907 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_VideoMode" "', expected argument " "4"" of type '" "int""'");
35909 arg4
= static_cast< int >(val4
);
35912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35913 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
35914 wxPyEndAllowThreads(__tstate
);
35915 if (PyErr_Occurred()) SWIG_fail
;
35917 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_NEW
| 0 );
35924 SWIGINTERN PyObject
*_wrap_delete_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35925 PyObject
*resultobj
= 0;
35926 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35929 PyObject
*swig_obj
[1] ;
35931 if (!args
) SWIG_fail
;
35932 swig_obj
[0] = args
;
35933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_DISOWN
| 0 );
35934 if (!SWIG_IsOK(res1
)) {
35935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_VideoMode" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35937 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35942 wxPyEndAllowThreads(__tstate
);
35943 if (PyErr_Occurred()) SWIG_fail
;
35945 resultobj
= SWIG_Py_Void();
35952 SWIGINTERN PyObject
*_wrap_VideoMode_Matches(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35953 PyObject
*resultobj
= 0;
35954 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35955 wxVideoMode
*arg2
= 0 ;
35961 PyObject
* obj0
= 0 ;
35962 PyObject
* obj1
= 0 ;
35963 char * kwnames
[] = {
35964 (char *) "self",(char *) "other", NULL
35967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35969 if (!SWIG_IsOK(res1
)) {
35970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_Matches" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
35972 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35973 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
35974 if (!SWIG_IsOK(res2
)) {
35975 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35978 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35980 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
35982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35983 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
35984 wxPyEndAllowThreads(__tstate
);
35985 if (PyErr_Occurred()) SWIG_fail
;
35988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35996 SWIGINTERN PyObject
*_wrap_VideoMode_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35997 PyObject
*resultobj
= 0;
35998 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36002 PyObject
*swig_obj
[1] ;
36004 if (!args
) SWIG_fail
;
36005 swig_obj
[0] = args
;
36006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36007 if (!SWIG_IsOK(res1
)) {
36008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetWidth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
36010 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36013 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
36014 wxPyEndAllowThreads(__tstate
);
36015 if (PyErr_Occurred()) SWIG_fail
;
36017 resultobj
= SWIG_From_int(static_cast< int >(result
));
36024 SWIGINTERN PyObject
*_wrap_VideoMode_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36025 PyObject
*resultobj
= 0;
36026 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36030 PyObject
*swig_obj
[1] ;
36032 if (!args
) SWIG_fail
;
36033 swig_obj
[0] = args
;
36034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36035 if (!SWIG_IsOK(res1
)) {
36036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetHeight" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
36038 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36041 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
36042 wxPyEndAllowThreads(__tstate
);
36043 if (PyErr_Occurred()) SWIG_fail
;
36045 resultobj
= SWIG_From_int(static_cast< int >(result
));
36052 SWIGINTERN PyObject
*_wrap_VideoMode_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36053 PyObject
*resultobj
= 0;
36054 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36058 PyObject
*swig_obj
[1] ;
36060 if (!args
) SWIG_fail
;
36061 swig_obj
[0] = args
;
36062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36063 if (!SWIG_IsOK(res1
)) {
36064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetDepth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
36066 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36069 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
36070 wxPyEndAllowThreads(__tstate
);
36071 if (PyErr_Occurred()) SWIG_fail
;
36073 resultobj
= SWIG_From_int(static_cast< int >(result
));
36080 SWIGINTERN PyObject
*_wrap_VideoMode_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36081 PyObject
*resultobj
= 0;
36082 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36086 PyObject
*swig_obj
[1] ;
36088 if (!args
) SWIG_fail
;
36089 swig_obj
[0] = args
;
36090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36091 if (!SWIG_IsOK(res1
)) {
36092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_IsOk" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
36094 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36097 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
36098 wxPyEndAllowThreads(__tstate
);
36099 if (PyErr_Occurred()) SWIG_fail
;
36102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36110 SWIGINTERN PyObject
*_wrap_VideoMode___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36111 PyObject
*resultobj
= 0;
36112 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36113 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
36119 PyObject
* obj0
= 0 ;
36120 PyObject
* obj1
= 0 ;
36121 char * kwnames
[] = {
36122 (char *) "self",(char *) "other", NULL
36125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36127 if (!SWIG_IsOK(res1
)) {
36128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___eq__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36130 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36131 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36132 if (!SWIG_IsOK(res2
)) {
36133 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___eq__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
36135 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36138 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
36139 wxPyEndAllowThreads(__tstate
);
36140 if (PyErr_Occurred()) SWIG_fail
;
36143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36151 SWIGINTERN PyObject
*_wrap_VideoMode___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36152 PyObject
*resultobj
= 0;
36153 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36154 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
36160 PyObject
* obj0
= 0 ;
36161 PyObject
* obj1
= 0 ;
36162 char * kwnames
[] = {
36163 (char *) "self",(char *) "other", NULL
36166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36168 if (!SWIG_IsOK(res1
)) {
36169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___ne__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36171 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36172 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36173 if (!SWIG_IsOK(res2
)) {
36174 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___ne__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
36176 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36179 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
36180 wxPyEndAllowThreads(__tstate
);
36181 if (PyErr_Occurred()) SWIG_fail
;
36184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36192 SWIGINTERN PyObject
*_wrap_VideoMode_w_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36193 PyObject
*resultobj
= 0;
36194 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36200 PyObject
*swig_obj
[2] ;
36202 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_w_set",2,2,swig_obj
)) SWIG_fail
;
36203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36204 if (!SWIG_IsOK(res1
)) {
36205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36207 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36208 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36209 if (!SWIG_IsOK(ecode2
)) {
36210 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_w_set" "', expected argument " "2"" of type '" "int""'");
36212 arg2
= static_cast< int >(val2
);
36213 if (arg1
) (arg1
)->w
= arg2
;
36215 resultobj
= SWIG_Py_Void();
36222 SWIGINTERN PyObject
*_wrap_VideoMode_w_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36223 PyObject
*resultobj
= 0;
36224 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36228 PyObject
*swig_obj
[1] ;
36230 if (!args
) SWIG_fail
;
36231 swig_obj
[0] = args
;
36232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36233 if (!SWIG_IsOK(res1
)) {
36234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36236 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36237 result
= (int) ((arg1
)->w
);
36238 resultobj
= SWIG_From_int(static_cast< int >(result
));
36245 SWIGINTERN PyObject
*_wrap_VideoMode_h_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36246 PyObject
*resultobj
= 0;
36247 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36253 PyObject
*swig_obj
[2] ;
36255 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_h_set",2,2,swig_obj
)) SWIG_fail
;
36256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36257 if (!SWIG_IsOK(res1
)) {
36258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36260 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36261 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36262 if (!SWIG_IsOK(ecode2
)) {
36263 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_h_set" "', expected argument " "2"" of type '" "int""'");
36265 arg2
= static_cast< int >(val2
);
36266 if (arg1
) (arg1
)->h
= arg2
;
36268 resultobj
= SWIG_Py_Void();
36275 SWIGINTERN PyObject
*_wrap_VideoMode_h_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36276 PyObject
*resultobj
= 0;
36277 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36281 PyObject
*swig_obj
[1] ;
36283 if (!args
) SWIG_fail
;
36284 swig_obj
[0] = args
;
36285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36286 if (!SWIG_IsOK(res1
)) {
36287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36289 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36290 result
= (int) ((arg1
)->h
);
36291 resultobj
= SWIG_From_int(static_cast< int >(result
));
36298 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36299 PyObject
*resultobj
= 0;
36300 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36306 PyObject
*swig_obj
[2] ;
36308 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_bpp_set",2,2,swig_obj
)) SWIG_fail
;
36309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36310 if (!SWIG_IsOK(res1
)) {
36311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36313 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36314 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36315 if (!SWIG_IsOK(ecode2
)) {
36316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_bpp_set" "', expected argument " "2"" of type '" "int""'");
36318 arg2
= static_cast< int >(val2
);
36319 if (arg1
) (arg1
)->bpp
= arg2
;
36321 resultobj
= SWIG_Py_Void();
36328 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36329 PyObject
*resultobj
= 0;
36330 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36334 PyObject
*swig_obj
[1] ;
36336 if (!args
) SWIG_fail
;
36337 swig_obj
[0] = args
;
36338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36339 if (!SWIG_IsOK(res1
)) {
36340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36342 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36343 result
= (int) ((arg1
)->bpp
);
36344 resultobj
= SWIG_From_int(static_cast< int >(result
));
36351 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36352 PyObject
*resultobj
= 0;
36353 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36359 PyObject
*swig_obj
[2] ;
36361 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_refresh_set",2,2,swig_obj
)) SWIG_fail
;
36362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36363 if (!SWIG_IsOK(res1
)) {
36364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36366 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36367 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36368 if (!SWIG_IsOK(ecode2
)) {
36369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_refresh_set" "', expected argument " "2"" of type '" "int""'");
36371 arg2
= static_cast< int >(val2
);
36372 if (arg1
) (arg1
)->refresh
= arg2
;
36374 resultobj
= SWIG_Py_Void();
36381 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36382 PyObject
*resultobj
= 0;
36383 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36387 PyObject
*swig_obj
[1] ;
36389 if (!args
) SWIG_fail
;
36390 swig_obj
[0] = args
;
36391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36392 if (!SWIG_IsOK(res1
)) {
36393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36395 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36396 result
= (int) ((arg1
)->refresh
);
36397 resultobj
= SWIG_From_int(static_cast< int >(result
));
36404 SWIGINTERN PyObject
*VideoMode_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36406 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36407 SWIG_TypeNewClientData(SWIGTYPE_p_wxVideoMode
, SWIG_NewClientData(obj
));
36408 return SWIG_Py_Void();
36411 SWIGINTERN PyObject
*VideoMode_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36412 return SWIG_Python_InitShadowInstance(args
);
36415 SWIGINTERN
int DefaultVideoMode_set(PyObject
*) {
36416 SWIG_Error(SWIG_AttributeError
,"Variable DefaultVideoMode is read-only.");
36421 SWIGINTERN PyObject
*DefaultVideoMode_get(void) {
36422 PyObject
*pyobj
= 0;
36424 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0 );
36429 SWIGINTERN PyObject
*_wrap_new_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36430 PyObject
*resultobj
= 0;
36431 unsigned int arg1
= (unsigned int) 0 ;
36432 wxDisplay
*result
= 0 ;
36433 unsigned int val1
;
36435 PyObject
* obj0
= 0 ;
36436 char * kwnames
[] = {
36437 (char *) "index", NULL
36440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) SWIG_fail
;
36442 ecode1
= SWIG_AsVal_unsigned_SS_int(obj0
, &val1
);
36443 if (!SWIG_IsOK(ecode1
)) {
36444 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Display" "', expected argument " "1"" of type '" "unsigned int""'");
36446 arg1
= static_cast< unsigned int >(val1
);
36449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36450 result
= (wxDisplay
*)new wxDisplay(arg1
);
36451 wxPyEndAllowThreads(__tstate
);
36452 if (PyErr_Occurred()) SWIG_fail
;
36454 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDisplay
, SWIG_POINTER_NEW
| 0 );
36461 SWIGINTERN PyObject
*_wrap_delete_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36462 PyObject
*resultobj
= 0;
36463 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36466 PyObject
*swig_obj
[1] ;
36468 if (!args
) SWIG_fail
;
36469 swig_obj
[0] = args
;
36470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, SWIG_POINTER_DISOWN
| 0 );
36471 if (!SWIG_IsOK(res1
)) {
36472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Display" "', expected argument " "1"" of type '" "wxDisplay *""'");
36474 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36479 wxPyEndAllowThreads(__tstate
);
36480 if (PyErr_Occurred()) SWIG_fail
;
36482 resultobj
= SWIG_Py_Void();
36489 SWIGINTERN PyObject
*_wrap_Display_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36490 PyObject
*resultobj
= 0;
36491 unsigned int result
;
36493 if (!SWIG_Python_UnpackTuple(args
,"Display_GetCount",0,0,0)) SWIG_fail
;
36495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36496 result
= (unsigned int)wxDisplay::GetCount();
36497 wxPyEndAllowThreads(__tstate
);
36498 if (PyErr_Occurred()) SWIG_fail
;
36500 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
36507 SWIGINTERN PyObject
*_wrap_Display_GetFromPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36508 PyObject
*resultobj
= 0;
36509 wxPoint
*arg1
= 0 ;
36512 PyObject
* obj0
= 0 ;
36513 char * kwnames
[] = {
36514 (char *) "pt", NULL
36517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) SWIG_fail
;
36520 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
36523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36524 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
36525 wxPyEndAllowThreads(__tstate
);
36526 if (PyErr_Occurred()) SWIG_fail
;
36528 resultobj
= SWIG_From_int(static_cast< int >(result
));
36535 SWIGINTERN PyObject
*_wrap_Display_GetFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36536 PyObject
*resultobj
= 0;
36537 wxWindow
*arg1
= (wxWindow
*) 0 ;
36541 PyObject
* obj0
= 0 ;
36542 char * kwnames
[] = {
36543 (char *) "window", NULL
36546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) SWIG_fail
;
36547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36548 if (!SWIG_IsOK(res1
)) {
36549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetFromWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
36551 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36554 result
= (int)wxDisplay::GetFromWindow(arg1
);
36555 wxPyEndAllowThreads(__tstate
);
36556 if (PyErr_Occurred()) SWIG_fail
;
36558 resultobj
= SWIG_From_int(static_cast< int >(result
));
36565 SWIGINTERN PyObject
*_wrap_Display_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36566 PyObject
*resultobj
= 0;
36567 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36571 PyObject
*swig_obj
[1] ;
36573 if (!args
) SWIG_fail
;
36574 swig_obj
[0] = args
;
36575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36576 if (!SWIG_IsOK(res1
)) {
36577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsOk" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36579 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36582 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
36583 wxPyEndAllowThreads(__tstate
);
36584 if (PyErr_Occurred()) SWIG_fail
;
36587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36595 SWIGINTERN PyObject
*_wrap_Display_GetGeometry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36596 PyObject
*resultobj
= 0;
36597 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36601 PyObject
*swig_obj
[1] ;
36603 if (!args
) SWIG_fail
;
36604 swig_obj
[0] = args
;
36605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36606 if (!SWIG_IsOK(res1
)) {
36607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetGeometry" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36609 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36612 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
36613 wxPyEndAllowThreads(__tstate
);
36614 if (PyErr_Occurred()) SWIG_fail
;
36616 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
36623 SWIGINTERN PyObject
*_wrap_Display_GetClientArea(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36624 PyObject
*resultobj
= 0;
36625 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36629 PyObject
*swig_obj
[1] ;
36631 if (!args
) SWIG_fail
;
36632 swig_obj
[0] = args
;
36633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36634 if (!SWIG_IsOK(res1
)) {
36635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetClientArea" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36637 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36640 result
= ((wxDisplay
const *)arg1
)->GetClientArea();
36641 wxPyEndAllowThreads(__tstate
);
36642 if (PyErr_Occurred()) SWIG_fail
;
36644 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
36651 SWIGINTERN PyObject
*_wrap_Display_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36652 PyObject
*resultobj
= 0;
36653 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36657 PyObject
*swig_obj
[1] ;
36659 if (!args
) SWIG_fail
;
36660 swig_obj
[0] = args
;
36661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36662 if (!SWIG_IsOK(res1
)) {
36663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetName" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36665 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36668 result
= ((wxDisplay
const *)arg1
)->GetName();
36669 wxPyEndAllowThreads(__tstate
);
36670 if (PyErr_Occurred()) SWIG_fail
;
36674 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36676 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36685 SWIGINTERN PyObject
*_wrap_Display_IsPrimary(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36686 PyObject
*resultobj
= 0;
36687 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36691 PyObject
*swig_obj
[1] ;
36693 if (!args
) SWIG_fail
;
36694 swig_obj
[0] = args
;
36695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36696 if (!SWIG_IsOK(res1
)) {
36697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsPrimary" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36699 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36702 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
36703 wxPyEndAllowThreads(__tstate
);
36704 if (PyErr_Occurred()) SWIG_fail
;
36707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36715 SWIGINTERN PyObject
*_wrap_Display_GetModes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36716 PyObject
*resultobj
= 0;
36717 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36718 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
36719 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
36720 PyObject
*result
= 0 ;
36725 PyObject
* obj0
= 0 ;
36726 PyObject
* obj1
= 0 ;
36727 char * kwnames
[] = {
36728 (char *) "self",(char *) "mode", NULL
36731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36733 if (!SWIG_IsOK(res1
)) {
36734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetModes" "', expected argument " "1"" of type '" "wxDisplay *""'");
36736 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36738 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
36739 if (!SWIG_IsOK(res2
)) {
36740 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36743 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36745 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36749 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
36750 wxPyEndAllowThreads(__tstate
);
36751 if (PyErr_Occurred()) SWIG_fail
;
36753 resultobj
= result
;
36760 SWIGINTERN PyObject
*_wrap_Display_GetCurrentMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36761 PyObject
*resultobj
= 0;
36762 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36763 wxVideoMode result
;
36766 PyObject
*swig_obj
[1] ;
36768 if (!args
) SWIG_fail
;
36769 swig_obj
[0] = args
;
36770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36771 if (!SWIG_IsOK(res1
)) {
36772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetCurrentMode" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36774 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36777 result
= wxDisplay_GetCurrentMode((wxDisplay
const *)arg1
);
36778 wxPyEndAllowThreads(__tstate
);
36779 if (PyErr_Occurred()) SWIG_fail
;
36781 resultobj
= SWIG_NewPointerObj((new wxVideoMode(static_cast< const wxVideoMode
& >(result
))), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_OWN
| 0 );
36788 SWIGINTERN PyObject
*_wrap_Display_ChangeMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36789 PyObject
*resultobj
= 0;
36790 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36791 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
36792 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
36798 PyObject
* obj0
= 0 ;
36799 PyObject
* obj1
= 0 ;
36800 char * kwnames
[] = {
36801 (char *) "self",(char *) "mode", NULL
36804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36806 if (!SWIG_IsOK(res1
)) {
36807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ChangeMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
36809 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36811 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
36812 if (!SWIG_IsOK(res2
)) {
36813 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36816 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36818 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36822 result
= (bool)wxDisplay_ChangeMode(arg1
,(wxVideoMode
const &)*arg2
);
36823 wxPyEndAllowThreads(__tstate
);
36824 if (PyErr_Occurred()) SWIG_fail
;
36827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36835 SWIGINTERN PyObject
*_wrap_Display_ResetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36836 PyObject
*resultobj
= 0;
36837 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36840 PyObject
*swig_obj
[1] ;
36842 if (!args
) SWIG_fail
;
36843 swig_obj
[0] = args
;
36844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36845 if (!SWIG_IsOK(res1
)) {
36846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ResetMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
36848 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36851 wxDisplay_ResetMode(arg1
);
36852 wxPyEndAllowThreads(__tstate
);
36853 if (PyErr_Occurred()) SWIG_fail
;
36855 resultobj
= SWIG_Py_Void();
36862 SWIGINTERN PyObject
*Display_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36864 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36865 SWIG_TypeNewClientData(SWIGTYPE_p_wxDisplay
, SWIG_NewClientData(obj
));
36866 return SWIG_Py_Void();
36869 SWIGINTERN PyObject
*Display_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36870 return SWIG_Python_InitShadowInstance(args
);
36873 SWIGINTERN PyObject
*_wrap_StandardPaths_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36874 PyObject
*resultobj
= 0;
36875 wxStandardPaths
*result
= 0 ;
36877 if (!SWIG_Python_UnpackTuple(args
,"StandardPaths_Get",0,0,0)) SWIG_fail
;
36879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36880 result
= (wxStandardPaths
*)wxStandardPaths_Get();
36881 wxPyEndAllowThreads(__tstate
);
36882 if (PyErr_Occurred()) SWIG_fail
;
36884 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36891 SWIGINTERN PyObject
*_wrap_StandardPaths_GetExecutablePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36892 PyObject
*resultobj
= 0;
36893 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36897 PyObject
*swig_obj
[1] ;
36899 if (!args
) SWIG_fail
;
36900 swig_obj
[0] = args
;
36901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36902 if (!SWIG_IsOK(res1
)) {
36903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetExecutablePath" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36905 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36908 result
= ((wxStandardPaths
const *)arg1
)->GetExecutablePath();
36909 wxPyEndAllowThreads(__tstate
);
36910 if (PyErr_Occurred()) SWIG_fail
;
36914 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36916 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36925 SWIGINTERN PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36926 PyObject
*resultobj
= 0;
36927 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36931 PyObject
*swig_obj
[1] ;
36933 if (!args
) SWIG_fail
;
36934 swig_obj
[0] = args
;
36935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36936 if (!SWIG_IsOK(res1
)) {
36937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36939 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36942 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
36943 wxPyEndAllowThreads(__tstate
);
36944 if (PyErr_Occurred()) SWIG_fail
;
36948 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36950 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36959 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36960 PyObject
*resultobj
= 0;
36961 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36965 PyObject
*swig_obj
[1] ;
36967 if (!args
) SWIG_fail
;
36968 swig_obj
[0] = args
;
36969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36970 if (!SWIG_IsOK(res1
)) {
36971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36973 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36976 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
36977 wxPyEndAllowThreads(__tstate
);
36978 if (PyErr_Occurred()) SWIG_fail
;
36982 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36984 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36993 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36994 PyObject
*resultobj
= 0;
36995 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36999 PyObject
*swig_obj
[1] ;
37001 if (!args
) SWIG_fail
;
37002 swig_obj
[0] = args
;
37003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37004 if (!SWIG_IsOK(res1
)) {
37005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37007 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37010 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
37011 wxPyEndAllowThreads(__tstate
);
37012 if (PyErr_Occurred()) SWIG_fail
;
37016 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37018 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37027 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37028 PyObject
*resultobj
= 0;
37029 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37033 PyObject
*swig_obj
[1] ;
37035 if (!args
) SWIG_fail
;
37036 swig_obj
[0] = args
;
37037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37038 if (!SWIG_IsOK(res1
)) {
37039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37041 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37044 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
37045 wxPyEndAllowThreads(__tstate
);
37046 if (PyErr_Occurred()) SWIG_fail
;
37050 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37052 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37061 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37062 PyObject
*resultobj
= 0;
37063 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37067 PyObject
*swig_obj
[1] ;
37069 if (!args
) SWIG_fail
;
37070 swig_obj
[0] = args
;
37071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37072 if (!SWIG_IsOK(res1
)) {
37073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37075 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37078 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
37079 wxPyEndAllowThreads(__tstate
);
37080 if (PyErr_Occurred()) SWIG_fail
;
37084 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37086 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37095 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37096 PyObject
*resultobj
= 0;
37097 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37101 PyObject
*swig_obj
[1] ;
37103 if (!args
) SWIG_fail
;
37104 swig_obj
[0] = args
;
37105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37106 if (!SWIG_IsOK(res1
)) {
37107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37109 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37112 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
37113 wxPyEndAllowThreads(__tstate
);
37114 if (PyErr_Occurred()) SWIG_fail
;
37118 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37120 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37129 SWIGINTERN PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37130 PyObject
*resultobj
= 0;
37131 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37135 PyObject
*swig_obj
[1] ;
37137 if (!args
) SWIG_fail
;
37138 swig_obj
[0] = args
;
37139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37140 if (!SWIG_IsOK(res1
)) {
37141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetPluginsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37143 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37146 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
37147 wxPyEndAllowThreads(__tstate
);
37148 if (PyErr_Occurred()) SWIG_fail
;
37152 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37154 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37163 SWIGINTERN PyObject
*_wrap_StandardPaths_GetResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37164 PyObject
*resultobj
= 0;
37165 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37169 PyObject
*swig_obj
[1] ;
37171 if (!args
) SWIG_fail
;
37172 swig_obj
[0] = args
;
37173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37174 if (!SWIG_IsOK(res1
)) {
37175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37177 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37180 result
= ((wxStandardPaths
const *)arg1
)->GetResourcesDir();
37181 wxPyEndAllowThreads(__tstate
);
37182 if (PyErr_Occurred()) SWIG_fail
;
37186 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37188 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37197 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalizedResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37198 PyObject
*resultobj
= 0;
37199 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37200 wxString
*arg2
= 0 ;
37201 wxStandardPaths::ResourceCat arg3
= (wxStandardPaths::ResourceCat
) wxStandardPaths::ResourceCat_None
;
37205 bool temp2
= false ;
37208 PyObject
* obj0
= 0 ;
37209 PyObject
* obj1
= 0 ;
37210 PyObject
* obj2
= 0 ;
37211 char * kwnames
[] = {
37212 (char *) "self",(char *) "lang",(char *) "category", NULL
37215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StandardPaths_GetLocalizedResourcesDir",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37217 if (!SWIG_IsOK(res1
)) {
37218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37220 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37222 arg2
= wxString_in_helper(obj1
);
37223 if (arg2
== NULL
) SWIG_fail
;
37227 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37228 if (!SWIG_IsOK(ecode3
)) {
37229 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "3"" of type '" "wxStandardPaths::ResourceCat""'");
37231 arg3
= static_cast< wxStandardPaths::ResourceCat
>(val3
);
37234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37235 result
= ((wxStandardPaths
const *)arg1
)->GetLocalizedResourcesDir((wxString
const &)*arg2
,arg3
);
37236 wxPyEndAllowThreads(__tstate
);
37237 if (PyErr_Occurred()) SWIG_fail
;
37241 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37243 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37260 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDocumentsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37261 PyObject
*resultobj
= 0;
37262 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37266 PyObject
*swig_obj
[1] ;
37268 if (!args
) SWIG_fail
;
37269 swig_obj
[0] = args
;
37270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37271 if (!SWIG_IsOK(res1
)) {
37272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDocumentsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37274 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37277 result
= ((wxStandardPaths
const *)arg1
)->GetDocumentsDir();
37278 wxPyEndAllowThreads(__tstate
);
37279 if (PyErr_Occurred()) SWIG_fail
;
37283 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37285 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37294 SWIGINTERN PyObject
*_wrap_StandardPaths_GetTempDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37295 PyObject
*resultobj
= 0;
37296 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37300 PyObject
*swig_obj
[1] ;
37302 if (!args
) SWIG_fail
;
37303 swig_obj
[0] = args
;
37304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37305 if (!SWIG_IsOK(res1
)) {
37306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetTempDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37308 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37311 result
= ((wxStandardPaths
const *)arg1
)->GetTempDir();
37312 wxPyEndAllowThreads(__tstate
);
37313 if (PyErr_Occurred()) SWIG_fail
;
37317 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37319 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37328 SWIGINTERN PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37329 PyObject
*resultobj
= 0;
37330 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37331 wxString
*arg2
= 0 ;
37334 bool temp2
= false ;
37335 PyObject
* obj0
= 0 ;
37336 PyObject
* obj1
= 0 ;
37337 char * kwnames
[] = {
37338 (char *) "self",(char *) "prefix", NULL
37341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37343 if (!SWIG_IsOK(res1
)) {
37344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_SetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths *""'");
37346 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37348 arg2
= wxString_in_helper(obj1
);
37349 if (arg2
== NULL
) SWIG_fail
;
37353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37354 (arg1
)->SetInstallPrefix((wxString
const &)*arg2
);
37355 wxPyEndAllowThreads(__tstate
);
37356 if (PyErr_Occurred()) SWIG_fail
;
37358 resultobj
= SWIG_Py_Void();
37373 SWIGINTERN PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37374 PyObject
*resultobj
= 0;
37375 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37379 PyObject
*swig_obj
[1] ;
37381 if (!args
) SWIG_fail
;
37382 swig_obj
[0] = args
;
37383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37384 if (!SWIG_IsOK(res1
)) {
37385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37387 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37390 result
= ((wxStandardPaths
const *)arg1
)->GetInstallPrefix();
37391 wxPyEndAllowThreads(__tstate
);
37392 if (PyErr_Occurred()) SWIG_fail
;
37396 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37398 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37407 SWIGINTERN PyObject
*StandardPaths_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37409 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37410 SWIG_TypeNewClientData(SWIGTYPE_p_wxStandardPaths
, SWIG_NewClientData(obj
));
37411 return SWIG_Py_Void();
37414 SWIGINTERN PyObject
*_wrap_new_PowerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37415 PyObject
*resultobj
= 0;
37417 wxPowerEvent
*result
= 0 ;
37420 PyObject
* obj0
= 0 ;
37421 char * kwnames
[] = {
37422 (char *) "evtType", NULL
37425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PowerEvent",kwnames
,&obj0
)) SWIG_fail
;
37426 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37427 if (!SWIG_IsOK(ecode1
)) {
37428 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PowerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
37430 arg1
= static_cast< wxEventType
>(val1
);
37432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37433 result
= (wxPowerEvent
*)new wxPowerEvent(arg1
);
37434 wxPyEndAllowThreads(__tstate
);
37435 if (PyErr_Occurred()) SWIG_fail
;
37437 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPowerEvent
, SWIG_POINTER_NEW
| 0 );
37444 SWIGINTERN PyObject
*_wrap_PowerEvent_Veto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37445 PyObject
*resultobj
= 0;
37446 wxPowerEvent
*arg1
= (wxPowerEvent
*) 0 ;
37449 PyObject
*swig_obj
[1] ;
37451 if (!args
) SWIG_fail
;
37452 swig_obj
[0] = args
;
37453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPowerEvent
, 0 | 0 );
37454 if (!SWIG_IsOK(res1
)) {
37455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PowerEvent_Veto" "', expected argument " "1"" of type '" "wxPowerEvent *""'");
37457 arg1
= reinterpret_cast< wxPowerEvent
* >(argp1
);
37459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37461 wxPyEndAllowThreads(__tstate
);
37462 if (PyErr_Occurred()) SWIG_fail
;
37464 resultobj
= SWIG_Py_Void();
37471 SWIGINTERN PyObject
*_wrap_PowerEvent_IsVetoed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37472 PyObject
*resultobj
= 0;
37473 wxPowerEvent
*arg1
= (wxPowerEvent
*) 0 ;
37477 PyObject
*swig_obj
[1] ;
37479 if (!args
) SWIG_fail
;
37480 swig_obj
[0] = args
;
37481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPowerEvent
, 0 | 0 );
37482 if (!SWIG_IsOK(res1
)) {
37483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PowerEvent_IsVetoed" "', expected argument " "1"" of type '" "wxPowerEvent const *""'");
37485 arg1
= reinterpret_cast< wxPowerEvent
* >(argp1
);
37487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37488 result
= (bool)((wxPowerEvent
const *)arg1
)->IsVetoed();
37489 wxPyEndAllowThreads(__tstate
);
37490 if (PyErr_Occurred()) SWIG_fail
;
37493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37501 SWIGINTERN PyObject
*PowerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37503 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37504 SWIG_TypeNewClientData(SWIGTYPE_p_wxPowerEvent
, SWIG_NewClientData(obj
));
37505 return SWIG_Py_Void();
37508 SWIGINTERN PyObject
*PowerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37509 return SWIG_Python_InitShadowInstance(args
);
37512 SWIGINTERN PyObject
*_wrap_GetPowerType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37513 PyObject
*resultobj
= 0;
37514 wxPowerType result
;
37516 if (!SWIG_Python_UnpackTuple(args
,"GetPowerType",0,0,0)) SWIG_fail
;
37518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37519 result
= (wxPowerType
)wxGetPowerType();
37520 wxPyEndAllowThreads(__tstate
);
37521 if (PyErr_Occurred()) SWIG_fail
;
37523 resultobj
= SWIG_From_int(static_cast< int >(result
));
37530 SWIGINTERN PyObject
*_wrap_GetBatteryState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37531 PyObject
*resultobj
= 0;
37532 wxBatteryState result
;
37534 if (!SWIG_Python_UnpackTuple(args
,"GetBatteryState",0,0,0)) SWIG_fail
;
37536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37537 result
= (wxBatteryState
)wxGetBatteryState();
37538 wxPyEndAllowThreads(__tstate
);
37539 if (PyErr_Occurred()) SWIG_fail
;
37541 resultobj
= SWIG_From_int(static_cast< int >(result
));
37548 SWIGINTERN PyObject
*_wrap_new_AboutDialogInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37549 PyObject
*resultobj
= 0;
37550 wxAboutDialogInfo
*result
= 0 ;
37552 if (!SWIG_Python_UnpackTuple(args
,"new_AboutDialogInfo",0,0,0)) SWIG_fail
;
37554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37555 result
= (wxAboutDialogInfo
*)new wxAboutDialogInfo();
37556 wxPyEndAllowThreads(__tstate
);
37557 if (PyErr_Occurred()) SWIG_fail
;
37559 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAboutDialogInfo
, SWIG_POINTER_NEW
| 0 );
37566 SWIGINTERN PyObject
*_wrap_delete_AboutDialogInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37567 PyObject
*resultobj
= 0;
37568 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37571 PyObject
*swig_obj
[1] ;
37573 if (!args
) SWIG_fail
;
37574 swig_obj
[0] = args
;
37575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, SWIG_POINTER_DISOWN
| 0 );
37576 if (!SWIG_IsOK(res1
)) {
37577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AboutDialogInfo" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
37579 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37584 wxPyEndAllowThreads(__tstate
);
37585 if (PyErr_Occurred()) SWIG_fail
;
37587 resultobj
= SWIG_Py_Void();
37594 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37595 PyObject
*resultobj
= 0;
37596 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37597 wxString
*arg2
= 0 ;
37600 bool temp2
= false ;
37601 PyObject
* obj0
= 0 ;
37602 PyObject
* obj1
= 0 ;
37603 char * kwnames
[] = {
37604 (char *) "self",(char *) "name", NULL
37607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37609 if (!SWIG_IsOK(res1
)) {
37610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetName" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
37612 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37614 arg2
= wxString_in_helper(obj1
);
37615 if (arg2
== NULL
) SWIG_fail
;
37619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37620 (arg1
)->SetName((wxString
const &)*arg2
);
37621 wxPyEndAllowThreads(__tstate
);
37622 if (PyErr_Occurred()) SWIG_fail
;
37624 resultobj
= SWIG_Py_Void();
37639 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37640 PyObject
*resultobj
= 0;
37641 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37645 PyObject
*swig_obj
[1] ;
37647 if (!args
) SWIG_fail
;
37648 swig_obj
[0] = args
;
37649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37650 if (!SWIG_IsOK(res1
)) {
37651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetName" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37653 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37656 result
= ((wxAboutDialogInfo
const *)arg1
)->GetName();
37657 wxPyEndAllowThreads(__tstate
);
37658 if (PyErr_Occurred()) SWIG_fail
;
37662 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37664 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37673 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37674 PyObject
*resultobj
= 0;
37675 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37676 wxString
*arg2
= 0 ;
37679 bool temp2
= false ;
37680 PyObject
* obj0
= 0 ;
37681 PyObject
* obj1
= 0 ;
37682 char * kwnames
[] = {
37683 (char *) "self",(char *) "version", NULL
37686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37688 if (!SWIG_IsOK(res1
)) {
37689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetVersion" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
37691 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37693 arg2
= wxString_in_helper(obj1
);
37694 if (arg2
== NULL
) SWIG_fail
;
37698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37699 (arg1
)->SetVersion((wxString
const &)*arg2
);
37700 wxPyEndAllowThreads(__tstate
);
37701 if (PyErr_Occurred()) SWIG_fail
;
37703 resultobj
= SWIG_Py_Void();
37718 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37719 PyObject
*resultobj
= 0;
37720 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37724 PyObject
*swig_obj
[1] ;
37726 if (!args
) SWIG_fail
;
37727 swig_obj
[0] = args
;
37728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37729 if (!SWIG_IsOK(res1
)) {
37730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasVersion" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37732 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37735 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasVersion();
37736 wxPyEndAllowThreads(__tstate
);
37737 if (PyErr_Occurred()) SWIG_fail
;
37740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37748 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37749 PyObject
*resultobj
= 0;
37750 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37754 PyObject
*swig_obj
[1] ;
37756 if (!args
) SWIG_fail
;
37757 swig_obj
[0] = args
;
37758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37759 if (!SWIG_IsOK(res1
)) {
37760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetVersion" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37762 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37765 result
= ((wxAboutDialogInfo
const *)arg1
)->GetVersion();
37766 wxPyEndAllowThreads(__tstate
);
37767 if (PyErr_Occurred()) SWIG_fail
;
37771 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37773 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37782 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37783 PyObject
*resultobj
= 0;
37784 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37785 wxString
*arg2
= 0 ;
37788 bool temp2
= false ;
37789 PyObject
* obj0
= 0 ;
37790 PyObject
* obj1
= 0 ;
37791 char * kwnames
[] = {
37792 (char *) "self",(char *) "desc", NULL
37795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetDescription",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37797 if (!SWIG_IsOK(res1
)) {
37798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetDescription" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
37800 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37802 arg2
= wxString_in_helper(obj1
);
37803 if (arg2
== NULL
) SWIG_fail
;
37807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37808 (arg1
)->SetDescription((wxString
const &)*arg2
);
37809 wxPyEndAllowThreads(__tstate
);
37810 if (PyErr_Occurred()) SWIG_fail
;
37812 resultobj
= SWIG_Py_Void();
37827 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37828 PyObject
*resultobj
= 0;
37829 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37833 PyObject
*swig_obj
[1] ;
37835 if (!args
) SWIG_fail
;
37836 swig_obj
[0] = args
;
37837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37838 if (!SWIG_IsOK(res1
)) {
37839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasDescription" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37841 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37844 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasDescription();
37845 wxPyEndAllowThreads(__tstate
);
37846 if (PyErr_Occurred()) SWIG_fail
;
37849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37857 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37858 PyObject
*resultobj
= 0;
37859 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37863 PyObject
*swig_obj
[1] ;
37865 if (!args
) SWIG_fail
;
37866 swig_obj
[0] = args
;
37867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37868 if (!SWIG_IsOK(res1
)) {
37869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetDescription" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37871 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37874 result
= ((wxAboutDialogInfo
const *)arg1
)->GetDescription();
37875 wxPyEndAllowThreads(__tstate
);
37876 if (PyErr_Occurred()) SWIG_fail
;
37880 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37882 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37891 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetCopyright(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37892 PyObject
*resultobj
= 0;
37893 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37894 wxString
*arg2
= 0 ;
37897 bool temp2
= false ;
37898 PyObject
* obj0
= 0 ;
37899 PyObject
* obj1
= 0 ;
37900 char * kwnames
[] = {
37901 (char *) "self",(char *) "copyright", NULL
37904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetCopyright",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37906 if (!SWIG_IsOK(res1
)) {
37907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetCopyright" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
37909 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37911 arg2
= wxString_in_helper(obj1
);
37912 if (arg2
== NULL
) SWIG_fail
;
37916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37917 (arg1
)->SetCopyright((wxString
const &)*arg2
);
37918 wxPyEndAllowThreads(__tstate
);
37919 if (PyErr_Occurred()) SWIG_fail
;
37921 resultobj
= SWIG_Py_Void();
37936 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasCopyright(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37937 PyObject
*resultobj
= 0;
37938 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37942 PyObject
*swig_obj
[1] ;
37944 if (!args
) SWIG_fail
;
37945 swig_obj
[0] = args
;
37946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37947 if (!SWIG_IsOK(res1
)) {
37948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasCopyright" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37950 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37953 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasCopyright();
37954 wxPyEndAllowThreads(__tstate
);
37955 if (PyErr_Occurred()) SWIG_fail
;
37958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37966 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetCopyright(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37967 PyObject
*resultobj
= 0;
37968 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37972 PyObject
*swig_obj
[1] ;
37974 if (!args
) SWIG_fail
;
37975 swig_obj
[0] = args
;
37976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37977 if (!SWIG_IsOK(res1
)) {
37978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetCopyright" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37980 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37983 result
= ((wxAboutDialogInfo
const *)arg1
)->GetCopyright();
37984 wxPyEndAllowThreads(__tstate
);
37985 if (PyErr_Occurred()) SWIG_fail
;
37989 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37991 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38000 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetLicence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38001 PyObject
*resultobj
= 0;
38002 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38003 wxString
*arg2
= 0 ;
38006 bool temp2
= false ;
38007 PyObject
* obj0
= 0 ;
38008 PyObject
* obj1
= 0 ;
38009 char * kwnames
[] = {
38010 (char *) "self",(char *) "licence", NULL
38013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetLicence",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38015 if (!SWIG_IsOK(res1
)) {
38016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetLicence" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38018 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38020 arg2
= wxString_in_helper(obj1
);
38021 if (arg2
== NULL
) SWIG_fail
;
38025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38026 (arg1
)->SetLicence((wxString
const &)*arg2
);
38027 wxPyEndAllowThreads(__tstate
);
38028 if (PyErr_Occurred()) SWIG_fail
;
38030 resultobj
= SWIG_Py_Void();
38045 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetLicense(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38046 PyObject
*resultobj
= 0;
38047 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38048 wxString
*arg2
= 0 ;
38051 bool temp2
= false ;
38052 PyObject
* obj0
= 0 ;
38053 PyObject
* obj1
= 0 ;
38054 char * kwnames
[] = {
38055 (char *) "self",(char *) "licence", NULL
38058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetLicense",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38060 if (!SWIG_IsOK(res1
)) {
38061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetLicense" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38063 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38065 arg2
= wxString_in_helper(obj1
);
38066 if (arg2
== NULL
) SWIG_fail
;
38070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38071 (arg1
)->SetLicense((wxString
const &)*arg2
);
38072 wxPyEndAllowThreads(__tstate
);
38073 if (PyErr_Occurred()) SWIG_fail
;
38075 resultobj
= SWIG_Py_Void();
38090 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasLicence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38091 PyObject
*resultobj
= 0;
38092 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38096 PyObject
*swig_obj
[1] ;
38098 if (!args
) SWIG_fail
;
38099 swig_obj
[0] = args
;
38100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38101 if (!SWIG_IsOK(res1
)) {
38102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasLicence" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38104 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38107 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasLicence();
38108 wxPyEndAllowThreads(__tstate
);
38109 if (PyErr_Occurred()) SWIG_fail
;
38112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38120 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetLicence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38121 PyObject
*resultobj
= 0;
38122 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38126 PyObject
*swig_obj
[1] ;
38128 if (!args
) SWIG_fail
;
38129 swig_obj
[0] = args
;
38130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38131 if (!SWIG_IsOK(res1
)) {
38132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetLicence" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38134 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38137 result
= ((wxAboutDialogInfo
const *)arg1
)->GetLicence();
38138 wxPyEndAllowThreads(__tstate
);
38139 if (PyErr_Occurred()) SWIG_fail
;
38143 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38145 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38154 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38155 PyObject
*resultobj
= 0;
38156 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38162 PyObject
* obj0
= 0 ;
38163 PyObject
* obj1
= 0 ;
38164 char * kwnames
[] = {
38165 (char *) "self",(char *) "icon", NULL
38168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38170 if (!SWIG_IsOK(res1
)) {
38171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetIcon" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38173 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38174 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
38175 if (!SWIG_IsOK(res2
)) {
38176 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AboutDialogInfo_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
38179 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AboutDialogInfo_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
38181 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
38183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38184 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
38185 wxPyEndAllowThreads(__tstate
);
38186 if (PyErr_Occurred()) SWIG_fail
;
38188 resultobj
= SWIG_Py_Void();
38195 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38196 PyObject
*resultobj
= 0;
38197 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38201 PyObject
*swig_obj
[1] ;
38203 if (!args
) SWIG_fail
;
38204 swig_obj
[0] = args
;
38205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38206 if (!SWIG_IsOK(res1
)) {
38207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasIcon" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38209 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38212 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasIcon();
38213 wxPyEndAllowThreads(__tstate
);
38214 if (PyErr_Occurred()) SWIG_fail
;
38217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38225 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38226 PyObject
*resultobj
= 0;
38227 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38231 PyObject
*swig_obj
[1] ;
38233 if (!args
) SWIG_fail
;
38234 swig_obj
[0] = args
;
38235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38236 if (!SWIG_IsOK(res1
)) {
38237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetIcon" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38239 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38242 result
= ((wxAboutDialogInfo
const *)arg1
)->GetIcon();
38243 wxPyEndAllowThreads(__tstate
);
38244 if (PyErr_Occurred()) SWIG_fail
;
38246 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
38253 SWIGINTERN PyObject
*_wrap_AboutDialogInfo__SetWebSite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38254 PyObject
*resultobj
= 0;
38255 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38256 wxString
*arg2
= 0 ;
38257 wxString
const &arg3_defvalue
= wxEmptyString
;
38258 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
38261 bool temp2
= false ;
38262 bool temp3
= false ;
38263 PyObject
* obj0
= 0 ;
38264 PyObject
* obj1
= 0 ;
38265 PyObject
* obj2
= 0 ;
38266 char * kwnames
[] = {
38267 (char *) "self",(char *) "url",(char *) "desc", NULL
38270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:AboutDialogInfo__SetWebSite",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38272 if (!SWIG_IsOK(res1
)) {
38273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo__SetWebSite" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38275 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38277 arg2
= wxString_in_helper(obj1
);
38278 if (arg2
== NULL
) SWIG_fail
;
38283 arg3
= wxString_in_helper(obj2
);
38284 if (arg3
== NULL
) SWIG_fail
;
38289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38290 (arg1
)->SetWebSite((wxString
const &)*arg2
,(wxString
const &)*arg3
);
38291 wxPyEndAllowThreads(__tstate
);
38292 if (PyErr_Occurred()) SWIG_fail
;
38294 resultobj
= SWIG_Py_Void();
38317 SWIGINTERN PyObject
*_wrap_AboutDialogInfo__GetWebSiteURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38318 PyObject
*resultobj
= 0;
38319 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38323 PyObject
*swig_obj
[1] ;
38325 if (!args
) SWIG_fail
;
38326 swig_obj
[0] = args
;
38327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38328 if (!SWIG_IsOK(res1
)) {
38329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo__GetWebSiteURL" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38331 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38334 result
= ((wxAboutDialogInfo
const *)arg1
)->GetWebSiteURL();
38335 wxPyEndAllowThreads(__tstate
);
38336 if (PyErr_Occurred()) SWIG_fail
;
38340 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38342 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38351 SWIGINTERN PyObject
*_wrap_AboutDialogInfo__GetWebSiteDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38352 PyObject
*resultobj
= 0;
38353 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38357 PyObject
*swig_obj
[1] ;
38359 if (!args
) SWIG_fail
;
38360 swig_obj
[0] = args
;
38361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38362 if (!SWIG_IsOK(res1
)) {
38363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo__GetWebSiteDescription" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38365 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38368 result
= ((wxAboutDialogInfo
const *)arg1
)->GetWebSiteDescription();
38369 wxPyEndAllowThreads(__tstate
);
38370 if (PyErr_Occurred()) SWIG_fail
;
38374 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38376 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38385 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasWebSite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38386 PyObject
*resultobj
= 0;
38387 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38391 PyObject
*swig_obj
[1] ;
38393 if (!args
) SWIG_fail
;
38394 swig_obj
[0] = args
;
38395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38396 if (!SWIG_IsOK(res1
)) {
38397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasWebSite" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38399 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38402 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasWebSite();
38403 wxPyEndAllowThreads(__tstate
);
38404 if (PyErr_Occurred()) SWIG_fail
;
38407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38415 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetDevelopers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38416 PyObject
*resultobj
= 0;
38417 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38418 wxArrayString
*arg2
= 0 ;
38421 bool temp2
= false ;
38422 PyObject
* obj0
= 0 ;
38423 PyObject
* obj1
= 0 ;
38424 char * kwnames
[] = {
38425 (char *) "self",(char *) "developers", NULL
38428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetDevelopers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38430 if (!SWIG_IsOK(res1
)) {
38431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetDevelopers" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38433 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38435 if (! PySequence_Check(obj1
)) {
38436 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
38439 arg2
= new wxArrayString
;
38441 int i
, len
=PySequence_Length(obj1
);
38442 for (i
=0; i
<len
; i
++) {
38443 PyObject
* item
= PySequence_GetItem(obj1
, i
);
38444 wxString
* s
= wxString_in_helper(item
);
38445 if (PyErr_Occurred()) SWIG_fail
;
38452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38453 (arg1
)->SetDevelopers((wxArrayString
const &)*arg2
);
38454 wxPyEndAllowThreads(__tstate
);
38455 if (PyErr_Occurred()) SWIG_fail
;
38457 resultobj
= SWIG_Py_Void();
38459 if (temp2
) delete arg2
;
38464 if (temp2
) delete arg2
;
38470 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_AddDeveloper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38471 PyObject
*resultobj
= 0;
38472 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38473 wxString
*arg2
= 0 ;
38476 bool temp2
= false ;
38477 PyObject
* obj0
= 0 ;
38478 PyObject
* obj1
= 0 ;
38479 char * kwnames
[] = {
38480 (char *) "self",(char *) "developer", NULL
38483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_AddDeveloper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38485 if (!SWIG_IsOK(res1
)) {
38486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_AddDeveloper" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38488 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38490 arg2
= wxString_in_helper(obj1
);
38491 if (arg2
== NULL
) SWIG_fail
;
38495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38496 (arg1
)->AddDeveloper((wxString
const &)*arg2
);
38497 wxPyEndAllowThreads(__tstate
);
38498 if (PyErr_Occurred()) SWIG_fail
;
38500 resultobj
= SWIG_Py_Void();
38515 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasDevelopers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38516 PyObject
*resultobj
= 0;
38517 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38521 PyObject
*swig_obj
[1] ;
38523 if (!args
) SWIG_fail
;
38524 swig_obj
[0] = args
;
38525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38526 if (!SWIG_IsOK(res1
)) {
38527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasDevelopers" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38529 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38532 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasDevelopers();
38533 wxPyEndAllowThreads(__tstate
);
38534 if (PyErr_Occurred()) SWIG_fail
;
38537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38545 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetDevelopers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38546 PyObject
*resultobj
= 0;
38547 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38548 wxArrayString
*result
= 0 ;
38551 PyObject
*swig_obj
[1] ;
38553 if (!args
) SWIG_fail
;
38554 swig_obj
[0] = args
;
38555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38556 if (!SWIG_IsOK(res1
)) {
38557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetDevelopers" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38559 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38563 wxArrayString
const &_result_ref
= ((wxAboutDialogInfo
const *)arg1
)->GetDevelopers();
38564 result
= (wxArrayString
*) &_result_ref
;
38566 wxPyEndAllowThreads(__tstate
);
38567 if (PyErr_Occurred()) SWIG_fail
;
38570 resultobj
= wxArrayString2PyList_helper(*result
);
38578 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetDocWriters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38579 PyObject
*resultobj
= 0;
38580 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38581 wxArrayString
*arg2
= 0 ;
38584 bool temp2
= false ;
38585 PyObject
* obj0
= 0 ;
38586 PyObject
* obj1
= 0 ;
38587 char * kwnames
[] = {
38588 (char *) "self",(char *) "docwriters", NULL
38591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetDocWriters",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38593 if (!SWIG_IsOK(res1
)) {
38594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetDocWriters" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38596 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38598 if (! PySequence_Check(obj1
)) {
38599 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
38602 arg2
= new wxArrayString
;
38604 int i
, len
=PySequence_Length(obj1
);
38605 for (i
=0; i
<len
; i
++) {
38606 PyObject
* item
= PySequence_GetItem(obj1
, i
);
38607 wxString
* s
= wxString_in_helper(item
);
38608 if (PyErr_Occurred()) SWIG_fail
;
38615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38616 (arg1
)->SetDocWriters((wxArrayString
const &)*arg2
);
38617 wxPyEndAllowThreads(__tstate
);
38618 if (PyErr_Occurred()) SWIG_fail
;
38620 resultobj
= SWIG_Py_Void();
38622 if (temp2
) delete arg2
;
38627 if (temp2
) delete arg2
;
38633 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_AddDocWriter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38634 PyObject
*resultobj
= 0;
38635 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38636 wxString
*arg2
= 0 ;
38639 bool temp2
= false ;
38640 PyObject
* obj0
= 0 ;
38641 PyObject
* obj1
= 0 ;
38642 char * kwnames
[] = {
38643 (char *) "self",(char *) "docwriter", NULL
38646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_AddDocWriter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38648 if (!SWIG_IsOK(res1
)) {
38649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_AddDocWriter" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38651 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38653 arg2
= wxString_in_helper(obj1
);
38654 if (arg2
== NULL
) SWIG_fail
;
38658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38659 (arg1
)->AddDocWriter((wxString
const &)*arg2
);
38660 wxPyEndAllowThreads(__tstate
);
38661 if (PyErr_Occurred()) SWIG_fail
;
38663 resultobj
= SWIG_Py_Void();
38678 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasDocWriters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38679 PyObject
*resultobj
= 0;
38680 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38684 PyObject
*swig_obj
[1] ;
38686 if (!args
) SWIG_fail
;
38687 swig_obj
[0] = args
;
38688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38689 if (!SWIG_IsOK(res1
)) {
38690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasDocWriters" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38692 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38695 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasDocWriters();
38696 wxPyEndAllowThreads(__tstate
);
38697 if (PyErr_Occurred()) SWIG_fail
;
38700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38708 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetDocWriters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38709 PyObject
*resultobj
= 0;
38710 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38711 wxArrayString
*result
= 0 ;
38714 PyObject
*swig_obj
[1] ;
38716 if (!args
) SWIG_fail
;
38717 swig_obj
[0] = args
;
38718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38719 if (!SWIG_IsOK(res1
)) {
38720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetDocWriters" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38722 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38726 wxArrayString
const &_result_ref
= ((wxAboutDialogInfo
const *)arg1
)->GetDocWriters();
38727 result
= (wxArrayString
*) &_result_ref
;
38729 wxPyEndAllowThreads(__tstate
);
38730 if (PyErr_Occurred()) SWIG_fail
;
38733 resultobj
= wxArrayString2PyList_helper(*result
);
38741 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetArtists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38742 PyObject
*resultobj
= 0;
38743 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38744 wxArrayString
*arg2
= 0 ;
38747 bool temp2
= false ;
38748 PyObject
* obj0
= 0 ;
38749 PyObject
* obj1
= 0 ;
38750 char * kwnames
[] = {
38751 (char *) "self",(char *) "artists", NULL
38754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetArtists",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38756 if (!SWIG_IsOK(res1
)) {
38757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetArtists" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38759 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38761 if (! PySequence_Check(obj1
)) {
38762 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
38765 arg2
= new wxArrayString
;
38767 int i
, len
=PySequence_Length(obj1
);
38768 for (i
=0; i
<len
; i
++) {
38769 PyObject
* item
= PySequence_GetItem(obj1
, i
);
38770 wxString
* s
= wxString_in_helper(item
);
38771 if (PyErr_Occurred()) SWIG_fail
;
38778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38779 (arg1
)->SetArtists((wxArrayString
const &)*arg2
);
38780 wxPyEndAllowThreads(__tstate
);
38781 if (PyErr_Occurred()) SWIG_fail
;
38783 resultobj
= SWIG_Py_Void();
38785 if (temp2
) delete arg2
;
38790 if (temp2
) delete arg2
;
38796 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_AddArtist(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38797 PyObject
*resultobj
= 0;
38798 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38799 wxString
*arg2
= 0 ;
38802 bool temp2
= false ;
38803 PyObject
* obj0
= 0 ;
38804 PyObject
* obj1
= 0 ;
38805 char * kwnames
[] = {
38806 (char *) "self",(char *) "artist", NULL
38809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_AddArtist",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38811 if (!SWIG_IsOK(res1
)) {
38812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_AddArtist" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38814 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38816 arg2
= wxString_in_helper(obj1
);
38817 if (arg2
== NULL
) SWIG_fail
;
38821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38822 (arg1
)->AddArtist((wxString
const &)*arg2
);
38823 wxPyEndAllowThreads(__tstate
);
38824 if (PyErr_Occurred()) SWIG_fail
;
38826 resultobj
= SWIG_Py_Void();
38841 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasArtists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38842 PyObject
*resultobj
= 0;
38843 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38847 PyObject
*swig_obj
[1] ;
38849 if (!args
) SWIG_fail
;
38850 swig_obj
[0] = args
;
38851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38852 if (!SWIG_IsOK(res1
)) {
38853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasArtists" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38855 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38858 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasArtists();
38859 wxPyEndAllowThreads(__tstate
);
38860 if (PyErr_Occurred()) SWIG_fail
;
38863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38871 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetArtists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38872 PyObject
*resultobj
= 0;
38873 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38874 wxArrayString
*result
= 0 ;
38877 PyObject
*swig_obj
[1] ;
38879 if (!args
) SWIG_fail
;
38880 swig_obj
[0] = args
;
38881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38882 if (!SWIG_IsOK(res1
)) {
38883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetArtists" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38885 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38889 wxArrayString
const &_result_ref
= ((wxAboutDialogInfo
const *)arg1
)->GetArtists();
38890 result
= (wxArrayString
*) &_result_ref
;
38892 wxPyEndAllowThreads(__tstate
);
38893 if (PyErr_Occurred()) SWIG_fail
;
38896 resultobj
= wxArrayString2PyList_helper(*result
);
38904 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetTranslators(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38905 PyObject
*resultobj
= 0;
38906 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38907 wxArrayString
*arg2
= 0 ;
38910 bool temp2
= false ;
38911 PyObject
* obj0
= 0 ;
38912 PyObject
* obj1
= 0 ;
38913 char * kwnames
[] = {
38914 (char *) "self",(char *) "translators", NULL
38917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetTranslators",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38919 if (!SWIG_IsOK(res1
)) {
38920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetTranslators" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38922 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38924 if (! PySequence_Check(obj1
)) {
38925 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
38928 arg2
= new wxArrayString
;
38930 int i
, len
=PySequence_Length(obj1
);
38931 for (i
=0; i
<len
; i
++) {
38932 PyObject
* item
= PySequence_GetItem(obj1
, i
);
38933 wxString
* s
= wxString_in_helper(item
);
38934 if (PyErr_Occurred()) SWIG_fail
;
38941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38942 (arg1
)->SetTranslators((wxArrayString
const &)*arg2
);
38943 wxPyEndAllowThreads(__tstate
);
38944 if (PyErr_Occurred()) SWIG_fail
;
38946 resultobj
= SWIG_Py_Void();
38948 if (temp2
) delete arg2
;
38953 if (temp2
) delete arg2
;
38959 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_AddTranslator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38960 PyObject
*resultobj
= 0;
38961 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38962 wxString
*arg2
= 0 ;
38965 bool temp2
= false ;
38966 PyObject
* obj0
= 0 ;
38967 PyObject
* obj1
= 0 ;
38968 char * kwnames
[] = {
38969 (char *) "self",(char *) "translator", NULL
38972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_AddTranslator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38974 if (!SWIG_IsOK(res1
)) {
38975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_AddTranslator" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38977 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38979 arg2
= wxString_in_helper(obj1
);
38980 if (arg2
== NULL
) SWIG_fail
;
38984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38985 (arg1
)->AddTranslator((wxString
const &)*arg2
);
38986 wxPyEndAllowThreads(__tstate
);
38987 if (PyErr_Occurred()) SWIG_fail
;
38989 resultobj
= SWIG_Py_Void();
39004 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasTranslators(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39005 PyObject
*resultobj
= 0;
39006 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
39010 PyObject
*swig_obj
[1] ;
39012 if (!args
) SWIG_fail
;
39013 swig_obj
[0] = args
;
39014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
39015 if (!SWIG_IsOK(res1
)) {
39016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasTranslators" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
39018 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
39020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39021 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasTranslators();
39022 wxPyEndAllowThreads(__tstate
);
39023 if (PyErr_Occurred()) SWIG_fail
;
39026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39034 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetTranslators(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39035 PyObject
*resultobj
= 0;
39036 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
39037 wxArrayString
*result
= 0 ;
39040 PyObject
*swig_obj
[1] ;
39042 if (!args
) SWIG_fail
;
39043 swig_obj
[0] = args
;
39044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
39045 if (!SWIG_IsOK(res1
)) {
39046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetTranslators" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
39048 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
39050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39052 wxArrayString
const &_result_ref
= ((wxAboutDialogInfo
const *)arg1
)->GetTranslators();
39053 result
= (wxArrayString
*) &_result_ref
;
39055 wxPyEndAllowThreads(__tstate
);
39056 if (PyErr_Occurred()) SWIG_fail
;
39059 resultobj
= wxArrayString2PyList_helper(*result
);
39067 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_IsSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39068 PyObject
*resultobj
= 0;
39069 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
39073 PyObject
*swig_obj
[1] ;
39075 if (!args
) SWIG_fail
;
39076 swig_obj
[0] = args
;
39077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
39078 if (!SWIG_IsOK(res1
)) {
39079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_IsSimple" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
39081 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
39083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39084 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->IsSimple();
39085 wxPyEndAllowThreads(__tstate
);
39086 if (PyErr_Occurred()) SWIG_fail
;
39089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39097 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetDescriptionAndCredits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39098 PyObject
*resultobj
= 0;
39099 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
39103 PyObject
*swig_obj
[1] ;
39105 if (!args
) SWIG_fail
;
39106 swig_obj
[0] = args
;
39107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
39108 if (!SWIG_IsOK(res1
)) {
39109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetDescriptionAndCredits" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
39111 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
39113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39114 result
= ((wxAboutDialogInfo
const *)arg1
)->GetDescriptionAndCredits();
39115 wxPyEndAllowThreads(__tstate
);
39116 if (PyErr_Occurred()) SWIG_fail
;
39120 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
39122 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
39131 SWIGINTERN PyObject
*AboutDialogInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39133 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39134 SWIG_TypeNewClientData(SWIGTYPE_p_wxAboutDialogInfo
, SWIG_NewClientData(obj
));
39135 return SWIG_Py_Void();
39138 SWIGINTERN PyObject
*AboutDialogInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39139 return SWIG_Python_InitShadowInstance(args
);
39142 SWIGINTERN PyObject
*_wrap_AboutBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39143 PyObject
*resultobj
= 0;
39144 wxAboutDialogInfo
*arg1
= 0 ;
39147 PyObject
* obj0
= 0 ;
39148 char * kwnames
[] = {
39149 (char *) "info", NULL
39152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AboutBox",kwnames
,&obj0
)) SWIG_fail
;
39153 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0);
39154 if (!SWIG_IsOK(res1
)) {
39155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutBox" "', expected argument " "1"" of type '" "wxAboutDialogInfo const &""'");
39158 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AboutBox" "', expected argument " "1"" of type '" "wxAboutDialogInfo const &""'");
39160 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
39162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39163 wxAboutBox((wxAboutDialogInfo
const &)*arg1
);
39164 wxPyEndAllowThreads(__tstate
);
39165 if (PyErr_Occurred()) SWIG_fail
;
39167 resultobj
= SWIG_Py_Void();
39174 static PyMethodDef SwigMethods
[] = {
39175 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39176 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39177 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39178 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39179 { (char *)"SystemSettings_GetScreenType", (PyCFunction
)_wrap_SystemSettings_GetScreenType
, METH_NOARGS
, NULL
},
39180 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39181 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
39182 { (char *)"new_SystemOptions", (PyCFunction
)_wrap_new_SystemOptions
, METH_NOARGS
, NULL
},
39183 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39184 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39185 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39186 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39187 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39188 { (char *)"SystemOptions_IsFalse", (PyCFunction
) _wrap_SystemOptions_IsFalse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39189 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
39190 { (char *)"SystemOptions_swiginit", SystemOptions_swiginit
, METH_VARARGS
, NULL
},
39191 { (char *)"NewId", (PyCFunction
)_wrap_NewId
, METH_NOARGS
, NULL
},
39192 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39193 { (char *)"GetCurrentId", (PyCFunction
)_wrap_GetCurrentId
, METH_NOARGS
, NULL
},
39194 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39195 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39196 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39197 { (char *)"GetStockHelpString", (PyCFunction
) _wrap_GetStockHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39198 { (char *)"Bell", (PyCFunction
)_wrap_Bell
, METH_NOARGS
, NULL
},
39199 { (char *)"EndBusyCursor", (PyCFunction
)_wrap_EndBusyCursor
, METH_NOARGS
, NULL
},
39200 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39201 { (char *)"IsBusy", (PyCFunction
)_wrap_IsBusy
, METH_NOARGS
, NULL
},
39202 { (char *)"Now", (PyCFunction
)_wrap_Now
, METH_NOARGS
, NULL
},
39203 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39204 { (char *)"StartTimer", (PyCFunction
)_wrap_StartTimer
, METH_NOARGS
, NULL
},
39205 { (char *)"GetOsVersion", (PyCFunction
)_wrap_GetOsVersion
, METH_NOARGS
, NULL
},
39206 { (char *)"GetOsDescription", (PyCFunction
)_wrap_GetOsDescription
, METH_NOARGS
, NULL
},
39207 { (char *)"IsPlatformLittleEndian", (PyCFunction
)_wrap_IsPlatformLittleEndian
, METH_NOARGS
, NULL
},
39208 { (char *)"IsPlatform64Bit", (PyCFunction
)_wrap_IsPlatform64Bit
, METH_NOARGS
, NULL
},
39209 { (char *)"GetFreeMemory", (PyCFunction
)_wrap_GetFreeMemory
, METH_NOARGS
, NULL
},
39210 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39211 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39212 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39213 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39214 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39215 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39216 { (char *)"GetEmailAddress", (PyCFunction
)_wrap_GetEmailAddress
, METH_NOARGS
, NULL
},
39217 { (char *)"GetHostName", (PyCFunction
)_wrap_GetHostName
, METH_NOARGS
, NULL
},
39218 { (char *)"GetFullHostName", (PyCFunction
)_wrap_GetFullHostName
, METH_NOARGS
, NULL
},
39219 { (char *)"GetUserId", (PyCFunction
)_wrap_GetUserId
, METH_NOARGS
, NULL
},
39220 { (char *)"GetUserName", (PyCFunction
)_wrap_GetUserName
, METH_NOARGS
, NULL
},
39221 { (char *)"GetHomeDir", (PyCFunction
)_wrap_GetHomeDir
, METH_NOARGS
, NULL
},
39222 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39223 { (char *)"GetProcessId", (PyCFunction
)_wrap_GetProcessId
, METH_NOARGS
, NULL
},
39224 { (char *)"Trap", (PyCFunction
)_wrap_Trap
, METH_NOARGS
, NULL
},
39225 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39226 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39227 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39228 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39229 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39230 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39231 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39232 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39233 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39234 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39235 { (char *)"ColourDisplay", (PyCFunction
)_wrap_ColourDisplay
, METH_NOARGS
, NULL
},
39236 { (char *)"DisplayDepth", (PyCFunction
)_wrap_DisplayDepth
, METH_NOARGS
, NULL
},
39237 { (char *)"GetDisplayDepth", (PyCFunction
)_wrap_GetDisplayDepth
, METH_NOARGS
, NULL
},
39238 { (char *)"DisplaySize", (PyCFunction
)_wrap_DisplaySize
, METH_NOARGS
, NULL
},
39239 { (char *)"GetDisplaySize", (PyCFunction
)_wrap_GetDisplaySize
, METH_NOARGS
, NULL
},
39240 { (char *)"DisplaySizeMM", (PyCFunction
)_wrap_DisplaySizeMM
, METH_NOARGS
, NULL
},
39241 { (char *)"GetDisplaySizeMM", (PyCFunction
)_wrap_GetDisplaySizeMM
, METH_NOARGS
, NULL
},
39242 { (char *)"ClientDisplayRect", (PyCFunction
)_wrap_ClientDisplayRect
, METH_NOARGS
, NULL
},
39243 { (char *)"GetClientDisplayRect", (PyCFunction
)_wrap_GetClientDisplayRect
, METH_NOARGS
, NULL
},
39244 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39245 { (char *)"GetXDisplay", (PyCFunction
)_wrap_GetXDisplay
, METH_NOARGS
, NULL
},
39246 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39247 { (char *)"GetMousePosition", (PyCFunction
)_wrap_GetMousePosition
, METH_NOARGS
, NULL
},
39248 { (char *)"FindWindowAtPointer", (PyCFunction
)_wrap_FindWindowAtPointer
, METH_NOARGS
, NULL
},
39249 { (char *)"GetActiveWindow", (PyCFunction
)_wrap_GetActiveWindow
, METH_NOARGS
, NULL
},
39250 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39251 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39252 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39253 { (char *)"LaunchDefaultBrowser", (PyCFunction
) _wrap_LaunchDefaultBrowser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39254 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39255 { (char *)"new_MouseState", (PyCFunction
)_wrap_new_MouseState
, METH_NOARGS
, NULL
},
39256 { (char *)"delete_MouseState", (PyCFunction
)_wrap_delete_MouseState
, METH_O
, NULL
},
39257 { (char *)"MouseState_GetX", (PyCFunction
)_wrap_MouseState_GetX
, METH_O
, NULL
},
39258 { (char *)"MouseState_GetY", (PyCFunction
)_wrap_MouseState_GetY
, METH_O
, NULL
},
39259 { (char *)"MouseState_LeftDown", (PyCFunction
)_wrap_MouseState_LeftDown
, METH_O
, NULL
},
39260 { (char *)"MouseState_MiddleDown", (PyCFunction
)_wrap_MouseState_MiddleDown
, METH_O
, NULL
},
39261 { (char *)"MouseState_RightDown", (PyCFunction
)_wrap_MouseState_RightDown
, METH_O
, NULL
},
39262 { (char *)"MouseState_ControlDown", (PyCFunction
)_wrap_MouseState_ControlDown
, METH_O
, NULL
},
39263 { (char *)"MouseState_ShiftDown", (PyCFunction
)_wrap_MouseState_ShiftDown
, METH_O
, NULL
},
39264 { (char *)"MouseState_AltDown", (PyCFunction
)_wrap_MouseState_AltDown
, METH_O
, NULL
},
39265 { (char *)"MouseState_MetaDown", (PyCFunction
)_wrap_MouseState_MetaDown
, METH_O
, NULL
},
39266 { (char *)"MouseState_CmdDown", (PyCFunction
)_wrap_MouseState_CmdDown
, METH_O
, NULL
},
39267 { (char *)"MouseState_SetX", (PyCFunction
) _wrap_MouseState_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39268 { (char *)"MouseState_SetY", (PyCFunction
) _wrap_MouseState_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39269 { (char *)"MouseState_SetLeftDown", (PyCFunction
) _wrap_MouseState_SetLeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39270 { (char *)"MouseState_SetMiddleDown", (PyCFunction
) _wrap_MouseState_SetMiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39271 { (char *)"MouseState_SetRightDown", (PyCFunction
) _wrap_MouseState_SetRightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39272 { (char *)"MouseState_SetControlDown", (PyCFunction
) _wrap_MouseState_SetControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39273 { (char *)"MouseState_SetShiftDown", (PyCFunction
) _wrap_MouseState_SetShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39274 { (char *)"MouseState_SetAltDown", (PyCFunction
) _wrap_MouseState_SetAltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39275 { (char *)"MouseState_SetMetaDown", (PyCFunction
) _wrap_MouseState_SetMetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39276 { (char *)"MouseState_swigregister", MouseState_swigregister
, METH_VARARGS
, NULL
},
39277 { (char *)"MouseState_swiginit", MouseState_swiginit
, METH_VARARGS
, NULL
},
39278 { (char *)"GetMouseState", (PyCFunction
)_wrap_GetMouseState
, METH_NOARGS
, NULL
},
39279 { (char *)"WakeUpMainThread", (PyCFunction
)_wrap_WakeUpMainThread
, METH_NOARGS
, NULL
},
39280 { (char *)"MutexGuiEnter", (PyCFunction
)_wrap_MutexGuiEnter
, METH_NOARGS
, NULL
},
39281 { (char *)"MutexGuiLeave", (PyCFunction
)_wrap_MutexGuiLeave
, METH_NOARGS
, NULL
},
39282 { (char *)"new_MutexGuiLocker", (PyCFunction
)_wrap_new_MutexGuiLocker
, METH_NOARGS
, NULL
},
39283 { (char *)"delete_MutexGuiLocker", (PyCFunction
)_wrap_delete_MutexGuiLocker
, METH_O
, NULL
},
39284 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
39285 { (char *)"MutexGuiLocker_swiginit", MutexGuiLocker_swiginit
, METH_VARARGS
, NULL
},
39286 { (char *)"Thread_IsMain", (PyCFunction
)_wrap_Thread_IsMain
, METH_NOARGS
, NULL
},
39287 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39288 { (char *)"delete_ToolTip", (PyCFunction
)_wrap_delete_ToolTip
, METH_O
, NULL
},
39289 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39290 { (char *)"ToolTip_GetTip", (PyCFunction
)_wrap_ToolTip_GetTip
, METH_O
, NULL
},
39291 { (char *)"ToolTip_GetWindow", (PyCFunction
)_wrap_ToolTip_GetWindow
, METH_O
, NULL
},
39292 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39293 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39294 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
39295 { (char *)"ToolTip_swiginit", ToolTip_swiginit
, METH_VARARGS
, NULL
},
39296 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39297 { (char *)"delete_Caret", (PyCFunction
)_wrap_delete_Caret
, METH_O
, NULL
},
39298 { (char *)"Caret_Destroy", (PyCFunction
)_wrap_Caret_Destroy
, METH_O
, NULL
},
39299 { (char *)"Caret_IsOk", (PyCFunction
)_wrap_Caret_IsOk
, METH_O
, NULL
},
39300 { (char *)"Caret_IsVisible", (PyCFunction
)_wrap_Caret_IsVisible
, METH_O
, NULL
},
39301 { (char *)"Caret_GetPosition", (PyCFunction
)_wrap_Caret_GetPosition
, METH_O
, NULL
},
39302 { (char *)"Caret_GetPositionTuple", (PyCFunction
)_wrap_Caret_GetPositionTuple
, METH_O
, NULL
},
39303 { (char *)"Caret_GetSize", (PyCFunction
)_wrap_Caret_GetSize
, METH_O
, NULL
},
39304 { (char *)"Caret_GetSizeTuple", (PyCFunction
)_wrap_Caret_GetSizeTuple
, METH_O
, NULL
},
39305 { (char *)"Caret_GetWindow", (PyCFunction
)_wrap_Caret_GetWindow
, METH_O
, NULL
},
39306 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39307 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39308 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39309 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39310 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39311 { (char *)"Caret_Hide", (PyCFunction
)_wrap_Caret_Hide
, METH_O
, NULL
},
39312 { (char *)"Caret_GetBlinkTime", (PyCFunction
)_wrap_Caret_GetBlinkTime
, METH_NOARGS
, NULL
},
39313 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39314 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
39315 { (char *)"Caret_swiginit", Caret_swiginit
, METH_VARARGS
, NULL
},
39316 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39317 { (char *)"delete_BusyCursor", (PyCFunction
)_wrap_delete_BusyCursor
, METH_O
, NULL
},
39318 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
39319 { (char *)"BusyCursor_swiginit", BusyCursor_swiginit
, METH_VARARGS
, NULL
},
39320 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39321 { (char *)"delete_WindowDisabler", (PyCFunction
)_wrap_delete_WindowDisabler
, METH_O
, NULL
},
39322 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
39323 { (char *)"WindowDisabler_swiginit", WindowDisabler_swiginit
, METH_VARARGS
, NULL
},
39324 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39325 { (char *)"delete_BusyInfo", (PyCFunction
)_wrap_delete_BusyInfo
, METH_O
, NULL
},
39326 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
39327 { (char *)"BusyInfo_swiginit", BusyInfo_swiginit
, METH_VARARGS
, NULL
},
39328 { (char *)"new_StopWatch", (PyCFunction
)_wrap_new_StopWatch
, METH_NOARGS
, NULL
},
39329 { (char *)"delete_StopWatch", (PyCFunction
)_wrap_delete_StopWatch
, METH_O
, NULL
},
39330 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39331 { (char *)"StopWatch_Pause", (PyCFunction
)_wrap_StopWatch_Pause
, METH_O
, NULL
},
39332 { (char *)"StopWatch_Resume", (PyCFunction
)_wrap_StopWatch_Resume
, METH_O
, NULL
},
39333 { (char *)"StopWatch_Time", (PyCFunction
)_wrap_StopWatch_Time
, METH_O
, NULL
},
39334 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
39335 { (char *)"StopWatch_swiginit", StopWatch_swiginit
, METH_VARARGS
, NULL
},
39336 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39337 { (char *)"delete_FileHistory", (PyCFunction
)_wrap_delete_FileHistory
, METH_O
, NULL
},
39338 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39339 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39340 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
)_wrap_FileHistory_GetMaxFiles
, METH_O
, NULL
},
39341 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39342 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39343 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39344 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39345 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
)_wrap_FileHistory_AddFilesToMenu
, METH_O
, NULL
},
39346 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39347 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39348 { (char *)"FileHistory_GetCount", (PyCFunction
)_wrap_FileHistory_GetCount
, METH_O
, NULL
},
39349 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
39350 { (char *)"FileHistory_swiginit", FileHistory_swiginit
, METH_VARARGS
, NULL
},
39351 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39352 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
)_wrap_new_PreSingleInstanceChecker
, METH_NOARGS
, NULL
},
39353 { (char *)"delete_SingleInstanceChecker", (PyCFunction
)_wrap_delete_SingleInstanceChecker
, METH_O
, NULL
},
39354 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39355 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
)_wrap_SingleInstanceChecker_IsAnotherRunning
, METH_O
, NULL
},
39356 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
39357 { (char *)"SingleInstanceChecker_swiginit", SingleInstanceChecker_swiginit
, METH_VARARGS
, NULL
},
39358 { (char *)"new_PlatformInformation", (PyCFunction
)_wrap_new_PlatformInformation
, METH_NOARGS
, NULL
},
39359 { (char *)"PlatformInformation___eq__", (PyCFunction
) _wrap_PlatformInformation___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39360 { (char *)"PlatformInformation___ne__", (PyCFunction
) _wrap_PlatformInformation___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39361 { (char *)"PlatformInformation_GetOSMajorVersion", (PyCFunction
)_wrap_PlatformInformation_GetOSMajorVersion
, METH_O
, NULL
},
39362 { (char *)"PlatformInformation_GetOSMinorVersion", (PyCFunction
)_wrap_PlatformInformation_GetOSMinorVersion
, METH_O
, NULL
},
39363 { (char *)"PlatformInformation_CheckOSVersion", (PyCFunction
) _wrap_PlatformInformation_CheckOSVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39364 { (char *)"PlatformInformation_GetToolkitMajorVersion", (PyCFunction
)_wrap_PlatformInformation_GetToolkitMajorVersion
, METH_O
, NULL
},
39365 { (char *)"PlatformInformation_GetToolkitMinorVersion", (PyCFunction
)_wrap_PlatformInformation_GetToolkitMinorVersion
, METH_O
, NULL
},
39366 { (char *)"PlatformInformation_CheckToolkitVersion", (PyCFunction
) _wrap_PlatformInformation_CheckToolkitVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39367 { (char *)"PlatformInformation_IsUsingUniversalWidgets", (PyCFunction
)_wrap_PlatformInformation_IsUsingUniversalWidgets
, METH_O
, NULL
},
39368 { (char *)"PlatformInformation_GetOperatingSystemId", (PyCFunction
)_wrap_PlatformInformation_GetOperatingSystemId
, METH_O
, NULL
},
39369 { (char *)"PlatformInformation_GetPortId", (PyCFunction
)_wrap_PlatformInformation_GetPortId
, METH_O
, NULL
},
39370 { (char *)"PlatformInformation_GetArchitecture", (PyCFunction
)_wrap_PlatformInformation_GetArchitecture
, METH_O
, NULL
},
39371 { (char *)"PlatformInformation_GetEndianness", (PyCFunction
)_wrap_PlatformInformation_GetEndianness
, METH_O
, NULL
},
39372 { (char *)"PlatformInformation_GetOperatingSystemFamilyName", (PyCFunction
)_wrap_PlatformInformation_GetOperatingSystemFamilyName
, METH_O
, NULL
},
39373 { (char *)"PlatformInformation_GetOperatingSystemIdName", (PyCFunction
)_wrap_PlatformInformation_GetOperatingSystemIdName
, METH_O
, NULL
},
39374 { (char *)"PlatformInformation_GetPortIdName", (PyCFunction
)_wrap_PlatformInformation_GetPortIdName
, METH_O
, NULL
},
39375 { (char *)"PlatformInformation_GetPortIdShortName", (PyCFunction
)_wrap_PlatformInformation_GetPortIdShortName
, METH_O
, NULL
},
39376 { (char *)"PlatformInformation_GetArchName", (PyCFunction
)_wrap_PlatformInformation_GetArchName
, METH_O
, NULL
},
39377 { (char *)"PlatformInformation_GetEndiannessName", (PyCFunction
)_wrap_PlatformInformation_GetEndiannessName
, METH_O
, NULL
},
39378 { (char *)"PlatformInformation_SetOSVersion", (PyCFunction
) _wrap_PlatformInformation_SetOSVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39379 { (char *)"PlatformInformation_SetToolkitVersion", (PyCFunction
) _wrap_PlatformInformation_SetToolkitVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39380 { (char *)"PlatformInformation_SetOperatingSystemId", (PyCFunction
) _wrap_PlatformInformation_SetOperatingSystemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39381 { (char *)"PlatformInformation_SetPortId", (PyCFunction
) _wrap_PlatformInformation_SetPortId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39382 { (char *)"PlatformInformation_SetArchitecture", (PyCFunction
) _wrap_PlatformInformation_SetArchitecture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39383 { (char *)"PlatformInformation_SetEndianness", (PyCFunction
) _wrap_PlatformInformation_SetEndianness
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39384 { (char *)"PlatformInformation_IsOk", (PyCFunction
)_wrap_PlatformInformation_IsOk
, METH_O
, NULL
},
39385 { (char *)"PlatformInformation_swigregister", PlatformInformation_swigregister
, METH_VARARGS
, NULL
},
39386 { (char *)"PlatformInformation_swiginit", PlatformInformation_swiginit
, METH_VARARGS
, NULL
},
39387 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39388 { (char *)"delete_TipProvider", (PyCFunction
)_wrap_delete_TipProvider
, METH_O
, NULL
},
39389 { (char *)"TipProvider_GetTip", (PyCFunction
)_wrap_TipProvider_GetTip
, METH_O
, NULL
},
39390 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
)_wrap_TipProvider_GetCurrentTip
, METH_O
, NULL
},
39391 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39392 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
39393 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39394 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39395 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
39396 { (char *)"PyTipProvider_swiginit", PyTipProvider_swiginit
, METH_VARARGS
, NULL
},
39397 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39398 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39399 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39400 { (char *)"delete_Timer", (PyCFunction
)_wrap_delete_Timer
, METH_O
, NULL
},
39401 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39402 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39403 { (char *)"Timer_GetOwner", (PyCFunction
)_wrap_Timer_GetOwner
, METH_O
, NULL
},
39404 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39405 { (char *)"Timer_Stop", (PyCFunction
)_wrap_Timer_Stop
, METH_O
, NULL
},
39406 { (char *)"Timer_Notify", (PyCFunction
)_wrap_Timer_Notify
, METH_O
, NULL
},
39407 { (char *)"Timer_IsRunning", (PyCFunction
)_wrap_Timer_IsRunning
, METH_O
, NULL
},
39408 { (char *)"Timer_GetInterval", (PyCFunction
)_wrap_Timer_GetInterval
, METH_O
, NULL
},
39409 { (char *)"Timer_GetId", (PyCFunction
)_wrap_Timer_GetId
, METH_O
, NULL
},
39410 { (char *)"Timer_IsOneShot", (PyCFunction
)_wrap_Timer_IsOneShot
, METH_O
, NULL
},
39411 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
39412 { (char *)"Timer_swiginit", Timer_swiginit
, METH_VARARGS
, NULL
},
39413 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39414 { (char *)"TimerEvent_GetInterval", (PyCFunction
)_wrap_TimerEvent_GetInterval
, METH_O
, NULL
},
39415 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
39416 { (char *)"TimerEvent_swiginit", TimerEvent_swiginit
, METH_VARARGS
, NULL
},
39417 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
39418 { (char *)"delete_TimerRunner", (PyCFunction
)_wrap_delete_TimerRunner
, METH_O
, NULL
},
39419 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39420 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
39421 { (char *)"TimerRunner_swiginit", TimerRunner_swiginit
, METH_VARARGS
, NULL
},
39422 { (char *)"new_Log", (PyCFunction
)_wrap_new_Log
, METH_NOARGS
, NULL
},
39423 { (char *)"delete_Log", (PyCFunction
)_wrap_delete_Log
, METH_O
, NULL
},
39424 { (char *)"Log_IsEnabled", (PyCFunction
)_wrap_Log_IsEnabled
, METH_NOARGS
, NULL
},
39425 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39426 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39427 { (char *)"Log_Flush", (PyCFunction
)_wrap_Log_Flush
, METH_O
, NULL
},
39428 { (char *)"Log_FlushActive", (PyCFunction
)_wrap_Log_FlushActive
, METH_NOARGS
, NULL
},
39429 { (char *)"Log_GetActiveTarget", (PyCFunction
)_wrap_Log_GetActiveTarget
, METH_NOARGS
, NULL
},
39430 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39431 { (char *)"Log_Suspend", (PyCFunction
)_wrap_Log_Suspend
, METH_NOARGS
, NULL
},
39432 { (char *)"Log_Resume", (PyCFunction
)_wrap_Log_Resume
, METH_NOARGS
, NULL
},
39433 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39434 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39435 { (char *)"Log_DontCreateOnDemand", (PyCFunction
)_wrap_Log_DontCreateOnDemand
, METH_NOARGS
, NULL
},
39436 { (char *)"Log_SetRepetitionCounting", (PyCFunction
) _wrap_Log_SetRepetitionCounting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39437 { (char *)"Log_GetRepetitionCounting", (PyCFunction
)_wrap_Log_GetRepetitionCounting
, METH_NOARGS
, NULL
},
39438 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39439 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39440 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39441 { (char *)"Log_ClearTraceMasks", (PyCFunction
)_wrap_Log_ClearTraceMasks
, METH_NOARGS
, NULL
},
39442 { (char *)"Log_GetTraceMasks", (PyCFunction
)_wrap_Log_GetTraceMasks
, METH_NOARGS
, NULL
},
39443 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39444 { (char *)"Log_GetVerbose", (PyCFunction
)_wrap_Log_GetVerbose
, METH_NOARGS
, NULL
},
39445 { (char *)"Log_GetTraceMask", (PyCFunction
)_wrap_Log_GetTraceMask
, METH_NOARGS
, NULL
},
39446 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39447 { (char *)"Log_GetLogLevel", (PyCFunction
)_wrap_Log_GetLogLevel
, METH_NOARGS
, NULL
},
39448 { (char *)"Log_GetTimestamp", (PyCFunction
)_wrap_Log_GetTimestamp
, METH_NOARGS
, NULL
},
39449 { (char *)"Log_TimeStamp", (PyCFunction
)_wrap_Log_TimeStamp
, METH_NOARGS
, NULL
},
39450 { (char *)"Log_Destroy", (PyCFunction
)_wrap_Log_Destroy
, METH_O
, NULL
},
39451 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
39452 { (char *)"Log_swiginit", Log_swiginit
, METH_VARARGS
, NULL
},
39453 { (char *)"new_LogStderr", (PyCFunction
)_wrap_new_LogStderr
, METH_NOARGS
, NULL
},
39454 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
39455 { (char *)"LogStderr_swiginit", LogStderr_swiginit
, METH_VARARGS
, NULL
},
39456 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39457 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
39458 { (char *)"LogTextCtrl_swiginit", LogTextCtrl_swiginit
, METH_VARARGS
, NULL
},
39459 { (char *)"new_LogGui", (PyCFunction
)_wrap_new_LogGui
, METH_NOARGS
, NULL
},
39460 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
39461 { (char *)"LogGui_swiginit", LogGui_swiginit
, METH_VARARGS
, NULL
},
39462 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39463 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39464 { (char *)"LogWindow_GetFrame", (PyCFunction
)_wrap_LogWindow_GetFrame
, METH_O
, NULL
},
39465 { (char *)"LogWindow_GetOldLog", (PyCFunction
)_wrap_LogWindow_GetOldLog
, METH_O
, NULL
},
39466 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
)_wrap_LogWindow_IsPassingMessages
, METH_O
, NULL
},
39467 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39468 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
39469 { (char *)"LogWindow_swiginit", LogWindow_swiginit
, METH_VARARGS
, NULL
},
39470 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39471 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39472 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39473 { (char *)"LogChain_IsPassingMessages", (PyCFunction
)_wrap_LogChain_IsPassingMessages
, METH_O
, NULL
},
39474 { (char *)"LogChain_GetOldLog", (PyCFunction
)_wrap_LogChain_GetOldLog
, METH_O
, NULL
},
39475 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
39476 { (char *)"LogChain_swiginit", LogChain_swiginit
, METH_VARARGS
, NULL
},
39477 { (char *)"new_LogBuffer", (PyCFunction
)_wrap_new_LogBuffer
, METH_NOARGS
, NULL
},
39478 { (char *)"LogBuffer_GetBuffer", (PyCFunction
)_wrap_LogBuffer_GetBuffer
, METH_O
, NULL
},
39479 { (char *)"LogBuffer_swigregister", LogBuffer_swigregister
, METH_VARARGS
, NULL
},
39480 { (char *)"LogBuffer_swiginit", LogBuffer_swiginit
, METH_VARARGS
, NULL
},
39481 { (char *)"SysErrorCode", (PyCFunction
)_wrap_SysErrorCode
, METH_NOARGS
, NULL
},
39482 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39483 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39484 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39485 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39486 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39487 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39488 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39489 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39490 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39491 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39492 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39493 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39494 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
39495 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39496 { (char *)"new_LogNull", (PyCFunction
)_wrap_new_LogNull
, METH_NOARGS
, NULL
},
39497 { (char *)"delete_LogNull", (PyCFunction
)_wrap_delete_LogNull
, METH_O
, NULL
},
39498 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
39499 { (char *)"LogNull_swiginit", LogNull_swiginit
, METH_VARARGS
, NULL
},
39500 { (char *)"new_PyLog", (PyCFunction
)_wrap_new_PyLog
, METH_NOARGS
, NULL
},
39501 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39502 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
39503 { (char *)"PyLog_swiginit", PyLog_swiginit
, METH_VARARGS
, NULL
},
39504 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39505 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39506 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39507 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39508 { (char *)"delete_Process", (PyCFunction
)_wrap_delete_Process
, METH_O
, NULL
},
39509 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39510 { (char *)"Process_GetPid", (PyCFunction
)_wrap_Process_GetPid
, METH_O
, NULL
},
39511 { (char *)"Process_OnTerminate", (PyCFunction
) _wrap_Process_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39512 { (char *)"Process_Redirect", (PyCFunction
)_wrap_Process_Redirect
, METH_O
, NULL
},
39513 { (char *)"Process_IsRedirected", (PyCFunction
)_wrap_Process_IsRedirected
, METH_O
, NULL
},
39514 { (char *)"Process_Detach", (PyCFunction
)_wrap_Process_Detach
, METH_O
, NULL
},
39515 { (char *)"Process_GetInputStream", (PyCFunction
)_wrap_Process_GetInputStream
, METH_O
, NULL
},
39516 { (char *)"Process_GetErrorStream", (PyCFunction
)_wrap_Process_GetErrorStream
, METH_O
, NULL
},
39517 { (char *)"Process_GetOutputStream", (PyCFunction
)_wrap_Process_GetOutputStream
, METH_O
, NULL
},
39518 { (char *)"Process_CloseOutput", (PyCFunction
)_wrap_Process_CloseOutput
, METH_O
, NULL
},
39519 { (char *)"Process_IsInputOpened", (PyCFunction
)_wrap_Process_IsInputOpened
, METH_O
, NULL
},
39520 { (char *)"Process_IsInputAvailable", (PyCFunction
)_wrap_Process_IsInputAvailable
, METH_O
, NULL
},
39521 { (char *)"Process_IsErrorAvailable", (PyCFunction
)_wrap_Process_IsErrorAvailable
, METH_O
, NULL
},
39522 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
39523 { (char *)"Process_swiginit", Process_swiginit
, METH_VARARGS
, NULL
},
39524 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39525 { (char *)"ProcessEvent_GetPid", (PyCFunction
)_wrap_ProcessEvent_GetPid
, METH_O
, NULL
},
39526 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
)_wrap_ProcessEvent_GetExitCode
, METH_O
, NULL
},
39527 { (char *)"ProcessEvent_m_pid_set", _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
, NULL
},
39528 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
)_wrap_ProcessEvent_m_pid_get
, METH_O
, NULL
},
39529 { (char *)"ProcessEvent_m_exitcode_set", _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
, NULL
},
39530 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
)_wrap_ProcessEvent_m_exitcode_get
, METH_O
, NULL
},
39531 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
39532 { (char *)"ProcessEvent_swiginit", ProcessEvent_swiginit
, METH_VARARGS
, NULL
},
39533 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39534 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39535 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39536 { (char *)"delete_Joystick", (PyCFunction
)_wrap_delete_Joystick
, METH_O
, NULL
},
39537 { (char *)"Joystick_GetPosition", (PyCFunction
)_wrap_Joystick_GetPosition
, METH_O
, NULL
},
39538 { (char *)"Joystick_GetZPosition", (PyCFunction
)_wrap_Joystick_GetZPosition
, METH_O
, NULL
},
39539 { (char *)"Joystick_GetButtonState", (PyCFunction
)_wrap_Joystick_GetButtonState
, METH_O
, NULL
},
39540 { (char *)"Joystick_GetPOVPosition", (PyCFunction
)_wrap_Joystick_GetPOVPosition
, METH_O
, NULL
},
39541 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
)_wrap_Joystick_GetPOVCTSPosition
, METH_O
, NULL
},
39542 { (char *)"Joystick_GetRudderPosition", (PyCFunction
)_wrap_Joystick_GetRudderPosition
, METH_O
, NULL
},
39543 { (char *)"Joystick_GetUPosition", (PyCFunction
)_wrap_Joystick_GetUPosition
, METH_O
, NULL
},
39544 { (char *)"Joystick_GetVPosition", (PyCFunction
)_wrap_Joystick_GetVPosition
, METH_O
, NULL
},
39545 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
)_wrap_Joystick_GetMovementThreshold
, METH_O
, NULL
},
39546 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39547 { (char *)"Joystick_IsOk", (PyCFunction
)_wrap_Joystick_IsOk
, METH_O
, NULL
},
39548 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
)_wrap_Joystick_GetNumberJoysticks
, METH_O
, NULL
},
39549 { (char *)"Joystick_GetManufacturerId", (PyCFunction
)_wrap_Joystick_GetManufacturerId
, METH_O
, NULL
},
39550 { (char *)"Joystick_GetProductId", (PyCFunction
)_wrap_Joystick_GetProductId
, METH_O
, NULL
},
39551 { (char *)"Joystick_GetProductName", (PyCFunction
)_wrap_Joystick_GetProductName
, METH_O
, NULL
},
39552 { (char *)"Joystick_GetXMin", (PyCFunction
)_wrap_Joystick_GetXMin
, METH_O
, NULL
},
39553 { (char *)"Joystick_GetYMin", (PyCFunction
)_wrap_Joystick_GetYMin
, METH_O
, NULL
},
39554 { (char *)"Joystick_GetZMin", (PyCFunction
)_wrap_Joystick_GetZMin
, METH_O
, NULL
},
39555 { (char *)"Joystick_GetXMax", (PyCFunction
)_wrap_Joystick_GetXMax
, METH_O
, NULL
},
39556 { (char *)"Joystick_GetYMax", (PyCFunction
)_wrap_Joystick_GetYMax
, METH_O
, NULL
},
39557 { (char *)"Joystick_GetZMax", (PyCFunction
)_wrap_Joystick_GetZMax
, METH_O
, NULL
},
39558 { (char *)"Joystick_GetNumberButtons", (PyCFunction
)_wrap_Joystick_GetNumberButtons
, METH_O
, NULL
},
39559 { (char *)"Joystick_GetNumberAxes", (PyCFunction
)_wrap_Joystick_GetNumberAxes
, METH_O
, NULL
},
39560 { (char *)"Joystick_GetMaxButtons", (PyCFunction
)_wrap_Joystick_GetMaxButtons
, METH_O
, NULL
},
39561 { (char *)"Joystick_GetMaxAxes", (PyCFunction
)_wrap_Joystick_GetMaxAxes
, METH_O
, NULL
},
39562 { (char *)"Joystick_GetPollingMin", (PyCFunction
)_wrap_Joystick_GetPollingMin
, METH_O
, NULL
},
39563 { (char *)"Joystick_GetPollingMax", (PyCFunction
)_wrap_Joystick_GetPollingMax
, METH_O
, NULL
},
39564 { (char *)"Joystick_GetRudderMin", (PyCFunction
)_wrap_Joystick_GetRudderMin
, METH_O
, NULL
},
39565 { (char *)"Joystick_GetRudderMax", (PyCFunction
)_wrap_Joystick_GetRudderMax
, METH_O
, NULL
},
39566 { (char *)"Joystick_GetUMin", (PyCFunction
)_wrap_Joystick_GetUMin
, METH_O
, NULL
},
39567 { (char *)"Joystick_GetUMax", (PyCFunction
)_wrap_Joystick_GetUMax
, METH_O
, NULL
},
39568 { (char *)"Joystick_GetVMin", (PyCFunction
)_wrap_Joystick_GetVMin
, METH_O
, NULL
},
39569 { (char *)"Joystick_GetVMax", (PyCFunction
)_wrap_Joystick_GetVMax
, METH_O
, NULL
},
39570 { (char *)"Joystick_HasRudder", (PyCFunction
)_wrap_Joystick_HasRudder
, METH_O
, NULL
},
39571 { (char *)"Joystick_HasZ", (PyCFunction
)_wrap_Joystick_HasZ
, METH_O
, NULL
},
39572 { (char *)"Joystick_HasU", (PyCFunction
)_wrap_Joystick_HasU
, METH_O
, NULL
},
39573 { (char *)"Joystick_HasV", (PyCFunction
)_wrap_Joystick_HasV
, METH_O
, NULL
},
39574 { (char *)"Joystick_HasPOV", (PyCFunction
)_wrap_Joystick_HasPOV
, METH_O
, NULL
},
39575 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
)_wrap_Joystick_HasPOV4Dir
, METH_O
, NULL
},
39576 { (char *)"Joystick_HasPOVCTS", (PyCFunction
)_wrap_Joystick_HasPOVCTS
, METH_O
, NULL
},
39577 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39578 { (char *)"Joystick_ReleaseCapture", (PyCFunction
)_wrap_Joystick_ReleaseCapture
, METH_O
, NULL
},
39579 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
39580 { (char *)"Joystick_swiginit", Joystick_swiginit
, METH_VARARGS
, NULL
},
39581 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39582 { (char *)"JoystickEvent_GetPosition", (PyCFunction
)_wrap_JoystickEvent_GetPosition
, METH_O
, NULL
},
39583 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
)_wrap_JoystickEvent_GetZPosition
, METH_O
, NULL
},
39584 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
)_wrap_JoystickEvent_GetButtonState
, METH_O
, NULL
},
39585 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
)_wrap_JoystickEvent_GetButtonChange
, METH_O
, NULL
},
39586 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
)_wrap_JoystickEvent_GetJoystick
, METH_O
, NULL
},
39587 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39588 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39589 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39590 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39591 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39592 { (char *)"JoystickEvent_IsButton", (PyCFunction
)_wrap_JoystickEvent_IsButton
, METH_O
, NULL
},
39593 { (char *)"JoystickEvent_IsMove", (PyCFunction
)_wrap_JoystickEvent_IsMove
, METH_O
, NULL
},
39594 { (char *)"JoystickEvent_IsZMove", (PyCFunction
)_wrap_JoystickEvent_IsZMove
, METH_O
, NULL
},
39595 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39596 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39597 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39598 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
39599 { (char *)"JoystickEvent_swiginit", JoystickEvent_swiginit
, METH_VARARGS
, NULL
},
39600 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39601 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39602 { (char *)"delete_Sound", (PyCFunction
)_wrap_delete_Sound
, METH_O
, NULL
},
39603 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39604 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39605 { (char *)"Sound_IsOk", (PyCFunction
)_wrap_Sound_IsOk
, METH_O
, NULL
},
39606 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39607 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39608 { (char *)"Sound_Stop", (PyCFunction
)_wrap_Sound_Stop
, METH_NOARGS
, NULL
},
39609 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
39610 { (char *)"Sound_swiginit", Sound_swiginit
, METH_VARARGS
, NULL
},
39611 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39612 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39613 { (char *)"new_NullFileTypeInfo", (PyCFunction
)_wrap_new_NullFileTypeInfo
, METH_NOARGS
, NULL
},
39614 { (char *)"FileTypeInfo_IsValid", (PyCFunction
)_wrap_FileTypeInfo_IsValid
, METH_O
, NULL
},
39615 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39616 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39617 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
)_wrap_FileTypeInfo_GetMimeType
, METH_O
, NULL
},
39618 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
)_wrap_FileTypeInfo_GetOpenCommand
, METH_O
, NULL
},
39619 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
)_wrap_FileTypeInfo_GetPrintCommand
, METH_O
, NULL
},
39620 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
)_wrap_FileTypeInfo_GetShortDesc
, METH_O
, NULL
},
39621 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
)_wrap_FileTypeInfo_GetDescription
, METH_O
, NULL
},
39622 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
)_wrap_FileTypeInfo_GetExtensions
, METH_O
, NULL
},
39623 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
)_wrap_FileTypeInfo_GetExtensionsCount
, METH_O
, NULL
},
39624 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
)_wrap_FileTypeInfo_GetIconFile
, METH_O
, NULL
},
39625 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
)_wrap_FileTypeInfo_GetIconIndex
, METH_O
, NULL
},
39626 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
39627 { (char *)"FileTypeInfo_swiginit", FileTypeInfo_swiginit
, METH_VARARGS
, NULL
},
39628 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39629 { (char *)"delete_FileType", (PyCFunction
)_wrap_delete_FileType
, METH_O
, NULL
},
39630 { (char *)"FileType_GetMimeType", (PyCFunction
)_wrap_FileType_GetMimeType
, METH_O
, NULL
},
39631 { (char *)"FileType_GetMimeTypes", (PyCFunction
)_wrap_FileType_GetMimeTypes
, METH_O
, NULL
},
39632 { (char *)"FileType_GetExtensions", (PyCFunction
)_wrap_FileType_GetExtensions
, METH_O
, NULL
},
39633 { (char *)"FileType_GetIcon", (PyCFunction
)_wrap_FileType_GetIcon
, METH_O
, NULL
},
39634 { (char *)"FileType_GetIconInfo", (PyCFunction
)_wrap_FileType_GetIconInfo
, METH_O
, NULL
},
39635 { (char *)"FileType_GetDescription", (PyCFunction
)_wrap_FileType_GetDescription
, METH_O
, NULL
},
39636 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39637 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39638 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39639 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39640 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39641 { (char *)"FileType_Unassociate", (PyCFunction
)_wrap_FileType_Unassociate
, METH_O
, NULL
},
39642 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39643 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
39644 { (char *)"FileType_swiginit", FileType_swiginit
, METH_VARARGS
, NULL
},
39645 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39646 { (char *)"new_MimeTypesManager", (PyCFunction
)_wrap_new_MimeTypesManager
, METH_NOARGS
, NULL
},
39647 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39648 { (char *)"MimeTypesManager_ClearData", (PyCFunction
)_wrap_MimeTypesManager_ClearData
, METH_O
, NULL
},
39649 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39650 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39651 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39652 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39653 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
)_wrap_MimeTypesManager_EnumAllFileTypes
, METH_O
, NULL
},
39654 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39655 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39656 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39657 { (char *)"delete_MimeTypesManager", (PyCFunction
)_wrap_delete_MimeTypesManager
, METH_O
, NULL
},
39658 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
39659 { (char *)"MimeTypesManager_swiginit", MimeTypesManager_swiginit
, METH_VARARGS
, NULL
},
39660 { (char *)"new_ArtProvider", (PyCFunction
)_wrap_new_ArtProvider
, METH_NOARGS
, NULL
},
39661 { (char *)"delete_ArtProvider", (PyCFunction
)_wrap_delete_ArtProvider
, METH_O
, NULL
},
39662 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39663 { (char *)"ArtProvider_Push", (PyCFunction
) _wrap_ArtProvider_Push
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39664 { (char *)"ArtProvider_Insert", (PyCFunction
) _wrap_ArtProvider_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39665 { (char *)"ArtProvider_Pop", (PyCFunction
)_wrap_ArtProvider_Pop
, METH_NOARGS
, NULL
},
39666 { (char *)"ArtProvider_Delete", (PyCFunction
) _wrap_ArtProvider_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39667 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39668 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39669 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39670 { (char *)"ArtProvider_Destroy", (PyCFunction
)_wrap_ArtProvider_Destroy
, METH_O
, NULL
},
39671 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
39672 { (char *)"ArtProvider_swiginit", ArtProvider_swiginit
, METH_VARARGS
, NULL
},
39673 { (char *)"delete_ConfigBase", (PyCFunction
)_wrap_delete_ConfigBase
, METH_O
, NULL
},
39674 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39675 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39676 { (char *)"ConfigBase_Create", (PyCFunction
)_wrap_ConfigBase_Create
, METH_NOARGS
, NULL
},
39677 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
)_wrap_ConfigBase_DontCreateOnDemand
, METH_NOARGS
, NULL
},
39678 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39679 { (char *)"ConfigBase_GetPath", (PyCFunction
)_wrap_ConfigBase_GetPath
, METH_O
, NULL
},
39680 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
)_wrap_ConfigBase_GetFirstGroup
, METH_O
, NULL
},
39681 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39682 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
)_wrap_ConfigBase_GetFirstEntry
, METH_O
, NULL
},
39683 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39684 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39685 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39686 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39687 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39688 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39689 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39690 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39691 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39692 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39693 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39694 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39695 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39696 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39697 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39698 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39699 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39700 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39701 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39702 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39703 { (char *)"ConfigBase_DeleteAll", (PyCFunction
)_wrap_ConfigBase_DeleteAll
, METH_O
, NULL
},
39704 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39705 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
)_wrap_ConfigBase_IsExpandingEnvVars
, METH_O
, NULL
},
39706 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39707 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
)_wrap_ConfigBase_IsRecordingDefaults
, METH_O
, NULL
},
39708 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39709 { (char *)"ConfigBase_GetAppName", (PyCFunction
)_wrap_ConfigBase_GetAppName
, METH_O
, NULL
},
39710 { (char *)"ConfigBase_GetVendorName", (PyCFunction
)_wrap_ConfigBase_GetVendorName
, METH_O
, NULL
},
39711 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39712 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39713 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39714 { (char *)"ConfigBase_GetStyle", (PyCFunction
)_wrap_ConfigBase_GetStyle
, METH_O
, NULL
},
39715 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
39716 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39717 { (char *)"delete_Config", (PyCFunction
)_wrap_delete_Config
, METH_O
, NULL
},
39718 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
39719 { (char *)"Config_swiginit", Config_swiginit
, METH_VARARGS
, NULL
},
39720 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39721 { (char *)"delete_FileConfig", (PyCFunction
)_wrap_delete_FileConfig
, METH_O
, NULL
},
39722 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
39723 { (char *)"FileConfig_swiginit", FileConfig_swiginit
, METH_VARARGS
, NULL
},
39724 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39725 { (char *)"delete_ConfigPathChanger", (PyCFunction
)_wrap_delete_ConfigPathChanger
, METH_O
, NULL
},
39726 { (char *)"ConfigPathChanger_Name", (PyCFunction
)_wrap_ConfigPathChanger_Name
, METH_O
, NULL
},
39727 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
39728 { (char *)"ConfigPathChanger_swiginit", ConfigPathChanger_swiginit
, METH_VARARGS
, NULL
},
39729 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39730 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39731 { (char *)"DateTime_GetCountry", (PyCFunction
)_wrap_DateTime_GetCountry
, METH_NOARGS
, NULL
},
39732 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39733 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39734 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39735 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39736 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39737 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39738 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39739 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39740 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39741 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39742 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
)_wrap_DateTime_GetAmPmStrings
, METH_NOARGS
, NULL
},
39743 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39744 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39745 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39746 { (char *)"DateTime_Now", (PyCFunction
)_wrap_DateTime_Now
, METH_NOARGS
, NULL
},
39747 { (char *)"DateTime_UNow", (PyCFunction
)_wrap_DateTime_UNow
, METH_NOARGS
, NULL
},
39748 { (char *)"DateTime_Today", (PyCFunction
)_wrap_DateTime_Today
, METH_NOARGS
, NULL
},
39749 { (char *)"new_DateTime", (PyCFunction
)_wrap_new_DateTime
, METH_NOARGS
, NULL
},
39750 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39751 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39752 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39753 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39754 { (char *)"new_DateTimeFromDateTime", (PyCFunction
) _wrap_new_DateTimeFromDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39755 { (char *)"delete_DateTime", (PyCFunction
)_wrap_delete_DateTime
, METH_O
, NULL
},
39756 { (char *)"DateTime_SetToCurrent", (PyCFunction
)_wrap_DateTime_SetToCurrent
, METH_O
, NULL
},
39757 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39758 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39759 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39760 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39761 { (char *)"DateTime_ResetTime", (PyCFunction
)_wrap_DateTime_ResetTime
, METH_O
, NULL
},
39762 { (char *)"DateTime_GetDateOnly", (PyCFunction
)_wrap_DateTime_GetDateOnly
, METH_O
, NULL
},
39763 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39764 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39765 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39766 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39767 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39768 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39769 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39770 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39771 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39772 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39773 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39774 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39775 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39776 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39777 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39778 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39779 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39780 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39781 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39782 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39783 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39784 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39785 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39786 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetJulianDayNumber
, METH_O
, NULL
},
39787 { (char *)"DateTime_GetJDN", (PyCFunction
)_wrap_DateTime_GetJDN
, METH_O
, NULL
},
39788 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetModifiedJulianDayNumber
, METH_O
, NULL
},
39789 { (char *)"DateTime_GetMJD", (PyCFunction
)_wrap_DateTime_GetMJD
, METH_O
, NULL
},
39790 { (char *)"DateTime_GetRataDie", (PyCFunction
)_wrap_DateTime_GetRataDie
, METH_O
, NULL
},
39791 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39792 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39793 { (char *)"DateTime_FromTimezone", (PyCFunction
) _wrap_DateTime_FromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39794 { (char *)"DateTime_MakeFromTimezone", (PyCFunction
) _wrap_DateTime_MakeFromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39795 { (char *)"DateTime_ToUTC", (PyCFunction
) _wrap_DateTime_ToUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39796 { (char *)"DateTime_MakeUTC", (PyCFunction
) _wrap_DateTime_MakeUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39797 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39798 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39799 { (char *)"DateTime_FromUTC", (PyCFunction
) _wrap_DateTime_FromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39800 { (char *)"DateTime_MakeFromUTC", (PyCFunction
) _wrap_DateTime_MakeFromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39801 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39802 { (char *)"DateTime_IsValid", (PyCFunction
)_wrap_DateTime_IsValid
, METH_O
, NULL
},
39803 { (char *)"DateTime_GetTicks", (PyCFunction
)_wrap_DateTime_GetTicks
, METH_O
, NULL
},
39804 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39805 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39806 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39807 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39808 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39809 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39810 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39811 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39812 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39813 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39814 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39815 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39816 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39817 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39818 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39819 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39820 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39821 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39822 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39823 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39824 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39825 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39826 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39827 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39828 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39829 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
39830 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
39831 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
39832 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
39833 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39834 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39835 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39836 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39837 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39838 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39839 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39840 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39841 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39842 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39843 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39844 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39845 { (char *)"DateTime_FormatDate", (PyCFunction
)_wrap_DateTime_FormatDate
, METH_O
, NULL
},
39846 { (char *)"DateTime_FormatTime", (PyCFunction
)_wrap_DateTime_FormatTime
, METH_O
, NULL
},
39847 { (char *)"DateTime_FormatISODate", (PyCFunction
)_wrap_DateTime_FormatISODate
, METH_O
, NULL
},
39848 { (char *)"DateTime_FormatISOTime", (PyCFunction
)_wrap_DateTime_FormatISOTime
, METH_O
, NULL
},
39849 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
39850 { (char *)"DateTime_swiginit", DateTime_swiginit
, METH_VARARGS
, NULL
},
39851 { (char *)"TimeSpan_Milliseconds", (PyCFunction
) _wrap_TimeSpan_Milliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39852 { (char *)"TimeSpan_Millisecond", (PyCFunction
)_wrap_TimeSpan_Millisecond
, METH_NOARGS
, NULL
},
39853 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39854 { (char *)"TimeSpan_Second", (PyCFunction
)_wrap_TimeSpan_Second
, METH_NOARGS
, NULL
},
39855 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39856 { (char *)"TimeSpan_Minute", (PyCFunction
)_wrap_TimeSpan_Minute
, METH_NOARGS
, NULL
},
39857 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39858 { (char *)"TimeSpan_Hour", (PyCFunction
)_wrap_TimeSpan_Hour
, METH_NOARGS
, NULL
},
39859 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39860 { (char *)"TimeSpan_Day", (PyCFunction
)_wrap_TimeSpan_Day
, METH_NOARGS
, NULL
},
39861 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39862 { (char *)"TimeSpan_Week", (PyCFunction
)_wrap_TimeSpan_Week
, METH_NOARGS
, NULL
},
39863 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39864 { (char *)"delete_TimeSpan", (PyCFunction
)_wrap_delete_TimeSpan
, METH_O
, NULL
},
39865 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39866 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39867 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39868 { (char *)"TimeSpan_Neg", (PyCFunction
)_wrap_TimeSpan_Neg
, METH_O
, NULL
},
39869 { (char *)"TimeSpan_Abs", (PyCFunction
)_wrap_TimeSpan_Abs
, METH_O
, NULL
},
39870 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39871 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39872 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39873 { (char *)"TimeSpan___neg__", (PyCFunction
)_wrap_TimeSpan___neg__
, METH_O
, NULL
},
39874 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39875 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39876 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39877 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39878 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39879 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39880 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39881 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39882 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39883 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39884 { (char *)"TimeSpan_IsNull", (PyCFunction
)_wrap_TimeSpan_IsNull
, METH_O
, NULL
},
39885 { (char *)"TimeSpan_IsPositive", (PyCFunction
)_wrap_TimeSpan_IsPositive
, METH_O
, NULL
},
39886 { (char *)"TimeSpan_IsNegative", (PyCFunction
)_wrap_TimeSpan_IsNegative
, METH_O
, NULL
},
39887 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39888 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39889 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39890 { (char *)"TimeSpan_GetWeeks", (PyCFunction
)_wrap_TimeSpan_GetWeeks
, METH_O
, NULL
},
39891 { (char *)"TimeSpan_GetDays", (PyCFunction
)_wrap_TimeSpan_GetDays
, METH_O
, NULL
},
39892 { (char *)"TimeSpan_GetHours", (PyCFunction
)_wrap_TimeSpan_GetHours
, METH_O
, NULL
},
39893 { (char *)"TimeSpan_GetMinutes", (PyCFunction
)_wrap_TimeSpan_GetMinutes
, METH_O
, NULL
},
39894 { (char *)"TimeSpan_GetSeconds", (PyCFunction
)_wrap_TimeSpan_GetSeconds
, METH_O
, NULL
},
39895 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
)_wrap_TimeSpan_GetMilliseconds
, METH_O
, NULL
},
39896 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39897 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
39898 { (char *)"TimeSpan_swiginit", TimeSpan_swiginit
, METH_VARARGS
, NULL
},
39899 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39900 { (char *)"delete_DateSpan", (PyCFunction
)_wrap_delete_DateSpan
, METH_O
, NULL
},
39901 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39902 { (char *)"DateSpan_Day", (PyCFunction
)_wrap_DateSpan_Day
, METH_NOARGS
, NULL
},
39903 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39904 { (char *)"DateSpan_Week", (PyCFunction
)_wrap_DateSpan_Week
, METH_NOARGS
, NULL
},
39905 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39906 { (char *)"DateSpan_Month", (PyCFunction
)_wrap_DateSpan_Month
, METH_NOARGS
, NULL
},
39907 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39908 { (char *)"DateSpan_Year", (PyCFunction
)_wrap_DateSpan_Year
, METH_NOARGS
, NULL
},
39909 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39910 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39911 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39912 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39913 { (char *)"DateSpan_GetYears", (PyCFunction
)_wrap_DateSpan_GetYears
, METH_O
, NULL
},
39914 { (char *)"DateSpan_GetMonths", (PyCFunction
)_wrap_DateSpan_GetMonths
, METH_O
, NULL
},
39915 { (char *)"DateSpan_GetWeeks", (PyCFunction
)_wrap_DateSpan_GetWeeks
, METH_O
, NULL
},
39916 { (char *)"DateSpan_GetDays", (PyCFunction
)_wrap_DateSpan_GetDays
, METH_O
, NULL
},
39917 { (char *)"DateSpan_GetTotalDays", (PyCFunction
)_wrap_DateSpan_GetTotalDays
, METH_O
, NULL
},
39918 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39919 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39920 { (char *)"DateSpan_Neg", (PyCFunction
)_wrap_DateSpan_Neg
, METH_O
, NULL
},
39921 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39922 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39923 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39924 { (char *)"DateSpan___neg__", (PyCFunction
)_wrap_DateSpan___neg__
, METH_O
, NULL
},
39925 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39926 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39927 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39928 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39929 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39930 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39931 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39932 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
39933 { (char *)"DateSpan_swiginit", DateSpan_swiginit
, METH_VARARGS
, NULL
},
39934 { (char *)"GetLocalTime", (PyCFunction
)_wrap_GetLocalTime
, METH_NOARGS
, NULL
},
39935 { (char *)"GetUTCTime", (PyCFunction
)_wrap_GetUTCTime
, METH_NOARGS
, NULL
},
39936 { (char *)"GetCurrentTime", (PyCFunction
)_wrap_GetCurrentTime
, METH_NOARGS
, NULL
},
39937 { (char *)"GetLocalTimeMillis", (PyCFunction
)_wrap_GetLocalTimeMillis
, METH_NOARGS
, NULL
},
39938 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39939 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39940 { (char *)"delete_DataFormat", (PyCFunction
)_wrap_delete_DataFormat
, METH_O
, NULL
},
39941 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
39942 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
39943 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39944 { (char *)"DataFormat_GetType", (PyCFunction
)_wrap_DataFormat_GetType
, METH_O
, NULL
},
39945 { (char *)"DataFormat__GetId", (PyCFunction
)_wrap_DataFormat__GetId
, METH_O
, NULL
},
39946 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39947 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
39948 { (char *)"DataFormat_swiginit", DataFormat_swiginit
, METH_VARARGS
, NULL
},
39949 { (char *)"delete_DataObject", (PyCFunction
)_wrap_delete_DataObject
, METH_O
, NULL
},
39950 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39951 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39952 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39953 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39954 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39955 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39956 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39957 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
39958 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39959 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
)_wrap_DataObjectSimple_GetFormat
, METH_O
, NULL
},
39960 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39961 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
)_wrap_DataObjectSimple_GetDataSize
, METH_O
, NULL
},
39962 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
)_wrap_DataObjectSimple_GetDataHere
, METH_O
, NULL
},
39963 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39964 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
39965 { (char *)"DataObjectSimple_swiginit", DataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
39966 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39967 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39968 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
39969 { (char *)"PyDataObjectSimple_swiginit", PyDataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
39970 { (char *)"new_DataObjectComposite", (PyCFunction
)_wrap_new_DataObjectComposite
, METH_NOARGS
, NULL
},
39971 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39972 { (char *)"DataObjectComposite_GetReceivedFormat", (PyCFunction
)_wrap_DataObjectComposite_GetReceivedFormat
, METH_O
, NULL
},
39973 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
39974 { (char *)"DataObjectComposite_swiginit", DataObjectComposite_swiginit
, METH_VARARGS
, NULL
},
39975 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39976 { (char *)"TextDataObject_GetTextLength", (PyCFunction
)_wrap_TextDataObject_GetTextLength
, METH_O
, NULL
},
39977 { (char *)"TextDataObject_GetText", (PyCFunction
)_wrap_TextDataObject_GetText
, METH_O
, NULL
},
39978 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39979 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
39980 { (char *)"TextDataObject_swiginit", TextDataObject_swiginit
, METH_VARARGS
, NULL
},
39981 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39982 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39983 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
39984 { (char *)"PyTextDataObject_swiginit", PyTextDataObject_swiginit
, METH_VARARGS
, NULL
},
39985 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39986 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
)_wrap_BitmapDataObject_GetBitmap
, METH_O
, NULL
},
39987 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39988 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
39989 { (char *)"BitmapDataObject_swiginit", BitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
39990 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39991 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39992 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
39993 { (char *)"PyBitmapDataObject_swiginit", PyBitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
39994 { (char *)"new_FileDataObject", (PyCFunction
)_wrap_new_FileDataObject
, METH_NOARGS
, NULL
},
39995 { (char *)"FileDataObject_GetFilenames", (PyCFunction
)_wrap_FileDataObject_GetFilenames
, METH_O
, NULL
},
39996 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39997 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
39998 { (char *)"FileDataObject_swiginit", FileDataObject_swiginit
, METH_VARARGS
, NULL
},
39999 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
40000 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40001 { (char *)"CustomDataObject_GetSize", (PyCFunction
)_wrap_CustomDataObject_GetSize
, METH_O
, NULL
},
40002 { (char *)"CustomDataObject_GetData", (PyCFunction
)_wrap_CustomDataObject_GetData
, METH_O
, NULL
},
40003 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
40004 { (char *)"CustomDataObject_swiginit", CustomDataObject_swiginit
, METH_VARARGS
, NULL
},
40005 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40006 { (char *)"URLDataObject_GetURL", (PyCFunction
)_wrap_URLDataObject_GetURL
, METH_O
, NULL
},
40007 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40008 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
40009 { (char *)"URLDataObject_swiginit", URLDataObject_swiginit
, METH_VARARGS
, NULL
},
40010 { (char *)"new_MetafileDataObject", (PyCFunction
)_wrap_new_MetafileDataObject
, METH_NOARGS
, NULL
},
40011 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
40012 { (char *)"MetafileDataObject_swiginit", MetafileDataObject_swiginit
, METH_VARARGS
, NULL
},
40013 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40014 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40015 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40016 { (char *)"delete_DropSource", (PyCFunction
)_wrap_delete_DropSource
, METH_O
, NULL
},
40017 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40018 { (char *)"DropSource_GetDataObject", (PyCFunction
)_wrap_DropSource_GetDataObject
, METH_O
, NULL
},
40019 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40020 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40021 { (char *)"DropSource_GiveFeedback", (PyCFunction
) _wrap_DropSource_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40022 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
40023 { (char *)"DropSource_swiginit", DropSource_swiginit
, METH_VARARGS
, NULL
},
40024 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40025 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40026 { (char *)"delete_DropTarget", (PyCFunction
)_wrap_delete_DropTarget
, METH_O
, NULL
},
40027 { (char *)"DropTarget_GetDataObject", (PyCFunction
)_wrap_DropTarget_GetDataObject
, METH_O
, NULL
},
40028 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40029 { (char *)"DropTarget_OnEnter", (PyCFunction
) _wrap_DropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40030 { (char *)"DropTarget_OnDragOver", (PyCFunction
) _wrap_DropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40031 { (char *)"DropTarget_OnLeave", (PyCFunction
)_wrap_DropTarget_OnLeave
, METH_O
, NULL
},
40032 { (char *)"DropTarget_OnDrop", (PyCFunction
) _wrap_DropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40033 { (char *)"DropTarget_GetData", (PyCFunction
)_wrap_DropTarget_GetData
, METH_O
, NULL
},
40034 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40035 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
)_wrap_DropTarget_GetDefaultAction
, METH_O
, NULL
},
40036 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
40037 { (char *)"DropTarget_swiginit", DropTarget_swiginit
, METH_VARARGS
, NULL
},
40038 { (char *)"new_TextDropTarget", (PyCFunction
)_wrap_new_TextDropTarget
, METH_NOARGS
, NULL
},
40039 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40040 { (char *)"TextDropTarget_OnDropText", (PyCFunction
) _wrap_TextDropTarget_OnDropText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40041 { (char *)"TextDropTarget_OnEnter", (PyCFunction
) _wrap_TextDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40042 { (char *)"TextDropTarget_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40043 { (char *)"TextDropTarget_OnLeave", (PyCFunction
)_wrap_TextDropTarget_OnLeave
, METH_O
, NULL
},
40044 { (char *)"TextDropTarget_OnDrop", (PyCFunction
) _wrap_TextDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40045 { (char *)"TextDropTarget_OnData", (PyCFunction
) _wrap_TextDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40046 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
40047 { (char *)"TextDropTarget_swiginit", TextDropTarget_swiginit
, METH_VARARGS
, NULL
},
40048 { (char *)"new_FileDropTarget", (PyCFunction
)_wrap_new_FileDropTarget
, METH_NOARGS
, NULL
},
40049 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40050 { (char *)"FileDropTarget_OnDropFiles", (PyCFunction
) _wrap_FileDropTarget_OnDropFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40051 { (char *)"FileDropTarget_OnEnter", (PyCFunction
) _wrap_FileDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40052 { (char *)"FileDropTarget_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40053 { (char *)"FileDropTarget_OnLeave", (PyCFunction
)_wrap_FileDropTarget_OnLeave
, METH_O
, NULL
},
40054 { (char *)"FileDropTarget_OnDrop", (PyCFunction
) _wrap_FileDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40055 { (char *)"FileDropTarget_OnData", (PyCFunction
) _wrap_FileDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40056 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
40057 { (char *)"FileDropTarget_swiginit", FileDropTarget_swiginit
, METH_VARARGS
, NULL
},
40058 { (char *)"new_Clipboard", (PyCFunction
)_wrap_new_Clipboard
, METH_NOARGS
, NULL
},
40059 { (char *)"delete_Clipboard", (PyCFunction
)_wrap_delete_Clipboard
, METH_O
, NULL
},
40060 { (char *)"Clipboard_Open", (PyCFunction
)_wrap_Clipboard_Open
, METH_O
, NULL
},
40061 { (char *)"Clipboard_Close", (PyCFunction
)_wrap_Clipboard_Close
, METH_O
, NULL
},
40062 { (char *)"Clipboard_IsOpened", (PyCFunction
)_wrap_Clipboard_IsOpened
, METH_O
, NULL
},
40063 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40064 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40065 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40066 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40067 { (char *)"Clipboard_Clear", (PyCFunction
)_wrap_Clipboard_Clear
, METH_O
, NULL
},
40068 { (char *)"Clipboard_Flush", (PyCFunction
)_wrap_Clipboard_Flush
, METH_O
, NULL
},
40069 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40070 { (char *)"Clipboard_Get", (PyCFunction
)_wrap_Clipboard_Get
, METH_NOARGS
, NULL
},
40071 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
40072 { (char *)"Clipboard_swiginit", Clipboard_swiginit
, METH_VARARGS
, NULL
},
40073 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40074 { (char *)"delete_ClipboardLocker", (PyCFunction
)_wrap_delete_ClipboardLocker
, METH_O
, NULL
},
40075 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
)_wrap_ClipboardLocker___nonzero__
, METH_O
, NULL
},
40076 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
40077 { (char *)"ClipboardLocker_swiginit", ClipboardLocker_swiginit
, METH_VARARGS
, NULL
},
40078 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40079 { (char *)"delete_VideoMode", (PyCFunction
)_wrap_delete_VideoMode
, METH_O
, NULL
},
40080 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40081 { (char *)"VideoMode_GetWidth", (PyCFunction
)_wrap_VideoMode_GetWidth
, METH_O
, NULL
},
40082 { (char *)"VideoMode_GetHeight", (PyCFunction
)_wrap_VideoMode_GetHeight
, METH_O
, NULL
},
40083 { (char *)"VideoMode_GetDepth", (PyCFunction
)_wrap_VideoMode_GetDepth
, METH_O
, NULL
},
40084 { (char *)"VideoMode_IsOk", (PyCFunction
)_wrap_VideoMode_IsOk
, METH_O
, NULL
},
40085 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40086 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40087 { (char *)"VideoMode_w_set", _wrap_VideoMode_w_set
, METH_VARARGS
, NULL
},
40088 { (char *)"VideoMode_w_get", (PyCFunction
)_wrap_VideoMode_w_get
, METH_O
, NULL
},
40089 { (char *)"VideoMode_h_set", _wrap_VideoMode_h_set
, METH_VARARGS
, NULL
},
40090 { (char *)"VideoMode_h_get", (PyCFunction
)_wrap_VideoMode_h_get
, METH_O
, NULL
},
40091 { (char *)"VideoMode_bpp_set", _wrap_VideoMode_bpp_set
, METH_VARARGS
, NULL
},
40092 { (char *)"VideoMode_bpp_get", (PyCFunction
)_wrap_VideoMode_bpp_get
, METH_O
, NULL
},
40093 { (char *)"VideoMode_refresh_set", _wrap_VideoMode_refresh_set
, METH_VARARGS
, NULL
},
40094 { (char *)"VideoMode_refresh_get", (PyCFunction
)_wrap_VideoMode_refresh_get
, METH_O
, NULL
},
40095 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
40096 { (char *)"VideoMode_swiginit", VideoMode_swiginit
, METH_VARARGS
, NULL
},
40097 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40098 { (char *)"delete_Display", (PyCFunction
)_wrap_delete_Display
, METH_O
, NULL
},
40099 { (char *)"Display_GetCount", (PyCFunction
)_wrap_Display_GetCount
, METH_NOARGS
, NULL
},
40100 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40101 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40102 { (char *)"Display_IsOk", (PyCFunction
)_wrap_Display_IsOk
, METH_O
, NULL
},
40103 { (char *)"Display_GetGeometry", (PyCFunction
)_wrap_Display_GetGeometry
, METH_O
, NULL
},
40104 { (char *)"Display_GetClientArea", (PyCFunction
)_wrap_Display_GetClientArea
, METH_O
, NULL
},
40105 { (char *)"Display_GetName", (PyCFunction
)_wrap_Display_GetName
, METH_O
, NULL
},
40106 { (char *)"Display_IsPrimary", (PyCFunction
)_wrap_Display_IsPrimary
, METH_O
, NULL
},
40107 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40108 { (char *)"Display_GetCurrentMode", (PyCFunction
)_wrap_Display_GetCurrentMode
, METH_O
, NULL
},
40109 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40110 { (char *)"Display_ResetMode", (PyCFunction
)_wrap_Display_ResetMode
, METH_O
, NULL
},
40111 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
40112 { (char *)"Display_swiginit", Display_swiginit
, METH_VARARGS
, NULL
},
40113 { (char *)"StandardPaths_Get", (PyCFunction
)_wrap_StandardPaths_Get
, METH_NOARGS
, NULL
},
40114 { (char *)"StandardPaths_GetExecutablePath", (PyCFunction
)_wrap_StandardPaths_GetExecutablePath
, METH_O
, NULL
},
40115 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
)_wrap_StandardPaths_GetConfigDir
, METH_O
, NULL
},
40116 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
)_wrap_StandardPaths_GetUserConfigDir
, METH_O
, NULL
},
40117 { (char *)"StandardPaths_GetDataDir", (PyCFunction
)_wrap_StandardPaths_GetDataDir
, METH_O
, NULL
},
40118 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetLocalDataDir
, METH_O
, NULL
},
40119 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserDataDir
, METH_O
, NULL
},
40120 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserLocalDataDir
, METH_O
, NULL
},
40121 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
)_wrap_StandardPaths_GetPluginsDir
, METH_O
, NULL
},
40122 { (char *)"StandardPaths_GetResourcesDir", (PyCFunction
)_wrap_StandardPaths_GetResourcesDir
, METH_O
, NULL
},
40123 { (char *)"StandardPaths_GetLocalizedResourcesDir", (PyCFunction
) _wrap_StandardPaths_GetLocalizedResourcesDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40124 { (char *)"StandardPaths_GetDocumentsDir", (PyCFunction
)_wrap_StandardPaths_GetDocumentsDir
, METH_O
, NULL
},
40125 { (char *)"StandardPaths_GetTempDir", (PyCFunction
)_wrap_StandardPaths_GetTempDir
, METH_O
, NULL
},
40126 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40127 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
)_wrap_StandardPaths_GetInstallPrefix
, METH_O
, NULL
},
40128 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
40129 { (char *)"new_PowerEvent", (PyCFunction
) _wrap_new_PowerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40130 { (char *)"PowerEvent_Veto", (PyCFunction
)_wrap_PowerEvent_Veto
, METH_O
, NULL
},
40131 { (char *)"PowerEvent_IsVetoed", (PyCFunction
)_wrap_PowerEvent_IsVetoed
, METH_O
, NULL
},
40132 { (char *)"PowerEvent_swigregister", PowerEvent_swigregister
, METH_VARARGS
, NULL
},
40133 { (char *)"PowerEvent_swiginit", PowerEvent_swiginit
, METH_VARARGS
, NULL
},
40134 { (char *)"GetPowerType", (PyCFunction
)_wrap_GetPowerType
, METH_NOARGS
, NULL
},
40135 { (char *)"GetBatteryState", (PyCFunction
)_wrap_GetBatteryState
, METH_NOARGS
, NULL
},
40136 { (char *)"new_AboutDialogInfo", (PyCFunction
)_wrap_new_AboutDialogInfo
, METH_NOARGS
, NULL
},
40137 { (char *)"delete_AboutDialogInfo", (PyCFunction
)_wrap_delete_AboutDialogInfo
, METH_O
, NULL
},
40138 { (char *)"AboutDialogInfo_SetName", (PyCFunction
) _wrap_AboutDialogInfo_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40139 { (char *)"AboutDialogInfo_GetName", (PyCFunction
)_wrap_AboutDialogInfo_GetName
, METH_O
, NULL
},
40140 { (char *)"AboutDialogInfo_SetVersion", (PyCFunction
) _wrap_AboutDialogInfo_SetVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40141 { (char *)"AboutDialogInfo_HasVersion", (PyCFunction
)_wrap_AboutDialogInfo_HasVersion
, METH_O
, NULL
},
40142 { (char *)"AboutDialogInfo_GetVersion", (PyCFunction
)_wrap_AboutDialogInfo_GetVersion
, METH_O
, NULL
},
40143 { (char *)"AboutDialogInfo_SetDescription", (PyCFunction
) _wrap_AboutDialogInfo_SetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40144 { (char *)"AboutDialogInfo_HasDescription", (PyCFunction
)_wrap_AboutDialogInfo_HasDescription
, METH_O
, NULL
},
40145 { (char *)"AboutDialogInfo_GetDescription", (PyCFunction
)_wrap_AboutDialogInfo_GetDescription
, METH_O
, NULL
},
40146 { (char *)"AboutDialogInfo_SetCopyright", (PyCFunction
) _wrap_AboutDialogInfo_SetCopyright
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40147 { (char *)"AboutDialogInfo_HasCopyright", (PyCFunction
)_wrap_AboutDialogInfo_HasCopyright
, METH_O
, NULL
},
40148 { (char *)"AboutDialogInfo_GetCopyright", (PyCFunction
)_wrap_AboutDialogInfo_GetCopyright
, METH_O
, NULL
},
40149 { (char *)"AboutDialogInfo_SetLicence", (PyCFunction
) _wrap_AboutDialogInfo_SetLicence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40150 { (char *)"AboutDialogInfo_SetLicense", (PyCFunction
) _wrap_AboutDialogInfo_SetLicense
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40151 { (char *)"AboutDialogInfo_HasLicence", (PyCFunction
)_wrap_AboutDialogInfo_HasLicence
, METH_O
, NULL
},
40152 { (char *)"AboutDialogInfo_GetLicence", (PyCFunction
)_wrap_AboutDialogInfo_GetLicence
, METH_O
, NULL
},
40153 { (char *)"AboutDialogInfo_SetIcon", (PyCFunction
) _wrap_AboutDialogInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40154 { (char *)"AboutDialogInfo_HasIcon", (PyCFunction
)_wrap_AboutDialogInfo_HasIcon
, METH_O
, NULL
},
40155 { (char *)"AboutDialogInfo_GetIcon", (PyCFunction
)_wrap_AboutDialogInfo_GetIcon
, METH_O
, NULL
},
40156 { (char *)"AboutDialogInfo__SetWebSite", (PyCFunction
) _wrap_AboutDialogInfo__SetWebSite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40157 { (char *)"AboutDialogInfo__GetWebSiteURL", (PyCFunction
)_wrap_AboutDialogInfo__GetWebSiteURL
, METH_O
, NULL
},
40158 { (char *)"AboutDialogInfo__GetWebSiteDescription", (PyCFunction
)_wrap_AboutDialogInfo__GetWebSiteDescription
, METH_O
, NULL
},
40159 { (char *)"AboutDialogInfo_HasWebSite", (PyCFunction
)_wrap_AboutDialogInfo_HasWebSite
, METH_O
, NULL
},
40160 { (char *)"AboutDialogInfo_SetDevelopers", (PyCFunction
) _wrap_AboutDialogInfo_SetDevelopers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40161 { (char *)"AboutDialogInfo_AddDeveloper", (PyCFunction
) _wrap_AboutDialogInfo_AddDeveloper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40162 { (char *)"AboutDialogInfo_HasDevelopers", (PyCFunction
)_wrap_AboutDialogInfo_HasDevelopers
, METH_O
, NULL
},
40163 { (char *)"AboutDialogInfo_GetDevelopers", (PyCFunction
)_wrap_AboutDialogInfo_GetDevelopers
, METH_O
, NULL
},
40164 { (char *)"AboutDialogInfo_SetDocWriters", (PyCFunction
) _wrap_AboutDialogInfo_SetDocWriters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40165 { (char *)"AboutDialogInfo_AddDocWriter", (PyCFunction
) _wrap_AboutDialogInfo_AddDocWriter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40166 { (char *)"AboutDialogInfo_HasDocWriters", (PyCFunction
)_wrap_AboutDialogInfo_HasDocWriters
, METH_O
, NULL
},
40167 { (char *)"AboutDialogInfo_GetDocWriters", (PyCFunction
)_wrap_AboutDialogInfo_GetDocWriters
, METH_O
, NULL
},
40168 { (char *)"AboutDialogInfo_SetArtists", (PyCFunction
) _wrap_AboutDialogInfo_SetArtists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40169 { (char *)"AboutDialogInfo_AddArtist", (PyCFunction
) _wrap_AboutDialogInfo_AddArtist
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40170 { (char *)"AboutDialogInfo_HasArtists", (PyCFunction
)_wrap_AboutDialogInfo_HasArtists
, METH_O
, NULL
},
40171 { (char *)"AboutDialogInfo_GetArtists", (PyCFunction
)_wrap_AboutDialogInfo_GetArtists
, METH_O
, NULL
},
40172 { (char *)"AboutDialogInfo_SetTranslators", (PyCFunction
) _wrap_AboutDialogInfo_SetTranslators
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40173 { (char *)"AboutDialogInfo_AddTranslator", (PyCFunction
) _wrap_AboutDialogInfo_AddTranslator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40174 { (char *)"AboutDialogInfo_HasTranslators", (PyCFunction
)_wrap_AboutDialogInfo_HasTranslators
, METH_O
, NULL
},
40175 { (char *)"AboutDialogInfo_GetTranslators", (PyCFunction
)_wrap_AboutDialogInfo_GetTranslators
, METH_O
, NULL
},
40176 { (char *)"AboutDialogInfo_IsSimple", (PyCFunction
)_wrap_AboutDialogInfo_IsSimple
, METH_O
, NULL
},
40177 { (char *)"AboutDialogInfo_GetDescriptionAndCredits", (PyCFunction
)_wrap_AboutDialogInfo_GetDescriptionAndCredits
, METH_O
, NULL
},
40178 { (char *)"AboutDialogInfo_swigregister", AboutDialogInfo_swigregister
, METH_VARARGS
, NULL
},
40179 { (char *)"AboutDialogInfo_swiginit", AboutDialogInfo_swiginit
, METH_VARARGS
, NULL
},
40180 { (char *)"AboutBox", (PyCFunction
) _wrap_AboutBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40181 { NULL
, NULL
, 0, NULL
}
40185 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
40187 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
40188 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40190 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
40191 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
40193 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
40194 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
40196 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
40197 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
40199 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
40200 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
40202 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
40203 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
40205 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
40206 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
40208 static void *_p_wxPowerEventTo_p_wxEvent(void *x
) {
40209 return (void *)((wxEvent
*) ((wxPowerEvent
*) x
));
40211 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
40212 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
40214 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
40215 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
40217 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
40218 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40220 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
40221 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
40223 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
40224 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
40226 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
40227 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
40229 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
40230 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
40232 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
40233 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40235 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
40236 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40238 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
40239 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
40241 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
40242 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
40244 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
40245 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
40247 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
40248 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
40250 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
40251 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
40253 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
40254 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
40256 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
40257 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
40259 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
40260 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
40262 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
40263 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
40265 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
40266 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40268 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
40269 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40271 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
40272 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40274 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
40275 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40277 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
40278 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40280 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
40281 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
40283 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
40284 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
40286 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
40287 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40289 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
40290 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
40292 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
40293 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
40295 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
40296 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
40298 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
40299 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40301 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
40302 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40304 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
40305 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40307 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
40308 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
40310 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
40311 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
40313 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
40314 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
40316 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
40317 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
40319 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
40320 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
40322 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
40323 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
40325 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
40326 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
40328 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
40329 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
40331 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
40332 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
40334 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
40335 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
40337 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
40338 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
40340 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
40341 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
40343 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
40344 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
40346 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
40347 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
40349 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
40350 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
40352 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
40353 return (void *)((wxDataObject
*) ((wxURLDataObject
*) x
));
40355 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
40356 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
40358 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
40359 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
40361 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
40362 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
40364 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
40365 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
40367 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
40368 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
40370 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
40371 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
40373 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
40374 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
40376 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
40377 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
40379 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
40380 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
40382 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
40383 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
40385 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
40386 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
40388 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
40389 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40391 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
40392 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
40394 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
40395 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
40397 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
40398 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
40400 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
40401 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
40403 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
40404 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
40406 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
40407 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
40409 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
40410 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
40412 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
40413 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
40415 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
40416 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
40418 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
40419 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
40421 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
40422 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
40424 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
40425 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
40427 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
40428 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
40430 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
40431 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40433 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
40434 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
40436 static void *_p_wxSizerTo_p_wxObject(void *x
) {
40437 return (void *)((wxObject
*) ((wxSizer
*) x
));
40439 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
40440 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40442 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
40443 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
40445 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
40446 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40448 static void *_p_wxEventTo_p_wxObject(void *x
) {
40449 return (void *)((wxObject
*) ((wxEvent
*) x
));
40451 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
40452 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40454 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
40455 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
40457 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
40458 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
40460 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
40461 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
40463 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
40464 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
40466 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
40467 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
40469 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
40470 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40472 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
40473 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40475 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
40476 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40478 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
40479 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40481 static void *_p_wxControlTo_p_wxObject(void *x
) {
40482 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
40484 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
40485 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
40487 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
40488 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
40490 static void *_p_wxPowerEventTo_p_wxObject(void *x
) {
40491 return (void *)((wxObject
*) (wxEvent
*) ((wxPowerEvent
*) x
));
40493 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
40494 return (void *)((wxObject
*) ((wxFSFile
*) x
));
40496 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
40497 return (void *)((wxObject
*) ((wxClipboard
*) x
));
40499 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
40500 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
40502 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
40503 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
40505 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
40506 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40508 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
40509 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
40511 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
40512 return (void *)((wxObject
*) ((wxToolTip
*) x
));
40514 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
40515 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
40517 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
40518 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
40520 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
40521 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
40523 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
40524 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40526 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
40527 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40529 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
40530 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
40532 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
40533 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
40535 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
40536 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
40538 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
40539 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
40541 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
40542 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
40544 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
40545 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
40547 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
40548 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
40550 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
40551 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
40553 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
40554 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
40556 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
40557 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
40559 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
40560 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40562 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
40563 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
40565 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
40566 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
40568 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
40569 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
40571 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
40572 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
40574 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
40575 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
40577 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
40578 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
40580 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
40581 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
40583 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
40584 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
40586 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
40587 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
40589 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
40590 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
40592 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
40593 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
40595 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
40596 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
40598 static void *_p_wxImageTo_p_wxObject(void *x
) {
40599 return (void *)((wxObject
*) ((wxImage
*) x
));
40601 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
40602 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
40604 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
40605 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
40607 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
40608 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
40610 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
40611 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40613 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
40614 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40616 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
40617 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
40619 static void *_p_wxWindowTo_p_wxObject(void *x
) {
40620 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
40622 static void *_p_wxMenuTo_p_wxObject(void *x
) {
40623 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
40625 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
40626 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
40628 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
40629 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
40631 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
40632 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
40634 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
40635 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40637 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
40638 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
40640 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
40641 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
40643 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
40644 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
40646 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
40647 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
40649 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
40650 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
40652 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
40653 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
40655 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
40656 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40658 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
40659 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
40661 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
40662 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
40664 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
40665 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
40667 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
40668 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40670 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
40671 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
40673 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
40674 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40676 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
40677 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
40679 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
40680 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
40682 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
40683 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
40685 static void *_p_wxLogBufferTo_p_wxLog(void *x
) {
40686 return (void *)((wxLog
*) ((wxLogBuffer
*) x
));
40688 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
40689 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
40691 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
40692 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
40694 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
40695 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
40697 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
40698 return (void *)((wxLog
*) ((wxLogChain
*) x
));
40700 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
40701 return (void *)((wxLog
*) ((wxLogGui
*) x
));
40703 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
40704 return (void *)((wxLog
*) ((wxPyLog
*) x
));
40706 static void *_p_wxControlTo_p_wxWindow(void *x
) {
40707 return (void *)((wxWindow
*) ((wxControl
*) x
));
40709 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
40710 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
40712 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
40713 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
40715 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
40716 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
40718 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
40719 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
40721 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
40722 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};
40723 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
40724 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
40725 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
40726 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, (void*)0, 0};
40727 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
40728 static swig_type_info _swigt__p_wxAboutDialogInfo
= {"_p_wxAboutDialogInfo", "wxAboutDialogInfo *", 0, 0, (void*)0, 0};
40729 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
40730 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
40731 static swig_type_info _swigt__p_wxBitmapDataObject
= {"_p_wxBitmapDataObject", "wxBitmapDataObject *", 0, 0, (void*)0, 0};
40732 static swig_type_info _swigt__p_wxBusyCursor
= {"_p_wxBusyCursor", "wxBusyCursor *", 0, 0, (void*)0, 0};
40733 static swig_type_info _swigt__p_wxBusyInfo
= {"_p_wxBusyInfo", "wxBusyInfo *", 0, 0, (void*)0, 0};
40734 static swig_type_info _swigt__p_wxCaret
= {"_p_wxCaret", "wxCaret *", 0, 0, (void*)0, 0};
40735 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
40736 static swig_type_info _swigt__p_wxClipboard
= {"_p_wxClipboard", "wxClipboard *", 0, 0, (void*)0, 0};
40737 static swig_type_info _swigt__p_wxClipboardLocker
= {"_p_wxClipboardLocker", "wxClipboardLocker *", 0, 0, (void*)0, 0};
40738 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
40739 static swig_type_info _swigt__p_wxConfig
= {"_p_wxConfig", "wxConfig *", 0, 0, (void*)0, 0};
40740 static swig_type_info _swigt__p_wxConfigBase
= {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0};
40741 static swig_type_info _swigt__p_wxConfigPathChanger
= {"_p_wxConfigPathChanger", "wxConfigPathChanger *", 0, 0, (void*)0, 0};
40742 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
40743 static swig_type_info _swigt__p_wxCustomDataObject
= {"_p_wxCustomDataObject", "wxCustomDataObject *", 0, 0, (void*)0, 0};
40744 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
40745 static swig_type_info _swigt__p_wxDataFormat
= {"_p_wxDataFormat", "wxDataFormat *", 0, 0, (void*)0, 0};
40746 static swig_type_info _swigt__p_wxDataObject
= {"_p_wxDataObject", "wxDataObject *", 0, 0, (void*)0, 0};
40747 static swig_type_info _swigt__p_wxDataObjectComposite
= {"_p_wxDataObjectComposite", "wxDataObjectComposite *", 0, 0, (void*)0, 0};
40748 static swig_type_info _swigt__p_wxDataObjectSimple
= {"_p_wxDataObjectSimple", "wxDataObjectSimple *", 0, 0, (void*)0, 0};
40749 static swig_type_info _swigt__p_wxDateSpan
= {"_p_wxDateSpan", "wxDateSpan *", 0, 0, (void*)0, 0};
40750 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
40751 static swig_type_info _swigt__p_wxDateTime__TimeZone
= {"_p_wxDateTime__TimeZone", "wxDateTime::TimeZone *", 0, 0, (void*)0, 0};
40752 static swig_type_info _swigt__p_wxDisplay
= {"_p_wxDisplay", "wxDisplay *", 0, 0, (void*)0, 0};
40753 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
40754 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
40755 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
40756 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
40757 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
40758 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
40759 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
40760 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
40761 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
40762 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
40763 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
40764 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
40765 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
40766 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
40767 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
40768 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
40769 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
40770 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
40771 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
40772 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
40773 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
40774 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
40775 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
40776 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
40777 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
40778 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
40779 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
40780 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
40781 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
40782 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
40783 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
40784 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
40785 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
40786 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
40787 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
40788 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
40789 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
40790 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
40791 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
40792 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
40793 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
40794 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
40795 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
40796 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
40797 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
40798 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
40799 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
40800 static swig_type_info _swigt__p_wxFileConfig
= {"_p_wxFileConfig", "wxFileConfig *", 0, 0, (void*)0, 0};
40801 static swig_type_info _swigt__p_wxFileDataObject
= {"_p_wxFileDataObject", "wxFileDataObject *", 0, 0, (void*)0, 0};
40802 static swig_type_info _swigt__p_wxFileHistory
= {"_p_wxFileHistory", "wxFileHistory *", 0, 0, (void*)0, 0};
40803 static swig_type_info _swigt__p_wxFileType
= {"_p_wxFileType", "wxFileType *", 0, 0, (void*)0, 0};
40804 static swig_type_info _swigt__p_wxFileTypeInfo
= {"_p_wxFileTypeInfo", "wxFileTypeInfo *", 0, 0, (void*)0, 0};
40805 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
40806 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
40807 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
40808 static swig_type_info _swigt__p_wxJoystick
= {"_p_wxJoystick", "wxJoystick *", 0, 0, (void*)0, 0};
40809 static swig_type_info _swigt__p_wxJoystickEvent
= {"_p_wxJoystickEvent", "wxJoystickEvent *", 0, 0, (void*)0, 0};
40810 static swig_type_info _swigt__p_wxKillError
= {"_p_wxKillError", "enum wxKillError *|wxKillError *", 0, 0, (void*)0, 0};
40811 static swig_type_info _swigt__p_wxLog
= {"_p_wxLog", "wxLog *", 0, 0, (void*)0, 0};
40812 static swig_type_info _swigt__p_wxLogBuffer
= {"_p_wxLogBuffer", "wxLogBuffer *", 0, 0, (void*)0, 0};
40813 static swig_type_info _swigt__p_wxLogChain
= {"_p_wxLogChain", "wxLogChain *", 0, 0, (void*)0, 0};
40814 static swig_type_info _swigt__p_wxLogGui
= {"_p_wxLogGui", "wxLogGui *", 0, 0, (void*)0, 0};
40815 static swig_type_info _swigt__p_wxLogNull
= {"_p_wxLogNull", "wxLogNull *", 0, 0, (void*)0, 0};
40816 static swig_type_info _swigt__p_wxLogStderr
= {"_p_wxLogStderr", "wxLogStderr *", 0, 0, (void*)0, 0};
40817 static swig_type_info _swigt__p_wxLogTextCtrl
= {"_p_wxLogTextCtrl", "wxLogTextCtrl *", 0, 0, (void*)0, 0};
40818 static swig_type_info _swigt__p_wxLogWindow
= {"_p_wxLogWindow", "wxLogWindow *", 0, 0, (void*)0, 0};
40819 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
40820 static swig_type_info _swigt__p_wxMetafileDataObject
= {"_p_wxMetafileDataObject", "wxMetafileDataObject *", 0, 0, (void*)0, 0};
40821 static swig_type_info _swigt__p_wxMimeTypesManager
= {"_p_wxMimeTypesManager", "wxMimeTypesManager *", 0, 0, (void*)0, 0};
40822 static swig_type_info _swigt__p_wxMouseState
= {"_p_wxMouseState", "wxMouseState *", 0, 0, (void*)0, 0};
40823 static swig_type_info _swigt__p_wxMutexGuiLocker
= {"_p_wxMutexGuiLocker", "wxMutexGuiLocker *", 0, 0, (void*)0, 0};
40824 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
40825 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
40826 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
40827 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
40828 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
40829 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
40830 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
40831 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
40832 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
40833 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
40834 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
40835 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
40836 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
40837 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
40838 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
40839 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
40840 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
40841 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
40842 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
40843 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
40844 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
40845 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
40846 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
40847 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
40848 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
40849 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
40850 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
40851 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
40852 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
40853 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
40854 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
40855 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
40856 static swig_type_info _swigt__p_wxOutputStream
= {"_p_wxOutputStream", "wxOutputStream *", 0, 0, (void*)0, 0};
40857 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
40858 static swig_type_info _swigt__p_wxPlatformInfo
= {"_p_wxPlatformInfo", "wxPlatformInfo *", 0, 0, (void*)0, 0};
40859 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
40860 static swig_type_info _swigt__p_wxPowerEvent
= {"_p_wxPowerEvent", "wxPowerEvent *", 0, 0, (void*)0, 0};
40861 static swig_type_info _swigt__p_wxProcessEvent
= {"_p_wxProcessEvent", "wxProcessEvent *", 0, 0, (void*)0, 0};
40862 static swig_type_info _swigt__p_wxPyArtProvider
= {"_p_wxPyArtProvider", "wxPyArtProvider *", 0, 0, (void*)0, 0};
40863 static swig_type_info _swigt__p_wxPyBitmapDataObject
= {"_p_wxPyBitmapDataObject", "wxPyBitmapDataObject *", 0, 0, (void*)0, 0};
40864 static swig_type_info _swigt__p_wxPyDataObjectSimple
= {"_p_wxPyDataObjectSimple", "wxPyDataObjectSimple *", 0, 0, (void*)0, 0};
40865 static swig_type_info _swigt__p_wxPyDropSource
= {"_p_wxPyDropSource", "wxPyDropSource *", 0, 0, (void*)0, 0};
40866 static swig_type_info _swigt__p_wxPyDropTarget
= {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, (void*)0, 0};
40867 static swig_type_info _swigt__p_wxPyFileDropTarget
= {"_p_wxPyFileDropTarget", "wxPyFileDropTarget *", 0, 0, (void*)0, 0};
40868 static swig_type_info _swigt__p_wxPyLog
= {"_p_wxPyLog", "wxPyLog *", 0, 0, (void*)0, 0};
40869 static swig_type_info _swigt__p_wxPyProcess
= {"_p_wxPyProcess", "wxPyProcess *", 0, 0, (void*)0, 0};
40870 static swig_type_info _swigt__p_wxPyTextDataObject
= {"_p_wxPyTextDataObject", "wxPyTextDataObject *", 0, 0, (void*)0, 0};
40871 static swig_type_info _swigt__p_wxPyTextDropTarget
= {"_p_wxPyTextDropTarget", "wxPyTextDropTarget *", 0, 0, (void*)0, 0};
40872 static swig_type_info _swigt__p_wxPyTimer
= {"_p_wxPyTimer", "wxPyTimer *", 0, 0, (void*)0, 0};
40873 static swig_type_info _swigt__p_wxPyTipProvider
= {"_p_wxPyTipProvider", "wxPyTipProvider *", 0, 0, (void*)0, 0};
40874 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
40875 static swig_type_info _swigt__p_wxSingleInstanceChecker
= {"_p_wxSingleInstanceChecker", "wxSingleInstanceChecker *", 0, 0, (void*)0, 0};
40876 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
40877 static swig_type_info _swigt__p_wxSound
= {"_p_wxSound", "wxSound *", 0, 0, (void*)0, 0};
40878 static swig_type_info _swigt__p_wxStandardPaths
= {"_p_wxStandardPaths", "wxStandardPaths *", 0, 0, (void*)0, 0};
40879 static swig_type_info _swigt__p_wxStopWatch
= {"_p_wxStopWatch", "wxStopWatch *", 0, 0, (void*)0, 0};
40880 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
40881 static swig_type_info _swigt__p_wxSystemOptions
= {"_p_wxSystemOptions", "wxSystemOptions *", 0, 0, (void*)0, 0};
40882 static swig_type_info _swigt__p_wxSystemSettings
= {"_p_wxSystemSettings", "wxSystemSettings *", 0, 0, (void*)0, 0};
40883 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
40884 static swig_type_info _swigt__p_wxTextDataObject
= {"_p_wxTextDataObject", "wxTextDataObject *", 0, 0, (void*)0, 0};
40885 static swig_type_info _swigt__p_wxTimeSpan
= {"_p_wxTimeSpan", "wxTimeSpan *", 0, 0, (void*)0, 0};
40886 static swig_type_info _swigt__p_wxTimer
= {"_p_wxTimer", "wxTimer *", 0, 0, (void*)0, 0};
40887 static swig_type_info _swigt__p_wxTimerEvent
= {"_p_wxTimerEvent", "wxTimerEvent *", 0, 0, (void*)0, 0};
40888 static swig_type_info _swigt__p_wxTimerRunner
= {"_p_wxTimerRunner", "wxTimerRunner *", 0, 0, (void*)0, 0};
40889 static swig_type_info _swigt__p_wxTipProvider
= {"_p_wxTipProvider", "wxTipProvider *", 0, 0, (void*)0, 0};
40890 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", "wxToolTip *", 0, 0, (void*)0, 0};
40891 static swig_type_info _swigt__p_wxURLDataObject
= {"_p_wxURLDataObject", "wxURLDataObject *", 0, 0, (void*)0, 0};
40892 static swig_type_info _swigt__p_wxVideoMode
= {"_p_wxVideoMode", "wxVideoMode *", 0, 0, (void*)0, 0};
40893 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
40894 static swig_type_info _swigt__p_wxWindowDisabler
= {"_p_wxWindowDisabler", "wxWindowDisabler *", 0, 0, (void*)0, 0};
40896 static swig_type_info
*swig_type_initial
[] = {
40898 &_swigt__p_form_ops_t
,
40900 &_swigt__p_unsigned_char
,
40901 &_swigt__p_unsigned_int
,
40902 &_swigt__p_unsigned_long
,
40904 &_swigt__p_wxANIHandler
,
40905 &_swigt__p_wxAboutDialogInfo
,
40906 &_swigt__p_wxAcceleratorTable
,
40907 &_swigt__p_wxActivateEvent
,
40908 &_swigt__p_wxArrayString
,
40909 &_swigt__p_wxBMPHandler
,
40910 &_swigt__p_wxBitmap
,
40911 &_swigt__p_wxBitmapDataObject
,
40912 &_swigt__p_wxBoxSizer
,
40913 &_swigt__p_wxBusyCursor
,
40914 &_swigt__p_wxBusyInfo
,
40915 &_swigt__p_wxCURHandler
,
40916 &_swigt__p_wxCaret
,
40918 &_swigt__p_wxChildFocusEvent
,
40919 &_swigt__p_wxClipboard
,
40920 &_swigt__p_wxClipboardLocker
,
40921 &_swigt__p_wxClipboardTextEvent
,
40922 &_swigt__p_wxCloseEvent
,
40923 &_swigt__p_wxColour
,
40924 &_swigt__p_wxCommandEvent
,
40925 &_swigt__p_wxConfig
,
40926 &_swigt__p_wxConfigBase
,
40927 &_swigt__p_wxConfigPathChanger
,
40928 &_swigt__p_wxContextMenuEvent
,
40929 &_swigt__p_wxControl
,
40930 &_swigt__p_wxControlWithItems
,
40931 &_swigt__p_wxCursor
,
40932 &_swigt__p_wxCustomDataObject
,
40934 &_swigt__p_wxDataFormat
,
40935 &_swigt__p_wxDataObject
,
40936 &_swigt__p_wxDataObjectComposite
,
40937 &_swigt__p_wxDataObjectSimple
,
40938 &_swigt__p_wxDateEvent
,
40939 &_swigt__p_wxDateSpan
,
40940 &_swigt__p_wxDateTime
,
40941 &_swigt__p_wxDateTime__TimeZone
,
40942 &_swigt__p_wxDisplay
,
40943 &_swigt__p_wxDisplayChangedEvent
,
40944 &_swigt__p_wxDropFilesEvent
,
40945 &_swigt__p_wxDuplexMode
,
40946 &_swigt__p_wxEraseEvent
,
40947 &_swigt__p_wxEvent
,
40948 &_swigt__p_wxEvtHandler
,
40949 &_swigt__p_wxFSFile
,
40950 &_swigt__p_wxFileConfig
,
40951 &_swigt__p_wxFileDataObject
,
40952 &_swigt__p_wxFileHistory
,
40953 &_swigt__p_wxFileSystem
,
40954 &_swigt__p_wxFileType
,
40955 &_swigt__p_wxFileTypeInfo
,
40956 &_swigt__p_wxFlexGridSizer
,
40957 &_swigt__p_wxFocusEvent
,
40959 &_swigt__p_wxFrame
,
40960 &_swigt__p_wxGBSizerItem
,
40961 &_swigt__p_wxGIFHandler
,
40962 &_swigt__p_wxGridBagSizer
,
40963 &_swigt__p_wxGridSizer
,
40964 &_swigt__p_wxICOHandler
,
40966 &_swigt__p_wxIconizeEvent
,
40967 &_swigt__p_wxIdleEvent
,
40968 &_swigt__p_wxImage
,
40969 &_swigt__p_wxImageHandler
,
40970 &_swigt__p_wxIndividualLayoutConstraint
,
40971 &_swigt__p_wxInitDialogEvent
,
40972 &_swigt__p_wxJPEGHandler
,
40973 &_swigt__p_wxJoystick
,
40974 &_swigt__p_wxJoystickEvent
,
40975 &_swigt__p_wxKeyEvent
,
40976 &_swigt__p_wxKillError
,
40977 &_swigt__p_wxLayoutConstraints
,
40979 &_swigt__p_wxLogBuffer
,
40980 &_swigt__p_wxLogChain
,
40981 &_swigt__p_wxLogGui
,
40982 &_swigt__p_wxLogNull
,
40983 &_swigt__p_wxLogStderr
,
40984 &_swigt__p_wxLogTextCtrl
,
40985 &_swigt__p_wxLogWindow
,
40986 &_swigt__p_wxMaximizeEvent
,
40988 &_swigt__p_wxMenuBar
,
40989 &_swigt__p_wxMenuEvent
,
40990 &_swigt__p_wxMenuItem
,
40991 &_swigt__p_wxMetafileDataObject
,
40992 &_swigt__p_wxMimeTypesManager
,
40993 &_swigt__p_wxMouseCaptureChangedEvent
,
40994 &_swigt__p_wxMouseCaptureLostEvent
,
40995 &_swigt__p_wxMouseEvent
,
40996 &_swigt__p_wxMouseState
,
40997 &_swigt__p_wxMoveEvent
,
40998 &_swigt__p_wxMutexGuiLocker
,
40999 &_swigt__p_wxNavigationKeyEvent
,
41000 &_swigt__p_wxNcPaintEvent
,
41001 &_swigt__p_wxNotifyEvent
,
41002 &_swigt__p_wxObject
,
41003 &_swigt__p_wxOutputStream
,
41004 &_swigt__p_wxPCXHandler
,
41005 &_swigt__p_wxPNGHandler
,
41006 &_swigt__p_wxPNMHandler
,
41007 &_swigt__p_wxPaintEvent
,
41008 &_swigt__p_wxPaletteChangedEvent
,
41009 &_swigt__p_wxPaperSize
,
41010 &_swigt__p_wxPlatformInfo
,
41011 &_swigt__p_wxPoint
,
41012 &_swigt__p_wxPowerEvent
,
41013 &_swigt__p_wxProcessEvent
,
41014 &_swigt__p_wxPyApp
,
41015 &_swigt__p_wxPyArtProvider
,
41016 &_swigt__p_wxPyBitmapDataObject
,
41017 &_swigt__p_wxPyCommandEvent
,
41018 &_swigt__p_wxPyDataObjectSimple
,
41019 &_swigt__p_wxPyDropSource
,
41020 &_swigt__p_wxPyDropTarget
,
41021 &_swigt__p_wxPyEvent
,
41022 &_swigt__p_wxPyFileDropTarget
,
41023 &_swigt__p_wxPyImageHandler
,
41024 &_swigt__p_wxPyLog
,
41025 &_swigt__p_wxPyProcess
,
41026 &_swigt__p_wxPySizer
,
41027 &_swigt__p_wxPyTextDataObject
,
41028 &_swigt__p_wxPyTextDropTarget
,
41029 &_swigt__p_wxPyTimer
,
41030 &_swigt__p_wxPyTipProvider
,
41031 &_swigt__p_wxPyValidator
,
41032 &_swigt__p_wxQueryNewPaletteEvent
,
41034 &_swigt__p_wxScrollEvent
,
41035 &_swigt__p_wxScrollWinEvent
,
41036 &_swigt__p_wxSetCursorEvent
,
41037 &_swigt__p_wxShowEvent
,
41038 &_swigt__p_wxSingleInstanceChecker
,
41040 &_swigt__p_wxSizeEvent
,
41041 &_swigt__p_wxSizer
,
41042 &_swigt__p_wxSizerItem
,
41043 &_swigt__p_wxSound
,
41044 &_swigt__p_wxStandardPaths
,
41045 &_swigt__p_wxStaticBoxSizer
,
41046 &_swigt__p_wxStdDialogButtonSizer
,
41047 &_swigt__p_wxStopWatch
,
41048 &_swigt__p_wxString
,
41049 &_swigt__p_wxSysColourChangedEvent
,
41050 &_swigt__p_wxSystemOptions
,
41051 &_swigt__p_wxSystemSettings
,
41052 &_swigt__p_wxTGAHandler
,
41053 &_swigt__p_wxTIFFHandler
,
41054 &_swigt__p_wxTextCtrl
,
41055 &_swigt__p_wxTextDataObject
,
41056 &_swigt__p_wxTimeSpan
,
41057 &_swigt__p_wxTimer
,
41058 &_swigt__p_wxTimerEvent
,
41059 &_swigt__p_wxTimerRunner
,
41060 &_swigt__p_wxTipProvider
,
41061 &_swigt__p_wxToolTip
,
41062 &_swigt__p_wxURLDataObject
,
41063 &_swigt__p_wxUpdateUIEvent
,
41064 &_swigt__p_wxValidator
,
41065 &_swigt__p_wxVideoMode
,
41066 &_swigt__p_wxWindow
,
41067 &_swigt__p_wxWindowCreateEvent
,
41068 &_swigt__p_wxWindowDestroyEvent
,
41069 &_swigt__p_wxWindowDisabler
,
41070 &_swigt__p_wxXPMHandler
,
41073 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
41074 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
41075 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
41076 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
41077 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
41078 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
41079 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
41080 static swig_cast_info _swigc__p_wxAboutDialogInfo
[] = { {&_swigt__p_wxAboutDialogInfo
, 0, 0, 0},{0, 0, 0, 0}};
41081 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
41082 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
41083 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}};
41084 static swig_cast_info _swigc__p_wxBusyCursor
[] = { {&_swigt__p_wxBusyCursor
, 0, 0, 0},{0, 0, 0, 0}};
41085 static swig_cast_info _swigc__p_wxBusyInfo
[] = { {&_swigt__p_wxBusyInfo
, 0, 0, 0},{0, 0, 0, 0}};
41086 static swig_cast_info _swigc__p_wxCaret
[] = { {&_swigt__p_wxCaret
, 0, 0, 0},{0, 0, 0, 0}};
41087 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
41088 static swig_cast_info _swigc__p_wxClipboard
[] = { {&_swigt__p_wxClipboard
, 0, 0, 0},{0, 0, 0, 0}};
41089 static swig_cast_info _swigc__p_wxClipboardLocker
[] = { {&_swigt__p_wxClipboardLocker
, 0, 0, 0},{0, 0, 0, 0}};
41090 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
41091 static swig_cast_info _swigc__p_wxConfig
[] = { {&_swigt__p_wxConfig
, 0, 0, 0},{0, 0, 0, 0}};
41092 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}};
41093 static swig_cast_info _swigc__p_wxConfigPathChanger
[] = { {&_swigt__p_wxConfigPathChanger
, 0, 0, 0},{0, 0, 0, 0}};
41094 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
41095 static swig_cast_info _swigc__p_wxCustomDataObject
[] = { {&_swigt__p_wxCustomDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41096 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
41097 static swig_cast_info _swigc__p_wxDataFormat
[] = { {&_swigt__p_wxDataFormat
, 0, 0, 0},{0, 0, 0, 0}};
41098 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}};
41099 static swig_cast_info _swigc__p_wxDataObjectComposite
[] = { {&_swigt__p_wxDataObjectComposite
, 0, 0, 0},{0, 0, 0, 0}};
41100 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}};
41101 static swig_cast_info _swigc__p_wxDateSpan
[] = { {&_swigt__p_wxDateSpan
, 0, 0, 0},{0, 0, 0, 0}};
41102 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
41103 static swig_cast_info _swigc__p_wxDateTime__TimeZone
[] = { {&_swigt__p_wxDateTime__TimeZone
, 0, 0, 0},{0, 0, 0, 0}};
41104 static swig_cast_info _swigc__p_wxDisplay
[] = { {&_swigt__p_wxDisplay
, 0, 0, 0},{0, 0, 0, 0}};
41105 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
41106 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
41107 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
41108 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41109 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41110 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41111 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
41112 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
41113 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
41114 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41115 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41116 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
41117 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
41118 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41119 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
41120 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41121 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41122 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41123 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41124 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
41125 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41126 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
41127 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
41128 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
41129 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
41130 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41131 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41132 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41133 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41134 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
41135 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
41136 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
41137 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
41138 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
41139 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
41140 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41141 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41142 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41143 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
41144 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_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxJoystickEvent
, _p_wxJoystickEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_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}};
41145 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
41146 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
41147 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
41148 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
41149 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
41150 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
41151 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}};
41152 static swig_cast_info _swigc__p_wxFileConfig
[] = { {&_swigt__p_wxFileConfig
, 0, 0, 0},{0, 0, 0, 0}};
41153 static swig_cast_info _swigc__p_wxFileDataObject
[] = { {&_swigt__p_wxFileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41154 static swig_cast_info _swigc__p_wxFileHistory
[] = { {&_swigt__p_wxFileHistory
, 0, 0, 0},{0, 0, 0, 0}};
41155 static swig_cast_info _swigc__p_wxFileType
[] = { {&_swigt__p_wxFileType
, 0, 0, 0},{0, 0, 0, 0}};
41156 static swig_cast_info _swigc__p_wxFileTypeInfo
[] = { {&_swigt__p_wxFileTypeInfo
, 0, 0, 0},{0, 0, 0, 0}};
41157 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
41158 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
41159 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
41160 static swig_cast_info _swigc__p_wxJoystick
[] = { {&_swigt__p_wxJoystick
, 0, 0, 0},{0, 0, 0, 0}};
41161 static swig_cast_info _swigc__p_wxJoystickEvent
[] = { {&_swigt__p_wxJoystickEvent
, 0, 0, 0},{0, 0, 0, 0}};
41162 static swig_cast_info _swigc__p_wxKillError
[] = { {&_swigt__p_wxKillError
, 0, 0, 0},{0, 0, 0, 0}};
41163 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}};
41164 static swig_cast_info _swigc__p_wxLogBuffer
[] = { {&_swigt__p_wxLogBuffer
, 0, 0, 0},{0, 0, 0, 0}};
41165 static swig_cast_info _swigc__p_wxLogChain
[] = { {&_swigt__p_wxLogChain
, 0, 0, 0},{0, 0, 0, 0}};
41166 static swig_cast_info _swigc__p_wxLogGui
[] = { {&_swigt__p_wxLogGui
, 0, 0, 0},{0, 0, 0, 0}};
41167 static swig_cast_info _swigc__p_wxLogNull
[] = { {&_swigt__p_wxLogNull
, 0, 0, 0},{0, 0, 0, 0}};
41168 static swig_cast_info _swigc__p_wxLogStderr
[] = { {&_swigt__p_wxLogStderr
, 0, 0, 0},{0, 0, 0, 0}};
41169 static swig_cast_info _swigc__p_wxLogTextCtrl
[] = { {&_swigt__p_wxLogTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
41170 static swig_cast_info _swigc__p_wxLogWindow
[] = { {&_swigt__p_wxLogWindow
, 0, 0, 0},{0, 0, 0, 0}};
41171 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
41172 static swig_cast_info _swigc__p_wxMetafileDataObject
[] = { {&_swigt__p_wxMetafileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41173 static swig_cast_info _swigc__p_wxMimeTypesManager
[] = { {&_swigt__p_wxMimeTypesManager
, 0, 0, 0},{0, 0, 0, 0}};
41174 static swig_cast_info _swigc__p_wxMouseState
[] = { {&_swigt__p_wxMouseState
, 0, 0, 0},{0, 0, 0, 0}};
41175 static swig_cast_info _swigc__p_wxMutexGuiLocker
[] = { {&_swigt__p_wxMutexGuiLocker
, 0, 0, 0},{0, 0, 0, 0}};
41176 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
41177 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
41178 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
41179 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
41180 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41181 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41182 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41183 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
41184 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
41185 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
41186 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
41187 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
41188 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
41189 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
41190 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
41191 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
41192 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
41193 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
41194 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
41195 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
41196 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
41197 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
41198 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
41199 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
41200 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
41201 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
41202 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
41203 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
41204 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
41205 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
41206 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
41207 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileHistory
, _p_wxFileHistoryTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_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_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_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_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_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_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_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}};
41208 static swig_cast_info _swigc__p_wxOutputStream
[] = { {&_swigt__p_wxOutputStream
, 0, 0, 0},{0, 0, 0, 0}};
41209 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
41210 static swig_cast_info _swigc__p_wxPlatformInfo
[] = { {&_swigt__p_wxPlatformInfo
, 0, 0, 0},{0, 0, 0, 0}};
41211 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
41212 static swig_cast_info _swigc__p_wxPowerEvent
[] = { {&_swigt__p_wxPowerEvent
, 0, 0, 0},{0, 0, 0, 0}};
41213 static swig_cast_info _swigc__p_wxProcessEvent
[] = { {&_swigt__p_wxProcessEvent
, 0, 0, 0},{0, 0, 0, 0}};
41214 static swig_cast_info _swigc__p_wxPyArtProvider
[] = { {&_swigt__p_wxPyArtProvider
, 0, 0, 0},{0, 0, 0, 0}};
41215 static swig_cast_info _swigc__p_wxPyBitmapDataObject
[] = { {&_swigt__p_wxPyBitmapDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41216 static swig_cast_info _swigc__p_wxPyDataObjectSimple
[] = { {&_swigt__p_wxPyDataObjectSimple
, 0, 0, 0},{0, 0, 0, 0}};
41217 static swig_cast_info _swigc__p_wxPyDropSource
[] = { {&_swigt__p_wxPyDropSource
, 0, 0, 0},{0, 0, 0, 0}};
41218 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}};
41219 static swig_cast_info _swigc__p_wxPyFileDropTarget
[] = { {&_swigt__p_wxPyFileDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
41220 static swig_cast_info _swigc__p_wxPyLog
[] = { {&_swigt__p_wxPyLog
, 0, 0, 0},{0, 0, 0, 0}};
41221 static swig_cast_info _swigc__p_wxPyProcess
[] = { {&_swigt__p_wxPyProcess
, 0, 0, 0},{0, 0, 0, 0}};
41222 static swig_cast_info _swigc__p_wxPyTextDataObject
[] = { {&_swigt__p_wxPyTextDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41223 static swig_cast_info _swigc__p_wxPyTextDropTarget
[] = { {&_swigt__p_wxPyTextDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
41224 static swig_cast_info _swigc__p_wxPyTimer
[] = { {&_swigt__p_wxPyTimer
, 0, 0, 0},{0, 0, 0, 0}};
41225 static swig_cast_info _swigc__p_wxPyTipProvider
[] = { {&_swigt__p_wxPyTipProvider
, 0, 0, 0},{0, 0, 0, 0}};
41226 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
41227 static swig_cast_info _swigc__p_wxSingleInstanceChecker
[] = { {&_swigt__p_wxSingleInstanceChecker
, 0, 0, 0},{0, 0, 0, 0}};
41228 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
41229 static swig_cast_info _swigc__p_wxSound
[] = { {&_swigt__p_wxSound
, 0, 0, 0},{0, 0, 0, 0}};
41230 static swig_cast_info _swigc__p_wxStandardPaths
[] = { {&_swigt__p_wxStandardPaths
, 0, 0, 0},{0, 0, 0, 0}};
41231 static swig_cast_info _swigc__p_wxStopWatch
[] = { {&_swigt__p_wxStopWatch
, 0, 0, 0},{0, 0, 0, 0}};
41232 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
41233 static swig_cast_info _swigc__p_wxSystemOptions
[] = { {&_swigt__p_wxSystemOptions
, 0, 0, 0},{0, 0, 0, 0}};
41234 static swig_cast_info _swigc__p_wxSystemSettings
[] = { {&_swigt__p_wxSystemSettings
, 0, 0, 0},{0, 0, 0, 0}};
41235 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
41236 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}};
41237 static swig_cast_info _swigc__p_wxTimeSpan
[] = { {&_swigt__p_wxTimeSpan
, 0, 0, 0},{0, 0, 0, 0}};
41238 static swig_cast_info _swigc__p_wxTimer
[] = { {&_swigt__p_wxTimer
, 0, 0, 0},{0, 0, 0, 0}};
41239 static swig_cast_info _swigc__p_wxTimerEvent
[] = { {&_swigt__p_wxTimerEvent
, 0, 0, 0},{0, 0, 0, 0}};
41240 static swig_cast_info _swigc__p_wxTimerRunner
[] = { {&_swigt__p_wxTimerRunner
, 0, 0, 0},{0, 0, 0, 0}};
41241 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}};
41242 static swig_cast_info _swigc__p_wxToolTip
[] = { {&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
41243 static swig_cast_info _swigc__p_wxURLDataObject
[] = { {&_swigt__p_wxURLDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41244 static swig_cast_info _swigc__p_wxVideoMode
[] = { {&_swigt__p_wxVideoMode
, 0, 0, 0},{0, 0, 0, 0}};
41245 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}};
41246 static swig_cast_info _swigc__p_wxWindowDisabler
[] = { {&_swigt__p_wxWindowDisabler
, 0, 0, 0},{0, 0, 0, 0}};
41248 static swig_cast_info
*swig_cast_initial
[] = {
41250 _swigc__p_form_ops_t
,
41252 _swigc__p_unsigned_char
,
41253 _swigc__p_unsigned_int
,
41254 _swigc__p_unsigned_long
,
41256 _swigc__p_wxANIHandler
,
41257 _swigc__p_wxAboutDialogInfo
,
41258 _swigc__p_wxAcceleratorTable
,
41259 _swigc__p_wxActivateEvent
,
41260 _swigc__p_wxArrayString
,
41261 _swigc__p_wxBMPHandler
,
41262 _swigc__p_wxBitmap
,
41263 _swigc__p_wxBitmapDataObject
,
41264 _swigc__p_wxBoxSizer
,
41265 _swigc__p_wxBusyCursor
,
41266 _swigc__p_wxBusyInfo
,
41267 _swigc__p_wxCURHandler
,
41270 _swigc__p_wxChildFocusEvent
,
41271 _swigc__p_wxClipboard
,
41272 _swigc__p_wxClipboardLocker
,
41273 _swigc__p_wxClipboardTextEvent
,
41274 _swigc__p_wxCloseEvent
,
41275 _swigc__p_wxColour
,
41276 _swigc__p_wxCommandEvent
,
41277 _swigc__p_wxConfig
,
41278 _swigc__p_wxConfigBase
,
41279 _swigc__p_wxConfigPathChanger
,
41280 _swigc__p_wxContextMenuEvent
,
41281 _swigc__p_wxControl
,
41282 _swigc__p_wxControlWithItems
,
41283 _swigc__p_wxCursor
,
41284 _swigc__p_wxCustomDataObject
,
41286 _swigc__p_wxDataFormat
,
41287 _swigc__p_wxDataObject
,
41288 _swigc__p_wxDataObjectComposite
,
41289 _swigc__p_wxDataObjectSimple
,
41290 _swigc__p_wxDateEvent
,
41291 _swigc__p_wxDateSpan
,
41292 _swigc__p_wxDateTime
,
41293 _swigc__p_wxDateTime__TimeZone
,
41294 _swigc__p_wxDisplay
,
41295 _swigc__p_wxDisplayChangedEvent
,
41296 _swigc__p_wxDropFilesEvent
,
41297 _swigc__p_wxDuplexMode
,
41298 _swigc__p_wxEraseEvent
,
41300 _swigc__p_wxEvtHandler
,
41301 _swigc__p_wxFSFile
,
41302 _swigc__p_wxFileConfig
,
41303 _swigc__p_wxFileDataObject
,
41304 _swigc__p_wxFileHistory
,
41305 _swigc__p_wxFileSystem
,
41306 _swigc__p_wxFileType
,
41307 _swigc__p_wxFileTypeInfo
,
41308 _swigc__p_wxFlexGridSizer
,
41309 _swigc__p_wxFocusEvent
,
41312 _swigc__p_wxGBSizerItem
,
41313 _swigc__p_wxGIFHandler
,
41314 _swigc__p_wxGridBagSizer
,
41315 _swigc__p_wxGridSizer
,
41316 _swigc__p_wxICOHandler
,
41318 _swigc__p_wxIconizeEvent
,
41319 _swigc__p_wxIdleEvent
,
41321 _swigc__p_wxImageHandler
,
41322 _swigc__p_wxIndividualLayoutConstraint
,
41323 _swigc__p_wxInitDialogEvent
,
41324 _swigc__p_wxJPEGHandler
,
41325 _swigc__p_wxJoystick
,
41326 _swigc__p_wxJoystickEvent
,
41327 _swigc__p_wxKeyEvent
,
41328 _swigc__p_wxKillError
,
41329 _swigc__p_wxLayoutConstraints
,
41331 _swigc__p_wxLogBuffer
,
41332 _swigc__p_wxLogChain
,
41333 _swigc__p_wxLogGui
,
41334 _swigc__p_wxLogNull
,
41335 _swigc__p_wxLogStderr
,
41336 _swigc__p_wxLogTextCtrl
,
41337 _swigc__p_wxLogWindow
,
41338 _swigc__p_wxMaximizeEvent
,
41340 _swigc__p_wxMenuBar
,
41341 _swigc__p_wxMenuEvent
,
41342 _swigc__p_wxMenuItem
,
41343 _swigc__p_wxMetafileDataObject
,
41344 _swigc__p_wxMimeTypesManager
,
41345 _swigc__p_wxMouseCaptureChangedEvent
,
41346 _swigc__p_wxMouseCaptureLostEvent
,
41347 _swigc__p_wxMouseEvent
,
41348 _swigc__p_wxMouseState
,
41349 _swigc__p_wxMoveEvent
,
41350 _swigc__p_wxMutexGuiLocker
,
41351 _swigc__p_wxNavigationKeyEvent
,
41352 _swigc__p_wxNcPaintEvent
,
41353 _swigc__p_wxNotifyEvent
,
41354 _swigc__p_wxObject
,
41355 _swigc__p_wxOutputStream
,
41356 _swigc__p_wxPCXHandler
,
41357 _swigc__p_wxPNGHandler
,
41358 _swigc__p_wxPNMHandler
,
41359 _swigc__p_wxPaintEvent
,
41360 _swigc__p_wxPaletteChangedEvent
,
41361 _swigc__p_wxPaperSize
,
41362 _swigc__p_wxPlatformInfo
,
41364 _swigc__p_wxPowerEvent
,
41365 _swigc__p_wxProcessEvent
,
41367 _swigc__p_wxPyArtProvider
,
41368 _swigc__p_wxPyBitmapDataObject
,
41369 _swigc__p_wxPyCommandEvent
,
41370 _swigc__p_wxPyDataObjectSimple
,
41371 _swigc__p_wxPyDropSource
,
41372 _swigc__p_wxPyDropTarget
,
41373 _swigc__p_wxPyEvent
,
41374 _swigc__p_wxPyFileDropTarget
,
41375 _swigc__p_wxPyImageHandler
,
41377 _swigc__p_wxPyProcess
,
41378 _swigc__p_wxPySizer
,
41379 _swigc__p_wxPyTextDataObject
,
41380 _swigc__p_wxPyTextDropTarget
,
41381 _swigc__p_wxPyTimer
,
41382 _swigc__p_wxPyTipProvider
,
41383 _swigc__p_wxPyValidator
,
41384 _swigc__p_wxQueryNewPaletteEvent
,
41386 _swigc__p_wxScrollEvent
,
41387 _swigc__p_wxScrollWinEvent
,
41388 _swigc__p_wxSetCursorEvent
,
41389 _swigc__p_wxShowEvent
,
41390 _swigc__p_wxSingleInstanceChecker
,
41392 _swigc__p_wxSizeEvent
,
41394 _swigc__p_wxSizerItem
,
41396 _swigc__p_wxStandardPaths
,
41397 _swigc__p_wxStaticBoxSizer
,
41398 _swigc__p_wxStdDialogButtonSizer
,
41399 _swigc__p_wxStopWatch
,
41400 _swigc__p_wxString
,
41401 _swigc__p_wxSysColourChangedEvent
,
41402 _swigc__p_wxSystemOptions
,
41403 _swigc__p_wxSystemSettings
,
41404 _swigc__p_wxTGAHandler
,
41405 _swigc__p_wxTIFFHandler
,
41406 _swigc__p_wxTextCtrl
,
41407 _swigc__p_wxTextDataObject
,
41408 _swigc__p_wxTimeSpan
,
41410 _swigc__p_wxTimerEvent
,
41411 _swigc__p_wxTimerRunner
,
41412 _swigc__p_wxTipProvider
,
41413 _swigc__p_wxToolTip
,
41414 _swigc__p_wxURLDataObject
,
41415 _swigc__p_wxUpdateUIEvent
,
41416 _swigc__p_wxValidator
,
41417 _swigc__p_wxVideoMode
,
41418 _swigc__p_wxWindow
,
41419 _swigc__p_wxWindowCreateEvent
,
41420 _swigc__p_wxWindowDestroyEvent
,
41421 _swigc__p_wxWindowDisabler
,
41422 _swigc__p_wxXPMHandler
,
41426 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
41428 static swig_const_info swig_const_table
[] = {
41429 {0, 0, 0, 0.0, 0, 0}};
41434 /* -----------------------------------------------------------------------------
41435 * Type initialization:
41436 * This problem is tough by the requirement that no dynamic
41437 * memory is used. Also, since swig_type_info structures store pointers to
41438 * swig_cast_info structures and swig_cast_info structures store pointers back
41439 * to swig_type_info structures, we need some lookup code at initialization.
41440 * The idea is that swig generates all the structures that are needed.
41441 * The runtime then collects these partially filled structures.
41442 * The SWIG_InitializeModule function takes these initial arrays out of
41443 * swig_module, and does all the lookup, filling in the swig_module.types
41444 * array with the correct data and linking the correct swig_cast_info
41445 * structures together.
41447 * The generated swig_type_info structures are assigned staticly to an initial
41448 * array. We just loop though that array, and handle each type individually.
41449 * First we lookup if this type has been already loaded, and if so, use the
41450 * loaded structure instead of the generated one. Then we have to fill in the
41451 * cast linked list. The cast data is initially stored in something like a
41452 * two-dimensional array. Each row corresponds to a type (there are the same
41453 * number of rows as there are in the swig_type_initial array). Each entry in
41454 * a column is one of the swig_cast_info structures for that type.
41455 * The cast_initial array is actually an array of arrays, because each row has
41456 * a variable number of columns. So to actually build the cast linked list,
41457 * we find the array of casts associated with the type, and loop through it
41458 * adding the casts to the list. The one last trick we need to do is making
41459 * sure the type pointer in the swig_cast_info struct is correct.
41461 * First off, we lookup the cast->type name to see if it is already loaded.
41462 * There are three cases to handle:
41463 * 1) If the cast->type has already been loaded AND the type we are adding
41464 * casting info to has not been loaded (it is in this module), THEN we
41465 * replace the cast->type pointer with the type pointer that has already
41467 * 2) If BOTH types (the one we are adding casting info to, and the
41468 * cast->type) are loaded, THEN the cast info has already been loaded by
41469 * the previous module so we just ignore it.
41470 * 3) Finally, if cast->type has not already been loaded, then we add that
41471 * swig_cast_info to the linked list (because the cast->type) pointer will
41473 * ----------------------------------------------------------------------------- */
41483 #define SWIGRUNTIME_DEBUG
41487 SWIG_InitializeModule(void *clientdata
) {
41489 swig_module_info
*module_head
;
41490 static int init_run
= 0;
41492 clientdata
= clientdata
;
41494 if (init_run
) return;
41497 /* Initialize the swig_module */
41498 swig_module
.type_initial
= swig_type_initial
;
41499 swig_module
.cast_initial
= swig_cast_initial
;
41501 /* Try and load any already created modules */
41502 module_head
= SWIG_GetModule(clientdata
);
41504 swig_module
.next
= module_head
->next
;
41505 module_head
->next
= &swig_module
;
41507 /* This is the first module loaded */
41508 swig_module
.next
= &swig_module
;
41509 SWIG_SetModule(clientdata
, &swig_module
);
41512 /* Now work on filling in swig_module.types */
41513 #ifdef SWIGRUNTIME_DEBUG
41514 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
41516 for (i
= 0; i
< swig_module
.size
; ++i
) {
41517 swig_type_info
*type
= 0;
41518 swig_type_info
*ret
;
41519 swig_cast_info
*cast
;
41521 #ifdef SWIGRUNTIME_DEBUG
41522 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41525 /* if there is another module already loaded */
41526 if (swig_module
.next
!= &swig_module
) {
41527 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
41530 /* Overwrite clientdata field */
41531 #ifdef SWIGRUNTIME_DEBUG
41532 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
41534 if (swig_module
.type_initial
[i
]->clientdata
) {
41535 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
41536 #ifdef SWIGRUNTIME_DEBUG
41537 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
41541 type
= swig_module
.type_initial
[i
];
41544 /* Insert casting types */
41545 cast
= swig_module
.cast_initial
[i
];
41546 while (cast
->type
) {
41547 /* Don't need to add information already in the list */
41549 #ifdef SWIGRUNTIME_DEBUG
41550 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
41552 if (swig_module
.next
!= &swig_module
) {
41553 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
41554 #ifdef SWIGRUNTIME_DEBUG
41555 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
41559 if (type
== swig_module
.type_initial
[i
]) {
41560 #ifdef SWIGRUNTIME_DEBUG
41561 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
41566 /* Check for casting already in the list */
41567 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
41568 #ifdef SWIGRUNTIME_DEBUG
41569 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
41571 if (!ocast
) ret
= 0;
41576 #ifdef SWIGRUNTIME_DEBUG
41577 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
41580 type
->cast
->prev
= cast
;
41581 cast
->next
= type
->cast
;
41587 /* Set entry in modules->types array equal to the type */
41588 swig_module
.types
[i
] = type
;
41590 swig_module
.types
[i
] = 0;
41592 #ifdef SWIGRUNTIME_DEBUG
41593 printf("**** SWIG_InitializeModule: Cast List ******\n");
41594 for (i
= 0; i
< swig_module
.size
; ++i
) {
41596 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
41597 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41598 while (cast
->type
) {
41599 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
41603 printf("---- Total casts: %d\n",j
);
41605 printf("**** SWIG_InitializeModule: Cast List ******\n");
41609 /* This function will propagate the clientdata field of type to
41610 * any new swig_type_info structures that have been added into the list
41611 * of equivalent types. It is like calling
41612 * SWIG_TypeClientData(type, clientdata) a second time.
41615 SWIG_PropagateClientData(void) {
41617 swig_cast_info
*equiv
;
41618 static int init_run
= 0;
41620 if (init_run
) return;
41623 for (i
= 0; i
< swig_module
.size
; i
++) {
41624 if (swig_module
.types
[i
]->clientdata
) {
41625 equiv
= swig_module
.types
[i
]->cast
;
41627 if (!equiv
->converter
) {
41628 if (equiv
->type
&& !equiv
->type
->clientdata
)
41629 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
41631 equiv
= equiv
->next
;
41651 /* Python-specific SWIG API */
41652 #define SWIG_newvarlink() SWIG_Python_newvarlink()
41653 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
41654 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
41656 /* -----------------------------------------------------------------------------
41657 * global variable support code.
41658 * ----------------------------------------------------------------------------- */
41660 typedef struct swig_globalvar
{
41661 char *name
; /* Name of global variable */
41662 PyObject
*(*get_attr
)(void); /* Return the current value */
41663 int (*set_attr
)(PyObject
*); /* Set the value */
41664 struct swig_globalvar
*next
;
41667 typedef struct swig_varlinkobject
{
41669 swig_globalvar
*vars
;
41670 } swig_varlinkobject
;
41672 SWIGINTERN PyObject
*
41673 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
41674 return PyString_FromString("<Swig global variables>");
41677 SWIGINTERN PyObject
*
41678 swig_varlink_str(swig_varlinkobject
*v
) {
41679 PyObject
*str
= PyString_FromString("(");
41680 swig_globalvar
*var
;
41681 for (var
= v
->vars
; var
; var
=var
->next
) {
41682 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
41683 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
41685 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
41690 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
41691 PyObject
*str
= swig_varlink_str(v
);
41692 fprintf(fp
,"Swig global variables ");
41693 fprintf(fp
,"%s\n", PyString_AsString(str
));
41699 swig_varlink_dealloc(swig_varlinkobject
*v
) {
41700 swig_globalvar
*var
= v
->vars
;
41702 swig_globalvar
*n
= var
->next
;
41709 SWIGINTERN PyObject
*
41710 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
41711 PyObject
*res
= NULL
;
41712 swig_globalvar
*var
= v
->vars
;
41714 if (strcmp(var
->name
,n
) == 0) {
41715 res
= (*var
->get_attr
)();
41720 if (res
== NULL
&& !PyErr_Occurred()) {
41721 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41727 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
41729 swig_globalvar
*var
= v
->vars
;
41731 if (strcmp(var
->name
,n
) == 0) {
41732 res
= (*var
->set_attr
)(p
);
41737 if (res
== 1 && !PyErr_Occurred()) {
41738 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41743 SWIGINTERN PyTypeObject
*
41744 swig_varlink_type(void) {
41745 static char varlink__doc__
[] = "Swig var link object";
41746 static PyTypeObject varlink_type
;
41747 static int type_init
= 0;
41749 const PyTypeObject tmp
41751 PyObject_HEAD_INIT(NULL
)
41752 0, /* Number of items in variable part (ob_size) */
41753 (char *)"swigvarlink", /* Type name (tp_name) */
41754 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
41755 0, /* Itemsize (tp_itemsize) */
41756 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
41757 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
41758 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
41759 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
41760 0, /* tp_compare */
41761 (reprfunc
) swig_varlink_repr
, /* tp_repr */
41762 0, /* tp_as_number */
41763 0, /* tp_as_sequence */
41764 0, /* tp_as_mapping */
41767 (reprfunc
)swig_varlink_str
, /* tp_str */
41768 0, /* tp_getattro */
41769 0, /* tp_setattro */
41770 0, /* tp_as_buffer */
41772 varlink__doc__
, /* tp_doc */
41773 0, /* tp_traverse */
41775 0, /* tp_richcompare */
41776 0, /* tp_weaklistoffset */
41777 #if PY_VERSION_HEX >= 0x02020000
41778 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
41780 #if PY_VERSION_HEX >= 0x02030000
41783 #ifdef COUNT_ALLOCS
41784 0,0,0,0 /* tp_alloc -> tp_next */
41787 varlink_type
= tmp
;
41788 varlink_type
.ob_type
= &PyType_Type
;
41791 return &varlink_type
;
41794 /* Create a variable linking object for use later */
41795 SWIGINTERN PyObject
*
41796 SWIG_Python_newvarlink(void) {
41797 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
41801 return ((PyObject
*) result
);
41805 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
41806 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
41807 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
41809 size_t size
= strlen(name
)+1;
41810 gv
->name
= (char *)malloc(size
);
41812 strncpy(gv
->name
,name
,size
);
41813 gv
->get_attr
= get_attr
;
41814 gv
->set_attr
= set_attr
;
41815 gv
->next
= v
->vars
;
41821 SWIGINTERN PyObject
*
41823 static PyObject
*_SWIG_globals
= 0;
41824 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
41825 return _SWIG_globals
;
41828 /* -----------------------------------------------------------------------------
41829 * constants/methods manipulation
41830 * ----------------------------------------------------------------------------- */
41832 /* Install Constants */
41834 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
41837 for (i
= 0; constants
[i
].type
; ++i
) {
41838 switch(constants
[i
].type
) {
41839 case SWIG_PY_POINTER
:
41840 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
41842 case SWIG_PY_BINARY
:
41843 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
41850 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
41856 /* -----------------------------------------------------------------------------*/
41857 /* Fix SwigMethods to carry the callback ptrs when needed */
41858 /* -----------------------------------------------------------------------------*/
41861 SWIG_Python_FixMethods(PyMethodDef
*methods
,
41862 swig_const_info
*const_table
,
41863 swig_type_info
**types
,
41864 swig_type_info
**types_initial
) {
41866 for (i
= 0; methods
[i
].ml_name
; ++i
) {
41867 const char *c
= methods
[i
].ml_doc
;
41868 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
41870 swig_const_info
*ci
= 0;
41871 const char *name
= c
+ 10;
41872 for (j
= 0; const_table
[j
].type
; ++j
) {
41873 if (strncmp(const_table
[j
].name
, name
,
41874 strlen(const_table
[j
].name
)) == 0) {
41875 ci
= &(const_table
[j
]);
41880 size_t shift
= (ci
->ptype
) - types
;
41881 swig_type_info
*ty
= types_initial
[shift
];
41882 size_t ldoc
= (c
- methods
[i
].ml_doc
);
41883 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
41884 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
41887 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
41889 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
41891 strncpy(buff
, "swig_ptr: ", 10);
41893 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
41894 methods
[i
].ml_doc
= ndoc
;
41906 /* -----------------------------------------------------------------------------*
41907 * Partial Init method
41908 * -----------------------------------------------------------------------------*/
41913 SWIGEXPORT
void SWIG_init(void) {
41916 /* Fix SwigMethods to carry the callback ptrs when needed */
41917 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
41919 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
41920 d
= PyModule_GetDict(m
);
41922 SWIG_InitializeModule(0);
41923 SWIG_InstallConstants(d
,swig_const_table
);
41926 SWIG_Python_SetConstant(d
, "SYS_OEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_OEM_FIXED_FONT
)));
41927 SWIG_Python_SetConstant(d
, "SYS_ANSI_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_FIXED_FONT
)));
41928 SWIG_Python_SetConstant(d
, "SYS_ANSI_VAR_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_VAR_FONT
)));
41929 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FONT
)));
41930 SWIG_Python_SetConstant(d
, "SYS_DEVICE_DEFAULT_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEVICE_DEFAULT_FONT
)));
41931 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_PALETTE",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_PALETTE
)));
41932 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FIXED_FONT
)));
41933 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_GUI_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_GUI_FONT
)));
41934 SWIG_Python_SetConstant(d
, "SYS_ICONTITLE_FONT",SWIG_From_int(static_cast< int >(wxSYS_ICONTITLE_FONT
)));
41935 SWIG_Python_SetConstant(d
, "SYS_COLOUR_SCROLLBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_SCROLLBAR
)));
41936 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BACKGROUND",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BACKGROUND
)));
41937 SWIG_Python_SetConstant(d
, "SYS_COLOUR_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_DESKTOP
)));
41938 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVECAPTION
)));
41939 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTION
)));
41940 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENU",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENU
)));
41941 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOW
)));
41942 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWFRAME",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWFRAME
)));
41943 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUTEXT
)));
41944 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWTEXT
)));
41945 SWIG_Python_SetConstant(d
, "SYS_COLOUR_CAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_CAPTIONTEXT
)));
41946 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVEBORDER
)));
41947 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVEBORDER
)));
41948 SWIG_Python_SetConstant(d
, "SYS_COLOUR_APPWORKSPACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_APPWORKSPACE
)));
41949 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHT
)));
41950 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHTTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
41951 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNFACE
)));
41952 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DFACE
)));
41953 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNSHADOW
)));
41954 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DSHADOW
)));
41955 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRAYTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRAYTEXT
)));
41956 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNTEXT
)));
41957 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
41958 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHIGHLIGHT
)));
41959 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHILIGHT
)));
41960 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHIGHLIGHT
)));
41961 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHILIGHT
)));
41962 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DDKSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DDKSHADOW
)));
41963 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DLIGHT
)));
41964 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOTEXT
)));
41965 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOBK",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOBK
)));
41966 SWIG_Python_SetConstant(d
, "SYS_COLOUR_LISTBOX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_LISTBOX
)));
41967 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HOTLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HOTLIGHT
)));
41968 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
41969 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTINACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
41970 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUHILIGHT
)));
41971 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUBAR
)));
41972 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MAX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MAX
)));
41973 SWIG_Python_SetConstant(d
, "SYS_MOUSE_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_MOUSE_BUTTONS
)));
41974 SWIG_Python_SetConstant(d
, "SYS_BORDER_X",SWIG_From_int(static_cast< int >(wxSYS_BORDER_X
)));
41975 SWIG_Python_SetConstant(d
, "SYS_BORDER_Y",SWIG_From_int(static_cast< int >(wxSYS_BORDER_Y
)));
41976 SWIG_Python_SetConstant(d
, "SYS_CURSOR_X",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_X
)));
41977 SWIG_Python_SetConstant(d
, "SYS_CURSOR_Y",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_Y
)));
41978 SWIG_Python_SetConstant(d
, "SYS_DCLICK_X",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_X
)));
41979 SWIG_Python_SetConstant(d
, "SYS_DCLICK_Y",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_Y
)));
41980 SWIG_Python_SetConstant(d
, "SYS_DRAG_X",SWIG_From_int(static_cast< int >(wxSYS_DRAG_X
)));
41981 SWIG_Python_SetConstant(d
, "SYS_DRAG_Y",SWIG_From_int(static_cast< int >(wxSYS_DRAG_Y
)));
41982 SWIG_Python_SetConstant(d
, "SYS_EDGE_X",SWIG_From_int(static_cast< int >(wxSYS_EDGE_X
)));
41983 SWIG_Python_SetConstant(d
, "SYS_EDGE_Y",SWIG_From_int(static_cast< int >(wxSYS_EDGE_Y
)));
41984 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_X
)));
41985 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_Y
)));
41986 SWIG_Python_SetConstant(d
, "SYS_HTHUMB_X",SWIG_From_int(static_cast< int >(wxSYS_HTHUMB_X
)));
41987 SWIG_Python_SetConstant(d
, "SYS_ICON_X",SWIG_From_int(static_cast< int >(wxSYS_ICON_X
)));
41988 SWIG_Python_SetConstant(d
, "SYS_ICON_Y",SWIG_From_int(static_cast< int >(wxSYS_ICON_Y
)));
41989 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_X",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_X
)));
41990 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_Y",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_Y
)));
41991 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_X",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_X
)));
41992 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_Y",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_Y
)));
41993 SWIG_Python_SetConstant(d
, "SYS_SCREEN_X",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_X
)));
41994 SWIG_Python_SetConstant(d
, "SYS_SCREEN_Y",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_Y
)));
41995 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_X",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_X
)));
41996 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_Y",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_Y
)));
41997 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_X",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_X
)));
41998 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_Y",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_Y
)));
41999 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_Y
)));
42000 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_X
)));
42001 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_X
)));
42002 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_Y
)));
42003 SWIG_Python_SetConstant(d
, "SYS_VTHUMB_Y",SWIG_From_int(static_cast< int >(wxSYS_VTHUMB_Y
)));
42004 SWIG_Python_SetConstant(d
, "SYS_CAPTION_Y",SWIG_From_int(static_cast< int >(wxSYS_CAPTION_Y
)));
42005 SWIG_Python_SetConstant(d
, "SYS_MENU_Y",SWIG_From_int(static_cast< int >(wxSYS_MENU_Y
)));
42006 SWIG_Python_SetConstant(d
, "SYS_NETWORK_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_NETWORK_PRESENT
)));
42007 SWIG_Python_SetConstant(d
, "SYS_PENWINDOWS_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_PENWINDOWS_PRESENT
)));
42008 SWIG_Python_SetConstant(d
, "SYS_SHOW_SOUNDS",SWIG_From_int(static_cast< int >(wxSYS_SHOW_SOUNDS
)));
42009 SWIG_Python_SetConstant(d
, "SYS_SWAP_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_SWAP_BUTTONS
)));
42010 SWIG_Python_SetConstant(d
, "SYS_CAN_DRAW_FRAME_DECORATIONS",SWIG_From_int(static_cast< int >(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
42011 SWIG_Python_SetConstant(d
, "SYS_CAN_ICONIZE_FRAME",SWIG_From_int(static_cast< int >(wxSYS_CAN_ICONIZE_FRAME
)));
42012 SWIG_Python_SetConstant(d
, "SYS_TABLET_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_TABLET_PRESENT
)));
42013 SWIG_Python_SetConstant(d
, "SYS_SCREEN_NONE",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_NONE
)));
42014 SWIG_Python_SetConstant(d
, "SYS_SCREEN_TINY",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_TINY
)));
42015 SWIG_Python_SetConstant(d
, "SYS_SCREEN_PDA",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_PDA
)));
42016 SWIG_Python_SetConstant(d
, "SYS_SCREEN_SMALL",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_SMALL
)));
42017 SWIG_Python_SetConstant(d
, "SYS_SCREEN_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_DESKTOP
)));
42018 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
42019 SWIG_addvarlink(SWIG_globals(),(char*)"WINDOW_DEFAULT_VARIANT",WINDOW_DEFAULT_VARIANT_get
, WINDOW_DEFAULT_VARIANT_set
);
42020 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
42021 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
42022 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
42023 SWIG_Python_SetConstant(d
, "STOCK_NOFLAGS",SWIG_From_int(static_cast< int >(wxSTOCK_NOFLAGS
)));
42024 SWIG_Python_SetConstant(d
, "STOCK_WITH_MNEMONIC",SWIG_From_int(static_cast< int >(wxSTOCK_WITH_MNEMONIC
)));
42025 SWIG_Python_SetConstant(d
, "STOCK_WITH_ACCELERATOR",SWIG_From_int(static_cast< int >(wxSTOCK_WITH_ACCELERATOR
)));
42026 SWIG_Python_SetConstant(d
, "STOCK_MENU",SWIG_From_int(static_cast< int >(wxSTOCK_MENU
)));
42027 SWIG_Python_SetConstant(d
, "SHUTDOWN_POWEROFF",SWIG_From_int(static_cast< int >(wxSHUTDOWN_POWEROFF
)));
42028 SWIG_Python_SetConstant(d
, "SHUTDOWN_REBOOT",SWIG_From_int(static_cast< int >(wxSHUTDOWN_REBOOT
)));
42029 SWIG_Python_SetConstant(d
, "OS_UNKNOWN",SWIG_From_int(static_cast< int >(wxOS_UNKNOWN
)));
42030 SWIG_Python_SetConstant(d
, "OS_MAC_OS",SWIG_From_int(static_cast< int >(wxOS_MAC_OS
)));
42031 SWIG_Python_SetConstant(d
, "OS_MAC_OSX_DARWIN",SWIG_From_int(static_cast< int >(wxOS_MAC_OSX_DARWIN
)));
42032 SWIG_Python_SetConstant(d
, "OS_MAC",SWIG_From_int(static_cast< int >(wxOS_MAC
)));
42033 SWIG_Python_SetConstant(d
, "OS_WINDOWS_9X",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_9X
)));
42034 SWIG_Python_SetConstant(d
, "OS_WINDOWS_NT",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_NT
)));
42035 SWIG_Python_SetConstant(d
, "OS_WINDOWS_MICRO",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_MICRO
)));
42036 SWIG_Python_SetConstant(d
, "OS_WINDOWS_CE",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_CE
)));
42037 SWIG_Python_SetConstant(d
, "OS_WINDOWS",SWIG_From_int(static_cast< int >(wxOS_WINDOWS
)));
42038 SWIG_Python_SetConstant(d
, "OS_UNIX_LINUX",SWIG_From_int(static_cast< int >(wxOS_UNIX_LINUX
)));
42039 SWIG_Python_SetConstant(d
, "OS_UNIX_FREEBSD",SWIG_From_int(static_cast< int >(wxOS_UNIX_FREEBSD
)));
42040 SWIG_Python_SetConstant(d
, "OS_UNIX_OPENBSD",SWIG_From_int(static_cast< int >(wxOS_UNIX_OPENBSD
)));
42041 SWIG_Python_SetConstant(d
, "OS_UNIX_NETBSD",SWIG_From_int(static_cast< int >(wxOS_UNIX_NETBSD
)));
42042 SWIG_Python_SetConstant(d
, "OS_UNIX_SOLARIS",SWIG_From_int(static_cast< int >(wxOS_UNIX_SOLARIS
)));
42043 SWIG_Python_SetConstant(d
, "OS_UNIX_AIX",SWIG_From_int(static_cast< int >(wxOS_UNIX_AIX
)));
42044 SWIG_Python_SetConstant(d
, "OS_UNIX_HPUX",SWIG_From_int(static_cast< int >(wxOS_UNIX_HPUX
)));
42045 SWIG_Python_SetConstant(d
, "OS_UNIX",SWIG_From_int(static_cast< int >(wxOS_UNIX
)));
42046 SWIG_Python_SetConstant(d
, "OS_DOS",SWIG_From_int(static_cast< int >(wxOS_DOS
)));
42047 SWIG_Python_SetConstant(d
, "OS_OS2",SWIG_From_int(static_cast< int >(wxOS_OS2
)));
42048 SWIG_Python_SetConstant(d
, "PORT_UNKNOWN",SWIG_From_int(static_cast< int >(wxPORT_UNKNOWN
)));
42049 SWIG_Python_SetConstant(d
, "PORT_BASE",SWIG_From_int(static_cast< int >(wxPORT_BASE
)));
42050 SWIG_Python_SetConstant(d
, "PORT_MSW",SWIG_From_int(static_cast< int >(wxPORT_MSW
)));
42051 SWIG_Python_SetConstant(d
, "PORT_MOTIF",SWIG_From_int(static_cast< int >(wxPORT_MOTIF
)));
42052 SWIG_Python_SetConstant(d
, "PORT_GTK",SWIG_From_int(static_cast< int >(wxPORT_GTK
)));
42053 SWIG_Python_SetConstant(d
, "PORT_MGL",SWIG_From_int(static_cast< int >(wxPORT_MGL
)));
42054 SWIG_Python_SetConstant(d
, "PORT_X11",SWIG_From_int(static_cast< int >(wxPORT_X11
)));
42055 SWIG_Python_SetConstant(d
, "PORT_PM",SWIG_From_int(static_cast< int >(wxPORT_PM
)));
42056 SWIG_Python_SetConstant(d
, "PORT_OS2",SWIG_From_int(static_cast< int >(wxPORT_OS2
)));
42057 SWIG_Python_SetConstant(d
, "PORT_MAC",SWIG_From_int(static_cast< int >(wxPORT_MAC
)));
42058 SWIG_Python_SetConstant(d
, "PORT_COCOA",SWIG_From_int(static_cast< int >(wxPORT_COCOA
)));
42059 SWIG_Python_SetConstant(d
, "PORT_WINCE",SWIG_From_int(static_cast< int >(wxPORT_WINCE
)));
42060 SWIG_Python_SetConstant(d
, "PORT_PALMOS",SWIG_From_int(static_cast< int >(wxPORT_PALMOS
)));
42061 SWIG_Python_SetConstant(d
, "PORT_DFB",SWIG_From_int(static_cast< int >(wxPORT_DFB
)));
42062 SWIG_Python_SetConstant(d
, "ARCH_INVALID",SWIG_From_int(static_cast< int >(wxARCH_INVALID
)));
42063 SWIG_Python_SetConstant(d
, "ARCH_32",SWIG_From_int(static_cast< int >(wxARCH_32
)));
42064 SWIG_Python_SetConstant(d
, "ARCH_64",SWIG_From_int(static_cast< int >(wxARCH_64
)));
42065 SWIG_Python_SetConstant(d
, "ARCH_MAX",SWIG_From_int(static_cast< int >(wxARCH_MAX
)));
42066 SWIG_Python_SetConstant(d
, "ENDIAN_INVALID",SWIG_From_int(static_cast< int >(wxENDIAN_INVALID
)));
42067 SWIG_Python_SetConstant(d
, "ENDIAN_BIG",SWIG_From_int(static_cast< int >(wxENDIAN_BIG
)));
42068 SWIG_Python_SetConstant(d
, "ENDIAN_LITTLE",SWIG_From_int(static_cast< int >(wxENDIAN_LITTLE
)));
42069 SWIG_Python_SetConstant(d
, "ENDIAN_PDP",SWIG_From_int(static_cast< int >(wxENDIAN_PDP
)));
42070 SWIG_Python_SetConstant(d
, "ENDIAN_MAX",SWIG_From_int(static_cast< int >(wxENDIAN_MAX
)));
42071 SWIG_Python_SetConstant(d
, "TIMER_CONTINUOUS",SWIG_From_int(static_cast< int >(wxTIMER_CONTINUOUS
)));
42072 SWIG_Python_SetConstant(d
, "TIMER_ONE_SHOT",SWIG_From_int(static_cast< int >(wxTIMER_ONE_SHOT
)));
42073 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
42075 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
42077 SWIG_Python_SetConstant(d
, "LOG_FatalError",SWIG_From_int(static_cast< int >(wxLOG_FatalError
)));
42078 SWIG_Python_SetConstant(d
, "LOG_Error",SWIG_From_int(static_cast< int >(wxLOG_Error
)));
42079 SWIG_Python_SetConstant(d
, "LOG_Warning",SWIG_From_int(static_cast< int >(wxLOG_Warning
)));
42080 SWIG_Python_SetConstant(d
, "LOG_Message",SWIG_From_int(static_cast< int >(wxLOG_Message
)));
42081 SWIG_Python_SetConstant(d
, "LOG_Status",SWIG_From_int(static_cast< int >(wxLOG_Status
)));
42082 SWIG_Python_SetConstant(d
, "LOG_Info",SWIG_From_int(static_cast< int >(wxLOG_Info
)));
42083 SWIG_Python_SetConstant(d
, "LOG_Debug",SWIG_From_int(static_cast< int >(wxLOG_Debug
)));
42084 SWIG_Python_SetConstant(d
, "LOG_Trace",SWIG_From_int(static_cast< int >(wxLOG_Trace
)));
42085 SWIG_Python_SetConstant(d
, "LOG_Progress",SWIG_From_int(static_cast< int >(wxLOG_Progress
)));
42086 SWIG_Python_SetConstant(d
, "LOG_User",SWIG_From_int(static_cast< int >(wxLOG_User
)));
42087 SWIG_Python_SetConstant(d
, "LOG_Max",SWIG_From_int(static_cast< int >(wxLOG_Max
)));
42088 SWIG_Python_SetConstant(d
, "TRACE_MemAlloc",SWIG_FromCharPtr("memalloc"));
42089 SWIG_Python_SetConstant(d
, "TRACE_Messages",SWIG_FromCharPtr("messages"));
42090 SWIG_Python_SetConstant(d
, "TRACE_ResAlloc",SWIG_FromCharPtr("resalloc"));
42091 SWIG_Python_SetConstant(d
, "TRACE_RefCount",SWIG_FromCharPtr("refcount"));
42092 SWIG_Python_SetConstant(d
, "TRACE_OleCalls",SWIG_FromCharPtr("ole"));
42093 SWIG_Python_SetConstant(d
, "TraceMemAlloc",SWIG_From_int(static_cast< int >(0x0001)));
42094 SWIG_Python_SetConstant(d
, "TraceMessages",SWIG_From_int(static_cast< int >(0x0002)));
42095 SWIG_Python_SetConstant(d
, "TraceResAlloc",SWIG_From_int(static_cast< int >(0x0004)));
42096 SWIG_Python_SetConstant(d
, "TraceRefCount",SWIG_From_int(static_cast< int >(0x0008)));
42097 SWIG_Python_SetConstant(d
, "TraceOleCalls",SWIG_From_int(static_cast< int >(0x0100)));
42098 SWIG_Python_SetConstant(d
, "PROCESS_DEFAULT",SWIG_From_int(static_cast< int >(wxPROCESS_DEFAULT
)));
42099 SWIG_Python_SetConstant(d
, "PROCESS_REDIRECT",SWIG_From_int(static_cast< int >(wxPROCESS_REDIRECT
)));
42100 SWIG_Python_SetConstant(d
, "KILL_OK",SWIG_From_int(static_cast< int >(wxKILL_OK
)));
42101 SWIG_Python_SetConstant(d
, "KILL_BAD_SIGNAL",SWIG_From_int(static_cast< int >(wxKILL_BAD_SIGNAL
)));
42102 SWIG_Python_SetConstant(d
, "KILL_ACCESS_DENIED",SWIG_From_int(static_cast< int >(wxKILL_ACCESS_DENIED
)));
42103 SWIG_Python_SetConstant(d
, "KILL_NO_PROCESS",SWIG_From_int(static_cast< int >(wxKILL_NO_PROCESS
)));
42104 SWIG_Python_SetConstant(d
, "KILL_ERROR",SWIG_From_int(static_cast< int >(wxKILL_ERROR
)));
42105 SWIG_Python_SetConstant(d
, "KILL_NOCHILDREN",SWIG_From_int(static_cast< int >(wxKILL_NOCHILDREN
)));
42106 SWIG_Python_SetConstant(d
, "KILL_CHILDREN",SWIG_From_int(static_cast< int >(wxKILL_CHILDREN
)));
42107 SWIG_Python_SetConstant(d
, "SIGNONE",SWIG_From_int(static_cast< int >(wxSIGNONE
)));
42108 SWIG_Python_SetConstant(d
, "SIGHUP",SWIG_From_int(static_cast< int >(wxSIGHUP
)));
42109 SWIG_Python_SetConstant(d
, "SIGINT",SWIG_From_int(static_cast< int >(wxSIGINT
)));
42110 SWIG_Python_SetConstant(d
, "SIGQUIT",SWIG_From_int(static_cast< int >(wxSIGQUIT
)));
42111 SWIG_Python_SetConstant(d
, "SIGILL",SWIG_From_int(static_cast< int >(wxSIGILL
)));
42112 SWIG_Python_SetConstant(d
, "SIGTRAP",SWIG_From_int(static_cast< int >(wxSIGTRAP
)));
42113 SWIG_Python_SetConstant(d
, "SIGABRT",SWIG_From_int(static_cast< int >(wxSIGABRT
)));
42114 SWIG_Python_SetConstant(d
, "SIGIOT",SWIG_From_int(static_cast< int >(wxSIGIOT
)));
42115 SWIG_Python_SetConstant(d
, "SIGEMT",SWIG_From_int(static_cast< int >(wxSIGEMT
)));
42116 SWIG_Python_SetConstant(d
, "SIGFPE",SWIG_From_int(static_cast< int >(wxSIGFPE
)));
42117 SWIG_Python_SetConstant(d
, "SIGKILL",SWIG_From_int(static_cast< int >(wxSIGKILL
)));
42118 SWIG_Python_SetConstant(d
, "SIGBUS",SWIG_From_int(static_cast< int >(wxSIGBUS
)));
42119 SWIG_Python_SetConstant(d
, "SIGSEGV",SWIG_From_int(static_cast< int >(wxSIGSEGV
)));
42120 SWIG_Python_SetConstant(d
, "SIGSYS",SWIG_From_int(static_cast< int >(wxSIGSYS
)));
42121 SWIG_Python_SetConstant(d
, "SIGPIPE",SWIG_From_int(static_cast< int >(wxSIGPIPE
)));
42122 SWIG_Python_SetConstant(d
, "SIGALRM",SWIG_From_int(static_cast< int >(wxSIGALRM
)));
42123 SWIG_Python_SetConstant(d
, "SIGTERM",SWIG_From_int(static_cast< int >(wxSIGTERM
)));
42124 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
42125 SWIG_Python_SetConstant(d
, "EXEC_ASYNC",SWIG_From_int(static_cast< int >(wxEXEC_ASYNC
)));
42126 SWIG_Python_SetConstant(d
, "EXEC_SYNC",SWIG_From_int(static_cast< int >(wxEXEC_SYNC
)));
42127 SWIG_Python_SetConstant(d
, "EXEC_NOHIDE",SWIG_From_int(static_cast< int >(wxEXEC_NOHIDE
)));
42128 SWIG_Python_SetConstant(d
, "EXEC_MAKE_GROUP_LEADER",SWIG_From_int(static_cast< int >(wxEXEC_MAKE_GROUP_LEADER
)));
42129 SWIG_Python_SetConstant(d
, "EXEC_NODISABLE",SWIG_From_int(static_cast< int >(wxEXEC_NODISABLE
)));
42131 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
42133 SWIG_Python_SetConstant(d
, "JOYSTICK1",SWIG_From_int(static_cast< int >(wxJOYSTICK1
)));
42134 SWIG_Python_SetConstant(d
, "JOYSTICK2",SWIG_From_int(static_cast< int >(wxJOYSTICK2
)));
42135 SWIG_Python_SetConstant(d
, "JOY_BUTTON_ANY",SWIG_From_int(static_cast< int >(wxJOY_BUTTON_ANY
)));
42136 SWIG_Python_SetConstant(d
, "JOY_BUTTON1",SWIG_From_int(static_cast< int >(wxJOY_BUTTON1
)));
42137 SWIG_Python_SetConstant(d
, "JOY_BUTTON2",SWIG_From_int(static_cast< int >(wxJOY_BUTTON2
)));
42138 SWIG_Python_SetConstant(d
, "JOY_BUTTON3",SWIG_From_int(static_cast< int >(wxJOY_BUTTON3
)));
42139 SWIG_Python_SetConstant(d
, "JOY_BUTTON4",SWIG_From_int(static_cast< int >(wxJOY_BUTTON4
)));
42140 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
42141 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
42142 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
42143 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
42144 SWIG_Python_SetConstant(d
, "SOUND_SYNC",SWIG_From_int(static_cast< int >(wxSOUND_SYNC
)));
42145 SWIG_Python_SetConstant(d
, "SOUND_ASYNC",SWIG_From_int(static_cast< int >(wxSOUND_ASYNC
)));
42146 SWIG_Python_SetConstant(d
, "SOUND_LOOP",SWIG_From_int(static_cast< int >(wxSOUND_LOOP
)));
42147 SWIG_Python_SetConstant(d
, "MAILCAP_STANDARD",SWIG_From_int(static_cast< int >(wxMAILCAP_STANDARD
)));
42148 SWIG_Python_SetConstant(d
, "MAILCAP_NETSCAPE",SWIG_From_int(static_cast< int >(wxMAILCAP_NETSCAPE
)));
42149 SWIG_Python_SetConstant(d
, "MAILCAP_KDE",SWIG_From_int(static_cast< int >(wxMAILCAP_KDE
)));
42150 SWIG_Python_SetConstant(d
, "MAILCAP_GNOME",SWIG_From_int(static_cast< int >(wxMAILCAP_GNOME
)));
42151 SWIG_Python_SetConstant(d
, "MAILCAP_ALL",SWIG_From_int(static_cast< int >(wxMAILCAP_ALL
)));
42152 SWIG_addvarlink(SWIG_globals(),(char*)"TheMimeTypesManager",TheMimeTypesManager_get
, TheMimeTypesManager_set
);
42153 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TOOLBAR",ART_TOOLBAR_get
, ART_TOOLBAR_set
);
42154 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MENU",ART_MENU_get
, ART_MENU_set
);
42155 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FRAME_ICON",ART_FRAME_ICON_get
, ART_FRAME_ICON_set
);
42156 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CMN_DIALOG",ART_CMN_DIALOG_get
, ART_CMN_DIALOG_set
);
42157 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BROWSER",ART_HELP_BROWSER_get
, ART_HELP_BROWSER_set
);
42158 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MESSAGE_BOX",ART_MESSAGE_BOX_get
, ART_MESSAGE_BOX_set
);
42159 SWIG_addvarlink(SWIG_globals(),(char*)"ART_BUTTON",ART_BUTTON_get
, ART_BUTTON_set
);
42160 SWIG_addvarlink(SWIG_globals(),(char*)"ART_OTHER",ART_OTHER_get
, ART_OTHER_set
);
42161 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ADD_BOOKMARK",ART_ADD_BOOKMARK_get
, ART_ADD_BOOKMARK_set
);
42162 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DEL_BOOKMARK",ART_DEL_BOOKMARK_get
, ART_DEL_BOOKMARK_set
);
42163 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SIDE_PANEL",ART_HELP_SIDE_PANEL_get
, ART_HELP_SIDE_PANEL_set
);
42164 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SETTINGS",ART_HELP_SETTINGS_get
, ART_HELP_SETTINGS_set
);
42165 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BOOK",ART_HELP_BOOK_get
, ART_HELP_BOOK_set
);
42166 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_FOLDER",ART_HELP_FOLDER_get
, ART_HELP_FOLDER_set
);
42167 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_PAGE",ART_HELP_PAGE_get
, ART_HELP_PAGE_set
);
42168 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_BACK",ART_GO_BACK_get
, ART_GO_BACK_set
);
42169 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_FORWARD",ART_GO_FORWARD_get
, ART_GO_FORWARD_set
);
42170 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_UP",ART_GO_UP_get
, ART_GO_UP_set
);
42171 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DOWN",ART_GO_DOWN_get
, ART_GO_DOWN_set
);
42172 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_TO_PARENT",ART_GO_TO_PARENT_get
, ART_GO_TO_PARENT_set
);
42173 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_HOME",ART_GO_HOME_get
, ART_GO_HOME_set
);
42174 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_OPEN",ART_FILE_OPEN_get
, ART_FILE_OPEN_set
);
42175 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE",ART_FILE_SAVE_get
, ART_FILE_SAVE_set
);
42176 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE_AS",ART_FILE_SAVE_AS_get
, ART_FILE_SAVE_AS_set
);
42177 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PRINT",ART_PRINT_get
, ART_PRINT_set
);
42178 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP",ART_HELP_get
, ART_HELP_set
);
42179 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TIP",ART_TIP_get
, ART_TIP_set
);
42180 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REPORT_VIEW",ART_REPORT_VIEW_get
, ART_REPORT_VIEW_set
);
42181 SWIG_addvarlink(SWIG_globals(),(char*)"ART_LIST_VIEW",ART_LIST_VIEW_get
, ART_LIST_VIEW_set
);
42182 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW_DIR",ART_NEW_DIR_get
, ART_NEW_DIR_set
);
42183 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HARDDISK",ART_HARDDISK_get
, ART_HARDDISK_set
);
42184 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FLOPPY",ART_FLOPPY_get
, ART_FLOPPY_set
);
42185 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CDROM",ART_CDROM_get
, ART_CDROM_set
);
42186 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REMOVABLE",ART_REMOVABLE_get
, ART_REMOVABLE_set
);
42187 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER",ART_FOLDER_get
, ART_FOLDER_set
);
42188 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER_OPEN",ART_FOLDER_OPEN_get
, ART_FOLDER_OPEN_set
);
42189 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DIR_UP",ART_GO_DIR_UP_get
, ART_GO_DIR_UP_set
);
42190 SWIG_addvarlink(SWIG_globals(),(char*)"ART_EXECUTABLE_FILE",ART_EXECUTABLE_FILE_get
, ART_EXECUTABLE_FILE_set
);
42191 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NORMAL_FILE",ART_NORMAL_FILE_get
, ART_NORMAL_FILE_set
);
42192 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TICK_MARK",ART_TICK_MARK_get
, ART_TICK_MARK_set
);
42193 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CROSS_MARK",ART_CROSS_MARK_get
, ART_CROSS_MARK_set
);
42194 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ERROR",ART_ERROR_get
, ART_ERROR_set
);
42195 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUESTION",ART_QUESTION_get
, ART_QUESTION_set
);
42196 SWIG_addvarlink(SWIG_globals(),(char*)"ART_WARNING",ART_WARNING_get
, ART_WARNING_set
);
42197 SWIG_addvarlink(SWIG_globals(),(char*)"ART_INFORMATION",ART_INFORMATION_get
, ART_INFORMATION_set
);
42198 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MISSING_IMAGE",ART_MISSING_IMAGE_get
, ART_MISSING_IMAGE_set
);
42199 SWIG_addvarlink(SWIG_globals(),(char*)"ART_COPY",ART_COPY_get
, ART_COPY_set
);
42200 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CUT",ART_CUT_get
, ART_CUT_set
);
42201 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PASTE",ART_PASTE_get
, ART_PASTE_set
);
42202 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DELETE",ART_DELETE_get
, ART_DELETE_set
);
42203 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW",ART_NEW_get
, ART_NEW_set
);
42204 SWIG_addvarlink(SWIG_globals(),(char*)"ART_UNDO",ART_UNDO_get
, ART_UNDO_set
);
42205 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REDO",ART_REDO_get
, ART_REDO_set
);
42206 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUIT",ART_QUIT_get
, ART_QUIT_set
);
42207 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND",ART_FIND_get
, ART_FIND_set
);
42208 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND_AND_REPLACE",ART_FIND_AND_REPLACE_get
, ART_FIND_AND_REPLACE_set
);
42210 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
42212 SWIG_Python_SetConstant(d
, "CONFIG_USE_LOCAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_LOCAL_FILE
)));
42213 SWIG_Python_SetConstant(d
, "CONFIG_USE_GLOBAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_GLOBAL_FILE
)));
42214 SWIG_Python_SetConstant(d
, "CONFIG_USE_RELATIVE_PATH",SWIG_From_int(static_cast< int >(wxCONFIG_USE_RELATIVE_PATH
)));
42215 SWIG_Python_SetConstant(d
, "CONFIG_USE_NO_ESCAPE_CHARACTERS",SWIG_From_int(static_cast< int >(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
42216 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Unknown",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Unknown
)));
42217 SWIG_Python_SetConstant(d
, "ConfigBase_Type_String",SWIG_From_int(static_cast< int >(wxConfigBase::Type_String
)));
42218 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Boolean",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Boolean
)));
42219 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Integer",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Integer
)));
42220 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Float",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Float
)));
42221 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTimeFormat",DefaultDateTimeFormat_get
, DefaultDateTimeFormat_set
);
42222 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultTimeSpanFormat",DefaultTimeSpanFormat_get
, DefaultTimeSpanFormat_set
);
42223 SWIG_Python_SetConstant(d
, "DateTime_Local",SWIG_From_int(static_cast< int >(wxDateTime::Local
)));
42224 SWIG_Python_SetConstant(d
, "DateTime_GMT_12",SWIG_From_int(static_cast< int >(wxDateTime::GMT_12
)));
42225 SWIG_Python_SetConstant(d
, "DateTime_GMT_11",SWIG_From_int(static_cast< int >(wxDateTime::GMT_11
)));
42226 SWIG_Python_SetConstant(d
, "DateTime_GMT_10",SWIG_From_int(static_cast< int >(wxDateTime::GMT_10
)));
42227 SWIG_Python_SetConstant(d
, "DateTime_GMT_9",SWIG_From_int(static_cast< int >(wxDateTime::GMT_9
)));
42228 SWIG_Python_SetConstant(d
, "DateTime_GMT_8",SWIG_From_int(static_cast< int >(wxDateTime::GMT_8
)));
42229 SWIG_Python_SetConstant(d
, "DateTime_GMT_7",SWIG_From_int(static_cast< int >(wxDateTime::GMT_7
)));
42230 SWIG_Python_SetConstant(d
, "DateTime_GMT_6",SWIG_From_int(static_cast< int >(wxDateTime::GMT_6
)));
42231 SWIG_Python_SetConstant(d
, "DateTime_GMT_5",SWIG_From_int(static_cast< int >(wxDateTime::GMT_5
)));
42232 SWIG_Python_SetConstant(d
, "DateTime_GMT_4",SWIG_From_int(static_cast< int >(wxDateTime::GMT_4
)));
42233 SWIG_Python_SetConstant(d
, "DateTime_GMT_3",SWIG_From_int(static_cast< int >(wxDateTime::GMT_3
)));
42234 SWIG_Python_SetConstant(d
, "DateTime_GMT_2",SWIG_From_int(static_cast< int >(wxDateTime::GMT_2
)));
42235 SWIG_Python_SetConstant(d
, "DateTime_GMT_1",SWIG_From_int(static_cast< int >(wxDateTime::GMT_1
)));
42236 SWIG_Python_SetConstant(d
, "DateTime_GMT0",SWIG_From_int(static_cast< int >(wxDateTime::GMT0
)));
42237 SWIG_Python_SetConstant(d
, "DateTime_GMT1",SWIG_From_int(static_cast< int >(wxDateTime::GMT1
)));
42238 SWIG_Python_SetConstant(d
, "DateTime_GMT2",SWIG_From_int(static_cast< int >(wxDateTime::GMT2
)));
42239 SWIG_Python_SetConstant(d
, "DateTime_GMT3",SWIG_From_int(static_cast< int >(wxDateTime::GMT3
)));
42240 SWIG_Python_SetConstant(d
, "DateTime_GMT4",SWIG_From_int(static_cast< int >(wxDateTime::GMT4
)));
42241 SWIG_Python_SetConstant(d
, "DateTime_GMT5",SWIG_From_int(static_cast< int >(wxDateTime::GMT5
)));
42242 SWIG_Python_SetConstant(d
, "DateTime_GMT6",SWIG_From_int(static_cast< int >(wxDateTime::GMT6
)));
42243 SWIG_Python_SetConstant(d
, "DateTime_GMT7",SWIG_From_int(static_cast< int >(wxDateTime::GMT7
)));
42244 SWIG_Python_SetConstant(d
, "DateTime_GMT8",SWIG_From_int(static_cast< int >(wxDateTime::GMT8
)));
42245 SWIG_Python_SetConstant(d
, "DateTime_GMT9",SWIG_From_int(static_cast< int >(wxDateTime::GMT9
)));
42246 SWIG_Python_SetConstant(d
, "DateTime_GMT10",SWIG_From_int(static_cast< int >(wxDateTime::GMT10
)));
42247 SWIG_Python_SetConstant(d
, "DateTime_GMT11",SWIG_From_int(static_cast< int >(wxDateTime::GMT11
)));
42248 SWIG_Python_SetConstant(d
, "DateTime_GMT12",SWIG_From_int(static_cast< int >(wxDateTime::GMT12
)));
42249 SWIG_Python_SetConstant(d
, "DateTime_GMT13",SWIG_From_int(static_cast< int >(wxDateTime::GMT13
)));
42250 SWIG_Python_SetConstant(d
, "DateTime_WET",SWIG_From_int(static_cast< int >(wxDateTime::WET
)));
42251 SWIG_Python_SetConstant(d
, "DateTime_WEST",SWIG_From_int(static_cast< int >(wxDateTime::WEST
)));
42252 SWIG_Python_SetConstant(d
, "DateTime_CET",SWIG_From_int(static_cast< int >(wxDateTime::CET
)));
42253 SWIG_Python_SetConstant(d
, "DateTime_CEST",SWIG_From_int(static_cast< int >(wxDateTime::CEST
)));
42254 SWIG_Python_SetConstant(d
, "DateTime_EET",SWIG_From_int(static_cast< int >(wxDateTime::EET
)));
42255 SWIG_Python_SetConstant(d
, "DateTime_EEST",SWIG_From_int(static_cast< int >(wxDateTime::EEST
)));
42256 SWIG_Python_SetConstant(d
, "DateTime_MSK",SWIG_From_int(static_cast< int >(wxDateTime::MSK
)));
42257 SWIG_Python_SetConstant(d
, "DateTime_MSD",SWIG_From_int(static_cast< int >(wxDateTime::MSD
)));
42258 SWIG_Python_SetConstant(d
, "DateTime_AST",SWIG_From_int(static_cast< int >(wxDateTime::AST
)));
42259 SWIG_Python_SetConstant(d
, "DateTime_ADT",SWIG_From_int(static_cast< int >(wxDateTime::ADT
)));
42260 SWIG_Python_SetConstant(d
, "DateTime_EST",SWIG_From_int(static_cast< int >(wxDateTime::EST
)));
42261 SWIG_Python_SetConstant(d
, "DateTime_EDT",SWIG_From_int(static_cast< int >(wxDateTime::EDT
)));
42262 SWIG_Python_SetConstant(d
, "DateTime_CST",SWIG_From_int(static_cast< int >(wxDateTime::CST
)));
42263 SWIG_Python_SetConstant(d
, "DateTime_CDT",SWIG_From_int(static_cast< int >(wxDateTime::CDT
)));
42264 SWIG_Python_SetConstant(d
, "DateTime_MST",SWIG_From_int(static_cast< int >(wxDateTime::MST
)));
42265 SWIG_Python_SetConstant(d
, "DateTime_MDT",SWIG_From_int(static_cast< int >(wxDateTime::MDT
)));
42266 SWIG_Python_SetConstant(d
, "DateTime_PST",SWIG_From_int(static_cast< int >(wxDateTime::PST
)));
42267 SWIG_Python_SetConstant(d
, "DateTime_PDT",SWIG_From_int(static_cast< int >(wxDateTime::PDT
)));
42268 SWIG_Python_SetConstant(d
, "DateTime_HST",SWIG_From_int(static_cast< int >(wxDateTime::HST
)));
42269 SWIG_Python_SetConstant(d
, "DateTime_AKST",SWIG_From_int(static_cast< int >(wxDateTime::AKST
)));
42270 SWIG_Python_SetConstant(d
, "DateTime_AKDT",SWIG_From_int(static_cast< int >(wxDateTime::AKDT
)));
42271 SWIG_Python_SetConstant(d
, "DateTime_A_WST",SWIG_From_int(static_cast< int >(wxDateTime::A_WST
)));
42272 SWIG_Python_SetConstant(d
, "DateTime_A_CST",SWIG_From_int(static_cast< int >(wxDateTime::A_CST
)));
42273 SWIG_Python_SetConstant(d
, "DateTime_A_EST",SWIG_From_int(static_cast< int >(wxDateTime::A_EST
)));
42274 SWIG_Python_SetConstant(d
, "DateTime_A_ESST",SWIG_From_int(static_cast< int >(wxDateTime::A_ESST
)));
42275 SWIG_Python_SetConstant(d
, "DateTime_NZST",SWIG_From_int(static_cast< int >(wxDateTime::NZST
)));
42276 SWIG_Python_SetConstant(d
, "DateTime_NZDT",SWIG_From_int(static_cast< int >(wxDateTime::NZDT
)));
42277 SWIG_Python_SetConstant(d
, "DateTime_UTC",SWIG_From_int(static_cast< int >(wxDateTime::UTC
)));
42278 SWIG_Python_SetConstant(d
, "DateTime_Gregorian",SWIG_From_int(static_cast< int >(wxDateTime::Gregorian
)));
42279 SWIG_Python_SetConstant(d
, "DateTime_Julian",SWIG_From_int(static_cast< int >(wxDateTime::Julian
)));
42280 SWIG_Python_SetConstant(d
, "DateTime_Gr_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Unknown
)));
42281 SWIG_Python_SetConstant(d
, "DateTime_Gr_Standard",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Standard
)));
42282 SWIG_Python_SetConstant(d
, "DateTime_Gr_Alaska",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Alaska
)));
42283 SWIG_Python_SetConstant(d
, "DateTime_Gr_Albania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Albania
)));
42284 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria
)));
42285 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Brixen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Brixen
)));
42286 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Salzburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Salzburg
)));
42287 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Tyrol",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Tyrol
)));
42288 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Carinthia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Carinthia
)));
42289 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Styria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Styria
)));
42290 SWIG_Python_SetConstant(d
, "DateTime_Gr_Belgium",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Belgium
)));
42291 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria
)));
42292 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_1
)));
42293 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_2
)));
42294 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_3
)));
42295 SWIG_Python_SetConstant(d
, "DateTime_Gr_Canada",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Canada
)));
42296 SWIG_Python_SetConstant(d
, "DateTime_Gr_China",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China
)));
42297 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_1
)));
42298 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_2
)));
42299 SWIG_Python_SetConstant(d
, "DateTime_Gr_Czechoslovakia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Czechoslovakia
)));
42300 SWIG_Python_SetConstant(d
, "DateTime_Gr_Denmark",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Denmark
)));
42301 SWIG_Python_SetConstant(d
, "DateTime_Gr_Egypt",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Egypt
)));
42302 SWIG_Python_SetConstant(d
, "DateTime_Gr_Estonia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Estonia
)));
42303 SWIG_Python_SetConstant(d
, "DateTime_Gr_Finland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Finland
)));
42304 SWIG_Python_SetConstant(d
, "DateTime_Gr_France",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France
)));
42305 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Alsace",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Alsace
)));
42306 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Lorraine",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Lorraine
)));
42307 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Strasbourg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Strasbourg
)));
42308 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany
)));
42309 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Catholic
)));
42310 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Prussia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Prussia
)));
42311 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Protestant
)));
42312 SWIG_Python_SetConstant(d
, "DateTime_Gr_GreatBritain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_GreatBritain
)));
42313 SWIG_Python_SetConstant(d
, "DateTime_Gr_Greece",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Greece
)));
42314 SWIG_Python_SetConstant(d
, "DateTime_Gr_Hungary",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Hungary
)));
42315 SWIG_Python_SetConstant(d
, "DateTime_Gr_Ireland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Ireland
)));
42316 SWIG_Python_SetConstant(d
, "DateTime_Gr_Italy",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Italy
)));
42317 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan
)));
42318 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_1
)));
42319 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_2
)));
42320 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_3
)));
42321 SWIG_Python_SetConstant(d
, "DateTime_Gr_Latvia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Latvia
)));
42322 SWIG_Python_SetConstant(d
, "DateTime_Gr_Lithuania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Lithuania
)));
42323 SWIG_Python_SetConstant(d
, "DateTime_Gr_Luxemburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Luxemburg
)));
42324 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands
)));
42325 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Groningen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Groningen
)));
42326 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Gelderland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Gelderland
)));
42327 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Utrecht",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Utrecht
)));
42328 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Friesland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Friesland
)));
42329 SWIG_Python_SetConstant(d
, "DateTime_Gr_Norway",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Norway
)));
42330 SWIG_Python_SetConstant(d
, "DateTime_Gr_Poland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Poland
)));
42331 SWIG_Python_SetConstant(d
, "DateTime_Gr_Portugal",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Portugal
)));
42332 SWIG_Python_SetConstant(d
, "DateTime_Gr_Romania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Romania
)));
42333 SWIG_Python_SetConstant(d
, "DateTime_Gr_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Russia
)));
42334 SWIG_Python_SetConstant(d
, "DateTime_Gr_Scotland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Scotland
)));
42335 SWIG_Python_SetConstant(d
, "DateTime_Gr_Spain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Spain
)));
42336 SWIG_Python_SetConstant(d
, "DateTime_Gr_Sweden",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Sweden
)));
42337 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland
)));
42338 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Catholic
)));
42339 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Protestant
)));
42340 SWIG_Python_SetConstant(d
, "DateTime_Gr_Turkey",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Turkey
)));
42341 SWIG_Python_SetConstant(d
, "DateTime_Gr_USA",SWIG_From_int(static_cast< int >(wxDateTime::Gr_USA
)));
42342 SWIG_Python_SetConstant(d
, "DateTime_Gr_Wales",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Wales
)));
42343 SWIG_Python_SetConstant(d
, "DateTime_Gr_Yugoslavia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Yugoslavia
)));
42344 SWIG_Python_SetConstant(d
, "DateTime_Country_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Country_Unknown
)));
42345 SWIG_Python_SetConstant(d
, "DateTime_Country_Default",SWIG_From_int(static_cast< int >(wxDateTime::Country_Default
)));
42346 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_Start",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_Start
)));
42347 SWIG_Python_SetConstant(d
, "DateTime_Country_EEC",SWIG_From_int(static_cast< int >(wxDateTime::Country_EEC
)));
42348 SWIG_Python_SetConstant(d
, "DateTime_France",SWIG_From_int(static_cast< int >(wxDateTime::France
)));
42349 SWIG_Python_SetConstant(d
, "DateTime_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Germany
)));
42350 SWIG_Python_SetConstant(d
, "DateTime_UK",SWIG_From_int(static_cast< int >(wxDateTime::UK
)));
42351 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_End",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_End
)));
42352 SWIG_Python_SetConstant(d
, "DateTime_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Russia
)));
42353 SWIG_Python_SetConstant(d
, "DateTime_USA",SWIG_From_int(static_cast< int >(wxDateTime::USA
)));
42354 SWIG_Python_SetConstant(d
, "DateTime_Jan",SWIG_From_int(static_cast< int >(wxDateTime::Jan
)));
42355 SWIG_Python_SetConstant(d
, "DateTime_Feb",SWIG_From_int(static_cast< int >(wxDateTime::Feb
)));
42356 SWIG_Python_SetConstant(d
, "DateTime_Mar",SWIG_From_int(static_cast< int >(wxDateTime::Mar
)));
42357 SWIG_Python_SetConstant(d
, "DateTime_Apr",SWIG_From_int(static_cast< int >(wxDateTime::Apr
)));
42358 SWIG_Python_SetConstant(d
, "DateTime_May",SWIG_From_int(static_cast< int >(wxDateTime::May
)));
42359 SWIG_Python_SetConstant(d
, "DateTime_Jun",SWIG_From_int(static_cast< int >(wxDateTime::Jun
)));
42360 SWIG_Python_SetConstant(d
, "DateTime_Jul",SWIG_From_int(static_cast< int >(wxDateTime::Jul
)));
42361 SWIG_Python_SetConstant(d
, "DateTime_Aug",SWIG_From_int(static_cast< int >(wxDateTime::Aug
)));
42362 SWIG_Python_SetConstant(d
, "DateTime_Sep",SWIG_From_int(static_cast< int >(wxDateTime::Sep
)));
42363 SWIG_Python_SetConstant(d
, "DateTime_Oct",SWIG_From_int(static_cast< int >(wxDateTime::Oct
)));
42364 SWIG_Python_SetConstant(d
, "DateTime_Nov",SWIG_From_int(static_cast< int >(wxDateTime::Nov
)));
42365 SWIG_Python_SetConstant(d
, "DateTime_Dec",SWIG_From_int(static_cast< int >(wxDateTime::Dec
)));
42366 SWIG_Python_SetConstant(d
, "DateTime_Inv_Month",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Month
)));
42367 SWIG_Python_SetConstant(d
, "DateTime_Sun",SWIG_From_int(static_cast< int >(wxDateTime::Sun
)));
42368 SWIG_Python_SetConstant(d
, "DateTime_Mon",SWIG_From_int(static_cast< int >(wxDateTime::Mon
)));
42369 SWIG_Python_SetConstant(d
, "DateTime_Tue",SWIG_From_int(static_cast< int >(wxDateTime::Tue
)));
42370 SWIG_Python_SetConstant(d
, "DateTime_Wed",SWIG_From_int(static_cast< int >(wxDateTime::Wed
)));
42371 SWIG_Python_SetConstant(d
, "DateTime_Thu",SWIG_From_int(static_cast< int >(wxDateTime::Thu
)));
42372 SWIG_Python_SetConstant(d
, "DateTime_Fri",SWIG_From_int(static_cast< int >(wxDateTime::Fri
)));
42373 SWIG_Python_SetConstant(d
, "DateTime_Sat",SWIG_From_int(static_cast< int >(wxDateTime::Sat
)));
42374 SWIG_Python_SetConstant(d
, "DateTime_Inv_WeekDay",SWIG_From_int(static_cast< int >(wxDateTime::Inv_WeekDay
)));
42375 SWIG_Python_SetConstant(d
, "DateTime_Inv_Year",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Year
)));
42376 SWIG_Python_SetConstant(d
, "DateTime_Name_Full",SWIG_From_int(static_cast< int >(wxDateTime::Name_Full
)));
42377 SWIG_Python_SetConstant(d
, "DateTime_Name_Abbr",SWIG_From_int(static_cast< int >(wxDateTime::Name_Abbr
)));
42378 SWIG_Python_SetConstant(d
, "DateTime_Default_First",SWIG_From_int(static_cast< int >(wxDateTime::Default_First
)));
42379 SWIG_Python_SetConstant(d
, "DateTime_Monday_First",SWIG_From_int(static_cast< int >(wxDateTime::Monday_First
)));
42380 SWIG_Python_SetConstant(d
, "DateTime_Sunday_First",SWIG_From_int(static_cast< int >(wxDateTime::Sunday_First
)));
42381 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTime",DefaultDateTime_get
, DefaultDateTime_set
);
42382 SWIG_Python_SetConstant(d
, "DF_INVALID",SWIG_From_int(static_cast< int >(wxDF_INVALID
)));
42383 SWIG_Python_SetConstant(d
, "DF_TEXT",SWIG_From_int(static_cast< int >(wxDF_TEXT
)));
42384 SWIG_Python_SetConstant(d
, "DF_BITMAP",SWIG_From_int(static_cast< int >(wxDF_BITMAP
)));
42385 SWIG_Python_SetConstant(d
, "DF_METAFILE",SWIG_From_int(static_cast< int >(wxDF_METAFILE
)));
42386 SWIG_Python_SetConstant(d
, "DF_SYLK",SWIG_From_int(static_cast< int >(wxDF_SYLK
)));
42387 SWIG_Python_SetConstant(d
, "DF_DIF",SWIG_From_int(static_cast< int >(wxDF_DIF
)));
42388 SWIG_Python_SetConstant(d
, "DF_TIFF",SWIG_From_int(static_cast< int >(wxDF_TIFF
)));
42389 SWIG_Python_SetConstant(d
, "DF_OEMTEXT",SWIG_From_int(static_cast< int >(wxDF_OEMTEXT
)));
42390 SWIG_Python_SetConstant(d
, "DF_DIB",SWIG_From_int(static_cast< int >(wxDF_DIB
)));
42391 SWIG_Python_SetConstant(d
, "DF_PALETTE",SWIG_From_int(static_cast< int >(wxDF_PALETTE
)));
42392 SWIG_Python_SetConstant(d
, "DF_PENDATA",SWIG_From_int(static_cast< int >(wxDF_PENDATA
)));
42393 SWIG_Python_SetConstant(d
, "DF_RIFF",SWIG_From_int(static_cast< int >(wxDF_RIFF
)));
42394 SWIG_Python_SetConstant(d
, "DF_WAVE",SWIG_From_int(static_cast< int >(wxDF_WAVE
)));
42395 SWIG_Python_SetConstant(d
, "DF_UNICODETEXT",SWIG_From_int(static_cast< int >(wxDF_UNICODETEXT
)));
42396 SWIG_Python_SetConstant(d
, "DF_ENHMETAFILE",SWIG_From_int(static_cast< int >(wxDF_ENHMETAFILE
)));
42397 SWIG_Python_SetConstant(d
, "DF_FILENAME",SWIG_From_int(static_cast< int >(wxDF_FILENAME
)));
42398 SWIG_Python_SetConstant(d
, "DF_LOCALE",SWIG_From_int(static_cast< int >(wxDF_LOCALE
)));
42399 SWIG_Python_SetConstant(d
, "DF_PRIVATE",SWIG_From_int(static_cast< int >(wxDF_PRIVATE
)));
42400 SWIG_Python_SetConstant(d
, "DF_HTML",SWIG_From_int(static_cast< int >(wxDF_HTML
)));
42401 SWIG_Python_SetConstant(d
, "DF_MAX",SWIG_From_int(static_cast< int >(wxDF_MAX
)));
42402 SWIG_addvarlink(SWIG_globals(),(char*)"FormatInvalid",FormatInvalid_get
, FormatInvalid_set
);
42403 SWIG_Python_SetConstant(d
, "DataObject_Get",SWIG_From_int(static_cast< int >(wxDataObject::Get
)));
42404 SWIG_Python_SetConstant(d
, "DataObject_Set",SWIG_From_int(static_cast< int >(wxDataObject::Set
)));
42405 SWIG_Python_SetConstant(d
, "DataObject_Both",SWIG_From_int(static_cast< int >(wxDataObject::Both
)));
42406 SWIG_Python_SetConstant(d
, "Drag_CopyOnly",SWIG_From_int(static_cast< int >(wxDrag_CopyOnly
)));
42407 SWIG_Python_SetConstant(d
, "Drag_AllowMove",SWIG_From_int(static_cast< int >(wxDrag_AllowMove
)));
42408 SWIG_Python_SetConstant(d
, "Drag_DefaultMove",SWIG_From_int(static_cast< int >(wxDrag_DefaultMove
)));
42409 SWIG_Python_SetConstant(d
, "DragError",SWIG_From_int(static_cast< int >(wxDragError
)));
42410 SWIG_Python_SetConstant(d
, "DragNone",SWIG_From_int(static_cast< int >(wxDragNone
)));
42411 SWIG_Python_SetConstant(d
, "DragCopy",SWIG_From_int(static_cast< int >(wxDragCopy
)));
42412 SWIG_Python_SetConstant(d
, "DragMove",SWIG_From_int(static_cast< int >(wxDragMove
)));
42413 SWIG_Python_SetConstant(d
, "DragLink",SWIG_From_int(static_cast< int >(wxDragLink
)));
42414 SWIG_Python_SetConstant(d
, "DragCancel",SWIG_From_int(static_cast< int >(wxDragCancel
)));
42416 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
42417 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
42418 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
42419 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
42421 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultVideoMode",DefaultVideoMode_get
, DefaultVideoMode_set
);
42422 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_None",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_None
)));
42423 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Messages",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Messages
)));
42424 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Max",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Max
)));
42425 SWIG_Python_SetConstant(d
, "POWER_SOCKET",SWIG_From_int(static_cast< int >(wxPOWER_SOCKET
)));
42426 SWIG_Python_SetConstant(d
, "POWER_BATTERY",SWIG_From_int(static_cast< int >(wxPOWER_BATTERY
)));
42427 SWIG_Python_SetConstant(d
, "POWER_UNKNOWN",SWIG_From_int(static_cast< int >(wxPOWER_UNKNOWN
)));
42428 SWIG_Python_SetConstant(d
, "BATTERY_NORMAL_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_NORMAL_STATE
)));
42429 SWIG_Python_SetConstant(d
, "BATTERY_LOW_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_LOW_STATE
)));
42430 SWIG_Python_SetConstant(d
, "BATTERY_CRITICAL_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_CRITICAL_STATE
)));
42431 SWIG_Python_SetConstant(d
, "BATTERY_SHUTDOWN_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_SHUTDOWN_STATE
)));
42432 SWIG_Python_SetConstant(d
, "BATTERY_UNKNOWN_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_UNKNOWN_STATE
)));
42433 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPENDING", PyInt_FromLong(wxEVT_POWER_SUSPENDING
));
42434 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPENDED", PyInt_FromLong(wxEVT_POWER_SUSPENDED
));
42435 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPEND_CANCEL", PyInt_FromLong(wxEVT_POWER_SUSPEND_CANCEL
));
42436 PyDict_SetItemString(d
, "wxEVT_POWER_RESUME", PyInt_FromLong(wxEVT_POWER_RESUME
));