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
)
3021 SWIGINTERN swig_type_info
*
3022 SWIG_pchar_descriptor()
3024 static int init
= 0;
3025 static swig_type_info
* info
= 0;
3027 info
= SWIG_TypeQuery("_p_char");
3034 SWIGINTERNINLINE PyObject
*
3035 SWIG_FromCharPtrAndSize(const char* carray
, size_t size
)
3038 if (size
> INT_MAX
) {
3039 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3040 return pchar_descriptor
?
3041 SWIG_NewPointerObj(const_cast< char * >(carray
), pchar_descriptor
, 0) : SWIG_Py_Void();
3043 return PyString_FromStringAndSize(carray
, static_cast< int >(size
));
3046 return SWIG_Py_Void();
3051 SWIGINTERNINLINE PyObject
*
3052 SWIG_FromCharPtr(const char *cptr
)
3054 return SWIG_FromCharPtrAndSize(cptr
, (cptr
? strlen(cptr
) : 0));
3059 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
3062 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
3063 if (SWIG_IsOK(res
)) {
3064 if ((v
> UINT_MAX
)) {
3065 return SWIG_OverflowError
;
3067 if (val
) *val
= static_cast< unsigned int >(v
);
3073 SWIGINTERN wxString
wxLog_TimeStamp(){
3075 wxLog::TimeStamp(&msg
);
3078 SWIGINTERN
void wxLog_Destroy(wxLog
*self
){ delete self
; }
3079 // Make some wrappers that double any % signs so they are 'escaped'
3080 void wxPyLogFatalError(const wxString
& msg
)
3083 m
.Replace(wxT("%"), wxT("%%"));
3087 void wxPyLogError(const wxString
& msg
)
3090 m
.Replace(wxT("%"), wxT("%%"));
3094 void wxPyLogWarning(const wxString
& msg
)
3097 m
.Replace(wxT("%"), wxT("%%"));
3101 void wxPyLogMessage(const wxString
& msg
)
3104 m
.Replace(wxT("%"), wxT("%%"));
3108 void wxPyLogInfo(const wxString
& msg
)
3111 m
.Replace(wxT("%"), wxT("%%"));
3115 void wxPyLogDebug(const wxString
& msg
)
3118 m
.Replace(wxT("%"), wxT("%%"));
3122 void wxPyLogVerbose(const wxString
& msg
)
3125 m
.Replace(wxT("%"), wxT("%%"));
3129 void wxPyLogStatus(const wxString
& msg
)
3132 m
.Replace(wxT("%"), wxT("%%"));
3136 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
3139 m
.Replace(wxT("%"), wxT("%%"));
3140 wxLogStatus(pFrame
, m
);
3143 void wxPyLogSysError(const wxString
& msg
)
3146 m
.Replace(wxT("%"), wxT("%%"));
3150 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
3153 m
.Replace(wxT("%"), wxT("%%"));
3154 wxLogGeneric(level
, m
);
3157 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
3160 m
.Replace(wxT("%"), wxT("%%"));
3161 wxLogTrace(mask
, m
);
3164 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
3167 m
.Replace(wxT("%"), wxT("%%"));
3168 wxLogTrace(mask
, m
);
3173 // A wxLog class that can be derived from in wxPython
3174 class wxPyLog
: public wxLog
{
3176 wxPyLog() : wxLog() {}
3178 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
3180 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3181 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
3182 PyObject
* s
= wx2PyString(szString
);
3183 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
3186 wxPyEndBlockThreads(blocked
);
3188 wxLog::DoLog(level
, szString
, t
);
3191 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
3193 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3194 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
3195 PyObject
* s
= wx2PyString(szString
);
3196 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
3199 wxPyEndBlockThreads(blocked
);
3201 wxLog::DoLogString(szString
, t
);
3204 DEC_PYCALLBACK_VOID_(Flush
);
3207 IMP_PYCALLBACK_VOID_(wxPyLog
, wxLog
, Flush
);
3212 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
3215 #include <wx/joystick.h>
3218 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
3219 // A C++ stub class for wxJoystick for platforms that don't have it.
3220 class wxJoystick
: public wxObject
{
3222 wxJoystick(int joystick
= wxJOYSTICK1
) {
3223 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3224 PyErr_SetString(PyExc_NotImplementedError
,
3225 "wxJoystick is not available on this platform.");
3226 wxPyEndBlockThreads(blocked
);
3228 wxPoint
GetPosition() { return wxPoint(-1,-1); }
3229 int GetZPosition() { return -1; }
3230 int GetButtonState() { return -1; }
3231 int GetPOVPosition() { return -1; }
3232 int GetPOVCTSPosition() { return -1; }
3233 int GetRudderPosition() { return -1; }
3234 int GetUPosition() { return -1; }
3235 int GetVPosition() { return -1; }
3236 int GetMovementThreshold() { return -1; }
3237 void SetMovementThreshold(int threshold
) {}
3239 bool IsOk(void) { return false; }
3240 int GetNumberJoysticks() { return -1; }
3241 int GetManufacturerId() { return -1; }
3242 int GetProductId() { return -1; }
3243 wxString
GetProductName() { return wxEmptyString
; }
3244 int GetXMin() { return -1; }
3245 int GetYMin() { return -1; }
3246 int GetZMin() { return -1; }
3247 int GetXMax() { return -1; }
3248 int GetYMax() { return -1; }
3249 int GetZMax() { return -1; }
3250 int GetNumberButtons() { return -1; }
3251 int GetNumberAxes() { return -1; }
3252 int GetMaxButtons() { return -1; }
3253 int GetMaxAxes() { return -1; }
3254 int GetPollingMin() { return -1; }
3255 int GetPollingMax() { return -1; }
3256 int GetRudderMin() { return -1; }
3257 int GetRudderMax() { return -1; }
3258 int GetUMin() { return -1; }
3259 int GetUMax() { return -1; }
3260 int GetVMin() { return -1; }
3261 int GetVMax() { return -1; }
3263 bool HasRudder() { return false; }
3264 bool HasZ() { return false; }
3265 bool HasU() { return false; }
3266 bool HasV() { return false; }
3267 bool HasPOV() { return false; }
3268 bool HasPOV4Dir() { return false; }
3269 bool HasPOVCTS() { return false; }
3271 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
3272 bool ReleaseCapture() { return false; }
3277 #include <wx/sound.h>
3281 // A C++ stub class for wxWave for platforms that don't have it.
3282 class wxSound
: public wxObject
3286 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3287 PyErr_SetString(PyExc_NotImplementedError
,
3288 "wxSound is not available on this platform.");
3289 wxPyEndBlockThreads(blocked
);
3291 wxSound(const wxString
&/*, bool*/) {
3292 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3293 PyErr_SetString(PyExc_NotImplementedError
,
3294 "wxSound is not available on this platform.");
3295 wxPyEndBlockThreads(blocked
);
3297 wxSound(int, const wxByte
*) {
3298 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3299 PyErr_SetString(PyExc_NotImplementedError
,
3300 "wxSound is not available on this platform.");
3301 wxPyEndBlockThreads(blocked
);
3306 bool Create(const wxString
&/*, bool*/) { return false; }
3307 bool Create(int, const wxByte
*) { return false; };
3308 bool IsOk() { return false; };
3309 bool Play(unsigned) const { return false; }
3310 static bool Play(const wxString
&, unsigned) { return false; }
3311 static void Stop() {}
3316 SWIGINTERN wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
3317 if (fileName
.Length() == 0)
3320 return new wxSound(fileName
);
3322 SWIGINTERN wxSound
*new_wxSound(PyObject
*data
){
3323 unsigned char* buffer
; int size
;
3324 wxSound
*sound
= NULL
;
3326 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3327 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
3329 sound
= new wxSound(size
, buffer
);
3331 wxPyEndBlockThreads(blocked
);
3334 SWIGINTERN
bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
3336 unsigned char* buffer
;
3340 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3341 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
3343 rv
= self
->Create(size
, buffer
);
3345 wxPyEndBlockThreads(blocked
);
3348 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3349 PyErr_SetString(PyExc_NotImplementedError
,
3350 "Create from data is not available on this platform.");
3351 wxPyEndBlockThreads(blocked
);
3356 #include <wx/mimetype.h>
3358 SWIGINTERN PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
3360 if (self
->GetMimeType(&str
))
3361 return wx2PyString(str
);
3365 SWIGINTERN PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
3367 if (self
->GetMimeTypes(arr
))
3368 return wxArrayString2PyList_helper(arr
);
3372 SWIGINTERN PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
3374 if (self
->GetExtensions(arr
))
3375 return wxArrayString2PyList_helper(arr
);
3379 SWIGINTERN wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
3381 if (self
->GetIcon(&loc
))
3382 return new wxIcon(loc
);
3386 SWIGINTERN PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
3388 if (self
->GetIcon(&loc
)) {
3389 wxString iconFile
= loc
.GetFileName();
3394 // Make a tuple and put the values in it
3395 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3396 PyObject
* tuple
= PyTuple_New(3);
3397 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
3398 wxT("wxIcon"), true));
3399 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
3400 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
3401 wxPyEndBlockThreads(blocked
);
3407 SWIGINTERN PyObject
*wxFileType_GetDescription(wxFileType
*self
){
3409 if (self
->GetDescription(&str
))
3410 return wx2PyString(str
);
3414 SWIGINTERN PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3416 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
3417 return wx2PyString(str
);
3421 SWIGINTERN PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3423 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
3424 return wx2PyString(str
);
3428 SWIGINTERN PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3429 wxArrayString verbs
;
3430 wxArrayString commands
;
3431 if (self
->GetAllCommands(&verbs
, &commands
,
3432 wxFileType::MessageParameters(filename
, mimetype
))) {
3433 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3434 PyObject
* tuple
= PyTuple_New(2);
3435 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
3436 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
3437 wxPyEndBlockThreads(blocked
);
3443 SWIGINTERN wxString
wxFileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3444 return wxFileType::ExpandCommand(command
,
3445 wxFileType::MessageParameters(filename
, mimetype
));
3447 SWIGINTERN PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
3449 self
->EnumAllFileTypes(arr
);
3450 return wxArrayString2PyList_helper(arr
);
3453 #include <wx/artprov.h>
3455 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
3456 static const wxString
wxPyART_MENU(wxART_MENU
);
3457 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
3458 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
3459 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
3460 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
3461 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
3462 static const wxString
wxPyART_OTHER(wxART_OTHER
);
3463 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
3464 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
3465 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
3466 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
3467 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
3468 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
3469 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
3470 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
3471 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
3472 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
3473 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
3474 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
3475 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
3476 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
3477 static const wxString
wxPyART_FILE_SAVE(wxART_FILE_SAVE
);
3478 static const wxString
wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS
);
3479 static const wxString
wxPyART_PRINT(wxART_PRINT
);
3480 static const wxString
wxPyART_HELP(wxART_HELP
);
3481 static const wxString
wxPyART_TIP(wxART_TIP
);
3482 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
3483 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
3484 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
3485 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
3486 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
3487 static const wxString
wxPyART_CDROM(wxART_CDROM
);
3488 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
3489 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
3490 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
3491 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
3492 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
3493 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
3494 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
3495 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
3496 static const wxString
wxPyART_ERROR(wxART_ERROR
);
3497 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
3498 static const wxString
wxPyART_WARNING(wxART_WARNING
);
3499 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
3500 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
3501 static const wxString
wxPyART_COPY(wxART_COPY
);
3502 static const wxString
wxPyART_CUT(wxART_CUT
);
3503 static const wxString
wxPyART_PASTE(wxART_PASTE
);
3504 static const wxString
wxPyART_DELETE(wxART_DELETE
);
3505 static const wxString
wxPyART_NEW(wxART_NEW
);
3506 static const wxString
wxPyART_UNDO(wxART_UNDO
);
3507 static const wxString
wxPyART_REDO(wxART_REDO
);
3508 static const wxString
wxPyART_QUIT(wxART_QUIT
);
3509 static const wxString
wxPyART_FIND(wxART_FIND
);
3510 static const wxString
wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE
);
3511 // Python aware wxArtProvider
3512 class wxPyArtProvider
: public wxArtProvider
{
3515 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
3516 const wxArtClient
& client
,
3517 const wxSize
& size
) {
3518 wxBitmap rval
= wxNullBitmap
;
3519 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3520 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
3521 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
3525 s1
= wx2PyString(id
);
3526 s2
= wx2PyString(client
);
3527 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
3532 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
3537 wxPyEndBlockThreads(blocked
);
3544 SWIGINTERN
void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
3548 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
3549 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3550 PyObject
* ret
= PyTuple_New(3);
3552 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
3553 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
3554 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
3556 wxPyEndBlockThreads(blocked
);
3560 SWIGINTERN PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
3565 cont
= self
->GetFirstGroup(value
, index
);
3566 return __EnumerationHelper(cont
, value
, index
);
3568 SWIGINTERN PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
3572 cont
= self
->GetNextGroup(value
, index
);
3573 return __EnumerationHelper(cont
, value
, index
);
3575 SWIGINTERN PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
3580 cont
= self
->GetFirstEntry(value
, index
);
3581 return __EnumerationHelper(cont
, value
, index
);
3583 SWIGINTERN PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
3587 cont
= self
->GetNextEntry(value
, index
);
3588 return __EnumerationHelper(cont
, value
, index
);
3590 SWIGINTERN
long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
3592 self
->Read(key
, &rv
, defaultVal
);
3597 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3599 if (PyNumber_Check(obj
)) {
3600 if (val
) *val
= PyFloat_AsDouble(obj
);
3603 return SWIG_TypeError
;
3606 SWIGINTERN
double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
3608 self
->Read(key
, &rv
, defaultVal
);
3612 #define SWIG_From_double PyFloat_FromDouble
3614 SWIGINTERN
bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
3616 self
->Read(key
, &rv
, defaultVal
);
3620 #include <wx/datetime.h>
3622 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
3623 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
3625 #define LOCAL_TZ wxDateTime::Local
3627 SWIGINTERN PyObject
*wxDateTime_GetAmPmStrings(){
3630 wxDateTime::GetAmPmStrings(&am
, &pm
);
3631 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3632 PyObject
* tup
= PyTuple_New(2);
3633 PyTuple_SET_ITEM(tup
, 0, wx2PyString(am
));
3634 PyTuple_SET_ITEM(tup
, 1, wx2PyString(pm
));
3635 wxPyEndBlockThreads(blocked
);
3639 SWIGINTERNINLINE PyObject
*
3640 SWIG_From_unsigned_SS_int (unsigned int value
)
3642 return SWIG_From_unsigned_SS_long (value
);
3645 SWIGINTERN wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
3646 SWIGINTERN wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
3647 SWIGINTERN wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
3648 SWIGINTERN wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
3649 SWIGINTERN wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
3650 SWIGINTERN
bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
3651 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
3652 return (*self
< *other
);
3654 SWIGINTERN
bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
3655 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
3656 return (*self
<= *other
);
3658 SWIGINTERN
bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
3659 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
3660 return (*self
> *other
);
3662 SWIGINTERN
bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
3663 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
3664 return (*self
>= *other
);
3666 SWIGINTERN
bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
3667 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
3668 return (*self
== *other
);
3670 SWIGINTERN
bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
3671 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
3672 return (*self
!= *other
);
3674 SWIGINTERN
int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
3676 const wxChar
* _date
= date
;
3677 rv
= self
->ParseRfc822Date(_date
);
3678 if (rv
== NULL
) return -1;
3681 SWIGINTERN
int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
3683 const wxChar
* _date
= date
;
3684 rv
= self
->ParseFormat(_date
, format
, dateDef
);
3685 if (rv
== NULL
) return -1;
3688 SWIGINTERN
int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
3690 const wxChar
* _datetime
= datetime
;
3691 rv
= self
->ParseDateTime(_datetime
);
3692 if (rv
== NULL
) return -1;
3693 return rv
- _datetime
;
3695 SWIGINTERN
int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
3697 const wxChar
* _date
= date
;
3698 rv
= self
->ParseDate(_date
);
3699 if (rv
== NULL
) return -1;
3702 SWIGINTERN
int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
3704 const wxChar
* _time
= time
;
3705 rv
= self
->ParseTime(_time
);
3706 if (rv
== NULL
) return -1;
3709 SWIGINTERN wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
3710 SWIGINTERN wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
3711 SWIGINTERN wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
3712 SWIGINTERN wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
3713 SWIGINTERN
bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
3714 SWIGINTERN
bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
3715 SWIGINTERN
bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
3716 SWIGINTERN
bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
3717 SWIGINTERN
bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
3718 SWIGINTERN
bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
3719 SWIGINTERN wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
3720 SWIGINTERN wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
3721 SWIGINTERN wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
3722 SWIGINTERN wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
3723 SWIGINTERN
bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
3724 SWIGINTERN
bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
3726 #include <wx/dataobj.h>
3728 SWIGINTERN PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
3729 size_t count
= self
->GetFormatCount(dir
);
3730 wxDataFormat
* formats
= new wxDataFormat
[count
];
3731 self
->GetAllFormats(formats
, dir
);
3733 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3734 PyObject
* list
= PyList_New(count
);
3735 for (size_t i
=0; i
<count
; i
++) {
3736 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
3737 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
3738 PyList_SET_ITEM(list
, i
, obj
); // PyList_SET_ITEM steals a reference
3740 wxPyEndBlockThreads(blocked
);
3744 SWIGINTERN PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
3745 PyObject
* rval
= NULL
;
3746 size_t size
= self
->GetDataSize(format
);
3747 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3749 char* buf
= new char[size
];
3750 if (self
->GetDataHere(format
, buf
))
3751 rval
= PyString_FromStringAndSize(buf
, size
);
3758 wxPyEndBlockThreads(blocked
);
3761 SWIGINTERN
bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
3763 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3764 if (PyString_Check(data
)) {
3765 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
3768 // raise a TypeError if not a string
3769 PyErr_SetString(PyExc_TypeError
, "String expected.");
3772 wxPyEndBlockThreads(blocked
);
3775 SWIGINTERN PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
3776 PyObject
* rval
= NULL
;
3777 size_t size
= self
->GetDataSize();
3778 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3780 char* buf
= new char[size
];
3781 if (self
->GetDataHere(buf
))
3782 rval
= PyString_FromStringAndSize(buf
, size
);
3789 wxPyEndBlockThreads(blocked
);
3792 SWIGINTERN
bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
3794 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3795 if (PyString_Check(data
)) {
3796 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3799 // raise a TypeError if not a string
3800 PyErr_SetString(PyExc_TypeError
, "String expected.");
3803 wxPyEndBlockThreads(blocked
);
3806 // Create a new class for wxPython to use
3807 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
3809 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
3810 : wxDataObjectSimple(format
) {}
3812 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
3813 bool GetDataHere(void *buf
) const;
3814 bool SetData(size_t len
, const void *buf
);
3818 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
3820 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
3821 // We need to get the data for this object and write it to buf. I think
3822 // the best way to do this for wxPython is to have the Python method
3823 // return either a string or None and then act appropriately with the
3827 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3828 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
3830 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3832 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
3834 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
3838 wxPyEndBlockThreads(blocked
);
3842 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) {
3843 // For this one we simply need to make a string from buf and len
3844 // and send it to the Python method.
3846 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3847 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
3848 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
3849 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
3852 wxPyEndBlockThreads(blocked
);
3856 // Create a new class for wxPython to use
3857 class wxPyTextDataObject
: public wxTextDataObject
{
3859 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
3860 : wxTextDataObject(text
) {}
3862 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
3863 DEC_PYCALLBACK_STRING__const(GetText
);
3864 DEC_PYCALLBACK__STRING(SetText
);
3868 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
3869 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
3870 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
3873 // Create a new class for wxPython to use
3874 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
3876 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
3877 : wxBitmapDataObject(bitmap
) {}
3879 wxBitmap
GetBitmap() const;
3880 void SetBitmap(const wxBitmap
& bitmap
);
3884 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
3885 wxBitmap
* rval
= &wxNullBitmap
;
3886 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3887 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
3890 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3892 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
3897 wxPyEndBlockThreads(blocked
);
3901 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
3902 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3903 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
3904 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
3905 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
3908 wxPyEndBlockThreads(blocked
);
3911 SWIGINTERN wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
3912 return new wxCustomDataObject(wxDataFormat(formatName
));
3914 SWIGINTERN
bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
3916 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3917 if (PyString_Check(data
)) {
3918 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3921 // raise a TypeError if not a string
3922 PyErr_SetString(PyExc_TypeError
, "String expected.");
3925 wxPyEndBlockThreads(blocked
);
3928 SWIGINTERN PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
3930 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3931 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
3932 wxPyEndBlockThreads(blocked
);
3936 class wxMetafileDataObject
: public wxDataObjectSimple
3939 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
3943 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
3946 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
3947 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
3948 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
3949 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
3950 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
3953 class wxPyTextDropTarget
: public wxTextDropTarget
{
3955 wxPyTextDropTarget() {}
3957 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
3959 DEC_PYCALLBACK__(OnLeave
);
3960 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3961 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3962 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3963 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3968 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
3969 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
3970 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
3971 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
3972 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
3973 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
3977 class wxPyFileDropTarget
: public wxFileDropTarget
{
3979 wxPyFileDropTarget() {}
3981 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
3983 DEC_PYCALLBACK__(OnLeave
);
3984 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3985 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3986 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3987 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3992 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
3993 const wxArrayString
& filenames
) {
3995 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3996 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
3997 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
3998 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
4001 wxPyEndBlockThreads(blocked
);
4007 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
4008 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
4009 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
4010 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
4011 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
4016 SWIGINTERN
bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
4018 #include <wx/display.h>
4019 #include <wx/vidmode.h>
4021 SWIGINTERN
bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
4022 SWIGINTERN
bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
4025 const wxVideoMode wxDefaultVideoMode
;
4028 SWIGINTERN PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
4030 PyObject
* pyList
= NULL
;
4031 wxArrayVideoModes arr
= self
->GetModes(mode
);
4032 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4033 pyList
= PyList_New(0);
4034 for (size_t i
=0; i
< arr
.GetCount(); i
++)
4036 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
4037 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
4038 PyList_Append(pyList
, pyObj
);
4041 wxPyEndBlockThreads(blocked
);
4044 wxPyRaiseNotImplemented();
4048 SWIGINTERN wxVideoMode
wxDisplay_GetCurrentMode(wxDisplay
const *self
){
4050 return self
->GetCurrentMode();
4052 wxPyRaiseNotImplemented();
4053 return wxDefaultVideoMode
;
4056 SWIGINTERN
bool wxDisplay_ChangeMode(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
4058 return self
->ChangeMode(mode
);
4060 wxPyRaiseNotImplemented();
4064 SWIGINTERN
void wxDisplay_ResetMode(wxDisplay
*self
){
4068 wxPyRaiseNotImplemented();
4072 #include <wx/stdpaths.h>
4074 SWIGINTERN wxStandardPaths
*wxStandardPaths_Get(){
4075 return (wxStandardPaths
*) &wxStandardPaths::Get();
4078 #ifndef wxHAS_POWER_EVENTS
4079 // Dummy class and other definitions for platforms that don't have them
4081 // See wxPython_int.h for wxPowerEvent
4084 wxEVT_POWER_SUSPENDING
,
4085 wxEVT_POWER_SUSPENDED
,
4086 wxEVT_POWER_SUSPEND_CANCEL
,
4090 wxPowerType
wxGetPowerType() { return wxPOWER_UNKNOWN
; }
4091 wxBatteryState
wxGetBatteryState() { return wxBATTERY_UNKNOWN_STATE
; }
4096 #include <wx/aboutdlg.h>
4101 SWIGINTERN PyObject
*_wrap_SystemSettings_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4102 PyObject
*resultobj
= 0;
4103 wxSystemColour arg1
;
4107 PyObject
* obj0
= 0 ;
4108 char * kwnames
[] = {
4109 (char *) "index", NULL
4112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) SWIG_fail
;
4113 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4114 if (!SWIG_IsOK(ecode1
)) {
4115 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetColour" "', expected argument " "1"" of type '" "wxSystemColour""'");
4117 arg1
= static_cast< wxSystemColour
>(val1
);
4119 if (!wxPyCheckForApp()) SWIG_fail
;
4120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4121 result
= wxSystemSettings::GetColour(arg1
);
4122 wxPyEndAllowThreads(__tstate
);
4123 if (PyErr_Occurred()) SWIG_fail
;
4125 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4132 SWIGINTERN PyObject
*_wrap_SystemSettings_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4133 PyObject
*resultobj
= 0;
4138 PyObject
* obj0
= 0 ;
4139 char * kwnames
[] = {
4140 (char *) "index", NULL
4143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) SWIG_fail
;
4144 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4145 if (!SWIG_IsOK(ecode1
)) {
4146 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetFont" "', expected argument " "1"" of type '" "wxSystemFont""'");
4148 arg1
= static_cast< wxSystemFont
>(val1
);
4150 if (!wxPyCheckForApp()) SWIG_fail
;
4151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4152 result
= wxSystemSettings::GetFont(arg1
);
4153 wxPyEndAllowThreads(__tstate
);
4154 if (PyErr_Occurred()) SWIG_fail
;
4156 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
4163 SWIGINTERN PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4164 PyObject
*resultobj
= 0;
4165 wxSystemMetric arg1
;
4166 wxWindow
*arg2
= (wxWindow
*) NULL
;
4172 PyObject
* obj0
= 0 ;
4173 PyObject
* obj1
= 0 ;
4174 char * kwnames
[] = {
4175 (char *) "index",(char *) "win", NULL
4178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SystemSettings_GetMetric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4179 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4180 if (!SWIG_IsOK(ecode1
)) {
4181 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetMetric" "', expected argument " "1"" of type '" "wxSystemMetric""'");
4183 arg1
= static_cast< wxSystemMetric
>(val1
);
4185 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4186 if (!SWIG_IsOK(res2
)) {
4187 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SystemSettings_GetMetric" "', expected argument " "2"" of type '" "wxWindow *""'");
4189 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4192 if (!wxPyCheckForApp()) SWIG_fail
;
4193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4194 result
= (int)wxSystemSettings::GetMetric(arg1
,arg2
);
4195 wxPyEndAllowThreads(__tstate
);
4196 if (PyErr_Occurred()) SWIG_fail
;
4198 resultobj
= SWIG_From_int(static_cast< int >(result
));
4205 SWIGINTERN PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4206 PyObject
*resultobj
= 0;
4207 wxSystemFeature arg1
;
4211 PyObject
* obj0
= 0 ;
4212 char * kwnames
[] = {
4213 (char *) "index", NULL
4216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) SWIG_fail
;
4217 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4218 if (!SWIG_IsOK(ecode1
)) {
4219 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_HasFeature" "', expected argument " "1"" of type '" "wxSystemFeature""'");
4221 arg1
= static_cast< wxSystemFeature
>(val1
);
4223 if (!wxPyCheckForApp()) SWIG_fail
;
4224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4225 result
= (bool)wxSystemSettings::HasFeature(arg1
);
4226 wxPyEndAllowThreads(__tstate
);
4227 if (PyErr_Occurred()) SWIG_fail
;
4230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4238 SWIGINTERN PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4239 PyObject
*resultobj
= 0;
4240 wxSystemScreenType result
;
4242 if (!SWIG_Python_UnpackTuple(args
,"SystemSettings_GetScreenType",0,0,0)) SWIG_fail
;
4244 if (!wxPyCheckForApp()) SWIG_fail
;
4245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4246 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
4247 wxPyEndAllowThreads(__tstate
);
4248 if (PyErr_Occurred()) SWIG_fail
;
4250 resultobj
= SWIG_From_int(static_cast< int >(result
));
4257 SWIGINTERN PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4258 PyObject
*resultobj
= 0;
4259 wxSystemScreenType arg1
;
4262 PyObject
* obj0
= 0 ;
4263 char * kwnames
[] = {
4264 (char *) "screen", NULL
4267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) SWIG_fail
;
4268 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4269 if (!SWIG_IsOK(ecode1
)) {
4270 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_SetScreenType" "', expected argument " "1"" of type '" "wxSystemScreenType""'");
4272 arg1
= static_cast< wxSystemScreenType
>(val1
);
4274 if (!wxPyCheckForApp()) SWIG_fail
;
4275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4276 wxSystemSettings::SetScreenType(arg1
);
4277 wxPyEndAllowThreads(__tstate
);
4278 if (PyErr_Occurred()) SWIG_fail
;
4280 resultobj
= SWIG_Py_Void();
4287 SWIGINTERN PyObject
*SystemSettings_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4289 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4290 SWIG_TypeNewClientData(SWIGTYPE_p_wxSystemSettings
, SWIG_NewClientData(obj
));
4291 return SWIG_Py_Void();
4294 SWIGINTERN
int WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
4295 SWIG_Error(SWIG_AttributeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
4300 SWIGINTERN PyObject
*WINDOW_DEFAULT_VARIANT_get(void) {
4301 PyObject
*pyobj
= 0;
4305 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
4307 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
4314 SWIGINTERN PyObject
*_wrap_new_SystemOptions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4315 PyObject
*resultobj
= 0;
4316 wxSystemOptions
*result
= 0 ;
4318 if (!SWIG_Python_UnpackTuple(args
,"new_SystemOptions",0,0,0)) SWIG_fail
;
4320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4321 result
= (wxSystemOptions
*)new wxSystemOptions();
4322 wxPyEndAllowThreads(__tstate
);
4323 if (PyErr_Occurred()) SWIG_fail
;
4325 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSystemOptions
, SWIG_POINTER_NEW
| 0 );
4332 SWIGINTERN PyObject
*_wrap_SystemOptions_SetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4333 PyObject
*resultobj
= 0;
4334 wxString
*arg1
= 0 ;
4335 wxString
*arg2
= 0 ;
4336 bool temp1
= false ;
4337 bool temp2
= false ;
4338 PyObject
* obj0
= 0 ;
4339 PyObject
* obj1
= 0 ;
4340 char * kwnames
[] = {
4341 (char *) "name",(char *) "value", NULL
4344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4346 arg1
= wxString_in_helper(obj0
);
4347 if (arg1
== NULL
) SWIG_fail
;
4351 arg2
= wxString_in_helper(obj1
);
4352 if (arg2
== NULL
) SWIG_fail
;
4356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4357 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
4358 wxPyEndAllowThreads(__tstate
);
4359 if (PyErr_Occurred()) SWIG_fail
;
4361 resultobj
= SWIG_Py_Void();
4384 SWIGINTERN PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4385 PyObject
*resultobj
= 0;
4386 wxString
*arg1
= 0 ;
4388 bool temp1
= false ;
4391 PyObject
* obj0
= 0 ;
4392 PyObject
* obj1
= 0 ;
4393 char * kwnames
[] = {
4394 (char *) "name",(char *) "value", NULL
4397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4399 arg1
= wxString_in_helper(obj0
);
4400 if (arg1
== NULL
) SWIG_fail
;
4403 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4404 if (!SWIG_IsOK(ecode2
)) {
4405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SystemOptions_SetOptionInt" "', expected argument " "2"" of type '" "int""'");
4407 arg2
= static_cast< int >(val2
);
4409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4410 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
4411 wxPyEndAllowThreads(__tstate
);
4412 if (PyErr_Occurred()) SWIG_fail
;
4414 resultobj
= SWIG_Py_Void();
4429 SWIGINTERN PyObject
*_wrap_SystemOptions_GetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4430 PyObject
*resultobj
= 0;
4431 wxString
*arg1
= 0 ;
4433 bool temp1
= false ;
4434 PyObject
* obj0
= 0 ;
4435 char * kwnames
[] = {
4436 (char *) "name", NULL
4439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) SWIG_fail
;
4441 arg1
= wxString_in_helper(obj0
);
4442 if (arg1
== NULL
) SWIG_fail
;
4446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4447 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
4448 wxPyEndAllowThreads(__tstate
);
4449 if (PyErr_Occurred()) SWIG_fail
;
4453 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4455 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4472 SWIGINTERN PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4473 PyObject
*resultobj
= 0;
4474 wxString
*arg1
= 0 ;
4476 bool temp1
= false ;
4477 PyObject
* obj0
= 0 ;
4478 char * kwnames
[] = {
4479 (char *) "name", NULL
4482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) SWIG_fail
;
4484 arg1
= wxString_in_helper(obj0
);
4485 if (arg1
== NULL
) SWIG_fail
;
4489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4490 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
4491 wxPyEndAllowThreads(__tstate
);
4492 if (PyErr_Occurred()) SWIG_fail
;
4494 resultobj
= SWIG_From_int(static_cast< int >(result
));
4509 SWIGINTERN PyObject
*_wrap_SystemOptions_HasOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4510 PyObject
*resultobj
= 0;
4511 wxString
*arg1
= 0 ;
4513 bool temp1
= false ;
4514 PyObject
* obj0
= 0 ;
4515 char * kwnames
[] = {
4516 (char *) "name", NULL
4519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) SWIG_fail
;
4521 arg1
= wxString_in_helper(obj0
);
4522 if (arg1
== NULL
) SWIG_fail
;
4526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4527 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
4528 wxPyEndAllowThreads(__tstate
);
4529 if (PyErr_Occurred()) SWIG_fail
;
4532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4548 SWIGINTERN PyObject
*_wrap_SystemOptions_IsFalse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4549 PyObject
*resultobj
= 0;
4550 wxString
*arg1
= 0 ;
4552 bool temp1
= false ;
4553 PyObject
* obj0
= 0 ;
4554 char * kwnames
[] = {
4555 (char *) "name", NULL
4558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_IsFalse",kwnames
,&obj0
)) SWIG_fail
;
4560 arg1
= wxString_in_helper(obj0
);
4561 if (arg1
== NULL
) SWIG_fail
;
4565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4566 result
= (bool)wxSystemOptions::IsFalse((wxString
const &)*arg1
);
4567 wxPyEndAllowThreads(__tstate
);
4568 if (PyErr_Occurred()) SWIG_fail
;
4571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4587 SWIGINTERN PyObject
*SystemOptions_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4589 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4590 SWIG_TypeNewClientData(SWIGTYPE_p_wxSystemOptions
, SWIG_NewClientData(obj
));
4591 return SWIG_Py_Void();
4594 SWIGINTERN PyObject
*SystemOptions_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4595 return SWIG_Python_InitShadowInstance(args
);
4598 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
4599 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
4604 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
4605 PyObject
*pyobj
= 0;
4609 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
4611 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
4618 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
4619 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
4624 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
4625 PyObject
*pyobj
= 0;
4629 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
4631 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
4638 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
4639 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
4644 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
4645 PyObject
*pyobj
= 0;
4649 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
4651 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
4658 SWIGINTERN PyObject
*_wrap_NewId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4659 PyObject
*resultobj
= 0;
4662 if (!SWIG_Python_UnpackTuple(args
,"NewId",0,0,0)) SWIG_fail
;
4664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4665 result
= (long)wxNewId();
4666 wxPyEndAllowThreads(__tstate
);
4667 if (PyErr_Occurred()) SWIG_fail
;
4669 resultobj
= SWIG_From_long(static_cast< long >(result
));
4676 SWIGINTERN PyObject
*_wrap_RegisterId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4677 PyObject
*resultobj
= 0;
4681 PyObject
* obj0
= 0 ;
4682 char * kwnames
[] = {
4686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) SWIG_fail
;
4687 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
4688 if (!SWIG_IsOK(ecode1
)) {
4689 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RegisterId" "', expected argument " "1"" of type '" "long""'");
4691 arg1
= static_cast< long >(val1
);
4693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4695 wxPyEndAllowThreads(__tstate
);
4696 if (PyErr_Occurred()) SWIG_fail
;
4698 resultobj
= SWIG_Py_Void();
4705 SWIGINTERN PyObject
*_wrap_GetCurrentId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4706 PyObject
*resultobj
= 0;
4709 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentId",0,0,0)) SWIG_fail
;
4711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4712 result
= (long)wxGetCurrentId();
4713 wxPyEndAllowThreads(__tstate
);
4714 if (PyErr_Occurred()) SWIG_fail
;
4716 resultobj
= SWIG_From_long(static_cast< long >(result
));
4723 SWIGINTERN PyObject
*_wrap_IsStockID(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4724 PyObject
*resultobj
= 0;
4729 PyObject
* obj0
= 0 ;
4730 char * kwnames
[] = {
4734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) SWIG_fail
;
4735 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4736 if (!SWIG_IsOK(ecode1
)) {
4737 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsStockID" "', expected argument " "1"" of type '" "int""'");
4739 arg1
= static_cast< int >(val1
);
4741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4742 result
= (bool)wxIsStockID(arg1
);
4743 wxPyEndAllowThreads(__tstate
);
4744 if (PyErr_Occurred()) SWIG_fail
;
4747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4755 SWIGINTERN PyObject
*_wrap_IsStockLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4756 PyObject
*resultobj
= 0;
4758 wxString
*arg2
= 0 ;
4762 bool temp2
= false ;
4763 PyObject
* obj0
= 0 ;
4764 PyObject
* obj1
= 0 ;
4765 char * kwnames
[] = {
4766 (char *) "id",(char *) "label", NULL
4769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4770 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4771 if (!SWIG_IsOK(ecode1
)) {
4772 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsStockLabel" "', expected argument " "1"" of type '" "int""'");
4774 arg1
= static_cast< int >(val1
);
4776 arg2
= wxString_in_helper(obj1
);
4777 if (arg2
== NULL
) SWIG_fail
;
4781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4782 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
4783 wxPyEndAllowThreads(__tstate
);
4784 if (PyErr_Occurred()) SWIG_fail
;
4787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4803 SWIGINTERN PyObject
*_wrap_GetStockLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4804 PyObject
*resultobj
= 0;
4806 long arg2
= (long) wxSTOCK_WITH_MNEMONIC
;
4812 PyObject
* obj0
= 0 ;
4813 PyObject
* obj1
= 0 ;
4814 char * kwnames
[] = {
4815 (char *) "id",(char *) "flags", NULL
4818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GetStockLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4819 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4820 if (!SWIG_IsOK(ecode1
)) {
4821 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetStockLabel" "', expected argument " "1"" of type '" "int""'");
4823 arg1
= static_cast< int >(val1
);
4825 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4826 if (!SWIG_IsOK(ecode2
)) {
4827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GetStockLabel" "', expected argument " "2"" of type '" "long""'");
4829 arg2
= static_cast< long >(val2
);
4832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4833 result
= wxGetStockLabel(arg1
,arg2
);
4834 wxPyEndAllowThreads(__tstate
);
4835 if (PyErr_Occurred()) SWIG_fail
;
4839 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4841 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4850 SWIGINTERN PyObject
*_wrap_GetStockHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4851 PyObject
*resultobj
= 0;
4853 wxStockHelpStringClient arg2
= (wxStockHelpStringClient
) wxSTOCK_MENU
;
4859 PyObject
* obj0
= 0 ;
4860 PyObject
* obj1
= 0 ;
4861 char * kwnames
[] = {
4862 (char *) "id",(char *) "client", NULL
4865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GetStockHelpString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4866 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4867 if (!SWIG_IsOK(ecode1
)) {
4868 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetStockHelpString" "', expected argument " "1"" of type '" "int""'");
4870 arg1
= static_cast< int >(val1
);
4872 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4873 if (!SWIG_IsOK(ecode2
)) {
4874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GetStockHelpString" "', expected argument " "2"" of type '" "wxStockHelpStringClient""'");
4876 arg2
= static_cast< wxStockHelpStringClient
>(val2
);
4879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4880 result
= wxGetStockHelpString(arg1
,arg2
);
4881 wxPyEndAllowThreads(__tstate
);
4882 if (PyErr_Occurred()) SWIG_fail
;
4886 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4888 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4897 SWIGINTERN PyObject
*_wrap_Bell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4898 PyObject
*resultobj
= 0;
4900 if (!SWIG_Python_UnpackTuple(args
,"Bell",0,0,0)) SWIG_fail
;
4902 if (!wxPyCheckForApp()) SWIG_fail
;
4903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4905 wxPyEndAllowThreads(__tstate
);
4906 if (PyErr_Occurred()) SWIG_fail
;
4908 resultobj
= SWIG_Py_Void();
4915 SWIGINTERN PyObject
*_wrap_EndBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4916 PyObject
*resultobj
= 0;
4918 if (!SWIG_Python_UnpackTuple(args
,"EndBusyCursor",0,0,0)) SWIG_fail
;
4920 if (!wxPyCheckForApp()) SWIG_fail
;
4921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4923 wxPyEndAllowThreads(__tstate
);
4924 if (PyErr_Occurred()) SWIG_fail
;
4926 resultobj
= SWIG_Py_Void();
4933 SWIGINTERN PyObject
*_wrap_GetElapsedTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4934 PyObject
*resultobj
= 0;
4935 bool arg1
= (bool) true ;
4939 PyObject
* obj0
= 0 ;
4940 char * kwnames
[] = {
4941 (char *) "resetTimer", NULL
4944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) SWIG_fail
;
4946 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
4947 if (!SWIG_IsOK(ecode1
)) {
4948 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetElapsedTime" "', expected argument " "1"" of type '" "bool""'");
4950 arg1
= static_cast< bool >(val1
);
4953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4954 result
= (long)wxGetElapsedTime(arg1
);
4955 wxPyEndAllowThreads(__tstate
);
4956 if (PyErr_Occurred()) SWIG_fail
;
4958 resultobj
= SWIG_From_long(static_cast< long >(result
));
4965 SWIGINTERN PyObject
*_wrap_IsBusy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4966 PyObject
*resultobj
= 0;
4969 if (!SWIG_Python_UnpackTuple(args
,"IsBusy",0,0,0)) SWIG_fail
;
4971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4972 result
= (bool)wxIsBusy();
4973 wxPyEndAllowThreads(__tstate
);
4974 if (PyErr_Occurred()) SWIG_fail
;
4977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4985 SWIGINTERN PyObject
*_wrap_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4986 PyObject
*resultobj
= 0;
4989 if (!SWIG_Python_UnpackTuple(args
,"Now",0,0,0)) SWIG_fail
;
4991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4993 wxPyEndAllowThreads(__tstate
);
4994 if (PyErr_Occurred()) SWIG_fail
;
4998 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5000 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5009 SWIGINTERN PyObject
*_wrap_Shell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5010 PyObject
*resultobj
= 0;
5011 wxString
const &arg1_defvalue
= wxPyEmptyString
;
5012 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5014 bool temp1
= false ;
5015 PyObject
* obj0
= 0 ;
5016 char * kwnames
[] = {
5017 (char *) "command", NULL
5020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) SWIG_fail
;
5023 arg1
= wxString_in_helper(obj0
);
5024 if (arg1
== NULL
) SWIG_fail
;
5029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5030 result
= (bool)wxShell((wxString
const &)*arg1
);
5031 wxPyEndAllowThreads(__tstate
);
5032 if (PyErr_Occurred()) SWIG_fail
;
5035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5051 SWIGINTERN PyObject
*_wrap_StartTimer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5052 PyObject
*resultobj
= 0;
5054 if (!SWIG_Python_UnpackTuple(args
,"StartTimer",0,0,0)) SWIG_fail
;
5056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5058 wxPyEndAllowThreads(__tstate
);
5059 if (PyErr_Occurred()) SWIG_fail
;
5061 resultobj
= SWIG_Py_Void();
5068 SWIGINTERN PyObject
*_wrap_GetOsVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5069 PyObject
*resultobj
= 0;
5070 int *arg1
= (int *) 0 ;
5071 int *arg2
= (int *) 0 ;
5074 int res1
= SWIG_TMPOBJ
;
5076 int res2
= SWIG_TMPOBJ
;
5080 if (!SWIG_Python_UnpackTuple(args
,"GetOsVersion",0,0,0)) SWIG_fail
;
5082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5083 result
= (int)wxGetOsVersion(arg1
,arg2
);
5084 wxPyEndAllowThreads(__tstate
);
5085 if (PyErr_Occurred()) SWIG_fail
;
5087 resultobj
= SWIG_From_int(static_cast< int >(result
));
5088 if (SWIG_IsTmpObj(res1
)) {
5089 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
5091 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5092 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
5094 if (SWIG_IsTmpObj(res2
)) {
5095 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
5097 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5098 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
5106 SWIGINTERN PyObject
*_wrap_GetOsDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5107 PyObject
*resultobj
= 0;
5110 if (!SWIG_Python_UnpackTuple(args
,"GetOsDescription",0,0,0)) SWIG_fail
;
5112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5113 result
= wxGetOsDescription();
5114 wxPyEndAllowThreads(__tstate
);
5115 if (PyErr_Occurred()) SWIG_fail
;
5119 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5121 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5130 SWIGINTERN PyObject
*_wrap_IsPlatformLittleEndian(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5131 PyObject
*resultobj
= 0;
5134 if (!SWIG_Python_UnpackTuple(args
,"IsPlatformLittleEndian",0,0,0)) SWIG_fail
;
5136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5137 result
= (bool)wxIsPlatformLittleEndian();
5138 wxPyEndAllowThreads(__tstate
);
5139 if (PyErr_Occurred()) SWIG_fail
;
5142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5150 SWIGINTERN PyObject
*_wrap_IsPlatform64Bit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5151 PyObject
*resultobj
= 0;
5154 if (!SWIG_Python_UnpackTuple(args
,"IsPlatform64Bit",0,0,0)) SWIG_fail
;
5156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5157 result
= (bool)wxIsPlatform64Bit();
5158 wxPyEndAllowThreads(__tstate
);
5159 if (PyErr_Occurred()) SWIG_fail
;
5162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5170 SWIGINTERN PyObject
*_wrap_GetFreeMemory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5171 PyObject
*resultobj
= 0;
5172 wxMemorySize result
;
5174 if (!SWIG_Python_UnpackTuple(args
,"GetFreeMemory",0,0,0)) SWIG_fail
;
5176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5177 result
= wxGetFreeMemory();
5178 wxPyEndAllowThreads(__tstate
);
5179 if (PyErr_Occurred()) SWIG_fail
;
5183 resultobj
= PyLong_FromLongLong((&result
)->GetValue());
5185 resultobj
= PyInt_FromLong(result
);
5194 SWIGINTERN PyObject
*_wrap_Shutdown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5195 PyObject
*resultobj
= 0;
5196 wxShutdownFlags arg1
;
5200 PyObject
* obj0
= 0 ;
5201 char * kwnames
[] = {
5202 (char *) "wFlags", NULL
5205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) SWIG_fail
;
5206 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5207 if (!SWIG_IsOK(ecode1
)) {
5208 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Shutdown" "', expected argument " "1"" of type '" "wxShutdownFlags""'");
5210 arg1
= static_cast< wxShutdownFlags
>(val1
);
5212 if (!wxPyCheckForApp()) SWIG_fail
;
5213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5214 result
= (bool)wxShutdown(arg1
);
5215 wxPyEndAllowThreads(__tstate
);
5216 if (PyErr_Occurred()) SWIG_fail
;
5219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5227 SWIGINTERN PyObject
*_wrap_Sleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5228 PyObject
*resultobj
= 0;
5232 PyObject
* obj0
= 0 ;
5233 char * kwnames
[] = {
5234 (char *) "secs", NULL
5237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) SWIG_fail
;
5238 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5239 if (!SWIG_IsOK(ecode1
)) {
5240 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Sleep" "', expected argument " "1"" of type '" "int""'");
5242 arg1
= static_cast< int >(val1
);
5244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5246 wxPyEndAllowThreads(__tstate
);
5247 if (PyErr_Occurred()) SWIG_fail
;
5249 resultobj
= SWIG_Py_Void();
5256 SWIGINTERN PyObject
*_wrap_MilliSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5257 PyObject
*resultobj
= 0;
5258 unsigned long arg1
;
5259 unsigned long val1
;
5261 PyObject
* obj0
= 0 ;
5262 char * kwnames
[] = {
5263 (char *) "milliseconds", NULL
5266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) SWIG_fail
;
5267 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5268 if (!SWIG_IsOK(ecode1
)) {
5269 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MilliSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5271 arg1
= static_cast< unsigned long >(val1
);
5273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5275 wxPyEndAllowThreads(__tstate
);
5276 if (PyErr_Occurred()) SWIG_fail
;
5278 resultobj
= SWIG_Py_Void();
5285 SWIGINTERN PyObject
*_wrap_MicroSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5286 PyObject
*resultobj
= 0;
5287 unsigned long arg1
;
5288 unsigned long val1
;
5290 PyObject
* obj0
= 0 ;
5291 char * kwnames
[] = {
5292 (char *) "microseconds", NULL
5295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) SWIG_fail
;
5296 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5297 if (!SWIG_IsOK(ecode1
)) {
5298 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MicroSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5300 arg1
= static_cast< unsigned long >(val1
);
5302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5304 wxPyEndAllowThreads(__tstate
);
5305 if (PyErr_Occurred()) SWIG_fail
;
5307 resultobj
= SWIG_Py_Void();
5314 SWIGINTERN PyObject
*_wrap_EnableTopLevelWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5315 PyObject
*resultobj
= 0;
5319 PyObject
* obj0
= 0 ;
5320 char * kwnames
[] = {
5321 (char *) "enable", NULL
5324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) SWIG_fail
;
5325 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
5326 if (!SWIG_IsOK(ecode1
)) {
5327 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EnableTopLevelWindows" "', expected argument " "1"" of type '" "bool""'");
5329 arg1
= static_cast< bool >(val1
);
5331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5332 wxEnableTopLevelWindows(arg1
);
5333 wxPyEndAllowThreads(__tstate
);
5334 if (PyErr_Occurred()) SWIG_fail
;
5336 resultobj
= SWIG_Py_Void();
5343 SWIGINTERN PyObject
*_wrap_StripMenuCodes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5344 PyObject
*resultobj
= 0;
5345 wxString
*arg1
= 0 ;
5347 bool temp1
= false ;
5348 PyObject
* obj0
= 0 ;
5349 char * kwnames
[] = {
5353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) SWIG_fail
;
5355 arg1
= wxString_in_helper(obj0
);
5356 if (arg1
== NULL
) SWIG_fail
;
5360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5361 result
= wxStripMenuCodes((wxString
const &)*arg1
);
5362 wxPyEndAllowThreads(__tstate
);
5363 if (PyErr_Occurred()) SWIG_fail
;
5367 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5369 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5386 SWIGINTERN PyObject
*_wrap_GetEmailAddress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5387 PyObject
*resultobj
= 0;
5390 if (!SWIG_Python_UnpackTuple(args
,"GetEmailAddress",0,0,0)) SWIG_fail
;
5392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5393 result
= wxGetEmailAddress();
5394 wxPyEndAllowThreads(__tstate
);
5395 if (PyErr_Occurred()) SWIG_fail
;
5399 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5401 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5410 SWIGINTERN PyObject
*_wrap_GetHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5411 PyObject
*resultobj
= 0;
5414 if (!SWIG_Python_UnpackTuple(args
,"GetHostName",0,0,0)) SWIG_fail
;
5416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5417 result
= wxGetHostName();
5418 wxPyEndAllowThreads(__tstate
);
5419 if (PyErr_Occurred()) SWIG_fail
;
5423 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5425 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5434 SWIGINTERN PyObject
*_wrap_GetFullHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5435 PyObject
*resultobj
= 0;
5438 if (!SWIG_Python_UnpackTuple(args
,"GetFullHostName",0,0,0)) SWIG_fail
;
5440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5441 result
= wxGetFullHostName();
5442 wxPyEndAllowThreads(__tstate
);
5443 if (PyErr_Occurred()) SWIG_fail
;
5447 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5449 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5458 SWIGINTERN PyObject
*_wrap_GetUserId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5459 PyObject
*resultobj
= 0;
5462 if (!SWIG_Python_UnpackTuple(args
,"GetUserId",0,0,0)) SWIG_fail
;
5464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5465 result
= wxGetUserId();
5466 wxPyEndAllowThreads(__tstate
);
5467 if (PyErr_Occurred()) SWIG_fail
;
5471 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5473 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5482 SWIGINTERN PyObject
*_wrap_GetUserName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5483 PyObject
*resultobj
= 0;
5486 if (!SWIG_Python_UnpackTuple(args
,"GetUserName",0,0,0)) SWIG_fail
;
5488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5489 result
= wxGetUserName();
5490 wxPyEndAllowThreads(__tstate
);
5491 if (PyErr_Occurred()) SWIG_fail
;
5495 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5497 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5506 SWIGINTERN PyObject
*_wrap_GetHomeDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5507 PyObject
*resultobj
= 0;
5510 if (!SWIG_Python_UnpackTuple(args
,"GetHomeDir",0,0,0)) SWIG_fail
;
5512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5513 result
= wxGetHomeDir();
5514 wxPyEndAllowThreads(__tstate
);
5515 if (PyErr_Occurred()) SWIG_fail
;
5519 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5521 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5530 SWIGINTERN PyObject
*_wrap_GetUserHome(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5531 PyObject
*resultobj
= 0;
5532 wxString
const &arg1_defvalue
= wxPyEmptyString
;
5533 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5535 bool temp1
= false ;
5536 PyObject
* obj0
= 0 ;
5537 char * kwnames
[] = {
5538 (char *) "user", NULL
5541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) SWIG_fail
;
5544 arg1
= wxString_in_helper(obj0
);
5545 if (arg1
== NULL
) SWIG_fail
;
5550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5551 result
= wxGetUserHome((wxString
const &)*arg1
);
5552 wxPyEndAllowThreads(__tstate
);
5553 if (PyErr_Occurred()) SWIG_fail
;
5557 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5559 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5576 SWIGINTERN PyObject
*_wrap_GetProcessId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5577 PyObject
*resultobj
= 0;
5578 unsigned long result
;
5580 if (!SWIG_Python_UnpackTuple(args
,"GetProcessId",0,0,0)) SWIG_fail
;
5582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5583 result
= (unsigned long)wxGetProcessId();
5584 wxPyEndAllowThreads(__tstate
);
5585 if (PyErr_Occurred()) SWIG_fail
;
5587 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
5594 SWIGINTERN PyObject
*_wrap_Trap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5595 PyObject
*resultobj
= 0;
5597 if (!SWIG_Python_UnpackTuple(args
,"Trap",0,0,0)) SWIG_fail
;
5599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5601 wxPyEndAllowThreads(__tstate
);
5602 if (PyErr_Occurred()) SWIG_fail
;
5604 resultobj
= SWIG_Py_Void();
5611 SWIGINTERN PyObject
*_wrap_FileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5612 PyObject
*resultobj
= 0;
5613 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
5614 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5615 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5616 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5617 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5618 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5619 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5620 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5621 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
5622 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5623 int arg6
= (int) 0 ;
5624 wxWindow
*arg7
= (wxWindow
*) NULL
;
5625 int arg8
= (int) -1 ;
5626 int arg9
= (int) -1 ;
5628 bool temp1
= false ;
5629 bool temp2
= false ;
5630 bool temp3
= false ;
5631 bool temp4
= false ;
5632 bool temp5
= false ;
5641 PyObject
* obj0
= 0 ;
5642 PyObject
* obj1
= 0 ;
5643 PyObject
* obj2
= 0 ;
5644 PyObject
* obj3
= 0 ;
5645 PyObject
* obj4
= 0 ;
5646 PyObject
* obj5
= 0 ;
5647 PyObject
* obj6
= 0 ;
5648 PyObject
* obj7
= 0 ;
5649 PyObject
* obj8
= 0 ;
5650 char * kwnames
[] = {
5651 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
5654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5657 arg1
= wxString_in_helper(obj0
);
5658 if (arg1
== NULL
) SWIG_fail
;
5664 arg2
= wxString_in_helper(obj1
);
5665 if (arg2
== NULL
) SWIG_fail
;
5671 arg3
= wxString_in_helper(obj2
);
5672 if (arg3
== NULL
) SWIG_fail
;
5678 arg4
= wxString_in_helper(obj3
);
5679 if (arg4
== NULL
) SWIG_fail
;
5685 arg5
= wxString_in_helper(obj4
);
5686 if (arg5
== NULL
) SWIG_fail
;
5691 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
5692 if (!SWIG_IsOK(ecode6
)) {
5693 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FileSelector" "', expected argument " "6"" of type '" "int""'");
5695 arg6
= static_cast< int >(val6
);
5698 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5699 if (!SWIG_IsOK(res7
)) {
5700 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "FileSelector" "', expected argument " "7"" of type '" "wxWindow *""'");
5702 arg7
= reinterpret_cast< wxWindow
* >(argp7
);
5705 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
5706 if (!SWIG_IsOK(ecode8
)) {
5707 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FileSelector" "', expected argument " "8"" of type '" "int""'");
5709 arg8
= static_cast< int >(val8
);
5712 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
5713 if (!SWIG_IsOK(ecode9
)) {
5714 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FileSelector" "', expected argument " "9"" of type '" "int""'");
5716 arg9
= static_cast< int >(val9
);
5719 if (!wxPyCheckForApp()) SWIG_fail
;
5720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5721 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
5722 wxPyEndAllowThreads(__tstate
);
5723 if (PyErr_Occurred()) SWIG_fail
;
5727 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5729 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5778 SWIGINTERN PyObject
*_wrap_LoadFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5779 PyObject
*resultobj
= 0;
5780 wxString
*arg1
= 0 ;
5781 wxString
*arg2
= 0 ;
5782 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5783 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5784 wxWindow
*arg4
= (wxWindow
*) NULL
;
5786 bool temp1
= false ;
5787 bool temp2
= false ;
5788 bool temp3
= false ;
5791 PyObject
* obj0
= 0 ;
5792 PyObject
* obj1
= 0 ;
5793 PyObject
* obj2
= 0 ;
5794 PyObject
* obj3
= 0 ;
5795 char * kwnames
[] = {
5796 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5801 arg1
= wxString_in_helper(obj0
);
5802 if (arg1
== NULL
) SWIG_fail
;
5806 arg2
= wxString_in_helper(obj1
);
5807 if (arg2
== NULL
) SWIG_fail
;
5812 arg3
= wxString_in_helper(obj2
);
5813 if (arg3
== NULL
) SWIG_fail
;
5818 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5819 if (!SWIG_IsOK(res4
)) {
5820 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "LoadFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5822 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5825 if (!wxPyCheckForApp()) SWIG_fail
;
5826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5827 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5828 wxPyEndAllowThreads(__tstate
);
5829 if (PyErr_Occurred()) SWIG_fail
;
5833 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5835 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5868 SWIGINTERN PyObject
*_wrap_SaveFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5869 PyObject
*resultobj
= 0;
5870 wxString
*arg1
= 0 ;
5871 wxString
*arg2
= 0 ;
5872 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5873 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5874 wxWindow
*arg4
= (wxWindow
*) NULL
;
5876 bool temp1
= false ;
5877 bool temp2
= false ;
5878 bool temp3
= false ;
5881 PyObject
* obj0
= 0 ;
5882 PyObject
* obj1
= 0 ;
5883 PyObject
* obj2
= 0 ;
5884 PyObject
* obj3
= 0 ;
5885 char * kwnames
[] = {
5886 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5891 arg1
= wxString_in_helper(obj0
);
5892 if (arg1
== NULL
) SWIG_fail
;
5896 arg2
= wxString_in_helper(obj1
);
5897 if (arg2
== NULL
) SWIG_fail
;
5902 arg3
= wxString_in_helper(obj2
);
5903 if (arg3
== NULL
) SWIG_fail
;
5908 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5909 if (!SWIG_IsOK(res4
)) {
5910 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "SaveFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5912 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5915 if (!wxPyCheckForApp()) SWIG_fail
;
5916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5917 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5918 wxPyEndAllowThreads(__tstate
);
5919 if (PyErr_Occurred()) SWIG_fail
;
5923 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5925 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5958 SWIGINTERN PyObject
*_wrap_DirSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5959 PyObject
*resultobj
= 0;
5960 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
5961 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5962 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5963 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5964 long arg3
= (long) wxDD_DEFAULT_STYLE
;
5965 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5966 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5967 wxWindow
*arg5
= (wxWindow
*) NULL
;
5969 bool temp1
= false ;
5970 bool temp2
= false ;
5976 PyObject
* obj0
= 0 ;
5977 PyObject
* obj1
= 0 ;
5978 PyObject
* obj2
= 0 ;
5979 PyObject
* obj3
= 0 ;
5980 PyObject
* obj4
= 0 ;
5981 char * kwnames
[] = {
5982 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
5985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
5988 arg1
= wxString_in_helper(obj0
);
5989 if (arg1
== NULL
) SWIG_fail
;
5995 arg2
= wxString_in_helper(obj1
);
5996 if (arg2
== NULL
) SWIG_fail
;
6001 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6002 if (!SWIG_IsOK(ecode3
)) {
6003 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirSelector" "', expected argument " "3"" of type '" "long""'");
6005 arg3
= static_cast< long >(val3
);
6010 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6014 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6015 if (!SWIG_IsOK(res5
)) {
6016 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DirSelector" "', expected argument " "5"" of type '" "wxWindow *""'");
6018 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6021 if (!wxPyCheckForApp()) SWIG_fail
;
6022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6023 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
6024 wxPyEndAllowThreads(__tstate
);
6025 if (PyErr_Occurred()) SWIG_fail
;
6029 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6031 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6056 SWIGINTERN PyObject
*_wrap_GetTextFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6057 PyObject
*resultobj
= 0;
6058 wxString
*arg1
= 0 ;
6059 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6060 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6061 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6062 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6063 wxWindow
*arg4
= (wxWindow
*) NULL
;
6064 int arg5
= (int) -1 ;
6065 int arg6
= (int) -1 ;
6066 bool arg7
= (bool) true ;
6068 bool temp1
= false ;
6069 bool temp2
= false ;
6070 bool temp3
= false ;
6079 PyObject
* obj0
= 0 ;
6080 PyObject
* obj1
= 0 ;
6081 PyObject
* obj2
= 0 ;
6082 PyObject
* obj3
= 0 ;
6083 PyObject
* obj4
= 0 ;
6084 PyObject
* obj5
= 0 ;
6085 PyObject
* obj6
= 0 ;
6086 char * kwnames
[] = {
6087 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
6090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6092 arg1
= wxString_in_helper(obj0
);
6093 if (arg1
== NULL
) SWIG_fail
;
6098 arg2
= wxString_in_helper(obj1
);
6099 if (arg2
== NULL
) SWIG_fail
;
6105 arg3
= wxString_in_helper(obj2
);
6106 if (arg3
== NULL
) SWIG_fail
;
6111 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6112 if (!SWIG_IsOK(res4
)) {
6113 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetTextFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
6115 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6118 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6119 if (!SWIG_IsOK(ecode5
)) {
6120 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GetTextFromUser" "', expected argument " "5"" of type '" "int""'");
6122 arg5
= static_cast< int >(val5
);
6125 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6126 if (!SWIG_IsOK(ecode6
)) {
6127 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetTextFromUser" "', expected argument " "6"" of type '" "int""'");
6129 arg6
= static_cast< int >(val6
);
6132 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
6133 if (!SWIG_IsOK(ecode7
)) {
6134 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetTextFromUser" "', expected argument " "7"" of type '" "bool""'");
6136 arg7
= static_cast< bool >(val7
);
6139 if (!wxPyCheckForApp()) SWIG_fail
;
6140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6141 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
6142 wxPyEndAllowThreads(__tstate
);
6143 if (PyErr_Occurred()) SWIG_fail
;
6147 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6149 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6182 SWIGINTERN PyObject
*_wrap_GetPasswordFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6183 PyObject
*resultobj
= 0;
6184 wxString
*arg1
= 0 ;
6185 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6186 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6187 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6188 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6189 wxWindow
*arg4
= (wxWindow
*) NULL
;
6191 bool temp1
= false ;
6192 bool temp2
= false ;
6193 bool temp3
= false ;
6196 PyObject
* obj0
= 0 ;
6197 PyObject
* obj1
= 0 ;
6198 PyObject
* obj2
= 0 ;
6199 PyObject
* obj3
= 0 ;
6200 char * kwnames
[] = {
6201 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
6204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6206 arg1
= wxString_in_helper(obj0
);
6207 if (arg1
== NULL
) SWIG_fail
;
6212 arg2
= wxString_in_helper(obj1
);
6213 if (arg2
== NULL
) SWIG_fail
;
6219 arg3
= wxString_in_helper(obj2
);
6220 if (arg3
== NULL
) SWIG_fail
;
6225 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6226 if (!SWIG_IsOK(res4
)) {
6227 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetPasswordFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
6229 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6232 if (!wxPyCheckForApp()) SWIG_fail
;
6233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6234 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
6235 wxPyEndAllowThreads(__tstate
);
6236 if (PyErr_Occurred()) SWIG_fail
;
6240 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6242 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6275 SWIGINTERN PyObject
*_wrap_GetSingleChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6276 PyObject
*resultobj
= 0;
6277 wxString
*arg1
= 0 ;
6278 wxString
*arg2
= 0 ;
6280 wxString
*arg4
= (wxString
*) 0 ;
6281 wxWindow
*arg5
= (wxWindow
*) NULL
;
6282 int arg6
= (int) -1 ;
6283 int arg7
= (int) -1 ;
6284 bool arg8
= (bool) true ;
6285 int arg9
= (int) 150 ;
6286 int arg10
= (int) 200 ;
6288 bool temp1
= false ;
6289 bool temp2
= false ;
6302 PyObject
* obj0
= 0 ;
6303 PyObject
* obj1
= 0 ;
6304 PyObject
* obj2
= 0 ;
6305 PyObject
* obj3
= 0 ;
6306 PyObject
* obj4
= 0 ;
6307 PyObject
* obj5
= 0 ;
6308 PyObject
* obj6
= 0 ;
6309 PyObject
* obj7
= 0 ;
6310 PyObject
* obj8
= 0 ;
6311 char * kwnames
[] = {
6312 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6317 arg1
= wxString_in_helper(obj0
);
6318 if (arg1
== NULL
) SWIG_fail
;
6322 arg2
= wxString_in_helper(obj1
);
6323 if (arg2
== NULL
) SWIG_fail
;
6327 arg3
= PyList_Size(obj2
);
6328 arg4
= wxString_LIST_helper(obj2
);
6329 if (arg4
== NULL
) SWIG_fail
;
6332 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6333 if (!SWIG_IsOK(res5
)) {
6334 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoice" "', expected argument " "5"" of type '" "wxWindow *""'");
6336 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6339 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6340 if (!SWIG_IsOK(ecode6
)) {
6341 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoice" "', expected argument " "6"" of type '" "int""'");
6343 arg6
= static_cast< int >(val6
);
6346 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6347 if (!SWIG_IsOK(ecode7
)) {
6348 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoice" "', expected argument " "7"" of type '" "int""'");
6350 arg7
= static_cast< int >(val7
);
6353 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6354 if (!SWIG_IsOK(ecode8
)) {
6355 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoice" "', expected argument " "8"" of type '" "bool""'");
6357 arg8
= static_cast< bool >(val8
);
6360 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6361 if (!SWIG_IsOK(ecode9
)) {
6362 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoice" "', expected argument " "9"" of type '" "int""'");
6364 arg9
= static_cast< int >(val9
);
6367 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6368 if (!SWIG_IsOK(ecode10
)) {
6369 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoice" "', expected argument " "10"" of type '" "int""'");
6371 arg10
= static_cast< int >(val10
);
6374 if (!wxPyCheckForApp()) SWIG_fail
;
6375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6376 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6377 wxPyEndAllowThreads(__tstate
);
6378 if (PyErr_Occurred()) SWIG_fail
;
6382 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6384 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6396 if (arg4
) delete [] arg4
;
6409 if (arg4
) delete [] arg4
;
6415 SWIGINTERN PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6416 PyObject
*resultobj
= 0;
6417 wxString
*arg1
= 0 ;
6418 wxString
*arg2
= 0 ;
6420 wxString
*arg4
= (wxString
*) 0 ;
6421 wxWindow
*arg5
= (wxWindow
*) NULL
;
6422 int arg6
= (int) -1 ;
6423 int arg7
= (int) -1 ;
6424 bool arg8
= (bool) true ;
6425 int arg9
= (int) 150 ;
6426 int arg10
= (int) 200 ;
6428 bool temp1
= false ;
6429 bool temp2
= false ;
6442 PyObject
* obj0
= 0 ;
6443 PyObject
* obj1
= 0 ;
6444 PyObject
* obj2
= 0 ;
6445 PyObject
* obj3
= 0 ;
6446 PyObject
* obj4
= 0 ;
6447 PyObject
* obj5
= 0 ;
6448 PyObject
* obj6
= 0 ;
6449 PyObject
* obj7
= 0 ;
6450 PyObject
* obj8
= 0 ;
6451 char * kwnames
[] = {
6452 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6457 arg1
= wxString_in_helper(obj0
);
6458 if (arg1
== NULL
) SWIG_fail
;
6462 arg2
= wxString_in_helper(obj1
);
6463 if (arg2
== NULL
) SWIG_fail
;
6467 arg3
= PyList_Size(obj2
);
6468 arg4
= wxString_LIST_helper(obj2
);
6469 if (arg4
== NULL
) SWIG_fail
;
6472 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6473 if (!SWIG_IsOK(res5
)) {
6474 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoiceIndex" "', expected argument " "5"" of type '" "wxWindow *""'");
6476 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6479 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6480 if (!SWIG_IsOK(ecode6
)) {
6481 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoiceIndex" "', expected argument " "6"" of type '" "int""'");
6483 arg6
= static_cast< int >(val6
);
6486 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6487 if (!SWIG_IsOK(ecode7
)) {
6488 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoiceIndex" "', expected argument " "7"" of type '" "int""'");
6490 arg7
= static_cast< int >(val7
);
6493 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6494 if (!SWIG_IsOK(ecode8
)) {
6495 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoiceIndex" "', expected argument " "8"" of type '" "bool""'");
6497 arg8
= static_cast< bool >(val8
);
6500 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6501 if (!SWIG_IsOK(ecode9
)) {
6502 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoiceIndex" "', expected argument " "9"" of type '" "int""'");
6504 arg9
= static_cast< int >(val9
);
6507 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6508 if (!SWIG_IsOK(ecode10
)) {
6509 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoiceIndex" "', expected argument " "10"" of type '" "int""'");
6511 arg10
= static_cast< int >(val10
);
6514 if (!wxPyCheckForApp()) SWIG_fail
;
6515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6516 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6517 wxPyEndAllowThreads(__tstate
);
6518 if (PyErr_Occurred()) SWIG_fail
;
6520 resultobj
= SWIG_From_int(static_cast< int >(result
));
6530 if (arg4
) delete [] arg4
;
6543 if (arg4
) delete [] arg4
;
6549 SWIGINTERN PyObject
*_wrap_MessageBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6550 PyObject
*resultobj
= 0;
6551 wxString
*arg1
= 0 ;
6552 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6553 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6554 int arg3
= (int) wxOK
|wxCENTRE
;
6555 wxWindow
*arg4
= (wxWindow
*) NULL
;
6556 int arg5
= (int) -1 ;
6557 int arg6
= (int) -1 ;
6559 bool temp1
= false ;
6560 bool temp2
= false ;
6569 PyObject
* obj0
= 0 ;
6570 PyObject
* obj1
= 0 ;
6571 PyObject
* obj2
= 0 ;
6572 PyObject
* obj3
= 0 ;
6573 PyObject
* obj4
= 0 ;
6574 PyObject
* obj5
= 0 ;
6575 char * kwnames
[] = {
6576 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
6579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
6581 arg1
= wxString_in_helper(obj0
);
6582 if (arg1
== NULL
) SWIG_fail
;
6587 arg2
= wxString_in_helper(obj1
);
6588 if (arg2
== NULL
) SWIG_fail
;
6593 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6594 if (!SWIG_IsOK(ecode3
)) {
6595 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MessageBox" "', expected argument " "3"" of type '" "int""'");
6597 arg3
= static_cast< int >(val3
);
6600 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6601 if (!SWIG_IsOK(res4
)) {
6602 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "MessageBox" "', expected argument " "4"" of type '" "wxWindow *""'");
6604 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6607 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6608 if (!SWIG_IsOK(ecode5
)) {
6609 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "MessageBox" "', expected argument " "5"" of type '" "int""'");
6611 arg5
= static_cast< int >(val5
);
6614 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6615 if (!SWIG_IsOK(ecode6
)) {
6616 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "MessageBox" "', expected argument " "6"" of type '" "int""'");
6618 arg6
= static_cast< int >(val6
);
6621 if (!wxPyCheckForApp()) SWIG_fail
;
6622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6623 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
6624 wxPyEndAllowThreads(__tstate
);
6625 if (PyErr_Occurred()) SWIG_fail
;
6627 resultobj
= SWIG_From_int(static_cast< int >(result
));
6650 SWIGINTERN PyObject
*_wrap_GetNumberFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6651 PyObject
*resultobj
= 0;
6652 wxString
*arg1
= 0 ;
6653 wxString
*arg2
= 0 ;
6654 wxString
*arg3
= 0 ;
6656 long arg5
= (long) 0 ;
6657 long arg6
= (long) 100 ;
6658 wxWindow
*arg7
= (wxWindow
*) NULL
;
6659 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
6660 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
6662 bool temp1
= false ;
6663 bool temp2
= false ;
6664 bool temp3
= false ;
6674 PyObject
* obj0
= 0 ;
6675 PyObject
* obj1
= 0 ;
6676 PyObject
* obj2
= 0 ;
6677 PyObject
* obj3
= 0 ;
6678 PyObject
* obj4
= 0 ;
6679 PyObject
* obj5
= 0 ;
6680 PyObject
* obj6
= 0 ;
6681 PyObject
* obj7
= 0 ;
6682 char * kwnames
[] = {
6683 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
6686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6688 arg1
= wxString_in_helper(obj0
);
6689 if (arg1
== NULL
) SWIG_fail
;
6693 arg2
= wxString_in_helper(obj1
);
6694 if (arg2
== NULL
) SWIG_fail
;
6698 arg3
= wxString_in_helper(obj2
);
6699 if (arg3
== NULL
) SWIG_fail
;
6702 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
6703 if (!SWIG_IsOK(ecode4
)) {
6704 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GetNumberFromUser" "', expected argument " "4"" of type '" "long""'");
6706 arg4
= static_cast< long >(val4
);
6708 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
6709 if (!SWIG_IsOK(ecode5
)) {
6710 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GetNumberFromUser" "', expected argument " "5"" of type '" "long""'");
6712 arg5
= static_cast< long >(val5
);
6715 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6716 if (!SWIG_IsOK(ecode6
)) {
6717 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetNumberFromUser" "', expected argument " "6"" of type '" "long""'");
6719 arg6
= static_cast< long >(val6
);
6722 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6723 if (!SWIG_IsOK(res7
)) {
6724 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "GetNumberFromUser" "', expected argument " "7"" of type '" "wxWindow *""'");
6726 arg7
= reinterpret_cast< wxWindow
* >(argp7
);
6731 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
6735 if (!wxPyCheckForApp()) SWIG_fail
;
6736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6737 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
6738 wxPyEndAllowThreads(__tstate
);
6739 if (PyErr_Occurred()) SWIG_fail
;
6741 resultobj
= SWIG_From_long(static_cast< long >(result
));
6772 SWIGINTERN PyObject
*_wrap_ColourDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6773 PyObject
*resultobj
= 0;
6776 if (!SWIG_Python_UnpackTuple(args
,"ColourDisplay",0,0,0)) SWIG_fail
;
6778 if (!wxPyCheckForApp()) SWIG_fail
;
6779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6780 result
= (bool)wxColourDisplay();
6781 wxPyEndAllowThreads(__tstate
);
6782 if (PyErr_Occurred()) SWIG_fail
;
6785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6793 SWIGINTERN PyObject
*_wrap_DisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6794 PyObject
*resultobj
= 0;
6797 if (!SWIG_Python_UnpackTuple(args
,"DisplayDepth",0,0,0)) SWIG_fail
;
6799 if (!wxPyCheckForApp()) SWIG_fail
;
6800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6801 result
= (int)wxDisplayDepth();
6802 wxPyEndAllowThreads(__tstate
);
6803 if (PyErr_Occurred()) SWIG_fail
;
6805 resultobj
= SWIG_From_int(static_cast< int >(result
));
6812 SWIGINTERN PyObject
*_wrap_GetDisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6813 PyObject
*resultobj
= 0;
6816 if (!SWIG_Python_UnpackTuple(args
,"GetDisplayDepth",0,0,0)) SWIG_fail
;
6818 if (!wxPyCheckForApp()) SWIG_fail
;
6819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6820 result
= (int)wxGetDisplayDepth();
6821 wxPyEndAllowThreads(__tstate
);
6822 if (PyErr_Occurred()) SWIG_fail
;
6824 resultobj
= SWIG_From_int(static_cast< int >(result
));
6831 SWIGINTERN PyObject
*_wrap_DisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6832 PyObject
*resultobj
= 0;
6833 int *arg1
= (int *) 0 ;
6834 int *arg2
= (int *) 0 ;
6836 int res1
= SWIG_TMPOBJ
;
6838 int res2
= SWIG_TMPOBJ
;
6842 if (!SWIG_Python_UnpackTuple(args
,"DisplaySize",0,0,0)) SWIG_fail
;
6844 if (!wxPyCheckForApp()) SWIG_fail
;
6845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6846 wxDisplaySize(arg1
,arg2
);
6847 wxPyEndAllowThreads(__tstate
);
6848 if (PyErr_Occurred()) SWIG_fail
;
6850 resultobj
= SWIG_Py_Void();
6851 if (SWIG_IsTmpObj(res1
)) {
6852 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6854 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6855 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6857 if (SWIG_IsTmpObj(res2
)) {
6858 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6860 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6861 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6869 SWIGINTERN PyObject
*_wrap_GetDisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6870 PyObject
*resultobj
= 0;
6873 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySize",0,0,0)) SWIG_fail
;
6875 if (!wxPyCheckForApp()) SWIG_fail
;
6876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6877 result
= wxGetDisplaySize();
6878 wxPyEndAllowThreads(__tstate
);
6879 if (PyErr_Occurred()) SWIG_fail
;
6881 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6888 SWIGINTERN PyObject
*_wrap_DisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6889 PyObject
*resultobj
= 0;
6890 int *arg1
= (int *) 0 ;
6891 int *arg2
= (int *) 0 ;
6893 int res1
= SWIG_TMPOBJ
;
6895 int res2
= SWIG_TMPOBJ
;
6899 if (!SWIG_Python_UnpackTuple(args
,"DisplaySizeMM",0,0,0)) SWIG_fail
;
6901 if (!wxPyCheckForApp()) SWIG_fail
;
6902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6903 wxDisplaySizeMM(arg1
,arg2
);
6904 wxPyEndAllowThreads(__tstate
);
6905 if (PyErr_Occurred()) SWIG_fail
;
6907 resultobj
= SWIG_Py_Void();
6908 if (SWIG_IsTmpObj(res1
)) {
6909 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6911 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6912 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6914 if (SWIG_IsTmpObj(res2
)) {
6915 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6917 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6918 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6926 SWIGINTERN PyObject
*_wrap_GetDisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6927 PyObject
*resultobj
= 0;
6930 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySizeMM",0,0,0)) SWIG_fail
;
6932 if (!wxPyCheckForApp()) SWIG_fail
;
6933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6934 result
= wxGetDisplaySizeMM();
6935 wxPyEndAllowThreads(__tstate
);
6936 if (PyErr_Occurred()) SWIG_fail
;
6938 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6945 SWIGINTERN PyObject
*_wrap_ClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6946 PyObject
*resultobj
= 0;
6947 int *arg1
= (int *) 0 ;
6948 int *arg2
= (int *) 0 ;
6949 int *arg3
= (int *) 0 ;
6950 int *arg4
= (int *) 0 ;
6952 int res1
= SWIG_TMPOBJ
;
6954 int res2
= SWIG_TMPOBJ
;
6956 int res3
= SWIG_TMPOBJ
;
6958 int res4
= SWIG_TMPOBJ
;
6964 if (!SWIG_Python_UnpackTuple(args
,"ClientDisplayRect",0,0,0)) SWIG_fail
;
6966 if (!wxPyCheckForApp()) SWIG_fail
;
6967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6968 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
6969 wxPyEndAllowThreads(__tstate
);
6970 if (PyErr_Occurred()) SWIG_fail
;
6972 resultobj
= SWIG_Py_Void();
6973 if (SWIG_IsTmpObj(res1
)) {
6974 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6976 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6977 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6979 if (SWIG_IsTmpObj(res2
)) {
6980 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6982 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6983 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6985 if (SWIG_IsTmpObj(res3
)) {
6986 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
6988 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6989 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
6991 if (SWIG_IsTmpObj(res4
)) {
6992 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
6994 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6995 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
7003 SWIGINTERN PyObject
*_wrap_GetClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7004 PyObject
*resultobj
= 0;
7007 if (!SWIG_Python_UnpackTuple(args
,"GetClientDisplayRect",0,0,0)) SWIG_fail
;
7009 if (!wxPyCheckForApp()) SWIG_fail
;
7010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7011 result
= wxGetClientDisplayRect();
7012 wxPyEndAllowThreads(__tstate
);
7013 if (PyErr_Occurred()) SWIG_fail
;
7015 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7022 SWIGINTERN PyObject
*_wrap_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7023 PyObject
*resultobj
= 0;
7024 wxCursor
*arg1
= 0 ;
7027 PyObject
* obj0
= 0 ;
7028 char * kwnames
[] = {
7029 (char *) "cursor", NULL
7032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) SWIG_fail
;
7033 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxCursor
, 0 );
7034 if (!SWIG_IsOK(res1
)) {
7035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
7038 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
7040 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7042 if (!wxPyCheckForApp()) SWIG_fail
;
7043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7045 wxPyEndAllowThreads(__tstate
);
7046 if (PyErr_Occurred()) SWIG_fail
;
7048 resultobj
= SWIG_Py_Void();
7055 SWIGINTERN PyObject
*_wrap_GetXDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7056 PyObject
*resultobj
= 0;
7059 if (!SWIG_Python_UnpackTuple(args
,"GetXDisplay",0,0,0)) SWIG_fail
;
7061 if (!wxPyCheckForApp()) SWIG_fail
;
7062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7063 result
= (void *)wxGetXDisplay();
7064 wxPyEndAllowThreads(__tstate
);
7065 if (PyErr_Occurred()) SWIG_fail
;
7067 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
7074 SWIGINTERN PyObject
*_wrap_BeginBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7075 PyObject
*resultobj
= 0;
7076 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
7079 PyObject
* obj0
= 0 ;
7080 char * kwnames
[] = {
7081 (char *) "cursor", NULL
7084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) SWIG_fail
;
7086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
7087 if (!SWIG_IsOK(res1
)) {
7088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BeginBusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
7090 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7093 if (!wxPyCheckForApp()) SWIG_fail
;
7094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7095 wxBeginBusyCursor(arg1
);
7096 wxPyEndAllowThreads(__tstate
);
7097 if (PyErr_Occurred()) SWIG_fail
;
7099 resultobj
= SWIG_Py_Void();
7106 SWIGINTERN PyObject
*_wrap_GetMousePosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7107 PyObject
*resultobj
= 0;
7110 if (!SWIG_Python_UnpackTuple(args
,"GetMousePosition",0,0,0)) SWIG_fail
;
7112 if (!wxPyCheckForApp()) SWIG_fail
;
7113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7114 result
= wxGetMousePosition();
7115 wxPyEndAllowThreads(__tstate
);
7116 if (PyErr_Occurred()) SWIG_fail
;
7118 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7125 SWIGINTERN PyObject
*_wrap_FindWindowAtPointer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7126 PyObject
*resultobj
= 0;
7127 wxWindow
*result
= 0 ;
7129 if (!SWIG_Python_UnpackTuple(args
,"FindWindowAtPointer",0,0,0)) SWIG_fail
;
7131 if (!wxPyCheckForApp()) SWIG_fail
;
7132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7133 result
= (wxWindow
*)FindWindowAtPointer();
7134 wxPyEndAllowThreads(__tstate
);
7135 if (PyErr_Occurred()) SWIG_fail
;
7138 resultobj
= wxPyMake_wxObject(result
, 0);
7146 SWIGINTERN PyObject
*_wrap_GetActiveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7147 PyObject
*resultobj
= 0;
7148 wxWindow
*result
= 0 ;
7150 if (!SWIG_Python_UnpackTuple(args
,"GetActiveWindow",0,0,0)) SWIG_fail
;
7152 if (!wxPyCheckForApp()) SWIG_fail
;
7153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7154 result
= (wxWindow
*)wxGetActiveWindow();
7155 wxPyEndAllowThreads(__tstate
);
7156 if (PyErr_Occurred()) SWIG_fail
;
7159 resultobj
= wxPyMake_wxObject(result
, 0);
7167 SWIGINTERN PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7168 PyObject
*resultobj
= 0;
7170 wxWindow
*result
= 0 ;
7172 PyObject
* obj0
= 0 ;
7173 char * kwnames
[] = {
7177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
7180 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
7183 if (!wxPyCheckForApp()) SWIG_fail
;
7184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7185 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
7186 wxPyEndAllowThreads(__tstate
);
7187 if (PyErr_Occurred()) SWIG_fail
;
7190 resultobj
= wxPyMake_wxObject(result
, 0);
7198 SWIGINTERN PyObject
*_wrap_FindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7199 PyObject
*resultobj
= 0;
7201 wxWindow
*result
= 0 ;
7203 PyObject
* obj0
= 0 ;
7204 char * kwnames
[] = {
7208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
7211 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
7214 if (!wxPyCheckForApp()) SWIG_fail
;
7215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7216 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
7217 wxPyEndAllowThreads(__tstate
);
7218 if (PyErr_Occurred()) SWIG_fail
;
7221 resultobj
= wxPyMake_wxObject(result
, 0);
7229 SWIGINTERN PyObject
*_wrap_GetTopLevelParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7230 PyObject
*resultobj
= 0;
7231 wxWindow
*arg1
= (wxWindow
*) 0 ;
7232 wxWindow
*result
= 0 ;
7235 PyObject
* obj0
= 0 ;
7236 char * kwnames
[] = {
7237 (char *) "win", NULL
7240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) SWIG_fail
;
7241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7242 if (!SWIG_IsOK(res1
)) {
7243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetTopLevelParent" "', expected argument " "1"" of type '" "wxWindow *""'");
7245 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7247 if (!wxPyCheckForApp()) SWIG_fail
;
7248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7249 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
7250 wxPyEndAllowThreads(__tstate
);
7251 if (PyErr_Occurred()) SWIG_fail
;
7254 resultobj
= wxPyMake_wxObject(result
, 0);
7262 SWIGINTERN PyObject
*_wrap_LaunchDefaultBrowser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7263 PyObject
*resultobj
= 0;
7264 wxString
*arg1
= 0 ;
7266 bool temp1
= false ;
7267 PyObject
* obj0
= 0 ;
7268 char * kwnames
[] = {
7269 (char *) "url", NULL
7272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LaunchDefaultBrowser",kwnames
,&obj0
)) SWIG_fail
;
7274 arg1
= wxString_in_helper(obj0
);
7275 if (arg1
== NULL
) SWIG_fail
;
7279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7280 result
= (bool)wxLaunchDefaultBrowser((wxString
const &)*arg1
);
7281 wxPyEndAllowThreads(__tstate
);
7282 if (PyErr_Occurred()) SWIG_fail
;
7285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7301 SWIGINTERN PyObject
*_wrap_GetKeyState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7302 PyObject
*resultobj
= 0;
7307 PyObject
* obj0
= 0 ;
7308 char * kwnames
[] = {
7309 (char *) "key", NULL
7312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) SWIG_fail
;
7313 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7314 if (!SWIG_IsOK(ecode1
)) {
7315 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetKeyState" "', expected argument " "1"" of type '" "wxKeyCode""'");
7317 arg1
= static_cast< wxKeyCode
>(val1
);
7319 if (!wxPyCheckForApp()) SWIG_fail
;
7320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7321 result
= (bool)wxGetKeyState(arg1
);
7322 wxPyEndAllowThreads(__tstate
);
7323 if (PyErr_Occurred()) SWIG_fail
;
7326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7334 SWIGINTERN PyObject
*_wrap_new_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7335 PyObject
*resultobj
= 0;
7336 wxMouseState
*result
= 0 ;
7338 if (!SWIG_Python_UnpackTuple(args
,"new_MouseState",0,0,0)) SWIG_fail
;
7340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7341 result
= (wxMouseState
*)new wxMouseState();
7342 wxPyEndAllowThreads(__tstate
);
7343 if (PyErr_Occurred()) SWIG_fail
;
7345 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_NEW
| 0 );
7352 SWIGINTERN PyObject
*_wrap_delete_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7353 PyObject
*resultobj
= 0;
7354 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7357 PyObject
*swig_obj
[1] ;
7359 if (!args
) SWIG_fail
;
7361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, SWIG_POINTER_DISOWN
| 0 );
7362 if (!SWIG_IsOK(res1
)) {
7363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MouseState" "', expected argument " "1"" of type '" "wxMouseState *""'");
7365 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7370 wxPyEndAllowThreads(__tstate
);
7371 if (PyErr_Occurred()) SWIG_fail
;
7373 resultobj
= SWIG_Py_Void();
7380 SWIGINTERN PyObject
*_wrap_MouseState_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7381 PyObject
*resultobj
= 0;
7382 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7386 PyObject
*swig_obj
[1] ;
7388 if (!args
) SWIG_fail
;
7390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7391 if (!SWIG_IsOK(res1
)) {
7392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7394 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7397 result
= (int)(arg1
)->GetX();
7398 wxPyEndAllowThreads(__tstate
);
7399 if (PyErr_Occurred()) SWIG_fail
;
7401 resultobj
= SWIG_From_int(static_cast< int >(result
));
7408 SWIGINTERN PyObject
*_wrap_MouseState_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7409 PyObject
*resultobj
= 0;
7410 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7414 PyObject
*swig_obj
[1] ;
7416 if (!args
) SWIG_fail
;
7418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7419 if (!SWIG_IsOK(res1
)) {
7420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7422 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7425 result
= (int)(arg1
)->GetY();
7426 wxPyEndAllowThreads(__tstate
);
7427 if (PyErr_Occurred()) SWIG_fail
;
7429 resultobj
= SWIG_From_int(static_cast< int >(result
));
7436 SWIGINTERN PyObject
*_wrap_MouseState_LeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7437 PyObject
*resultobj
= 0;
7438 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7442 PyObject
*swig_obj
[1] ;
7444 if (!args
) SWIG_fail
;
7446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7447 if (!SWIG_IsOK(res1
)) {
7448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_LeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7450 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7453 result
= (bool)(arg1
)->LeftDown();
7454 wxPyEndAllowThreads(__tstate
);
7455 if (PyErr_Occurred()) SWIG_fail
;
7458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7466 SWIGINTERN PyObject
*_wrap_MouseState_MiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7467 PyObject
*resultobj
= 0;
7468 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7472 PyObject
*swig_obj
[1] ;
7474 if (!args
) SWIG_fail
;
7476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7477 if (!SWIG_IsOK(res1
)) {
7478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7480 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7483 result
= (bool)(arg1
)->MiddleDown();
7484 wxPyEndAllowThreads(__tstate
);
7485 if (PyErr_Occurred()) SWIG_fail
;
7488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7496 SWIGINTERN PyObject
*_wrap_MouseState_RightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7497 PyObject
*resultobj
= 0;
7498 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7502 PyObject
*swig_obj
[1] ;
7504 if (!args
) SWIG_fail
;
7506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7507 if (!SWIG_IsOK(res1
)) {
7508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_RightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7510 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7513 result
= (bool)(arg1
)->RightDown();
7514 wxPyEndAllowThreads(__tstate
);
7515 if (PyErr_Occurred()) SWIG_fail
;
7518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7526 SWIGINTERN PyObject
*_wrap_MouseState_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7527 PyObject
*resultobj
= 0;
7528 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7532 PyObject
*swig_obj
[1] ;
7534 if (!args
) SWIG_fail
;
7536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7537 if (!SWIG_IsOK(res1
)) {
7538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7540 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7543 result
= (bool)(arg1
)->ControlDown();
7544 wxPyEndAllowThreads(__tstate
);
7545 if (PyErr_Occurred()) SWIG_fail
;
7548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7556 SWIGINTERN PyObject
*_wrap_MouseState_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7557 PyObject
*resultobj
= 0;
7558 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7562 PyObject
*swig_obj
[1] ;
7564 if (!args
) SWIG_fail
;
7566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7567 if (!SWIG_IsOK(res1
)) {
7568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7570 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7573 result
= (bool)(arg1
)->ShiftDown();
7574 wxPyEndAllowThreads(__tstate
);
7575 if (PyErr_Occurred()) SWIG_fail
;
7578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7586 SWIGINTERN PyObject
*_wrap_MouseState_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7587 PyObject
*resultobj
= 0;
7588 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7592 PyObject
*swig_obj
[1] ;
7594 if (!args
) SWIG_fail
;
7596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7597 if (!SWIG_IsOK(res1
)) {
7598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_AltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7600 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7603 result
= (bool)(arg1
)->AltDown();
7604 wxPyEndAllowThreads(__tstate
);
7605 if (PyErr_Occurred()) SWIG_fail
;
7608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7616 SWIGINTERN PyObject
*_wrap_MouseState_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7617 PyObject
*resultobj
= 0;
7618 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7622 PyObject
*swig_obj
[1] ;
7624 if (!args
) SWIG_fail
;
7626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7627 if (!SWIG_IsOK(res1
)) {
7628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7630 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7633 result
= (bool)(arg1
)->MetaDown();
7634 wxPyEndAllowThreads(__tstate
);
7635 if (PyErr_Occurred()) SWIG_fail
;
7638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7646 SWIGINTERN PyObject
*_wrap_MouseState_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7647 PyObject
*resultobj
= 0;
7648 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7652 PyObject
*swig_obj
[1] ;
7654 if (!args
) SWIG_fail
;
7656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7657 if (!SWIG_IsOK(res1
)) {
7658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_CmdDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7660 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7663 result
= (bool)(arg1
)->CmdDown();
7664 wxPyEndAllowThreads(__tstate
);
7665 if (PyErr_Occurred()) SWIG_fail
;
7668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7676 SWIGINTERN PyObject
*_wrap_MouseState_SetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7677 PyObject
*resultobj
= 0;
7678 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7684 PyObject
* obj0
= 0 ;
7685 PyObject
* obj1
= 0 ;
7686 char * kwnames
[] = {
7687 (char *) "self",(char *) "x", NULL
7690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7692 if (!SWIG_IsOK(res1
)) {
7693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7695 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7696 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7697 if (!SWIG_IsOK(ecode2
)) {
7698 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetX" "', expected argument " "2"" of type '" "int""'");
7700 arg2
= static_cast< int >(val2
);
7702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7704 wxPyEndAllowThreads(__tstate
);
7705 if (PyErr_Occurred()) SWIG_fail
;
7707 resultobj
= SWIG_Py_Void();
7714 SWIGINTERN PyObject
*_wrap_MouseState_SetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7715 PyObject
*resultobj
= 0;
7716 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7722 PyObject
* obj0
= 0 ;
7723 PyObject
* obj1
= 0 ;
7724 char * kwnames
[] = {
7725 (char *) "self",(char *) "y", NULL
7728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7730 if (!SWIG_IsOK(res1
)) {
7731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7733 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7734 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7735 if (!SWIG_IsOK(ecode2
)) {
7736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetY" "', expected argument " "2"" of type '" "int""'");
7738 arg2
= static_cast< int >(val2
);
7740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7742 wxPyEndAllowThreads(__tstate
);
7743 if (PyErr_Occurred()) SWIG_fail
;
7745 resultobj
= SWIG_Py_Void();
7752 SWIGINTERN PyObject
*_wrap_MouseState_SetLeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7753 PyObject
*resultobj
= 0;
7754 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7760 PyObject
* obj0
= 0 ;
7761 PyObject
* obj1
= 0 ;
7762 char * kwnames
[] = {
7763 (char *) "self",(char *) "down", NULL
7766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetLeftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7768 if (!SWIG_IsOK(res1
)) {
7769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetLeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7771 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7772 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7773 if (!SWIG_IsOK(ecode2
)) {
7774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetLeftDown" "', expected argument " "2"" of type '" "bool""'");
7776 arg2
= static_cast< bool >(val2
);
7778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7779 (arg1
)->SetLeftDown(arg2
);
7780 wxPyEndAllowThreads(__tstate
);
7781 if (PyErr_Occurred()) SWIG_fail
;
7783 resultobj
= SWIG_Py_Void();
7790 SWIGINTERN PyObject
*_wrap_MouseState_SetMiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7791 PyObject
*resultobj
= 0;
7792 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7798 PyObject
* obj0
= 0 ;
7799 PyObject
* obj1
= 0 ;
7800 char * kwnames
[] = {
7801 (char *) "self",(char *) "down", NULL
7804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMiddleDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7806 if (!SWIG_IsOK(res1
)) {
7807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7809 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7810 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7811 if (!SWIG_IsOK(ecode2
)) {
7812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "2"" of type '" "bool""'");
7814 arg2
= static_cast< bool >(val2
);
7816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7817 (arg1
)->SetMiddleDown(arg2
);
7818 wxPyEndAllowThreads(__tstate
);
7819 if (PyErr_Occurred()) SWIG_fail
;
7821 resultobj
= SWIG_Py_Void();
7828 SWIGINTERN PyObject
*_wrap_MouseState_SetRightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7829 PyObject
*resultobj
= 0;
7830 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7836 PyObject
* obj0
= 0 ;
7837 PyObject
* obj1
= 0 ;
7838 char * kwnames
[] = {
7839 (char *) "self",(char *) "down", NULL
7842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetRightDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7844 if (!SWIG_IsOK(res1
)) {
7845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetRightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7847 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7848 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7849 if (!SWIG_IsOK(ecode2
)) {
7850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetRightDown" "', expected argument " "2"" of type '" "bool""'");
7852 arg2
= static_cast< bool >(val2
);
7854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7855 (arg1
)->SetRightDown(arg2
);
7856 wxPyEndAllowThreads(__tstate
);
7857 if (PyErr_Occurred()) SWIG_fail
;
7859 resultobj
= SWIG_Py_Void();
7866 SWIGINTERN PyObject
*_wrap_MouseState_SetControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7867 PyObject
*resultobj
= 0;
7868 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7874 PyObject
* obj0
= 0 ;
7875 PyObject
* obj1
= 0 ;
7876 char * kwnames
[] = {
7877 (char *) "self",(char *) "down", NULL
7880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetControlDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7882 if (!SWIG_IsOK(res1
)) {
7883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7885 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7886 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7887 if (!SWIG_IsOK(ecode2
)) {
7888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetControlDown" "', expected argument " "2"" of type '" "bool""'");
7890 arg2
= static_cast< bool >(val2
);
7892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7893 (arg1
)->SetControlDown(arg2
);
7894 wxPyEndAllowThreads(__tstate
);
7895 if (PyErr_Occurred()) SWIG_fail
;
7897 resultobj
= SWIG_Py_Void();
7904 SWIGINTERN PyObject
*_wrap_MouseState_SetShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7905 PyObject
*resultobj
= 0;
7906 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7912 PyObject
* obj0
= 0 ;
7913 PyObject
* obj1
= 0 ;
7914 char * kwnames
[] = {
7915 (char *) "self",(char *) "down", NULL
7918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetShiftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7920 if (!SWIG_IsOK(res1
)) {
7921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7923 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7924 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7925 if (!SWIG_IsOK(ecode2
)) {
7926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetShiftDown" "', expected argument " "2"" of type '" "bool""'");
7928 arg2
= static_cast< bool >(val2
);
7930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7931 (arg1
)->SetShiftDown(arg2
);
7932 wxPyEndAllowThreads(__tstate
);
7933 if (PyErr_Occurred()) SWIG_fail
;
7935 resultobj
= SWIG_Py_Void();
7942 SWIGINTERN PyObject
*_wrap_MouseState_SetAltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7943 PyObject
*resultobj
= 0;
7944 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7950 PyObject
* obj0
= 0 ;
7951 PyObject
* obj1
= 0 ;
7952 char * kwnames
[] = {
7953 (char *) "self",(char *) "down", NULL
7956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetAltDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7958 if (!SWIG_IsOK(res1
)) {
7959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetAltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7961 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7962 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7963 if (!SWIG_IsOK(ecode2
)) {
7964 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetAltDown" "', expected argument " "2"" of type '" "bool""'");
7966 arg2
= static_cast< bool >(val2
);
7968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7969 (arg1
)->SetAltDown(arg2
);
7970 wxPyEndAllowThreads(__tstate
);
7971 if (PyErr_Occurred()) SWIG_fail
;
7973 resultobj
= SWIG_Py_Void();
7980 SWIGINTERN PyObject
*_wrap_MouseState_SetMetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7981 PyObject
*resultobj
= 0;
7982 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7988 PyObject
* obj0
= 0 ;
7989 PyObject
* obj1
= 0 ;
7990 char * kwnames
[] = {
7991 (char *) "self",(char *) "down", NULL
7994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMetaDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7996 if (!SWIG_IsOK(res1
)) {
7997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7999 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
8000 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
8001 if (!SWIG_IsOK(ecode2
)) {
8002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMetaDown" "', expected argument " "2"" of type '" "bool""'");
8004 arg2
= static_cast< bool >(val2
);
8006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8007 (arg1
)->SetMetaDown(arg2
);
8008 wxPyEndAllowThreads(__tstate
);
8009 if (PyErr_Occurred()) SWIG_fail
;
8011 resultobj
= SWIG_Py_Void();
8018 SWIGINTERN PyObject
*MouseState_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8020 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8021 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseState
, SWIG_NewClientData(obj
));
8022 return SWIG_Py_Void();
8025 SWIGINTERN PyObject
*MouseState_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8026 return SWIG_Python_InitShadowInstance(args
);
8029 SWIGINTERN PyObject
*_wrap_GetMouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8030 PyObject
*resultobj
= 0;
8031 wxMouseState result
;
8033 if (!SWIG_Python_UnpackTuple(args
,"GetMouseState",0,0,0)) SWIG_fail
;
8035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8036 result
= wxGetMouseState();
8037 wxPyEndAllowThreads(__tstate
);
8038 if (PyErr_Occurred()) SWIG_fail
;
8040 resultobj
= SWIG_NewPointerObj((new wxMouseState(static_cast< const wxMouseState
& >(result
))), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_OWN
| 0 );
8047 SWIGINTERN PyObject
*_wrap_WakeUpMainThread(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8048 PyObject
*resultobj
= 0;
8050 if (!SWIG_Python_UnpackTuple(args
,"WakeUpMainThread",0,0,0)) SWIG_fail
;
8052 if (!wxPyCheckForApp()) SWIG_fail
;
8053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8054 wxWakeUpMainThread();
8055 wxPyEndAllowThreads(__tstate
);
8056 if (PyErr_Occurred()) SWIG_fail
;
8058 resultobj
= SWIG_Py_Void();
8065 SWIGINTERN PyObject
*_wrap_MutexGuiEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8066 PyObject
*resultobj
= 0;
8068 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiEnter",0,0,0)) SWIG_fail
;
8070 if (!wxPyCheckForApp()) SWIG_fail
;
8071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8073 wxPyEndAllowThreads(__tstate
);
8074 if (PyErr_Occurred()) SWIG_fail
;
8076 resultobj
= SWIG_Py_Void();
8083 SWIGINTERN PyObject
*_wrap_MutexGuiLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8084 PyObject
*resultobj
= 0;
8086 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiLeave",0,0,0)) SWIG_fail
;
8088 if (!wxPyCheckForApp()) SWIG_fail
;
8089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8091 wxPyEndAllowThreads(__tstate
);
8092 if (PyErr_Occurred()) SWIG_fail
;
8094 resultobj
= SWIG_Py_Void();
8101 SWIGINTERN PyObject
*_wrap_new_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8102 PyObject
*resultobj
= 0;
8103 wxMutexGuiLocker
*result
= 0 ;
8105 if (!SWIG_Python_UnpackTuple(args
,"new_MutexGuiLocker",0,0,0)) SWIG_fail
;
8107 if (!wxPyCheckForApp()) SWIG_fail
;
8108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8109 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
8110 wxPyEndAllowThreads(__tstate
);
8111 if (PyErr_Occurred()) SWIG_fail
;
8113 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_NEW
| 0 );
8120 SWIGINTERN PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8121 PyObject
*resultobj
= 0;
8122 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
8125 PyObject
*swig_obj
[1] ;
8127 if (!args
) SWIG_fail
;
8129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_DISOWN
| 0 );
8130 if (!SWIG_IsOK(res1
)) {
8131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MutexGuiLocker" "', expected argument " "1"" of type '" "wxMutexGuiLocker *""'");
8133 arg1
= reinterpret_cast< wxMutexGuiLocker
* >(argp1
);
8135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8138 wxPyEndAllowThreads(__tstate
);
8139 if (PyErr_Occurred()) SWIG_fail
;
8141 resultobj
= SWIG_Py_Void();
8148 SWIGINTERN PyObject
*MutexGuiLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8150 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8151 SWIG_TypeNewClientData(SWIGTYPE_p_wxMutexGuiLocker
, SWIG_NewClientData(obj
));
8152 return SWIG_Py_Void();
8155 SWIGINTERN PyObject
*MutexGuiLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8156 return SWIG_Python_InitShadowInstance(args
);
8159 SWIGINTERN PyObject
*_wrap_Thread_IsMain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8160 PyObject
*resultobj
= 0;
8163 if (!SWIG_Python_UnpackTuple(args
,"Thread_IsMain",0,0,0)) SWIG_fail
;
8165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8166 result
= (bool)wxThread_IsMain();
8167 wxPyEndAllowThreads(__tstate
);
8168 if (PyErr_Occurred()) SWIG_fail
;
8171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8179 SWIGINTERN PyObject
*_wrap_new_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8180 PyObject
*resultobj
= 0;
8181 wxString
*arg1
= 0 ;
8182 wxToolTip
*result
= 0 ;
8183 bool temp1
= false ;
8184 PyObject
* obj0
= 0 ;
8185 char * kwnames
[] = {
8186 (char *) "tip", NULL
8189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) SWIG_fail
;
8191 arg1
= wxString_in_helper(obj0
);
8192 if (arg1
== NULL
) SWIG_fail
;
8196 if (!wxPyCheckForApp()) SWIG_fail
;
8197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8198 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
8199 wxPyEndAllowThreads(__tstate
);
8200 if (PyErr_Occurred()) SWIG_fail
;
8202 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolTip
, SWIG_POINTER_NEW
| 0 );
8217 SWIGINTERN PyObject
*_wrap_delete_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8218 PyObject
*resultobj
= 0;
8219 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8222 PyObject
*swig_obj
[1] ;
8224 if (!args
) SWIG_fail
;
8226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, SWIG_POINTER_DISOWN
| 0 );
8227 if (!SWIG_IsOK(res1
)) {
8228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ToolTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8230 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8235 wxPyEndAllowThreads(__tstate
);
8236 if (PyErr_Occurred()) SWIG_fail
;
8238 resultobj
= SWIG_Py_Void();
8245 SWIGINTERN PyObject
*_wrap_ToolTip_SetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8246 PyObject
*resultobj
= 0;
8247 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8248 wxString
*arg2
= 0 ;
8251 bool temp2
= false ;
8252 PyObject
* obj0
= 0 ;
8253 PyObject
* obj1
= 0 ;
8254 char * kwnames
[] = {
8255 (char *) "self",(char *) "tip", NULL
8258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8260 if (!SWIG_IsOK(res1
)) {
8261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_SetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8263 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8265 arg2
= wxString_in_helper(obj1
);
8266 if (arg2
== NULL
) SWIG_fail
;
8270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8271 (arg1
)->SetTip((wxString
const &)*arg2
);
8272 wxPyEndAllowThreads(__tstate
);
8273 if (PyErr_Occurred()) SWIG_fail
;
8275 resultobj
= SWIG_Py_Void();
8290 SWIGINTERN PyObject
*_wrap_ToolTip_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8291 PyObject
*resultobj
= 0;
8292 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8296 PyObject
*swig_obj
[1] ;
8298 if (!args
) SWIG_fail
;
8300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8301 if (!SWIG_IsOK(res1
)) {
8302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8304 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8307 result
= (arg1
)->GetTip();
8308 wxPyEndAllowThreads(__tstate
);
8309 if (PyErr_Occurred()) SWIG_fail
;
8313 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8315 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8324 SWIGINTERN PyObject
*_wrap_ToolTip_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8325 PyObject
*resultobj
= 0;
8326 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8327 wxWindow
*result
= 0 ;
8330 PyObject
*swig_obj
[1] ;
8332 if (!args
) SWIG_fail
;
8334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8335 if (!SWIG_IsOK(res1
)) {
8336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetWindow" "', expected argument " "1"" of type '" "wxToolTip *""'");
8338 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8341 result
= (wxWindow
*)(arg1
)->GetWindow();
8342 wxPyEndAllowThreads(__tstate
);
8343 if (PyErr_Occurred()) SWIG_fail
;
8346 resultobj
= wxPyMake_wxObject(result
, 0);
8354 SWIGINTERN PyObject
*_wrap_ToolTip_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8355 PyObject
*resultobj
= 0;
8359 PyObject
* obj0
= 0 ;
8360 char * kwnames
[] = {
8361 (char *) "flag", NULL
8364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) SWIG_fail
;
8365 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
8366 if (!SWIG_IsOK(ecode1
)) {
8367 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_Enable" "', expected argument " "1"" of type '" "bool""'");
8369 arg1
= static_cast< bool >(val1
);
8371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8372 wxToolTip::Enable(arg1
);
8373 wxPyEndAllowThreads(__tstate
);
8374 if (PyErr_Occurred()) SWIG_fail
;
8376 resultobj
= SWIG_Py_Void();
8383 SWIGINTERN PyObject
*_wrap_ToolTip_SetDelay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8384 PyObject
*resultobj
= 0;
8388 PyObject
* obj0
= 0 ;
8389 char * kwnames
[] = {
8390 (char *) "milliseconds", NULL
8393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) SWIG_fail
;
8394 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
8395 if (!SWIG_IsOK(ecode1
)) {
8396 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_SetDelay" "', expected argument " "1"" of type '" "long""'");
8398 arg1
= static_cast< long >(val1
);
8400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8401 wxToolTip::SetDelay(arg1
);
8402 wxPyEndAllowThreads(__tstate
);
8403 if (PyErr_Occurred()) SWIG_fail
;
8405 resultobj
= SWIG_Py_Void();
8412 SWIGINTERN PyObject
*ToolTip_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8414 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8415 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolTip
, SWIG_NewClientData(obj
));
8416 return SWIG_Py_Void();
8419 SWIGINTERN PyObject
*ToolTip_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8420 return SWIG_Python_InitShadowInstance(args
);
8423 SWIGINTERN PyObject
*_wrap_new_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8424 PyObject
*resultobj
= 0;
8425 wxWindow
*arg1
= (wxWindow
*) 0 ;
8427 wxCaret
*result
= 0 ;
8431 PyObject
* obj0
= 0 ;
8432 PyObject
* obj1
= 0 ;
8433 char * kwnames
[] = {
8434 (char *) "window",(char *) "size", NULL
8437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8439 if (!SWIG_IsOK(res1
)) {
8440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Caret" "', expected argument " "1"" of type '" "wxWindow *""'");
8442 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8445 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8448 if (!wxPyCheckForApp()) SWIG_fail
;
8449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8450 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
8451 wxPyEndAllowThreads(__tstate
);
8452 if (PyErr_Occurred()) SWIG_fail
;
8454 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCaret
, SWIG_POINTER_NEW
| 0 );
8461 SWIGINTERN PyObject
*_wrap_delete_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8462 PyObject
*resultobj
= 0;
8463 wxCaret
*arg1
= (wxCaret
*) 0 ;
8466 PyObject
*swig_obj
[1] ;
8468 if (!args
) SWIG_fail
;
8470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, SWIG_POINTER_DISOWN
| 0 );
8471 if (!SWIG_IsOK(res1
)) {
8472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Caret" "', expected argument " "1"" of type '" "wxCaret *""'");
8474 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8479 wxPyEndAllowThreads(__tstate
);
8480 if (PyErr_Occurred()) SWIG_fail
;
8482 resultobj
= SWIG_Py_Void();
8489 SWIGINTERN PyObject
*_wrap_Caret_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8490 PyObject
*resultobj
= 0;
8491 wxCaret
*arg1
= (wxCaret
*) 0 ;
8494 PyObject
*swig_obj
[1] ;
8496 if (!args
) SWIG_fail
;
8498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8499 if (!SWIG_IsOK(res1
)) {
8500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Destroy" "', expected argument " "1"" of type '" "wxCaret *""'");
8502 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8505 wxCaret_Destroy(arg1
);
8506 wxPyEndAllowThreads(__tstate
);
8507 if (PyErr_Occurred()) SWIG_fail
;
8509 resultobj
= SWIG_Py_Void();
8516 SWIGINTERN PyObject
*_wrap_Caret_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8517 PyObject
*resultobj
= 0;
8518 wxCaret
*arg1
= (wxCaret
*) 0 ;
8522 PyObject
*swig_obj
[1] ;
8524 if (!args
) SWIG_fail
;
8526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8527 if (!SWIG_IsOK(res1
)) {
8528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsOk" "', expected argument " "1"" of type '" "wxCaret *""'");
8530 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8533 result
= (bool)(arg1
)->IsOk();
8534 wxPyEndAllowThreads(__tstate
);
8535 if (PyErr_Occurred()) SWIG_fail
;
8538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8546 SWIGINTERN PyObject
*_wrap_Caret_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8547 PyObject
*resultobj
= 0;
8548 wxCaret
*arg1
= (wxCaret
*) 0 ;
8552 PyObject
*swig_obj
[1] ;
8554 if (!args
) SWIG_fail
;
8556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8557 if (!SWIG_IsOK(res1
)) {
8558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsVisible" "', expected argument " "1"" of type '" "wxCaret *""'");
8560 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8563 result
= (bool)(arg1
)->IsVisible();
8564 wxPyEndAllowThreads(__tstate
);
8565 if (PyErr_Occurred()) SWIG_fail
;
8568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8576 SWIGINTERN PyObject
*_wrap_Caret_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8577 PyObject
*resultobj
= 0;
8578 wxCaret
*arg1
= (wxCaret
*) 0 ;
8582 PyObject
*swig_obj
[1] ;
8584 if (!args
) SWIG_fail
;
8586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8587 if (!SWIG_IsOK(res1
)) {
8588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPosition" "', expected argument " "1"" of type '" "wxCaret *""'");
8590 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8593 result
= (arg1
)->GetPosition();
8594 wxPyEndAllowThreads(__tstate
);
8595 if (PyErr_Occurred()) SWIG_fail
;
8597 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
8604 SWIGINTERN PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8605 PyObject
*resultobj
= 0;
8606 wxCaret
*arg1
= (wxCaret
*) 0 ;
8607 int *arg2
= (int *) 0 ;
8608 int *arg3
= (int *) 0 ;
8612 int res2
= SWIG_TMPOBJ
;
8614 int res3
= SWIG_TMPOBJ
;
8615 PyObject
*swig_obj
[1] ;
8619 if (!args
) SWIG_fail
;
8621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8622 if (!SWIG_IsOK(res1
)) {
8623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPositionTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8625 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8628 (arg1
)->GetPosition(arg2
,arg3
);
8629 wxPyEndAllowThreads(__tstate
);
8630 if (PyErr_Occurred()) SWIG_fail
;
8632 resultobj
= SWIG_Py_Void();
8633 if (SWIG_IsTmpObj(res2
)) {
8634 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8636 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8637 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8639 if (SWIG_IsTmpObj(res3
)) {
8640 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8642 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8643 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8651 SWIGINTERN PyObject
*_wrap_Caret_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8652 PyObject
*resultobj
= 0;
8653 wxCaret
*arg1
= (wxCaret
*) 0 ;
8657 PyObject
*swig_obj
[1] ;
8659 if (!args
) SWIG_fail
;
8661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8662 if (!SWIG_IsOK(res1
)) {
8663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8665 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8668 result
= (arg1
)->GetSize();
8669 wxPyEndAllowThreads(__tstate
);
8670 if (PyErr_Occurred()) SWIG_fail
;
8672 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
8679 SWIGINTERN PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8680 PyObject
*resultobj
= 0;
8681 wxCaret
*arg1
= (wxCaret
*) 0 ;
8682 int *arg2
= (int *) 0 ;
8683 int *arg3
= (int *) 0 ;
8687 int res2
= SWIG_TMPOBJ
;
8689 int res3
= SWIG_TMPOBJ
;
8690 PyObject
*swig_obj
[1] ;
8694 if (!args
) SWIG_fail
;
8696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8697 if (!SWIG_IsOK(res1
)) {
8698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSizeTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8700 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8703 (arg1
)->GetSize(arg2
,arg3
);
8704 wxPyEndAllowThreads(__tstate
);
8705 if (PyErr_Occurred()) SWIG_fail
;
8707 resultobj
= SWIG_Py_Void();
8708 if (SWIG_IsTmpObj(res2
)) {
8709 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8711 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8712 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8714 if (SWIG_IsTmpObj(res3
)) {
8715 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8717 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8718 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8726 SWIGINTERN PyObject
*_wrap_Caret_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8727 PyObject
*resultobj
= 0;
8728 wxCaret
*arg1
= (wxCaret
*) 0 ;
8729 wxWindow
*result
= 0 ;
8732 PyObject
*swig_obj
[1] ;
8734 if (!args
) SWIG_fail
;
8736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8737 if (!SWIG_IsOK(res1
)) {
8738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetWindow" "', expected argument " "1"" of type '" "wxCaret *""'");
8740 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8743 result
= (wxWindow
*)(arg1
)->GetWindow();
8744 wxPyEndAllowThreads(__tstate
);
8745 if (PyErr_Occurred()) SWIG_fail
;
8748 resultobj
= wxPyMake_wxObject(result
, 0);
8756 SWIGINTERN PyObject
*_wrap_Caret_MoveXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8757 PyObject
*resultobj
= 0;
8758 wxCaret
*arg1
= (wxCaret
*) 0 ;
8767 PyObject
* obj0
= 0 ;
8768 PyObject
* obj1
= 0 ;
8769 PyObject
* obj2
= 0 ;
8770 char * kwnames
[] = {
8771 (char *) "self",(char *) "x",(char *) "y", NULL
8774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8776 if (!SWIG_IsOK(res1
)) {
8777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_MoveXY" "', expected argument " "1"" of type '" "wxCaret *""'");
8779 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8780 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8781 if (!SWIG_IsOK(ecode2
)) {
8782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_MoveXY" "', expected argument " "2"" of type '" "int""'");
8784 arg2
= static_cast< int >(val2
);
8785 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8786 if (!SWIG_IsOK(ecode3
)) {
8787 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_MoveXY" "', expected argument " "3"" of type '" "int""'");
8789 arg3
= static_cast< int >(val3
);
8791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8792 (arg1
)->Move(arg2
,arg3
);
8793 wxPyEndAllowThreads(__tstate
);
8794 if (PyErr_Occurred()) SWIG_fail
;
8796 resultobj
= SWIG_Py_Void();
8803 SWIGINTERN PyObject
*_wrap_Caret_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8804 PyObject
*resultobj
= 0;
8805 wxCaret
*arg1
= (wxCaret
*) 0 ;
8810 PyObject
* obj0
= 0 ;
8811 PyObject
* obj1
= 0 ;
8812 char * kwnames
[] = {
8813 (char *) "self",(char *) "pt", NULL
8816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8818 if (!SWIG_IsOK(res1
)) {
8819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Move" "', expected argument " "1"" of type '" "wxCaret *""'");
8821 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8824 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8828 (arg1
)->Move((wxPoint
const &)*arg2
);
8829 wxPyEndAllowThreads(__tstate
);
8830 if (PyErr_Occurred()) SWIG_fail
;
8832 resultobj
= SWIG_Py_Void();
8839 SWIGINTERN PyObject
*_wrap_Caret_SetSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8840 PyObject
*resultobj
= 0;
8841 wxCaret
*arg1
= (wxCaret
*) 0 ;
8850 PyObject
* obj0
= 0 ;
8851 PyObject
* obj1
= 0 ;
8852 PyObject
* obj2
= 0 ;
8853 char * kwnames
[] = {
8854 (char *) "self",(char *) "width",(char *) "height", NULL
8857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8859 if (!SWIG_IsOK(res1
)) {
8860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSizeWH" "', expected argument " "1"" of type '" "wxCaret *""'");
8862 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8863 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8864 if (!SWIG_IsOK(ecode2
)) {
8865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_SetSizeWH" "', expected argument " "2"" of type '" "int""'");
8867 arg2
= static_cast< int >(val2
);
8868 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8869 if (!SWIG_IsOK(ecode3
)) {
8870 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_SetSizeWH" "', expected argument " "3"" of type '" "int""'");
8872 arg3
= static_cast< int >(val3
);
8874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8875 (arg1
)->SetSize(arg2
,arg3
);
8876 wxPyEndAllowThreads(__tstate
);
8877 if (PyErr_Occurred()) SWIG_fail
;
8879 resultobj
= SWIG_Py_Void();
8886 SWIGINTERN PyObject
*_wrap_Caret_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8887 PyObject
*resultobj
= 0;
8888 wxCaret
*arg1
= (wxCaret
*) 0 ;
8893 PyObject
* obj0
= 0 ;
8894 PyObject
* obj1
= 0 ;
8895 char * kwnames
[] = {
8896 (char *) "self",(char *) "size", NULL
8899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8901 if (!SWIG_IsOK(res1
)) {
8902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8904 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8907 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8911 (arg1
)->SetSize((wxSize
const &)*arg2
);
8912 wxPyEndAllowThreads(__tstate
);
8913 if (PyErr_Occurred()) SWIG_fail
;
8915 resultobj
= SWIG_Py_Void();
8922 SWIGINTERN PyObject
*_wrap_Caret_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8923 PyObject
*resultobj
= 0;
8924 wxCaret
*arg1
= (wxCaret
*) 0 ;
8925 int arg2
= (int) true ;
8930 PyObject
* obj0
= 0 ;
8931 PyObject
* obj1
= 0 ;
8932 char * kwnames
[] = {
8933 (char *) "self",(char *) "show", NULL
8936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8938 if (!SWIG_IsOK(res1
)) {
8939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Show" "', expected argument " "1"" of type '" "wxCaret *""'");
8941 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8943 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8944 if (!SWIG_IsOK(ecode2
)) {
8945 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_Show" "', expected argument " "2"" of type '" "int""'");
8947 arg2
= static_cast< int >(val2
);
8950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8952 wxPyEndAllowThreads(__tstate
);
8953 if (PyErr_Occurred()) SWIG_fail
;
8955 resultobj
= SWIG_Py_Void();
8962 SWIGINTERN PyObject
*_wrap_Caret_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8963 PyObject
*resultobj
= 0;
8964 wxCaret
*arg1
= (wxCaret
*) 0 ;
8967 PyObject
*swig_obj
[1] ;
8969 if (!args
) SWIG_fail
;
8971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8972 if (!SWIG_IsOK(res1
)) {
8973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Hide" "', expected argument " "1"" of type '" "wxCaret *""'");
8975 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8979 wxPyEndAllowThreads(__tstate
);
8980 if (PyErr_Occurred()) SWIG_fail
;
8982 resultobj
= SWIG_Py_Void();
8989 SWIGINTERN PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8990 PyObject
*resultobj
= 0;
8993 if (!SWIG_Python_UnpackTuple(args
,"Caret_GetBlinkTime",0,0,0)) SWIG_fail
;
8995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8996 result
= (int)wxCaret::GetBlinkTime();
8997 wxPyEndAllowThreads(__tstate
);
8998 if (PyErr_Occurred()) SWIG_fail
;
9000 resultobj
= SWIG_From_int(static_cast< int >(result
));
9007 SWIGINTERN PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9008 PyObject
*resultobj
= 0;
9012 PyObject
* obj0
= 0 ;
9013 char * kwnames
[] = {
9014 (char *) "milliseconds", NULL
9017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) SWIG_fail
;
9018 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9019 if (!SWIG_IsOK(ecode1
)) {
9020 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Caret_SetBlinkTime" "', expected argument " "1"" of type '" "int""'");
9022 arg1
= static_cast< int >(val1
);
9024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9025 wxCaret::SetBlinkTime(arg1
);
9026 wxPyEndAllowThreads(__tstate
);
9027 if (PyErr_Occurred()) SWIG_fail
;
9029 resultobj
= SWIG_Py_Void();
9036 SWIGINTERN PyObject
*Caret_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9038 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9039 SWIG_TypeNewClientData(SWIGTYPE_p_wxCaret
, SWIG_NewClientData(obj
));
9040 return SWIG_Py_Void();
9043 SWIGINTERN PyObject
*Caret_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9044 return SWIG_Python_InitShadowInstance(args
);
9047 SWIGINTERN PyObject
*_wrap_new_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9048 PyObject
*resultobj
= 0;
9049 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
9050 wxBusyCursor
*result
= 0 ;
9053 PyObject
* obj0
= 0 ;
9054 char * kwnames
[] = {
9055 (char *) "cursor", NULL
9058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) SWIG_fail
;
9060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
9061 if (!SWIG_IsOK(res1
)) {
9062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
9064 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9067 if (!wxPyCheckForApp()) SWIG_fail
;
9068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9069 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
9070 wxPyEndAllowThreads(__tstate
);
9071 if (PyErr_Occurred()) SWIG_fail
;
9073 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_NEW
| 0 );
9080 SWIGINTERN PyObject
*_wrap_delete_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9081 PyObject
*resultobj
= 0;
9082 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
9085 PyObject
*swig_obj
[1] ;
9087 if (!args
) SWIG_fail
;
9089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_DISOWN
| 0 );
9090 if (!SWIG_IsOK(res1
)) {
9091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyCursor" "', expected argument " "1"" of type '" "wxBusyCursor *""'");
9093 arg1
= reinterpret_cast< wxBusyCursor
* >(argp1
);
9095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9098 wxPyEndAllowThreads(__tstate
);
9099 if (PyErr_Occurred()) SWIG_fail
;
9101 resultobj
= SWIG_Py_Void();
9108 SWIGINTERN PyObject
*BusyCursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9110 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9111 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyCursor
, SWIG_NewClientData(obj
));
9112 return SWIG_Py_Void();
9115 SWIGINTERN PyObject
*BusyCursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9116 return SWIG_Python_InitShadowInstance(args
);
9119 SWIGINTERN PyObject
*_wrap_new_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9120 PyObject
*resultobj
= 0;
9121 wxWindow
*arg1
= (wxWindow
*) NULL
;
9122 wxWindowDisabler
*result
= 0 ;
9125 PyObject
* obj0
= 0 ;
9126 char * kwnames
[] = {
9127 (char *) "winToSkip", NULL
9130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) SWIG_fail
;
9132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9133 if (!SWIG_IsOK(res1
)) {
9134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDisabler" "', expected argument " "1"" of type '" "wxWindow *""'");
9136 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9139 if (!wxPyCheckForApp()) SWIG_fail
;
9140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9141 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
9142 wxPyEndAllowThreads(__tstate
);
9143 if (PyErr_Occurred()) SWIG_fail
;
9145 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_NEW
| 0 );
9152 SWIGINTERN PyObject
*_wrap_delete_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9153 PyObject
*resultobj
= 0;
9154 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
9157 PyObject
*swig_obj
[1] ;
9159 if (!args
) SWIG_fail
;
9161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_DISOWN
| 0 );
9162 if (!SWIG_IsOK(res1
)) {
9163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_WindowDisabler" "', expected argument " "1"" of type '" "wxWindowDisabler *""'");
9165 arg1
= reinterpret_cast< wxWindowDisabler
* >(argp1
);
9167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9170 wxPyEndAllowThreads(__tstate
);
9171 if (PyErr_Occurred()) SWIG_fail
;
9173 resultobj
= SWIG_Py_Void();
9180 SWIGINTERN PyObject
*WindowDisabler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9182 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9183 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDisabler
, SWIG_NewClientData(obj
));
9184 return SWIG_Py_Void();
9187 SWIGINTERN PyObject
*WindowDisabler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9188 return SWIG_Python_InitShadowInstance(args
);
9191 SWIGINTERN PyObject
*_wrap_new_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9192 PyObject
*resultobj
= 0;
9193 wxString
*arg1
= 0 ;
9194 wxBusyInfo
*result
= 0 ;
9195 bool temp1
= false ;
9196 PyObject
* obj0
= 0 ;
9197 char * kwnames
[] = {
9198 (char *) "message", NULL
9201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) SWIG_fail
;
9203 arg1
= wxString_in_helper(obj0
);
9204 if (arg1
== NULL
) SWIG_fail
;
9208 if (!wxPyCheckForApp()) SWIG_fail
;
9209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9210 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
9211 wxPyEndAllowThreads(__tstate
);
9212 if (PyErr_Occurred()) SWIG_fail
;
9214 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_NEW
| 0 );
9229 SWIGINTERN PyObject
*_wrap_delete_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9230 PyObject
*resultobj
= 0;
9231 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
9234 PyObject
*swig_obj
[1] ;
9236 if (!args
) SWIG_fail
;
9238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_DISOWN
| 0 );
9239 if (!SWIG_IsOK(res1
)) {
9240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyInfo" "', expected argument " "1"" of type '" "wxBusyInfo *""'");
9242 arg1
= reinterpret_cast< wxBusyInfo
* >(argp1
);
9244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9247 wxPyEndAllowThreads(__tstate
);
9248 if (PyErr_Occurred()) SWIG_fail
;
9250 resultobj
= SWIG_Py_Void();
9257 SWIGINTERN PyObject
*BusyInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9259 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9260 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyInfo
, SWIG_NewClientData(obj
));
9261 return SWIG_Py_Void();
9264 SWIGINTERN PyObject
*BusyInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9265 return SWIG_Python_InitShadowInstance(args
);
9268 SWIGINTERN PyObject
*_wrap_new_StopWatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9269 PyObject
*resultobj
= 0;
9270 wxStopWatch
*result
= 0 ;
9272 if (!SWIG_Python_UnpackTuple(args
,"new_StopWatch",0,0,0)) SWIG_fail
;
9274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9275 result
= (wxStopWatch
*)new wxStopWatch();
9276 wxPyEndAllowThreads(__tstate
);
9277 if (PyErr_Occurred()) SWIG_fail
;
9279 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_NEW
| 0 );
9286 SWIGINTERN PyObject
*_wrap_delete_StopWatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9287 PyObject
*resultobj
= 0;
9288 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9291 PyObject
*swig_obj
[1] ;
9293 if (!args
) SWIG_fail
;
9295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_DISOWN
| 0 );
9296 if (!SWIG_IsOK(res1
)) {
9297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StopWatch" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9299 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9304 wxPyEndAllowThreads(__tstate
);
9305 if (PyErr_Occurred()) SWIG_fail
;
9307 resultobj
= SWIG_Py_Void();
9314 SWIGINTERN PyObject
*_wrap_StopWatch_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9315 PyObject
*resultobj
= 0;
9316 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9317 long arg2
= (long) 0 ;
9322 PyObject
* obj0
= 0 ;
9323 PyObject
* obj1
= 0 ;
9324 char * kwnames
[] = {
9325 (char *) "self",(char *) "t0", NULL
9328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9330 if (!SWIG_IsOK(res1
)) {
9331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Start" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9333 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9335 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9336 if (!SWIG_IsOK(ecode2
)) {
9337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StopWatch_Start" "', expected argument " "2"" of type '" "long""'");
9339 arg2
= static_cast< long >(val2
);
9342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9343 (arg1
)->Start(arg2
);
9344 wxPyEndAllowThreads(__tstate
);
9345 if (PyErr_Occurred()) SWIG_fail
;
9347 resultobj
= SWIG_Py_Void();
9354 SWIGINTERN PyObject
*_wrap_StopWatch_Pause(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9355 PyObject
*resultobj
= 0;
9356 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9359 PyObject
*swig_obj
[1] ;
9361 if (!args
) SWIG_fail
;
9363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9364 if (!SWIG_IsOK(res1
)) {
9365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Pause" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9367 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9371 wxPyEndAllowThreads(__tstate
);
9372 if (PyErr_Occurred()) SWIG_fail
;
9374 resultobj
= SWIG_Py_Void();
9381 SWIGINTERN PyObject
*_wrap_StopWatch_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9382 PyObject
*resultobj
= 0;
9383 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9386 PyObject
*swig_obj
[1] ;
9388 if (!args
) SWIG_fail
;
9390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9391 if (!SWIG_IsOK(res1
)) {
9392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Resume" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9394 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9398 wxPyEndAllowThreads(__tstate
);
9399 if (PyErr_Occurred()) SWIG_fail
;
9401 resultobj
= SWIG_Py_Void();
9408 SWIGINTERN PyObject
*_wrap_StopWatch_Time(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9409 PyObject
*resultobj
= 0;
9410 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9414 PyObject
*swig_obj
[1] ;
9416 if (!args
) SWIG_fail
;
9418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9419 if (!SWIG_IsOK(res1
)) {
9420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Time" "', expected argument " "1"" of type '" "wxStopWatch const *""'");
9422 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9425 result
= (long)((wxStopWatch
const *)arg1
)->Time();
9426 wxPyEndAllowThreads(__tstate
);
9427 if (PyErr_Occurred()) SWIG_fail
;
9429 resultobj
= SWIG_From_long(static_cast< long >(result
));
9436 SWIGINTERN PyObject
*StopWatch_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9438 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9439 SWIG_TypeNewClientData(SWIGTYPE_p_wxStopWatch
, SWIG_NewClientData(obj
));
9440 return SWIG_Py_Void();
9443 SWIGINTERN PyObject
*StopWatch_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9444 return SWIG_Python_InitShadowInstance(args
);
9447 SWIGINTERN PyObject
*_wrap_new_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9448 PyObject
*resultobj
= 0;
9449 int arg1
= (int) 9 ;
9450 int arg2
= (int) wxID_FILE1
;
9451 wxFileHistory
*result
= 0 ;
9456 PyObject
* obj0
= 0 ;
9457 PyObject
* obj1
= 0 ;
9458 char * kwnames
[] = {
9459 (char *) "maxFiles",(char *) "idBase", NULL
9462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9464 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9465 if (!SWIG_IsOK(ecode1
)) {
9466 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileHistory" "', expected argument " "1"" of type '" "int""'");
9468 arg1
= static_cast< int >(val1
);
9471 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9472 if (!SWIG_IsOK(ecode2
)) {
9473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FileHistory" "', expected argument " "2"" of type '" "int""'");
9475 arg2
= static_cast< int >(val2
);
9478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9479 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
9480 wxPyEndAllowThreads(__tstate
);
9481 if (PyErr_Occurred()) SWIG_fail
;
9483 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_NEW
| 0 );
9490 SWIGINTERN PyObject
*_wrap_delete_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9491 PyObject
*resultobj
= 0;
9492 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9495 PyObject
*swig_obj
[1] ;
9497 if (!args
) SWIG_fail
;
9499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_DISOWN
| 0 );
9500 if (!SWIG_IsOK(res1
)) {
9501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9503 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9508 wxPyEndAllowThreads(__tstate
);
9509 if (PyErr_Occurred()) SWIG_fail
;
9511 resultobj
= SWIG_Py_Void();
9518 SWIGINTERN PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9519 PyObject
*resultobj
= 0;
9520 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9521 wxString
*arg2
= 0 ;
9524 bool temp2
= false ;
9525 PyObject
* obj0
= 0 ;
9526 PyObject
* obj1
= 0 ;
9527 char * kwnames
[] = {
9528 (char *) "self",(char *) "file", NULL
9531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9533 if (!SWIG_IsOK(res1
)) {
9534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFileToHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9536 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9538 arg2
= wxString_in_helper(obj1
);
9539 if (arg2
== NULL
) SWIG_fail
;
9543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9544 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
9545 wxPyEndAllowThreads(__tstate
);
9546 if (PyErr_Occurred()) SWIG_fail
;
9548 resultobj
= SWIG_Py_Void();
9563 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9564 PyObject
*resultobj
= 0;
9565 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9571 PyObject
* obj0
= 0 ;
9572 PyObject
* obj1
= 0 ;
9573 char * kwnames
[] = {
9574 (char *) "self",(char *) "i", NULL
9577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9579 if (!SWIG_IsOK(res1
)) {
9580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9582 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9583 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9584 if (!SWIG_IsOK(ecode2
)) {
9585 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "2"" of type '" "int""'");
9587 arg2
= static_cast< int >(val2
);
9589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9590 (arg1
)->RemoveFileFromHistory(arg2
);
9591 wxPyEndAllowThreads(__tstate
);
9592 if (PyErr_Occurred()) SWIG_fail
;
9594 resultobj
= SWIG_Py_Void();
9601 SWIGINTERN PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9602 PyObject
*resultobj
= 0;
9603 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9607 PyObject
*swig_obj
[1] ;
9609 if (!args
) SWIG_fail
;
9611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9612 if (!SWIG_IsOK(res1
)) {
9613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetMaxFiles" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9615 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9618 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
9619 wxPyEndAllowThreads(__tstate
);
9620 if (PyErr_Occurred()) SWIG_fail
;
9622 resultobj
= SWIG_From_int(static_cast< int >(result
));
9629 SWIGINTERN PyObject
*_wrap_FileHistory_UseMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9630 PyObject
*resultobj
= 0;
9631 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9632 wxMenu
*arg2
= (wxMenu
*) 0 ;
9637 PyObject
* obj0
= 0 ;
9638 PyObject
* obj1
= 0 ;
9639 char * kwnames
[] = {
9640 (char *) "self",(char *) "menu", NULL
9643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9645 if (!SWIG_IsOK(res1
)) {
9646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_UseMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9648 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9649 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9650 if (!SWIG_IsOK(res2
)) {
9651 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_UseMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9653 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9656 (arg1
)->UseMenu(arg2
);
9657 wxPyEndAllowThreads(__tstate
);
9658 if (PyErr_Occurred()) SWIG_fail
;
9660 resultobj
= SWIG_Py_Void();
9667 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9668 PyObject
*resultobj
= 0;
9669 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9670 wxMenu
*arg2
= (wxMenu
*) 0 ;
9675 PyObject
* obj0
= 0 ;
9676 PyObject
* obj1
= 0 ;
9677 char * kwnames
[] = {
9678 (char *) "self",(char *) "menu", NULL
9681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9683 if (!SWIG_IsOK(res1
)) {
9684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9686 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9687 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9688 if (!SWIG_IsOK(res2
)) {
9689 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9691 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9694 (arg1
)->RemoveMenu(arg2
);
9695 wxPyEndAllowThreads(__tstate
);
9696 if (PyErr_Occurred()) SWIG_fail
;
9698 resultobj
= SWIG_Py_Void();
9705 SWIGINTERN PyObject
*_wrap_FileHistory_Load(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9706 PyObject
*resultobj
= 0;
9707 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9708 wxConfigBase
*arg2
= 0 ;
9713 PyObject
* obj0
= 0 ;
9714 PyObject
* obj1
= 0 ;
9715 char * kwnames
[] = {
9716 (char *) "self",(char *) "config", NULL
9719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9721 if (!SWIG_IsOK(res1
)) {
9722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Load" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9724 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9725 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9726 if (!SWIG_IsOK(res2
)) {
9727 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9730 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9732 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9735 (arg1
)->Load(*arg2
);
9736 wxPyEndAllowThreads(__tstate
);
9737 if (PyErr_Occurred()) SWIG_fail
;
9739 resultobj
= SWIG_Py_Void();
9746 SWIGINTERN PyObject
*_wrap_FileHistory_Save(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9747 PyObject
*resultobj
= 0;
9748 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9749 wxConfigBase
*arg2
= 0 ;
9754 PyObject
* obj0
= 0 ;
9755 PyObject
* obj1
= 0 ;
9756 char * kwnames
[] = {
9757 (char *) "self",(char *) "config", NULL
9760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9762 if (!SWIG_IsOK(res1
)) {
9763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Save" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9765 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9766 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9767 if (!SWIG_IsOK(res2
)) {
9768 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9771 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9773 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9776 (arg1
)->Save(*arg2
);
9777 wxPyEndAllowThreads(__tstate
);
9778 if (PyErr_Occurred()) SWIG_fail
;
9780 resultobj
= SWIG_Py_Void();
9787 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9788 PyObject
*resultobj
= 0;
9789 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9792 PyObject
*swig_obj
[1] ;
9794 if (!args
) SWIG_fail
;
9796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9797 if (!SWIG_IsOK(res1
)) {
9798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9800 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9803 (arg1
)->AddFilesToMenu();
9804 wxPyEndAllowThreads(__tstate
);
9805 if (PyErr_Occurred()) SWIG_fail
;
9807 resultobj
= SWIG_Py_Void();
9814 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9815 PyObject
*resultobj
= 0;
9816 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9817 wxMenu
*arg2
= (wxMenu
*) 0 ;
9822 PyObject
* obj0
= 0 ;
9823 PyObject
* obj1
= 0 ;
9824 char * kwnames
[] = {
9825 (char *) "self",(char *) "menu", NULL
9828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9830 if (!SWIG_IsOK(res1
)) {
9831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9833 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9834 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9835 if (!SWIG_IsOK(res2
)) {
9836 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9838 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9841 (arg1
)->AddFilesToMenu(arg2
);
9842 wxPyEndAllowThreads(__tstate
);
9843 if (PyErr_Occurred()) SWIG_fail
;
9845 resultobj
= SWIG_Py_Void();
9852 SWIGINTERN PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9853 PyObject
*resultobj
= 0;
9854 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9861 PyObject
* obj0
= 0 ;
9862 PyObject
* obj1
= 0 ;
9863 char * kwnames
[] = {
9864 (char *) "self",(char *) "i", NULL
9867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9869 if (!SWIG_IsOK(res1
)) {
9870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9872 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9873 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9874 if (!SWIG_IsOK(ecode2
)) {
9875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "2"" of type '" "int""'");
9877 arg2
= static_cast< int >(val2
);
9879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9880 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
9881 wxPyEndAllowThreads(__tstate
);
9882 if (PyErr_Occurred()) SWIG_fail
;
9886 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9888 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9897 SWIGINTERN PyObject
*_wrap_FileHistory_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9898 PyObject
*resultobj
= 0;
9899 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9903 PyObject
*swig_obj
[1] ;
9905 if (!args
) SWIG_fail
;
9907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9908 if (!SWIG_IsOK(res1
)) {
9909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetCount" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9911 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9914 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
9915 wxPyEndAllowThreads(__tstate
);
9916 if (PyErr_Occurred()) SWIG_fail
;
9918 resultobj
= SWIG_From_int(static_cast< int >(result
));
9925 SWIGINTERN PyObject
*FileHistory_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9927 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9928 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileHistory
, SWIG_NewClientData(obj
));
9929 return SWIG_Py_Void();
9932 SWIGINTERN PyObject
*FileHistory_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9933 return SWIG_Python_InitShadowInstance(args
);
9936 SWIGINTERN PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9937 PyObject
*resultobj
= 0;
9938 wxString
*arg1
= 0 ;
9939 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9940 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9941 wxSingleInstanceChecker
*result
= 0 ;
9942 bool temp1
= false ;
9943 bool temp2
= false ;
9944 PyObject
* obj0
= 0 ;
9945 PyObject
* obj1
= 0 ;
9946 char * kwnames
[] = {
9947 (char *) "name",(char *) "path", NULL
9950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9952 arg1
= wxString_in_helper(obj0
);
9953 if (arg1
== NULL
) SWIG_fail
;
9958 arg2
= wxString_in_helper(obj1
);
9959 if (arg2
== NULL
) SWIG_fail
;
9964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9965 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
9966 wxPyEndAllowThreads(__tstate
);
9967 if (PyErr_Occurred()) SWIG_fail
;
9969 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_NEW
| 0 );
9992 SWIGINTERN PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9993 PyObject
*resultobj
= 0;
9994 wxSingleInstanceChecker
*result
= 0 ;
9996 if (!SWIG_Python_UnpackTuple(args
,"new_PreSingleInstanceChecker",0,0,0)) SWIG_fail
;
9998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9999 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
10000 wxPyEndAllowThreads(__tstate
);
10001 if (PyErr_Occurred()) SWIG_fail
;
10003 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_OWN
| 0 );
10010 SWIGINTERN PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10011 PyObject
*resultobj
= 0;
10012 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
10015 PyObject
*swig_obj
[1] ;
10017 if (!args
) SWIG_fail
;
10018 swig_obj
[0] = args
;
10019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_DISOWN
| 0 );
10020 if (!SWIG_IsOK(res1
)) {
10021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SingleInstanceChecker" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
10023 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
10025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10028 wxPyEndAllowThreads(__tstate
);
10029 if (PyErr_Occurred()) SWIG_fail
;
10031 resultobj
= SWIG_Py_Void();
10038 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10039 PyObject
*resultobj
= 0;
10040 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
10041 wxString
*arg2
= 0 ;
10042 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10043 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10047 bool temp2
= false ;
10048 bool temp3
= false ;
10049 PyObject
* obj0
= 0 ;
10050 PyObject
* obj1
= 0 ;
10051 PyObject
* obj2
= 0 ;
10052 char * kwnames
[] = {
10053 (char *) "self",(char *) "name",(char *) "path", NULL
10056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
10058 if (!SWIG_IsOK(res1
)) {
10059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_Create" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
10061 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
10063 arg2
= wxString_in_helper(obj1
);
10064 if (arg2
== NULL
) SWIG_fail
;
10069 arg3
= wxString_in_helper(obj2
);
10070 if (arg3
== NULL
) SWIG_fail
;
10075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10076 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10077 wxPyEndAllowThreads(__tstate
);
10078 if (PyErr_Occurred()) SWIG_fail
;
10081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10105 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10106 PyObject
*resultobj
= 0;
10107 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
10111 PyObject
*swig_obj
[1] ;
10113 if (!args
) SWIG_fail
;
10114 swig_obj
[0] = args
;
10115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
10116 if (!SWIG_IsOK(res1
)) {
10117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_IsAnotherRunning" "', expected argument " "1"" of type '" "wxSingleInstanceChecker const *""'");
10119 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
10121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10122 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
10123 wxPyEndAllowThreads(__tstate
);
10124 if (PyErr_Occurred()) SWIG_fail
;
10127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10135 SWIGINTERN PyObject
*SingleInstanceChecker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10137 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10138 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_NewClientData(obj
));
10139 return SWIG_Py_Void();
10142 SWIGINTERN PyObject
*SingleInstanceChecker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10143 return SWIG_Python_InitShadowInstance(args
);
10146 SWIGINTERN PyObject
*_wrap_new_PlatformInformation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10147 PyObject
*resultobj
= 0;
10148 wxPlatformInfo
*result
= 0 ;
10150 if (!SWIG_Python_UnpackTuple(args
,"new_PlatformInformation",0,0,0)) SWIG_fail
;
10152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10153 result
= (wxPlatformInfo
*)new wxPlatformInfo();
10154 wxPyEndAllowThreads(__tstate
);
10155 if (PyErr_Occurred()) SWIG_fail
;
10157 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPlatformInfo
, SWIG_POINTER_NEW
| 0 );
10164 SWIGINTERN PyObject
*_wrap_PlatformInformation___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10165 PyObject
*resultobj
= 0;
10166 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10167 wxPlatformInfo
*arg2
= 0 ;
10173 PyObject
* obj0
= 0 ;
10174 PyObject
* obj1
= 0 ;
10175 char * kwnames
[] = {
10176 (char *) "self",(char *) "t", NULL
10179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10181 if (!SWIG_IsOK(res1
)) {
10182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation___eq__" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10184 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10185 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPlatformInfo
, 0 | 0);
10186 if (!SWIG_IsOK(res2
)) {
10187 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PlatformInformation___eq__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10190 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PlatformInformation___eq__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10192 arg2
= reinterpret_cast< wxPlatformInfo
* >(argp2
);
10194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10195 result
= (bool)((wxPlatformInfo
const *)arg1
)->operator ==((wxPlatformInfo
const &)*arg2
);
10196 wxPyEndAllowThreads(__tstate
);
10197 if (PyErr_Occurred()) SWIG_fail
;
10200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10208 SWIGINTERN PyObject
*_wrap_PlatformInformation___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10209 PyObject
*resultobj
= 0;
10210 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10211 wxPlatformInfo
*arg2
= 0 ;
10217 PyObject
* obj0
= 0 ;
10218 PyObject
* obj1
= 0 ;
10219 char * kwnames
[] = {
10220 (char *) "self",(char *) "t", NULL
10223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10225 if (!SWIG_IsOK(res1
)) {
10226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation___ne__" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10228 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10229 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPlatformInfo
, 0 | 0);
10230 if (!SWIG_IsOK(res2
)) {
10231 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PlatformInformation___ne__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10234 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PlatformInformation___ne__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10236 arg2
= reinterpret_cast< wxPlatformInfo
* >(argp2
);
10238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10239 result
= (bool)((wxPlatformInfo
const *)arg1
)->operator !=((wxPlatformInfo
const &)*arg2
);
10240 wxPyEndAllowThreads(__tstate
);
10241 if (PyErr_Occurred()) SWIG_fail
;
10244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10252 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOSMajorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10253 PyObject
*resultobj
= 0;
10254 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10258 PyObject
*swig_obj
[1] ;
10260 if (!args
) SWIG_fail
;
10261 swig_obj
[0] = args
;
10262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10263 if (!SWIG_IsOK(res1
)) {
10264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOSMajorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10266 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10269 result
= (int)((wxPlatformInfo
const *)arg1
)->GetOSMajorVersion();
10270 wxPyEndAllowThreads(__tstate
);
10271 if (PyErr_Occurred()) SWIG_fail
;
10273 resultobj
= SWIG_From_int(static_cast< int >(result
));
10280 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOSMinorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10281 PyObject
*resultobj
= 0;
10282 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10286 PyObject
*swig_obj
[1] ;
10288 if (!args
) SWIG_fail
;
10289 swig_obj
[0] = args
;
10290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10291 if (!SWIG_IsOK(res1
)) {
10292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOSMinorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10294 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10297 result
= (int)((wxPlatformInfo
const *)arg1
)->GetOSMinorVersion();
10298 wxPyEndAllowThreads(__tstate
);
10299 if (PyErr_Occurred()) SWIG_fail
;
10301 resultobj
= SWIG_From_int(static_cast< int >(result
));
10308 SWIGINTERN PyObject
*_wrap_PlatformInformation_CheckOSVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10309 PyObject
*resultobj
= 0;
10310 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10320 PyObject
* obj0
= 0 ;
10321 PyObject
* obj1
= 0 ;
10322 PyObject
* obj2
= 0 ;
10323 char * kwnames
[] = {
10324 (char *) "self",(char *) "major",(char *) "minor", NULL
10327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PlatformInformation_CheckOSVersion",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10329 if (!SWIG_IsOK(res1
)) {
10330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_CheckOSVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10332 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10333 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10334 if (!SWIG_IsOK(ecode2
)) {
10335 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_CheckOSVersion" "', expected argument " "2"" of type '" "int""'");
10337 arg2
= static_cast< int >(val2
);
10338 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10339 if (!SWIG_IsOK(ecode3
)) {
10340 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PlatformInformation_CheckOSVersion" "', expected argument " "3"" of type '" "int""'");
10342 arg3
= static_cast< int >(val3
);
10344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10345 result
= (bool)((wxPlatformInfo
const *)arg1
)->CheckOSVersion(arg2
,arg3
);
10346 wxPyEndAllowThreads(__tstate
);
10347 if (PyErr_Occurred()) SWIG_fail
;
10350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10358 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetToolkitMajorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10359 PyObject
*resultobj
= 0;
10360 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10364 PyObject
*swig_obj
[1] ;
10366 if (!args
) SWIG_fail
;
10367 swig_obj
[0] = args
;
10368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10369 if (!SWIG_IsOK(res1
)) {
10370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetToolkitMajorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10372 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10375 result
= (int)((wxPlatformInfo
const *)arg1
)->GetToolkitMajorVersion();
10376 wxPyEndAllowThreads(__tstate
);
10377 if (PyErr_Occurred()) SWIG_fail
;
10379 resultobj
= SWIG_From_int(static_cast< int >(result
));
10386 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetToolkitMinorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10387 PyObject
*resultobj
= 0;
10388 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10392 PyObject
*swig_obj
[1] ;
10394 if (!args
) SWIG_fail
;
10395 swig_obj
[0] = args
;
10396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10397 if (!SWIG_IsOK(res1
)) {
10398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetToolkitMinorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10400 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10403 result
= (int)((wxPlatformInfo
const *)arg1
)->GetToolkitMinorVersion();
10404 wxPyEndAllowThreads(__tstate
);
10405 if (PyErr_Occurred()) SWIG_fail
;
10407 resultobj
= SWIG_From_int(static_cast< int >(result
));
10414 SWIGINTERN PyObject
*_wrap_PlatformInformation_CheckToolkitVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10415 PyObject
*resultobj
= 0;
10416 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10426 PyObject
* obj0
= 0 ;
10427 PyObject
* obj1
= 0 ;
10428 PyObject
* obj2
= 0 ;
10429 char * kwnames
[] = {
10430 (char *) "self",(char *) "major",(char *) "minor", NULL
10433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PlatformInformation_CheckToolkitVersion",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10435 if (!SWIG_IsOK(res1
)) {
10436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_CheckToolkitVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10438 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10439 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10440 if (!SWIG_IsOK(ecode2
)) {
10441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_CheckToolkitVersion" "', expected argument " "2"" of type '" "int""'");
10443 arg2
= static_cast< int >(val2
);
10444 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10445 if (!SWIG_IsOK(ecode3
)) {
10446 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PlatformInformation_CheckToolkitVersion" "', expected argument " "3"" of type '" "int""'");
10448 arg3
= static_cast< int >(val3
);
10450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10451 result
= (bool)((wxPlatformInfo
const *)arg1
)->CheckToolkitVersion(arg2
,arg3
);
10452 wxPyEndAllowThreads(__tstate
);
10453 if (PyErr_Occurred()) SWIG_fail
;
10456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10464 SWIGINTERN PyObject
*_wrap_PlatformInformation_IsUsingUniversalWidgets(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10465 PyObject
*resultobj
= 0;
10466 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10470 PyObject
*swig_obj
[1] ;
10472 if (!args
) SWIG_fail
;
10473 swig_obj
[0] = args
;
10474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10475 if (!SWIG_IsOK(res1
)) {
10476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_IsUsingUniversalWidgets" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10478 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10481 result
= (bool)((wxPlatformInfo
const *)arg1
)->IsUsingUniversalWidgets();
10482 wxPyEndAllowThreads(__tstate
);
10483 if (PyErr_Occurred()) SWIG_fail
;
10486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10494 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOperatingSystemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10495 PyObject
*resultobj
= 0;
10496 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10497 wxOperatingSystemId result
;
10500 PyObject
*swig_obj
[1] ;
10502 if (!args
) SWIG_fail
;
10503 swig_obj
[0] = args
;
10504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10505 if (!SWIG_IsOK(res1
)) {
10506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOperatingSystemId" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10508 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10511 result
= (wxOperatingSystemId
)((wxPlatformInfo
const *)arg1
)->GetOperatingSystemId();
10512 wxPyEndAllowThreads(__tstate
);
10513 if (PyErr_Occurred()) SWIG_fail
;
10515 resultobj
= SWIG_From_int(static_cast< int >(result
));
10522 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetPortId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10523 PyObject
*resultobj
= 0;
10524 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10528 PyObject
*swig_obj
[1] ;
10530 if (!args
) SWIG_fail
;
10531 swig_obj
[0] = args
;
10532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10533 if (!SWIG_IsOK(res1
)) {
10534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetPortId" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10536 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10539 result
= (wxPortId
)((wxPlatformInfo
const *)arg1
)->GetPortId();
10540 wxPyEndAllowThreads(__tstate
);
10541 if (PyErr_Occurred()) SWIG_fail
;
10543 resultobj
= SWIG_From_int(static_cast< int >(result
));
10550 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetArchitecture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10551 PyObject
*resultobj
= 0;
10552 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10553 wxArchitecture result
;
10556 PyObject
*swig_obj
[1] ;
10558 if (!args
) SWIG_fail
;
10559 swig_obj
[0] = args
;
10560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10561 if (!SWIG_IsOK(res1
)) {
10562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetArchitecture" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10564 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10567 result
= (wxArchitecture
)((wxPlatformInfo
const *)arg1
)->GetArchitecture();
10568 wxPyEndAllowThreads(__tstate
);
10569 if (PyErr_Occurred()) SWIG_fail
;
10571 resultobj
= SWIG_From_int(static_cast< int >(result
));
10578 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetEndianness(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10579 PyObject
*resultobj
= 0;
10580 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10581 wxEndianness result
;
10584 PyObject
*swig_obj
[1] ;
10586 if (!args
) SWIG_fail
;
10587 swig_obj
[0] = args
;
10588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10589 if (!SWIG_IsOK(res1
)) {
10590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetEndianness" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10592 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10595 result
= (wxEndianness
)((wxPlatformInfo
const *)arg1
)->GetEndianness();
10596 wxPyEndAllowThreads(__tstate
);
10597 if (PyErr_Occurred()) SWIG_fail
;
10599 resultobj
= SWIG_From_int(static_cast< int >(result
));
10606 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOperatingSystemFamilyName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10607 PyObject
*resultobj
= 0;
10608 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10612 PyObject
*swig_obj
[1] ;
10614 if (!args
) SWIG_fail
;
10615 swig_obj
[0] = args
;
10616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10617 if (!SWIG_IsOK(res1
)) {
10618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOperatingSystemFamilyName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10620 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10623 result
= ((wxPlatformInfo
const *)arg1
)->GetOperatingSystemFamilyName();
10624 wxPyEndAllowThreads(__tstate
);
10625 if (PyErr_Occurred()) SWIG_fail
;
10629 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10631 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10640 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOperatingSystemIdName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10641 PyObject
*resultobj
= 0;
10642 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10646 PyObject
*swig_obj
[1] ;
10648 if (!args
) SWIG_fail
;
10649 swig_obj
[0] = args
;
10650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10651 if (!SWIG_IsOK(res1
)) {
10652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOperatingSystemIdName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10654 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10657 result
= ((wxPlatformInfo
const *)arg1
)->GetOperatingSystemIdName();
10658 wxPyEndAllowThreads(__tstate
);
10659 if (PyErr_Occurred()) SWIG_fail
;
10663 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10665 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10674 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetPortIdName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10675 PyObject
*resultobj
= 0;
10676 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10680 PyObject
*swig_obj
[1] ;
10682 if (!args
) SWIG_fail
;
10683 swig_obj
[0] = args
;
10684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10685 if (!SWIG_IsOK(res1
)) {
10686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetPortIdName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10688 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10691 result
= ((wxPlatformInfo
const *)arg1
)->GetPortIdName();
10692 wxPyEndAllowThreads(__tstate
);
10693 if (PyErr_Occurred()) SWIG_fail
;
10697 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10699 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10708 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetPortIdShortName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10709 PyObject
*resultobj
= 0;
10710 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10714 PyObject
*swig_obj
[1] ;
10716 if (!args
) SWIG_fail
;
10717 swig_obj
[0] = args
;
10718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10719 if (!SWIG_IsOK(res1
)) {
10720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetPortIdShortName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10722 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10725 result
= ((wxPlatformInfo
const *)arg1
)->GetPortIdShortName();
10726 wxPyEndAllowThreads(__tstate
);
10727 if (PyErr_Occurred()) SWIG_fail
;
10731 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10733 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10742 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetArchName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10743 PyObject
*resultobj
= 0;
10744 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10748 PyObject
*swig_obj
[1] ;
10750 if (!args
) SWIG_fail
;
10751 swig_obj
[0] = args
;
10752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10753 if (!SWIG_IsOK(res1
)) {
10754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetArchName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10756 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10759 result
= ((wxPlatformInfo
const *)arg1
)->GetArchName();
10760 wxPyEndAllowThreads(__tstate
);
10761 if (PyErr_Occurred()) SWIG_fail
;
10765 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10767 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10776 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetEndiannessName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10777 PyObject
*resultobj
= 0;
10778 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10782 PyObject
*swig_obj
[1] ;
10784 if (!args
) SWIG_fail
;
10785 swig_obj
[0] = args
;
10786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10787 if (!SWIG_IsOK(res1
)) {
10788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetEndiannessName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10790 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10793 result
= ((wxPlatformInfo
const *)arg1
)->GetEndiannessName();
10794 wxPyEndAllowThreads(__tstate
);
10795 if (PyErr_Occurred()) SWIG_fail
;
10799 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10801 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10810 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetOSVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10811 PyObject
*resultobj
= 0;
10812 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10821 PyObject
* obj0
= 0 ;
10822 PyObject
* obj1
= 0 ;
10823 PyObject
* obj2
= 0 ;
10824 char * kwnames
[] = {
10825 (char *) "self",(char *) "major",(char *) "minor", NULL
10828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PlatformInformation_SetOSVersion",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10830 if (!SWIG_IsOK(res1
)) {
10831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetOSVersion" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10833 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10834 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10835 if (!SWIG_IsOK(ecode2
)) {
10836 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetOSVersion" "', expected argument " "2"" of type '" "int""'");
10838 arg2
= static_cast< int >(val2
);
10839 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10840 if (!SWIG_IsOK(ecode3
)) {
10841 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PlatformInformation_SetOSVersion" "', expected argument " "3"" of type '" "int""'");
10843 arg3
= static_cast< int >(val3
);
10845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10846 (arg1
)->SetOSVersion(arg2
,arg3
);
10847 wxPyEndAllowThreads(__tstate
);
10848 if (PyErr_Occurred()) SWIG_fail
;
10850 resultobj
= SWIG_Py_Void();
10857 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetToolkitVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10858 PyObject
*resultobj
= 0;
10859 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10868 PyObject
* obj0
= 0 ;
10869 PyObject
* obj1
= 0 ;
10870 PyObject
* obj2
= 0 ;
10871 char * kwnames
[] = {
10872 (char *) "self",(char *) "major",(char *) "minor", NULL
10875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PlatformInformation_SetToolkitVersion",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10877 if (!SWIG_IsOK(res1
)) {
10878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetToolkitVersion" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10880 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10881 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10882 if (!SWIG_IsOK(ecode2
)) {
10883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetToolkitVersion" "', expected argument " "2"" of type '" "int""'");
10885 arg2
= static_cast< int >(val2
);
10886 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10887 if (!SWIG_IsOK(ecode3
)) {
10888 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PlatformInformation_SetToolkitVersion" "', expected argument " "3"" of type '" "int""'");
10890 arg3
= static_cast< int >(val3
);
10892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10893 (arg1
)->SetToolkitVersion(arg2
,arg3
);
10894 wxPyEndAllowThreads(__tstate
);
10895 if (PyErr_Occurred()) SWIG_fail
;
10897 resultobj
= SWIG_Py_Void();
10904 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetOperatingSystemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10905 PyObject
*resultobj
= 0;
10906 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10907 wxOperatingSystemId arg2
;
10912 PyObject
* obj0
= 0 ;
10913 PyObject
* obj1
= 0 ;
10914 char * kwnames
[] = {
10915 (char *) "self",(char *) "n", NULL
10918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetOperatingSystemId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10920 if (!SWIG_IsOK(res1
)) {
10921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetOperatingSystemId" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10923 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10924 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10925 if (!SWIG_IsOK(ecode2
)) {
10926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetOperatingSystemId" "', expected argument " "2"" of type '" "wxOperatingSystemId""'");
10928 arg2
= static_cast< wxOperatingSystemId
>(val2
);
10930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10931 (arg1
)->SetOperatingSystemId(arg2
);
10932 wxPyEndAllowThreads(__tstate
);
10933 if (PyErr_Occurred()) SWIG_fail
;
10935 resultobj
= SWIG_Py_Void();
10942 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetPortId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10943 PyObject
*resultobj
= 0;
10944 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10950 PyObject
* obj0
= 0 ;
10951 PyObject
* obj1
= 0 ;
10952 char * kwnames
[] = {
10953 (char *) "self",(char *) "n", NULL
10956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetPortId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10958 if (!SWIG_IsOK(res1
)) {
10959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetPortId" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10961 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10962 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10963 if (!SWIG_IsOK(ecode2
)) {
10964 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetPortId" "', expected argument " "2"" of type '" "wxPortId""'");
10966 arg2
= static_cast< wxPortId
>(val2
);
10968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10969 (arg1
)->SetPortId(arg2
);
10970 wxPyEndAllowThreads(__tstate
);
10971 if (PyErr_Occurred()) SWIG_fail
;
10973 resultobj
= SWIG_Py_Void();
10980 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetArchitecture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10981 PyObject
*resultobj
= 0;
10982 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10983 wxArchitecture arg2
;
10988 PyObject
* obj0
= 0 ;
10989 PyObject
* obj1
= 0 ;
10990 char * kwnames
[] = {
10991 (char *) "self",(char *) "n", NULL
10994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetArchitecture",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10996 if (!SWIG_IsOK(res1
)) {
10997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetArchitecture" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10999 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
11000 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11001 if (!SWIG_IsOK(ecode2
)) {
11002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetArchitecture" "', expected argument " "2"" of type '" "wxArchitecture""'");
11004 arg2
= static_cast< wxArchitecture
>(val2
);
11006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11007 (arg1
)->SetArchitecture(arg2
);
11008 wxPyEndAllowThreads(__tstate
);
11009 if (PyErr_Occurred()) SWIG_fail
;
11011 resultobj
= SWIG_Py_Void();
11018 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetEndianness(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11019 PyObject
*resultobj
= 0;
11020 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
11021 wxEndianness arg2
;
11026 PyObject
* obj0
= 0 ;
11027 PyObject
* obj1
= 0 ;
11028 char * kwnames
[] = {
11029 (char *) "self",(char *) "n", NULL
11032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetEndianness",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
11034 if (!SWIG_IsOK(res1
)) {
11035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetEndianness" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
11037 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
11038 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11039 if (!SWIG_IsOK(ecode2
)) {
11040 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetEndianness" "', expected argument " "2"" of type '" "wxEndianness""'");
11042 arg2
= static_cast< wxEndianness
>(val2
);
11044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11045 (arg1
)->SetEndianness(arg2
);
11046 wxPyEndAllowThreads(__tstate
);
11047 if (PyErr_Occurred()) SWIG_fail
;
11049 resultobj
= SWIG_Py_Void();
11056 SWIGINTERN PyObject
*_wrap_PlatformInformation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11057 PyObject
*resultobj
= 0;
11058 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
11062 PyObject
*swig_obj
[1] ;
11064 if (!args
) SWIG_fail
;
11065 swig_obj
[0] = args
;
11066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
11067 if (!SWIG_IsOK(res1
)) {
11068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_IsOk" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
11070 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
11072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11073 result
= (bool)((wxPlatformInfo
const *)arg1
)->IsOk();
11074 wxPyEndAllowThreads(__tstate
);
11075 if (PyErr_Occurred()) SWIG_fail
;
11078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11086 SWIGINTERN PyObject
*PlatformInformation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11088 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11089 SWIG_TypeNewClientData(SWIGTYPE_p_wxPlatformInfo
, SWIG_NewClientData(obj
));
11090 return SWIG_Py_Void();
11093 SWIGINTERN PyObject
*PlatformInformation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11094 return SWIG_Python_InitShadowInstance(args
);
11097 SWIGINTERN PyObject
*_wrap_DrawWindowOnDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11098 PyObject
*resultobj
= 0;
11099 wxWindow
*arg1
= (wxWindow
*) 0 ;
11106 PyObject
* obj0
= 0 ;
11107 PyObject
* obj1
= 0 ;
11108 char * kwnames
[] = {
11109 (char *) "window",(char *) "dc", NULL
11112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11114 if (!SWIG_IsOK(res1
)) {
11115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DrawWindowOnDC" "', expected argument " "1"" of type '" "wxWindow *""'");
11117 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11118 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 | 0);
11119 if (!SWIG_IsOK(res2
)) {
11120 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
11123 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
11125 arg2
= reinterpret_cast< wxDC
* >(argp2
);
11127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11128 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
11129 wxPyEndAllowThreads(__tstate
);
11130 if (PyErr_Occurred()) SWIG_fail
;
11133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11141 SWIGINTERN PyObject
*_wrap_delete_TipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11142 PyObject
*resultobj
= 0;
11143 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11146 PyObject
*swig_obj
[1] ;
11148 if (!args
) SWIG_fail
;
11149 swig_obj
[0] = args
;
11150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_DISOWN
| 0 );
11151 if (!SWIG_IsOK(res1
)) {
11152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TipProvider" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11154 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11159 wxPyEndAllowThreads(__tstate
);
11160 if (PyErr_Occurred()) SWIG_fail
;
11162 resultobj
= SWIG_Py_Void();
11169 SWIGINTERN PyObject
*_wrap_TipProvider_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11170 PyObject
*resultobj
= 0;
11171 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11175 PyObject
*swig_obj
[1] ;
11177 if (!args
) SWIG_fail
;
11178 swig_obj
[0] = args
;
11179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11180 if (!SWIG_IsOK(res1
)) {
11181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11183 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11186 result
= (arg1
)->GetTip();
11187 wxPyEndAllowThreads(__tstate
);
11188 if (PyErr_Occurred()) SWIG_fail
;
11192 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11194 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11203 SWIGINTERN PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11204 PyObject
*resultobj
= 0;
11205 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11209 PyObject
*swig_obj
[1] ;
11211 if (!args
) SWIG_fail
;
11212 swig_obj
[0] = args
;
11213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11214 if (!SWIG_IsOK(res1
)) {
11215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetCurrentTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11217 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11220 result
= (size_t)(arg1
)->GetCurrentTip();
11221 wxPyEndAllowThreads(__tstate
);
11222 if (PyErr_Occurred()) SWIG_fail
;
11224 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
11231 SWIGINTERN PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11232 PyObject
*resultobj
= 0;
11233 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11234 wxString
*arg2
= 0 ;
11238 bool temp2
= false ;
11239 PyObject
* obj0
= 0 ;
11240 PyObject
* obj1
= 0 ;
11241 char * kwnames
[] = {
11242 (char *) "self",(char *) "tip", NULL
11245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11247 if (!SWIG_IsOK(res1
)) {
11248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_PreprocessTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11250 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11252 arg2
= wxString_in_helper(obj1
);
11253 if (arg2
== NULL
) SWIG_fail
;
11257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11258 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
11259 wxPyEndAllowThreads(__tstate
);
11260 if (PyErr_Occurred()) SWIG_fail
;
11264 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11266 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11283 SWIGINTERN PyObject
*TipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11285 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11286 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipProvider
, SWIG_NewClientData(obj
));
11287 return SWIG_Py_Void();
11290 SWIGINTERN PyObject
*_wrap_new_PyTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11291 PyObject
*resultobj
= 0;
11293 wxPyTipProvider
*result
= 0 ;
11296 PyObject
* obj0
= 0 ;
11297 char * kwnames
[] = {
11298 (char *) "currentTip", NULL
11301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) SWIG_fail
;
11302 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
11303 if (!SWIG_IsOK(ecode1
)) {
11304 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyTipProvider" "', expected argument " "1"" of type '" "size_t""'");
11306 arg1
= static_cast< size_t >(val1
);
11308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11309 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
11310 wxPyEndAllowThreads(__tstate
);
11311 if (PyErr_Occurred()) SWIG_fail
;
11313 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_NEW
| 0 );
11320 SWIGINTERN PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11321 PyObject
*resultobj
= 0;
11322 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
11323 PyObject
*arg2
= (PyObject
*) 0 ;
11324 PyObject
*arg3
= (PyObject
*) 0 ;
11327 PyObject
* obj0
= 0 ;
11328 PyObject
* obj1
= 0 ;
11329 PyObject
* obj2
= 0 ;
11330 char * kwnames
[] = {
11331 (char *) "self",(char *) "self",(char *) "_class", NULL
11334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTipProvider
, 0 | 0 );
11336 if (!SWIG_IsOK(res1
)) {
11337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTipProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTipProvider *""'");
11339 arg1
= reinterpret_cast< wxPyTipProvider
* >(argp1
);
11343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11344 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11345 wxPyEndAllowThreads(__tstate
);
11346 if (PyErr_Occurred()) SWIG_fail
;
11348 resultobj
= SWIG_Py_Void();
11355 SWIGINTERN PyObject
*PyTipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11357 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11358 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTipProvider
, SWIG_NewClientData(obj
));
11359 return SWIG_Py_Void();
11362 SWIGINTERN PyObject
*PyTipProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11363 return SWIG_Python_InitShadowInstance(args
);
11366 SWIGINTERN PyObject
*_wrap_ShowTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11367 PyObject
*resultobj
= 0;
11368 wxWindow
*arg1
= (wxWindow
*) 0 ;
11369 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
11370 bool arg3
= (bool) true ;
11378 PyObject
* obj0
= 0 ;
11379 PyObject
* obj1
= 0 ;
11380 PyObject
* obj2
= 0 ;
11381 char * kwnames
[] = {
11382 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
11385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11387 if (!SWIG_IsOK(res1
)) {
11388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ShowTip" "', expected argument " "1"" of type '" "wxWindow *""'");
11390 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11391 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11392 if (!SWIG_IsOK(res2
)) {
11393 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ShowTip" "', expected argument " "2"" of type '" "wxTipProvider *""'");
11395 arg2
= reinterpret_cast< wxTipProvider
* >(argp2
);
11397 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11398 if (!SWIG_IsOK(ecode3
)) {
11399 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ShowTip" "', expected argument " "3"" of type '" "bool""'");
11401 arg3
= static_cast< bool >(val3
);
11404 if (!wxPyCheckForApp()) SWIG_fail
;
11405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11406 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
11407 wxPyEndAllowThreads(__tstate
);
11408 if (PyErr_Occurred()) SWIG_fail
;
11411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11419 SWIGINTERN PyObject
*_wrap_CreateFileTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11420 PyObject
*resultobj
= 0;
11421 wxString
*arg1
= 0 ;
11423 wxTipProvider
*result
= 0 ;
11424 bool temp1
= false ;
11427 PyObject
* obj0
= 0 ;
11428 PyObject
* obj1
= 0 ;
11429 char * kwnames
[] = {
11430 (char *) "filename",(char *) "currentTip", NULL
11433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11435 arg1
= wxString_in_helper(obj0
);
11436 if (arg1
== NULL
) SWIG_fail
;
11439 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
11440 if (!SWIG_IsOK(ecode2
)) {
11441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CreateFileTipProvider" "', expected argument " "2"" of type '" "size_t""'");
11443 arg2
= static_cast< size_t >(val2
);
11445 if (!wxPyCheckForApp()) SWIG_fail
;
11446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11447 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
11448 wxPyEndAllowThreads(__tstate
);
11449 if (PyErr_Occurred()) SWIG_fail
;
11451 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_OWN
| 0 );
11466 SWIGINTERN PyObject
*_wrap_new_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11467 PyObject
*resultobj
= 0;
11468 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
11469 int arg2
= (int) wxID_ANY
;
11470 wxPyTimer
*result
= 0 ;
11475 PyObject
* obj0
= 0 ;
11476 PyObject
* obj1
= 0 ;
11477 char * kwnames
[] = {
11478 (char *) "owner",(char *) "id", NULL
11481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
11484 if (!SWIG_IsOK(res1
)) {
11485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Timer" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
11487 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
11490 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11491 if (!SWIG_IsOK(ecode2
)) {
11492 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Timer" "', expected argument " "2"" of type '" "int""'");
11494 arg2
= static_cast< int >(val2
);
11497 if (!wxPyCheckForApp()) SWIG_fail
;
11498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11499 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
11500 wxPyEndAllowThreads(__tstate
);
11501 if (PyErr_Occurred()) SWIG_fail
;
11503 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_NEW
| 0 );
11510 SWIGINTERN PyObject
*_wrap_delete_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11511 PyObject
*resultobj
= 0;
11512 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11515 PyObject
*swig_obj
[1] ;
11517 if (!args
) SWIG_fail
;
11518 swig_obj
[0] = args
;
11519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_DISOWN
| 0 );
11520 if (!SWIG_IsOK(res1
)) {
11521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Timer" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11523 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11528 wxPyEndAllowThreads(__tstate
);
11529 if (PyErr_Occurred()) SWIG_fail
;
11531 resultobj
= SWIG_Py_Void();
11538 SWIGINTERN PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11539 PyObject
*resultobj
= 0;
11540 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11541 PyObject
*arg2
= (PyObject
*) 0 ;
11542 PyObject
*arg3
= (PyObject
*) 0 ;
11543 int arg4
= (int) 0 ;
11548 PyObject
* obj0
= 0 ;
11549 PyObject
* obj1
= 0 ;
11550 PyObject
* obj2
= 0 ;
11551 PyObject
* obj3
= 0 ;
11552 char * kwnames
[] = {
11553 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
11556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11558 if (!SWIG_IsOK(res1
)) {
11559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11561 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11565 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11566 if (!SWIG_IsOK(ecode4
)) {
11567 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Timer__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
11569 arg4
= static_cast< int >(val4
);
11572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11573 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
11574 wxPyEndAllowThreads(__tstate
);
11575 if (PyErr_Occurred()) SWIG_fail
;
11577 resultobj
= SWIG_Py_Void();
11584 SWIGINTERN PyObject
*_wrap_Timer_SetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11585 PyObject
*resultobj
= 0;
11586 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11587 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11588 int arg3
= (int) wxID_ANY
;
11595 PyObject
* obj0
= 0 ;
11596 PyObject
* obj1
= 0 ;
11597 PyObject
* obj2
= 0 ;
11598 char * kwnames
[] = {
11599 (char *) "self",(char *) "owner",(char *) "id", NULL
11602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11604 if (!SWIG_IsOK(res1
)) {
11605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_SetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11607 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11608 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
11609 if (!SWIG_IsOK(res2
)) {
11610 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Timer_SetOwner" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
11612 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
11614 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11615 if (!SWIG_IsOK(ecode3
)) {
11616 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_SetOwner" "', expected argument " "3"" of type '" "int""'");
11618 arg3
= static_cast< int >(val3
);
11621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11622 (arg1
)->SetOwner(arg2
,arg3
);
11623 wxPyEndAllowThreads(__tstate
);
11624 if (PyErr_Occurred()) SWIG_fail
;
11626 resultobj
= SWIG_Py_Void();
11633 SWIGINTERN PyObject
*_wrap_Timer_GetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11634 PyObject
*resultobj
= 0;
11635 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11636 wxEvtHandler
*result
= 0 ;
11639 PyObject
*swig_obj
[1] ;
11641 if (!args
) SWIG_fail
;
11642 swig_obj
[0] = args
;
11643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11644 if (!SWIG_IsOK(res1
)) {
11645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11647 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11650 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
11651 wxPyEndAllowThreads(__tstate
);
11652 if (PyErr_Occurred()) SWIG_fail
;
11655 resultobj
= wxPyMake_wxObject(result
, 0);
11663 SWIGINTERN PyObject
*_wrap_Timer_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11664 PyObject
*resultobj
= 0;
11665 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11666 int arg2
= (int) -1 ;
11667 bool arg3
= (bool) false ;
11675 PyObject
* obj0
= 0 ;
11676 PyObject
* obj1
= 0 ;
11677 PyObject
* obj2
= 0 ;
11678 char * kwnames
[] = {
11679 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
11682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11684 if (!SWIG_IsOK(res1
)) {
11685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Start" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11687 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11689 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11690 if (!SWIG_IsOK(ecode2
)) {
11691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Timer_Start" "', expected argument " "2"" of type '" "int""'");
11693 arg2
= static_cast< int >(val2
);
11696 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11697 if (!SWIG_IsOK(ecode3
)) {
11698 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_Start" "', expected argument " "3"" of type '" "bool""'");
11700 arg3
= static_cast< bool >(val3
);
11703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11704 result
= (bool)(arg1
)->Start(arg2
,arg3
);
11705 wxPyEndAllowThreads(__tstate
);
11706 if (PyErr_Occurred()) SWIG_fail
;
11709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11717 SWIGINTERN PyObject
*_wrap_Timer_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11718 PyObject
*resultobj
= 0;
11719 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11722 PyObject
*swig_obj
[1] ;
11724 if (!args
) SWIG_fail
;
11725 swig_obj
[0] = args
;
11726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11727 if (!SWIG_IsOK(res1
)) {
11728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Stop" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11730 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11734 wxPyEndAllowThreads(__tstate
);
11735 if (PyErr_Occurred()) SWIG_fail
;
11737 resultobj
= SWIG_Py_Void();
11744 SWIGINTERN PyObject
*_wrap_Timer_Notify(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11745 PyObject
*resultobj
= 0;
11746 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11749 PyObject
*swig_obj
[1] ;
11751 if (!args
) SWIG_fail
;
11752 swig_obj
[0] = args
;
11753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11754 if (!SWIG_IsOK(res1
)) {
11755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Notify" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11757 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11761 wxPyEndAllowThreads(__tstate
);
11762 if (PyErr_Occurred()) SWIG_fail
;
11764 resultobj
= SWIG_Py_Void();
11771 SWIGINTERN PyObject
*_wrap_Timer_IsRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11772 PyObject
*resultobj
= 0;
11773 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11777 PyObject
*swig_obj
[1] ;
11779 if (!args
) SWIG_fail
;
11780 swig_obj
[0] = args
;
11781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11782 if (!SWIG_IsOK(res1
)) {
11783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsRunning" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11785 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11788 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
11789 wxPyEndAllowThreads(__tstate
);
11790 if (PyErr_Occurred()) SWIG_fail
;
11793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11801 SWIGINTERN PyObject
*_wrap_Timer_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11802 PyObject
*resultobj
= 0;
11803 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11807 PyObject
*swig_obj
[1] ;
11809 if (!args
) SWIG_fail
;
11810 swig_obj
[0] = args
;
11811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11812 if (!SWIG_IsOK(res1
)) {
11813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetInterval" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11815 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11818 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
11819 wxPyEndAllowThreads(__tstate
);
11820 if (PyErr_Occurred()) SWIG_fail
;
11822 resultobj
= SWIG_From_int(static_cast< int >(result
));
11829 SWIGINTERN PyObject
*_wrap_Timer_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11830 PyObject
*resultobj
= 0;
11831 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11835 PyObject
*swig_obj
[1] ;
11837 if (!args
) SWIG_fail
;
11838 swig_obj
[0] = args
;
11839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11840 if (!SWIG_IsOK(res1
)) {
11841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetId" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11843 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11846 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
11847 wxPyEndAllowThreads(__tstate
);
11848 if (PyErr_Occurred()) SWIG_fail
;
11850 resultobj
= SWIG_From_int(static_cast< int >(result
));
11857 SWIGINTERN PyObject
*_wrap_Timer_IsOneShot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11858 PyObject
*resultobj
= 0;
11859 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11863 PyObject
*swig_obj
[1] ;
11865 if (!args
) SWIG_fail
;
11866 swig_obj
[0] = args
;
11867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11868 if (!SWIG_IsOK(res1
)) {
11869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsOneShot" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11871 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11874 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
11875 wxPyEndAllowThreads(__tstate
);
11876 if (PyErr_Occurred()) SWIG_fail
;
11879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11887 SWIGINTERN PyObject
*Timer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11889 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11890 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTimer
, SWIG_NewClientData(obj
));
11891 return SWIG_Py_Void();
11894 SWIGINTERN PyObject
*Timer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11895 return SWIG_Python_InitShadowInstance(args
);
11898 SWIGINTERN PyObject
*_wrap_new_TimerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11899 PyObject
*resultobj
= 0;
11900 int arg1
= (int) 0 ;
11901 int arg2
= (int) 0 ;
11902 wxTimerEvent
*result
= 0 ;
11907 PyObject
* obj0
= 0 ;
11908 PyObject
* obj1
= 0 ;
11909 char * kwnames
[] = {
11910 (char *) "timerid",(char *) "interval", NULL
11913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11915 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11916 if (!SWIG_IsOK(ecode1
)) {
11917 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimerEvent" "', expected argument " "1"" of type '" "int""'");
11919 arg1
= static_cast< int >(val1
);
11922 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11923 if (!SWIG_IsOK(ecode2
)) {
11924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerEvent" "', expected argument " "2"" of type '" "int""'");
11926 arg2
= static_cast< int >(val2
);
11929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11930 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
11931 wxPyEndAllowThreads(__tstate
);
11932 if (PyErr_Occurred()) SWIG_fail
;
11934 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_NEW
| 0 );
11941 SWIGINTERN PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11942 PyObject
*resultobj
= 0;
11943 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
11947 PyObject
*swig_obj
[1] ;
11949 if (!args
) SWIG_fail
;
11950 swig_obj
[0] = args
;
11951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerEvent
, 0 | 0 );
11952 if (!SWIG_IsOK(res1
)) {
11953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerEvent_GetInterval" "', expected argument " "1"" of type '" "wxTimerEvent const *""'");
11955 arg1
= reinterpret_cast< wxTimerEvent
* >(argp1
);
11957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11958 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
11959 wxPyEndAllowThreads(__tstate
);
11960 if (PyErr_Occurred()) SWIG_fail
;
11962 resultobj
= SWIG_From_int(static_cast< int >(result
));
11969 SWIGINTERN PyObject
*TimerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11971 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11972 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerEvent
, SWIG_NewClientData(obj
));
11973 return SWIG_Py_Void();
11976 SWIGINTERN PyObject
*TimerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11977 return SWIG_Python_InitShadowInstance(args
);
11980 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
11981 PyObject
*resultobj
= 0;
11982 wxTimer
*arg1
= 0 ;
11983 wxTimerRunner
*result
= 0 ;
11987 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
11988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
11989 if (!SWIG_IsOK(res1
)) {
11990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
11993 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
11995 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
11997 if (!wxPyCheckForApp()) SWIG_fail
;
11998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11999 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
12000 wxPyEndAllowThreads(__tstate
);
12001 if (PyErr_Occurred()) SWIG_fail
;
12003 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
12010 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
12011 PyObject
*resultobj
= 0;
12012 wxTimer
*arg1
= 0 ;
12014 bool arg3
= (bool) false ;
12015 wxTimerRunner
*result
= 0 ;
12023 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
12024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
12025 if (!SWIG_IsOK(res1
)) {
12026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
12029 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
12031 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
12032 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12033 if (!SWIG_IsOK(ecode2
)) {
12034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerRunner" "', expected argument " "2"" of type '" "int""'");
12036 arg2
= static_cast< int >(val2
);
12038 ecode3
= SWIG_AsVal_bool(swig_obj
[2], &val3
);
12039 if (!SWIG_IsOK(ecode3
)) {
12040 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimerRunner" "', expected argument " "3"" of type '" "bool""'");
12042 arg3
= static_cast< bool >(val3
);
12045 if (!wxPyCheckForApp()) SWIG_fail
;
12046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12047 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
12048 wxPyEndAllowThreads(__tstate
);
12049 if (PyErr_Occurred()) SWIG_fail
;
12051 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
12058 SWIGINTERN PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
12062 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TimerRunner",0,3,argv
))) SWIG_fail
;
12065 return _wrap_new_TimerRunner__SWIG_0(self
, argc
, argv
);
12067 if ((argc
>= 2) && (argc
<= 3)) {
12068 return _wrap_new_TimerRunner__SWIG_1(self
, argc
, argv
);
12072 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
12077 SWIGINTERN PyObject
*_wrap_delete_TimerRunner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12078 PyObject
*resultobj
= 0;
12079 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
12082 PyObject
*swig_obj
[1] ;
12084 if (!args
) SWIG_fail
;
12085 swig_obj
[0] = args
;
12086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_DISOWN
| 0 );
12087 if (!SWIG_IsOK(res1
)) {
12088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimerRunner" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
12090 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
12092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12095 wxPyEndAllowThreads(__tstate
);
12096 if (PyErr_Occurred()) SWIG_fail
;
12098 resultobj
= SWIG_Py_Void();
12105 SWIGINTERN PyObject
*_wrap_TimerRunner_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12106 PyObject
*resultobj
= 0;
12107 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
12109 bool arg3
= (bool) false ;
12116 PyObject
* obj0
= 0 ;
12117 PyObject
* obj1
= 0 ;
12118 PyObject
* obj2
= 0 ;
12119 char * kwnames
[] = {
12120 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
12123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimerRunner
, 0 | 0 );
12125 if (!SWIG_IsOK(res1
)) {
12126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerRunner_Start" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
12128 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
12129 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12130 if (!SWIG_IsOK(ecode2
)) {
12131 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimerRunner_Start" "', expected argument " "2"" of type '" "int""'");
12133 arg2
= static_cast< int >(val2
);
12135 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
12136 if (!SWIG_IsOK(ecode3
)) {
12137 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TimerRunner_Start" "', expected argument " "3"" of type '" "bool""'");
12139 arg3
= static_cast< bool >(val3
);
12142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12143 (arg1
)->Start(arg2
,arg3
);
12144 wxPyEndAllowThreads(__tstate
);
12145 if (PyErr_Occurred()) SWIG_fail
;
12147 resultobj
= SWIG_Py_Void();
12154 SWIGINTERN PyObject
*TimerRunner_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12156 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12157 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerRunner
, SWIG_NewClientData(obj
));
12158 return SWIG_Py_Void();
12161 SWIGINTERN PyObject
*TimerRunner_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12162 return SWIG_Python_InitShadowInstance(args
);
12165 SWIGINTERN PyObject
*_wrap_new_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12166 PyObject
*resultobj
= 0;
12167 wxLog
*result
= 0 ;
12169 if (!SWIG_Python_UnpackTuple(args
,"new_Log",0,0,0)) SWIG_fail
;
12171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12172 result
= (wxLog
*)new wxLog();
12173 wxPyEndAllowThreads(__tstate
);
12174 if (PyErr_Occurred()) SWIG_fail
;
12176 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_NEW
| 0 );
12183 SWIGINTERN PyObject
*_wrap_delete_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12184 PyObject
*resultobj
= 0;
12185 wxLog
*arg1
= (wxLog
*) 0 ;
12188 PyObject
*swig_obj
[1] ;
12190 if (!args
) SWIG_fail
;
12191 swig_obj
[0] = args
;
12192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
12193 if (!SWIG_IsOK(res1
)) {
12194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Log" "', expected argument " "1"" of type '" "wxLog *""'");
12196 arg1
= reinterpret_cast< wxLog
* >(argp1
);
12198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12201 wxPyEndAllowThreads(__tstate
);
12202 if (PyErr_Occurred()) SWIG_fail
;
12204 resultobj
= SWIG_Py_Void();
12211 SWIGINTERN PyObject
*_wrap_Log_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12212 PyObject
*resultobj
= 0;
12215 if (!SWIG_Python_UnpackTuple(args
,"Log_IsEnabled",0,0,0)) SWIG_fail
;
12217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12218 result
= (bool)wxLog::IsEnabled();
12219 wxPyEndAllowThreads(__tstate
);
12220 if (PyErr_Occurred()) SWIG_fail
;
12223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12231 SWIGINTERN PyObject
*_wrap_Log_EnableLogging(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12232 PyObject
*resultobj
= 0;
12233 bool arg1
= (bool) true ;
12237 PyObject
* obj0
= 0 ;
12238 char * kwnames
[] = {
12239 (char *) "doIt", NULL
12242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) SWIG_fail
;
12244 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
12245 if (!SWIG_IsOK(ecode1
)) {
12246 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_EnableLogging" "', expected argument " "1"" of type '" "bool""'");
12248 arg1
= static_cast< bool >(val1
);
12251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12252 result
= (bool)wxLog::EnableLogging(arg1
);
12253 wxPyEndAllowThreads(__tstate
);
12254 if (PyErr_Occurred()) SWIG_fail
;
12257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12265 SWIGINTERN PyObject
*_wrap_Log_OnLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12266 PyObject
*resultobj
= 0;
12268 wxChar
*arg2
= (wxChar
*) 0 ;
12270 unsigned long val1
;
12274 unsigned int val3
;
12276 PyObject
* obj0
= 0 ;
12277 PyObject
* obj1
= 0 ;
12278 PyObject
* obj2
= 0 ;
12279 char * kwnames
[] = {
12280 (char *) "level",(char *) "szString",(char *) "t", NULL
12283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12284 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12285 if (!SWIG_IsOK(ecode1
)) {
12286 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_OnLog" "', expected argument " "1"" of type '" "wxLogLevel""'");
12288 arg1
= static_cast< wxLogLevel
>(val1
);
12289 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
12290 if (!SWIG_IsOK(res2
)) {
12291 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Log_OnLog" "', expected argument " "2"" of type '" "wxChar const *""'");
12293 arg2
= reinterpret_cast< wxChar
* >(argp2
);
12294 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
12295 if (!SWIG_IsOK(ecode3
)) {
12296 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Log_OnLog" "', expected argument " "3"" of type '" "time_t""'");
12298 arg3
= static_cast< time_t >(val3
);
12300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12301 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
12302 wxPyEndAllowThreads(__tstate
);
12303 if (PyErr_Occurred()) SWIG_fail
;
12305 resultobj
= SWIG_Py_Void();
12312 SWIGINTERN PyObject
*_wrap_Log_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12313 PyObject
*resultobj
= 0;
12314 wxLog
*arg1
= (wxLog
*) 0 ;
12317 PyObject
*swig_obj
[1] ;
12319 if (!args
) SWIG_fail
;
12320 swig_obj
[0] = args
;
12321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
12322 if (!SWIG_IsOK(res1
)) {
12323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Flush" "', expected argument " "1"" of type '" "wxLog *""'");
12325 arg1
= reinterpret_cast< wxLog
* >(argp1
);
12327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12329 wxPyEndAllowThreads(__tstate
);
12330 if (PyErr_Occurred()) SWIG_fail
;
12332 resultobj
= SWIG_Py_Void();
12339 SWIGINTERN PyObject
*_wrap_Log_FlushActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12340 PyObject
*resultobj
= 0;
12342 if (!SWIG_Python_UnpackTuple(args
,"Log_FlushActive",0,0,0)) SWIG_fail
;
12344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12345 wxLog::FlushActive();
12346 wxPyEndAllowThreads(__tstate
);
12347 if (PyErr_Occurred()) SWIG_fail
;
12349 resultobj
= SWIG_Py_Void();
12356 SWIGINTERN PyObject
*_wrap_Log_GetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12357 PyObject
*resultobj
= 0;
12358 wxLog
*result
= 0 ;
12360 if (!SWIG_Python_UnpackTuple(args
,"Log_GetActiveTarget",0,0,0)) SWIG_fail
;
12362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12363 result
= (wxLog
*)wxLog::GetActiveTarget();
12364 wxPyEndAllowThreads(__tstate
);
12365 if (PyErr_Occurred()) SWIG_fail
;
12367 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
12374 SWIGINTERN PyObject
*_wrap_Log_SetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12375 PyObject
*resultobj
= 0;
12376 wxLog
*arg1
= (wxLog
*) 0 ;
12377 wxLog
*result
= 0 ;
12379 PyObject
* obj0
= 0 ;
12380 char * kwnames
[] = {
12381 (char *) "pLogger", NULL
12384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) SWIG_fail
;
12385 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
12386 if (!SWIG_IsOK(res1
)) {
12387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetActiveTarget" "', expected argument " "1"" of type '" "wxLog *""'");
12390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12391 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
12392 wxPyEndAllowThreads(__tstate
);
12393 if (PyErr_Occurred()) SWIG_fail
;
12395 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_OWN
| 0 );
12402 SWIGINTERN PyObject
*_wrap_Log_Suspend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12403 PyObject
*resultobj
= 0;
12405 if (!SWIG_Python_UnpackTuple(args
,"Log_Suspend",0,0,0)) SWIG_fail
;
12407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12409 wxPyEndAllowThreads(__tstate
);
12410 if (PyErr_Occurred()) SWIG_fail
;
12412 resultobj
= SWIG_Py_Void();
12419 SWIGINTERN PyObject
*_wrap_Log_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12420 PyObject
*resultobj
= 0;
12422 if (!SWIG_Python_UnpackTuple(args
,"Log_Resume",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_SetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12437 PyObject
*resultobj
= 0;
12438 bool arg1
= (bool) true ;
12441 PyObject
* obj0
= 0 ;
12442 char * kwnames
[] = {
12443 (char *) "bVerbose", NULL
12446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) SWIG_fail
;
12448 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
12449 if (!SWIG_IsOK(ecode1
)) {
12450 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetVerbose" "', expected argument " "1"" of type '" "bool""'");
12452 arg1
= static_cast< bool >(val1
);
12455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12456 wxLog::SetVerbose(arg1
);
12457 wxPyEndAllowThreads(__tstate
);
12458 if (PyErr_Occurred()) SWIG_fail
;
12460 resultobj
= SWIG_Py_Void();
12467 SWIGINTERN PyObject
*_wrap_Log_SetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12468 PyObject
*resultobj
= 0;
12470 unsigned long val1
;
12472 PyObject
* obj0
= 0 ;
12473 char * kwnames
[] = {
12474 (char *) "logLevel", NULL
12477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) SWIG_fail
;
12478 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12479 if (!SWIG_IsOK(ecode1
)) {
12480 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetLogLevel" "', expected argument " "1"" of type '" "wxLogLevel""'");
12482 arg1
= static_cast< wxLogLevel
>(val1
);
12484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12485 wxLog::SetLogLevel(arg1
);
12486 wxPyEndAllowThreads(__tstate
);
12487 if (PyErr_Occurred()) SWIG_fail
;
12489 resultobj
= SWIG_Py_Void();
12496 SWIGINTERN PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12497 PyObject
*resultobj
= 0;
12499 if (!SWIG_Python_UnpackTuple(args
,"Log_DontCreateOnDemand",0,0,0)) SWIG_fail
;
12501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12502 wxLog::DontCreateOnDemand();
12503 wxPyEndAllowThreads(__tstate
);
12504 if (PyErr_Occurred()) SWIG_fail
;
12506 resultobj
= SWIG_Py_Void();
12513 SWIGINTERN PyObject
*_wrap_Log_SetRepetitionCounting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12514 PyObject
*resultobj
= 0;
12515 bool arg1
= (bool) true ;
12518 PyObject
* obj0
= 0 ;
12519 char * kwnames
[] = {
12520 (char *) "bRepetCounting", NULL
12523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetRepetitionCounting",kwnames
,&obj0
)) SWIG_fail
;
12525 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
12526 if (!SWIG_IsOK(ecode1
)) {
12527 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetRepetitionCounting" "', expected argument " "1"" of type '" "bool""'");
12529 arg1
= static_cast< bool >(val1
);
12532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12533 wxLog::SetRepetitionCounting(arg1
);
12534 wxPyEndAllowThreads(__tstate
);
12535 if (PyErr_Occurred()) SWIG_fail
;
12537 resultobj
= SWIG_Py_Void();
12544 SWIGINTERN PyObject
*_wrap_Log_GetRepetitionCounting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12545 PyObject
*resultobj
= 0;
12548 if (!SWIG_Python_UnpackTuple(args
,"Log_GetRepetitionCounting",0,0,0)) SWIG_fail
;
12550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12551 result
= (bool)wxLog::GetRepetitionCounting();
12552 wxPyEndAllowThreads(__tstate
);
12553 if (PyErr_Occurred()) SWIG_fail
;
12556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12564 SWIGINTERN PyObject
*_wrap_Log_SetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12565 PyObject
*resultobj
= 0;
12567 unsigned long val1
;
12569 PyObject
* obj0
= 0 ;
12570 char * kwnames
[] = {
12571 (char *) "ulMask", NULL
12574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12575 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12576 if (!SWIG_IsOK(ecode1
)) {
12577 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetTraceMask" "', expected argument " "1"" of type '" "wxTraceMask""'");
12579 arg1
= static_cast< wxTraceMask
>(val1
);
12581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12582 wxLog::SetTraceMask(arg1
);
12583 wxPyEndAllowThreads(__tstate
);
12584 if (PyErr_Occurred()) SWIG_fail
;
12586 resultobj
= SWIG_Py_Void();
12593 SWIGINTERN PyObject
*_wrap_Log_AddTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12594 PyObject
*resultobj
= 0;
12595 wxString
*arg1
= 0 ;
12596 bool temp1
= false ;
12597 PyObject
* obj0
= 0 ;
12598 char * kwnames
[] = {
12599 (char *) "str", NULL
12602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12604 arg1
= wxString_in_helper(obj0
);
12605 if (arg1
== NULL
) SWIG_fail
;
12609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12610 wxLog::AddTraceMask((wxString
const &)*arg1
);
12611 wxPyEndAllowThreads(__tstate
);
12612 if (PyErr_Occurred()) SWIG_fail
;
12614 resultobj
= SWIG_Py_Void();
12629 SWIGINTERN PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12630 PyObject
*resultobj
= 0;
12631 wxString
*arg1
= 0 ;
12632 bool temp1
= false ;
12633 PyObject
* obj0
= 0 ;
12634 char * kwnames
[] = {
12635 (char *) "str", NULL
12638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12640 arg1
= wxString_in_helper(obj0
);
12641 if (arg1
== NULL
) SWIG_fail
;
12645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12646 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
12647 wxPyEndAllowThreads(__tstate
);
12648 if (PyErr_Occurred()) SWIG_fail
;
12650 resultobj
= SWIG_Py_Void();
12665 SWIGINTERN PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12666 PyObject
*resultobj
= 0;
12668 if (!SWIG_Python_UnpackTuple(args
,"Log_ClearTraceMasks",0,0,0)) SWIG_fail
;
12670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12671 wxLog::ClearTraceMasks();
12672 wxPyEndAllowThreads(__tstate
);
12673 if (PyErr_Occurred()) SWIG_fail
;
12675 resultobj
= SWIG_Py_Void();
12682 SWIGINTERN PyObject
*_wrap_Log_GetTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12683 PyObject
*resultobj
= 0;
12684 wxArrayString
*result
= 0 ;
12686 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMasks",0,0,0)) SWIG_fail
;
12688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12690 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
12691 result
= (wxArrayString
*) &_result_ref
;
12693 wxPyEndAllowThreads(__tstate
);
12694 if (PyErr_Occurred()) SWIG_fail
;
12697 resultobj
= wxArrayString2PyList_helper(*result
);
12705 SWIGINTERN PyObject
*_wrap_Log_SetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12706 PyObject
*resultobj
= 0;
12707 wxChar
*arg1
= (wxChar
*) 0 ;
12710 PyObject
* obj0
= 0 ;
12711 char * kwnames
[] = {
12712 (char *) "ts", NULL
12715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) SWIG_fail
;
12716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
12717 if (!SWIG_IsOK(res1
)) {
12718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetTimestamp" "', expected argument " "1"" of type '" "wxChar const *""'");
12720 arg1
= reinterpret_cast< wxChar
* >(argp1
);
12722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12723 wxLog::SetTimestamp((wxChar
const *)arg1
);
12724 wxPyEndAllowThreads(__tstate
);
12725 if (PyErr_Occurred()) SWIG_fail
;
12727 resultobj
= SWIG_Py_Void();
12734 SWIGINTERN PyObject
*_wrap_Log_GetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12735 PyObject
*resultobj
= 0;
12738 if (!SWIG_Python_UnpackTuple(args
,"Log_GetVerbose",0,0,0)) SWIG_fail
;
12740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12741 result
= (bool)wxLog::GetVerbose();
12742 wxPyEndAllowThreads(__tstate
);
12743 if (PyErr_Occurred()) SWIG_fail
;
12746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12754 SWIGINTERN PyObject
*_wrap_Log_GetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12755 PyObject
*resultobj
= 0;
12756 wxTraceMask result
;
12758 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMask",0,0,0)) SWIG_fail
;
12760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12761 result
= (wxTraceMask
)wxLog::GetTraceMask();
12762 wxPyEndAllowThreads(__tstate
);
12763 if (PyErr_Occurred()) SWIG_fail
;
12765 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12772 SWIGINTERN PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12773 PyObject
*resultobj
= 0;
12774 wxChar
*arg1
= (wxChar
*) 0 ;
12778 PyObject
* obj0
= 0 ;
12779 char * kwnames
[] = {
12780 (char *) "mask", NULL
12783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
12785 if (!SWIG_IsOK(res1
)) {
12786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_IsAllowedTraceMask" "', expected argument " "1"" of type '" "wxChar const *""'");
12788 arg1
= reinterpret_cast< wxChar
* >(argp1
);
12790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12791 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
12792 wxPyEndAllowThreads(__tstate
);
12793 if (PyErr_Occurred()) SWIG_fail
;
12796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12804 SWIGINTERN PyObject
*_wrap_Log_GetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12805 PyObject
*resultobj
= 0;
12808 if (!SWIG_Python_UnpackTuple(args
,"Log_GetLogLevel",0,0,0)) SWIG_fail
;
12810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12811 result
= (wxLogLevel
)wxLog::GetLogLevel();
12812 wxPyEndAllowThreads(__tstate
);
12813 if (PyErr_Occurred()) SWIG_fail
;
12815 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12822 SWIGINTERN PyObject
*_wrap_Log_GetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12823 PyObject
*resultobj
= 0;
12824 wxChar
*result
= 0 ;
12826 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTimestamp",0,0,0)) SWIG_fail
;
12828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12829 result
= (wxChar
*)wxLog::GetTimestamp();
12830 wxPyEndAllowThreads(__tstate
);
12831 if (PyErr_Occurred()) SWIG_fail
;
12833 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
12840 SWIGINTERN PyObject
*_wrap_Log_TimeStamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12841 PyObject
*resultobj
= 0;
12844 if (!SWIG_Python_UnpackTuple(args
,"Log_TimeStamp",0,0,0)) SWIG_fail
;
12846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12847 result
= wxLog_TimeStamp();
12848 wxPyEndAllowThreads(__tstate
);
12849 if (PyErr_Occurred()) SWIG_fail
;
12853 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12855 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12864 SWIGINTERN PyObject
*_wrap_Log_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12865 PyObject
*resultobj
= 0;
12866 wxLog
*arg1
= (wxLog
*) 0 ;
12869 PyObject
*swig_obj
[1] ;
12871 if (!args
) SWIG_fail
;
12872 swig_obj
[0] = args
;
12873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
12874 if (!SWIG_IsOK(res1
)) {
12875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Destroy" "', expected argument " "1"" of type '" "wxLog *""'");
12877 arg1
= reinterpret_cast< wxLog
* >(argp1
);
12879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12880 wxLog_Destroy(arg1
);
12881 wxPyEndAllowThreads(__tstate
);
12882 if (PyErr_Occurred()) SWIG_fail
;
12884 resultobj
= SWIG_Py_Void();
12891 SWIGINTERN PyObject
*Log_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12893 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12894 SWIG_TypeNewClientData(SWIGTYPE_p_wxLog
, SWIG_NewClientData(obj
));
12895 return SWIG_Py_Void();
12898 SWIGINTERN PyObject
*Log_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12899 return SWIG_Python_InitShadowInstance(args
);
12902 SWIGINTERN PyObject
*_wrap_new_LogStderr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12903 PyObject
*resultobj
= 0;
12904 wxLogStderr
*result
= 0 ;
12906 if (!SWIG_Python_UnpackTuple(args
,"new_LogStderr",0,0,0)) SWIG_fail
;
12908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12909 result
= (wxLogStderr
*)new wxLogStderr();
12910 wxPyEndAllowThreads(__tstate
);
12911 if (PyErr_Occurred()) SWIG_fail
;
12913 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogStderr
, SWIG_POINTER_NEW
| 0 );
12920 SWIGINTERN PyObject
*LogStderr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12922 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12923 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogStderr
, SWIG_NewClientData(obj
));
12924 return SWIG_Py_Void();
12927 SWIGINTERN PyObject
*LogStderr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12928 return SWIG_Python_InitShadowInstance(args
);
12931 SWIGINTERN PyObject
*_wrap_new_LogTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12932 PyObject
*resultobj
= 0;
12933 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12934 wxLogTextCtrl
*result
= 0 ;
12937 PyObject
* obj0
= 0 ;
12938 char * kwnames
[] = {
12939 (char *) "pTextCtrl", NULL
12942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) SWIG_fail
;
12943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12944 if (!SWIG_IsOK(res1
)) {
12945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogTextCtrl" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12947 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12950 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
12951 wxPyEndAllowThreads(__tstate
);
12952 if (PyErr_Occurred()) SWIG_fail
;
12954 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogTextCtrl
, SWIG_POINTER_NEW
| 0 );
12961 SWIGINTERN PyObject
*LogTextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12963 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12964 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogTextCtrl
, SWIG_NewClientData(obj
));
12965 return SWIG_Py_Void();
12968 SWIGINTERN PyObject
*LogTextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12969 return SWIG_Python_InitShadowInstance(args
);
12972 SWIGINTERN PyObject
*_wrap_new_LogGui(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12973 PyObject
*resultobj
= 0;
12974 wxLogGui
*result
= 0 ;
12976 if (!SWIG_Python_UnpackTuple(args
,"new_LogGui",0,0,0)) SWIG_fail
;
12978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12979 result
= (wxLogGui
*)new wxLogGui();
12980 wxPyEndAllowThreads(__tstate
);
12981 if (PyErr_Occurred()) SWIG_fail
;
12983 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogGui
, SWIG_POINTER_NEW
| 0 );
12990 SWIGINTERN PyObject
*LogGui_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12992 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12993 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogGui
, SWIG_NewClientData(obj
));
12994 return SWIG_Py_Void();
12997 SWIGINTERN PyObject
*LogGui_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12998 return SWIG_Python_InitShadowInstance(args
);
13001 SWIGINTERN PyObject
*_wrap_new_LogWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13002 PyObject
*resultobj
= 0;
13003 wxFrame
*arg1
= (wxFrame
*) 0 ;
13004 wxString
*arg2
= 0 ;
13005 bool arg3
= (bool) true ;
13006 bool arg4
= (bool) true ;
13007 wxLogWindow
*result
= 0 ;
13010 bool temp2
= false ;
13015 PyObject
* obj0
= 0 ;
13016 PyObject
* obj1
= 0 ;
13017 PyObject
* obj2
= 0 ;
13018 PyObject
* obj3
= 0 ;
13019 char * kwnames
[] = {
13020 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
13023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13025 if (!SWIG_IsOK(res1
)) {
13026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogWindow" "', expected argument " "1"" of type '" "wxFrame *""'");
13028 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
13030 arg2
= wxString_in_helper(obj1
);
13031 if (arg2
== NULL
) SWIG_fail
;
13035 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13036 if (!SWIG_IsOK(ecode3
)) {
13037 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_LogWindow" "', expected argument " "3"" of type '" "bool""'");
13039 arg3
= static_cast< bool >(val3
);
13042 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13043 if (!SWIG_IsOK(ecode4
)) {
13044 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_LogWindow" "', expected argument " "4"" of type '" "bool""'");
13046 arg4
= static_cast< bool >(val4
);
13049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13050 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13051 wxPyEndAllowThreads(__tstate
);
13052 if (PyErr_Occurred()) SWIG_fail
;
13054 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_NEW
| 0 );
13069 SWIGINTERN PyObject
*_wrap_LogWindow_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13070 PyObject
*resultobj
= 0;
13071 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13072 bool arg2
= (bool) true ;
13077 PyObject
* obj0
= 0 ;
13078 PyObject
* obj1
= 0 ;
13079 char * kwnames
[] = {
13080 (char *) "self",(char *) "bShow", NULL
13083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13085 if (!SWIG_IsOK(res1
)) {
13086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_Show" "', expected argument " "1"" of type '" "wxLogWindow *""'");
13088 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13090 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13091 if (!SWIG_IsOK(ecode2
)) {
13092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_Show" "', expected argument " "2"" of type '" "bool""'");
13094 arg2
= static_cast< bool >(val2
);
13097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13098 (arg1
)->Show(arg2
);
13099 wxPyEndAllowThreads(__tstate
);
13100 if (PyErr_Occurred()) SWIG_fail
;
13102 resultobj
= SWIG_Py_Void();
13109 SWIGINTERN PyObject
*_wrap_LogWindow_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13110 PyObject
*resultobj
= 0;
13111 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13112 wxFrame
*result
= 0 ;
13115 PyObject
*swig_obj
[1] ;
13117 if (!args
) SWIG_fail
;
13118 swig_obj
[0] = args
;
13119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13120 if (!SWIG_IsOK(res1
)) {
13121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetFrame" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
13123 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13126 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
13127 wxPyEndAllowThreads(__tstate
);
13128 if (PyErr_Occurred()) SWIG_fail
;
13131 resultobj
= wxPyMake_wxObject(result
, (bool)0);
13139 SWIGINTERN PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13140 PyObject
*resultobj
= 0;
13141 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13142 wxLog
*result
= 0 ;
13145 PyObject
*swig_obj
[1] ;
13147 if (!args
) SWIG_fail
;
13148 swig_obj
[0] = args
;
13149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13150 if (!SWIG_IsOK(res1
)) {
13151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetOldLog" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
13153 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13156 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
13157 wxPyEndAllowThreads(__tstate
);
13158 if (PyErr_Occurred()) SWIG_fail
;
13160 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
13167 SWIGINTERN PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13168 PyObject
*resultobj
= 0;
13169 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13173 PyObject
*swig_obj
[1] ;
13175 if (!args
) SWIG_fail
;
13176 swig_obj
[0] = args
;
13177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13178 if (!SWIG_IsOK(res1
)) {
13179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
13181 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13184 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
13185 wxPyEndAllowThreads(__tstate
);
13186 if (PyErr_Occurred()) SWIG_fail
;
13189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13197 SWIGINTERN PyObject
*_wrap_LogWindow_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13198 PyObject
*resultobj
= 0;
13199 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13205 PyObject
* obj0
= 0 ;
13206 PyObject
* obj1
= 0 ;
13207 char * kwnames
[] = {
13208 (char *) "self",(char *) "bDoPass", NULL
13211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13213 if (!SWIG_IsOK(res1
)) {
13214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_PassMessages" "', expected argument " "1"" of type '" "wxLogWindow *""'");
13216 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13217 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13218 if (!SWIG_IsOK(ecode2
)) {
13219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_PassMessages" "', expected argument " "2"" of type '" "bool""'");
13221 arg2
= static_cast< bool >(val2
);
13223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13224 (arg1
)->PassMessages(arg2
);
13225 wxPyEndAllowThreads(__tstate
);
13226 if (PyErr_Occurred()) SWIG_fail
;
13228 resultobj
= SWIG_Py_Void();
13235 SWIGINTERN PyObject
*LogWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13237 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13238 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogWindow
, SWIG_NewClientData(obj
));
13239 return SWIG_Py_Void();
13242 SWIGINTERN PyObject
*LogWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13243 return SWIG_Python_InitShadowInstance(args
);
13246 SWIGINTERN PyObject
*_wrap_new_LogChain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13247 PyObject
*resultobj
= 0;
13248 wxLog
*arg1
= (wxLog
*) 0 ;
13249 wxLogChain
*result
= 0 ;
13252 PyObject
* obj0
= 0 ;
13253 char * kwnames
[] = {
13254 (char *) "logger", NULL
13257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) SWIG_fail
;
13258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
13259 if (!SWIG_IsOK(res1
)) {
13260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogChain" "', expected argument " "1"" of type '" "wxLog *""'");
13262 arg1
= reinterpret_cast< wxLog
* >(argp1
);
13264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13265 result
= (wxLogChain
*)new wxLogChain(arg1
);
13266 wxPyEndAllowThreads(__tstate
);
13267 if (PyErr_Occurred()) SWIG_fail
;
13269 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogChain
, SWIG_POINTER_NEW
| 0 );
13276 SWIGINTERN PyObject
*_wrap_LogChain_SetLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13277 PyObject
*resultobj
= 0;
13278 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13279 wxLog
*arg2
= (wxLog
*) 0 ;
13284 PyObject
* obj0
= 0 ;
13285 PyObject
* obj1
= 0 ;
13286 char * kwnames
[] = {
13287 (char *) "self",(char *) "logger", NULL
13290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13292 if (!SWIG_IsOK(res1
)) {
13293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_SetLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
13295 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13296 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxLog
, 0 | 0 );
13297 if (!SWIG_IsOK(res2
)) {
13298 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LogChain_SetLog" "', expected argument " "2"" of type '" "wxLog *""'");
13300 arg2
= reinterpret_cast< wxLog
* >(argp2
);
13302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13303 (arg1
)->SetLog(arg2
);
13304 wxPyEndAllowThreads(__tstate
);
13305 if (PyErr_Occurred()) SWIG_fail
;
13307 resultobj
= SWIG_Py_Void();
13314 SWIGINTERN PyObject
*_wrap_LogChain_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13315 PyObject
*resultobj
= 0;
13316 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13322 PyObject
* obj0
= 0 ;
13323 PyObject
* obj1
= 0 ;
13324 char * kwnames
[] = {
13325 (char *) "self",(char *) "bDoPass", NULL
13328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13330 if (!SWIG_IsOK(res1
)) {
13331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_PassMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
13333 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13334 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13335 if (!SWIG_IsOK(ecode2
)) {
13336 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogChain_PassMessages" "', expected argument " "2"" of type '" "bool""'");
13338 arg2
= static_cast< bool >(val2
);
13340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13341 (arg1
)->PassMessages(arg2
);
13342 wxPyEndAllowThreads(__tstate
);
13343 if (PyErr_Occurred()) SWIG_fail
;
13345 resultobj
= SWIG_Py_Void();
13352 SWIGINTERN PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13353 PyObject
*resultobj
= 0;
13354 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13358 PyObject
*swig_obj
[1] ;
13360 if (!args
) SWIG_fail
;
13361 swig_obj
[0] = args
;
13362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13363 if (!SWIG_IsOK(res1
)) {
13364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
13366 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13369 result
= (bool)(arg1
)->IsPassingMessages();
13370 wxPyEndAllowThreads(__tstate
);
13371 if (PyErr_Occurred()) SWIG_fail
;
13374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13382 SWIGINTERN PyObject
*_wrap_LogChain_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13383 PyObject
*resultobj
= 0;
13384 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13385 wxLog
*result
= 0 ;
13388 PyObject
*swig_obj
[1] ;
13390 if (!args
) SWIG_fail
;
13391 swig_obj
[0] = args
;
13392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13393 if (!SWIG_IsOK(res1
)) {
13394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_GetOldLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
13396 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13399 result
= (wxLog
*)(arg1
)->GetOldLog();
13400 wxPyEndAllowThreads(__tstate
);
13401 if (PyErr_Occurred()) SWIG_fail
;
13403 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
13410 SWIGINTERN PyObject
*LogChain_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13412 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13413 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogChain
, SWIG_NewClientData(obj
));
13414 return SWIG_Py_Void();
13417 SWIGINTERN PyObject
*LogChain_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13418 return SWIG_Python_InitShadowInstance(args
);
13421 SWIGINTERN PyObject
*_wrap_new_LogBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13422 PyObject
*resultobj
= 0;
13423 wxLogBuffer
*result
= 0 ;
13425 if (!SWIG_Python_UnpackTuple(args
,"new_LogBuffer",0,0,0)) SWIG_fail
;
13427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13428 result
= (wxLogBuffer
*)new wxLogBuffer();
13429 wxPyEndAllowThreads(__tstate
);
13430 if (PyErr_Occurred()) SWIG_fail
;
13432 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_NEW
| 0 );
13439 SWIGINTERN PyObject
*_wrap_LogBuffer_GetBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13440 PyObject
*resultobj
= 0;
13441 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
13442 wxString
*result
= 0 ;
13445 PyObject
*swig_obj
[1] ;
13447 if (!args
) SWIG_fail
;
13448 swig_obj
[0] = args
;
13449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogBuffer
, 0 | 0 );
13450 if (!SWIG_IsOK(res1
)) {
13451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogBuffer_GetBuffer" "', expected argument " "1"" of type '" "wxLogBuffer const *""'");
13453 arg1
= reinterpret_cast< wxLogBuffer
* >(argp1
);
13455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13457 wxString
const &_result_ref
= ((wxLogBuffer
const *)arg1
)->GetBuffer();
13458 result
= (wxString
*) &_result_ref
;
13460 wxPyEndAllowThreads(__tstate
);
13461 if (PyErr_Occurred()) SWIG_fail
;
13465 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13467 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13476 SWIGINTERN PyObject
*LogBuffer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13478 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13479 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogBuffer
, SWIG_NewClientData(obj
));
13480 return SWIG_Py_Void();
13483 SWIGINTERN PyObject
*LogBuffer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13484 return SWIG_Python_InitShadowInstance(args
);
13487 SWIGINTERN PyObject
*_wrap_SysErrorCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13488 PyObject
*resultobj
= 0;
13489 unsigned long result
;
13491 if (!SWIG_Python_UnpackTuple(args
,"SysErrorCode",0,0,0)) SWIG_fail
;
13493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13494 result
= (unsigned long)wxSysErrorCode();
13495 wxPyEndAllowThreads(__tstate
);
13496 if (PyErr_Occurred()) SWIG_fail
;
13498 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
13505 SWIGINTERN PyObject
*_wrap_SysErrorMsg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13506 PyObject
*resultobj
= 0;
13507 unsigned long arg1
= (unsigned long) 0 ;
13509 unsigned long val1
;
13511 PyObject
* obj0
= 0 ;
13512 char * kwnames
[] = {
13513 (char *) "nErrCode", NULL
13516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) SWIG_fail
;
13518 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
13519 if (!SWIG_IsOK(ecode1
)) {
13520 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SysErrorMsg" "', expected argument " "1"" of type '" "unsigned long""'");
13522 arg1
= static_cast< unsigned long >(val1
);
13525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13526 result
= wxSysErrorMsg(arg1
);
13527 wxPyEndAllowThreads(__tstate
);
13528 if (PyErr_Occurred()) SWIG_fail
;
13532 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13534 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13543 SWIGINTERN PyObject
*_wrap_LogFatalError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13544 PyObject
*resultobj
= 0;
13545 wxString
*arg1
= 0 ;
13546 bool temp1
= false ;
13547 PyObject
* obj0
= 0 ;
13548 char * kwnames
[] = {
13549 (char *) "msg", NULL
13552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) SWIG_fail
;
13554 arg1
= wxString_in_helper(obj0
);
13555 if (arg1
== NULL
) SWIG_fail
;
13559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13560 wxPyLogFatalError((wxString
const &)*arg1
);
13561 wxPyEndAllowThreads(__tstate
);
13562 if (PyErr_Occurred()) SWIG_fail
;
13564 resultobj
= SWIG_Py_Void();
13579 SWIGINTERN PyObject
*_wrap_LogError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13580 PyObject
*resultobj
= 0;
13581 wxString
*arg1
= 0 ;
13582 bool temp1
= false ;
13583 PyObject
* obj0
= 0 ;
13584 char * kwnames
[] = {
13585 (char *) "msg", NULL
13588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) SWIG_fail
;
13590 arg1
= wxString_in_helper(obj0
);
13591 if (arg1
== NULL
) SWIG_fail
;
13595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13596 wxPyLogError((wxString
const &)*arg1
);
13597 wxPyEndAllowThreads(__tstate
);
13598 if (PyErr_Occurred()) SWIG_fail
;
13600 resultobj
= SWIG_Py_Void();
13615 SWIGINTERN PyObject
*_wrap_LogWarning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13616 PyObject
*resultobj
= 0;
13617 wxString
*arg1
= 0 ;
13618 bool temp1
= false ;
13619 PyObject
* obj0
= 0 ;
13620 char * kwnames
[] = {
13621 (char *) "msg", NULL
13624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) SWIG_fail
;
13626 arg1
= wxString_in_helper(obj0
);
13627 if (arg1
== NULL
) SWIG_fail
;
13631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13632 wxPyLogWarning((wxString
const &)*arg1
);
13633 wxPyEndAllowThreads(__tstate
);
13634 if (PyErr_Occurred()) SWIG_fail
;
13636 resultobj
= SWIG_Py_Void();
13651 SWIGINTERN PyObject
*_wrap_LogMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13652 PyObject
*resultobj
= 0;
13653 wxString
*arg1
= 0 ;
13654 bool temp1
= false ;
13655 PyObject
* obj0
= 0 ;
13656 char * kwnames
[] = {
13657 (char *) "msg", NULL
13660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) SWIG_fail
;
13662 arg1
= wxString_in_helper(obj0
);
13663 if (arg1
== NULL
) SWIG_fail
;
13667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13668 wxPyLogMessage((wxString
const &)*arg1
);
13669 wxPyEndAllowThreads(__tstate
);
13670 if (PyErr_Occurred()) SWIG_fail
;
13672 resultobj
= SWIG_Py_Void();
13687 SWIGINTERN PyObject
*_wrap_LogInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13688 PyObject
*resultobj
= 0;
13689 wxString
*arg1
= 0 ;
13690 bool temp1
= false ;
13691 PyObject
* obj0
= 0 ;
13692 char * kwnames
[] = {
13693 (char *) "msg", NULL
13696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) SWIG_fail
;
13698 arg1
= wxString_in_helper(obj0
);
13699 if (arg1
== NULL
) SWIG_fail
;
13703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13704 wxPyLogInfo((wxString
const &)*arg1
);
13705 wxPyEndAllowThreads(__tstate
);
13706 if (PyErr_Occurred()) SWIG_fail
;
13708 resultobj
= SWIG_Py_Void();
13723 SWIGINTERN PyObject
*_wrap_LogDebug(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13724 PyObject
*resultobj
= 0;
13725 wxString
*arg1
= 0 ;
13726 bool temp1
= false ;
13727 PyObject
* obj0
= 0 ;
13728 char * kwnames
[] = {
13729 (char *) "msg", NULL
13732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) SWIG_fail
;
13734 arg1
= wxString_in_helper(obj0
);
13735 if (arg1
== NULL
) SWIG_fail
;
13739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13740 wxPyLogDebug((wxString
const &)*arg1
);
13741 wxPyEndAllowThreads(__tstate
);
13742 if (PyErr_Occurred()) SWIG_fail
;
13744 resultobj
= SWIG_Py_Void();
13759 SWIGINTERN PyObject
*_wrap_LogVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13760 PyObject
*resultobj
= 0;
13761 wxString
*arg1
= 0 ;
13762 bool temp1
= false ;
13763 PyObject
* obj0
= 0 ;
13764 char * kwnames
[] = {
13765 (char *) "msg", NULL
13768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) SWIG_fail
;
13770 arg1
= wxString_in_helper(obj0
);
13771 if (arg1
== NULL
) SWIG_fail
;
13775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13776 wxPyLogVerbose((wxString
const &)*arg1
);
13777 wxPyEndAllowThreads(__tstate
);
13778 if (PyErr_Occurred()) SWIG_fail
;
13780 resultobj
= SWIG_Py_Void();
13795 SWIGINTERN PyObject
*_wrap_LogStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13796 PyObject
*resultobj
= 0;
13797 wxString
*arg1
= 0 ;
13798 bool temp1
= false ;
13799 PyObject
* obj0
= 0 ;
13800 char * kwnames
[] = {
13801 (char *) "msg", NULL
13804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) SWIG_fail
;
13806 arg1
= wxString_in_helper(obj0
);
13807 if (arg1
== NULL
) SWIG_fail
;
13811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13812 wxPyLogStatus((wxString
const &)*arg1
);
13813 wxPyEndAllowThreads(__tstate
);
13814 if (PyErr_Occurred()) SWIG_fail
;
13816 resultobj
= SWIG_Py_Void();
13831 SWIGINTERN PyObject
*_wrap_LogStatusFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13832 PyObject
*resultobj
= 0;
13833 wxFrame
*arg1
= (wxFrame
*) 0 ;
13834 wxString
*arg2
= 0 ;
13837 bool temp2
= false ;
13838 PyObject
* obj0
= 0 ;
13839 PyObject
* obj1
= 0 ;
13840 char * kwnames
[] = {
13841 (char *) "pFrame",(char *) "msg", NULL
13844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13846 if (!SWIG_IsOK(res1
)) {
13847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogStatusFrame" "', expected argument " "1"" of type '" "wxFrame *""'");
13849 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
13851 arg2
= wxString_in_helper(obj1
);
13852 if (arg2
== NULL
) SWIG_fail
;
13856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13857 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
13858 wxPyEndAllowThreads(__tstate
);
13859 if (PyErr_Occurred()) SWIG_fail
;
13861 resultobj
= SWIG_Py_Void();
13876 SWIGINTERN PyObject
*_wrap_LogSysError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13877 PyObject
*resultobj
= 0;
13878 wxString
*arg1
= 0 ;
13879 bool temp1
= false ;
13880 PyObject
* obj0
= 0 ;
13881 char * kwnames
[] = {
13882 (char *) "msg", NULL
13885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) SWIG_fail
;
13887 arg1
= wxString_in_helper(obj0
);
13888 if (arg1
== NULL
) SWIG_fail
;
13892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13893 wxPyLogSysError((wxString
const &)*arg1
);
13894 wxPyEndAllowThreads(__tstate
);
13895 if (PyErr_Occurred()) SWIG_fail
;
13897 resultobj
= SWIG_Py_Void();
13912 SWIGINTERN PyObject
*_wrap_LogGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13913 PyObject
*resultobj
= 0;
13914 unsigned long arg1
;
13915 wxString
*arg2
= 0 ;
13916 unsigned long val1
;
13918 bool temp2
= false ;
13919 PyObject
* obj0
= 0 ;
13920 PyObject
* obj1
= 0 ;
13921 char * kwnames
[] = {
13922 (char *) "level",(char *) "msg", NULL
13925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13926 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
13927 if (!SWIG_IsOK(ecode1
)) {
13928 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogGeneric" "', expected argument " "1"" of type '" "unsigned long""'");
13930 arg1
= static_cast< unsigned long >(val1
);
13932 arg2
= wxString_in_helper(obj1
);
13933 if (arg2
== NULL
) SWIG_fail
;
13937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13938 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
13939 wxPyEndAllowThreads(__tstate
);
13940 if (PyErr_Occurred()) SWIG_fail
;
13942 resultobj
= SWIG_Py_Void();
13957 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
13958 PyObject
*resultobj
= 0;
13959 unsigned long arg1
;
13960 wxString
*arg2
= 0 ;
13961 unsigned long val1
;
13963 bool temp2
= false ;
13965 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
13966 ecode1
= SWIG_AsVal_unsigned_SS_long(swig_obj
[0], &val1
);
13967 if (!SWIG_IsOK(ecode1
)) {
13968 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogTrace" "', expected argument " "1"" of type '" "unsigned long""'");
13970 arg1
= static_cast< unsigned long >(val1
);
13972 arg2
= wxString_in_helper(swig_obj
[1]);
13973 if (arg2
== NULL
) SWIG_fail
;
13977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13978 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
13979 wxPyEndAllowThreads(__tstate
);
13980 if (PyErr_Occurred()) SWIG_fail
;
13982 resultobj
= SWIG_Py_Void();
13997 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
13998 PyObject
*resultobj
= 0;
13999 wxString
*arg1
= 0 ;
14000 wxString
*arg2
= 0 ;
14001 bool temp1
= false ;
14002 bool temp2
= false ;
14004 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
14006 arg1
= wxString_in_helper(swig_obj
[0]);
14007 if (arg1
== NULL
) SWIG_fail
;
14011 arg2
= wxString_in_helper(swig_obj
[1]);
14012 if (arg2
== NULL
) SWIG_fail
;
14016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14017 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
14018 wxPyEndAllowThreads(__tstate
);
14019 if (PyErr_Occurred()) SWIG_fail
;
14021 resultobj
= SWIG_Py_Void();
14044 SWIGINTERN PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
14048 if (!(argc
= SWIG_Python_UnpackTuple(args
,"LogTrace",0,2,argv
))) SWIG_fail
;
14054 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
14057 if (!_v
) goto check_1
;
14058 return _wrap_LogTrace__SWIG_1(self
, argc
, argv
);
14063 return _wrap_LogTrace__SWIG_0(self
, argc
, argv
);
14067 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
14072 SWIGINTERN PyObject
*_wrap_SafeShowMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14073 PyObject
*resultobj
= 0;
14074 wxString
*arg1
= 0 ;
14075 wxString
*arg2
= 0 ;
14076 bool temp1
= false ;
14077 bool temp2
= false ;
14078 PyObject
* obj0
= 0 ;
14079 PyObject
* obj1
= 0 ;
14080 char * kwnames
[] = {
14081 (char *) "title",(char *) "text", NULL
14084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14086 arg1
= wxString_in_helper(obj0
);
14087 if (arg1
== NULL
) SWIG_fail
;
14091 arg2
= wxString_in_helper(obj1
);
14092 if (arg2
== NULL
) SWIG_fail
;
14096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14097 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
14098 wxPyEndAllowThreads(__tstate
);
14099 if (PyErr_Occurred()) SWIG_fail
;
14101 resultobj
= SWIG_Py_Void();
14124 SWIGINTERN PyObject
*_wrap_new_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14125 PyObject
*resultobj
= 0;
14126 wxLogNull
*result
= 0 ;
14128 if (!SWIG_Python_UnpackTuple(args
,"new_LogNull",0,0,0)) SWIG_fail
;
14130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14131 result
= (wxLogNull
*)new wxLogNull();
14132 wxPyEndAllowThreads(__tstate
);
14133 if (PyErr_Occurred()) SWIG_fail
;
14135 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogNull
, SWIG_POINTER_NEW
| 0 );
14142 SWIGINTERN PyObject
*_wrap_delete_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14143 PyObject
*resultobj
= 0;
14144 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
14147 PyObject
*swig_obj
[1] ;
14149 if (!args
) SWIG_fail
;
14150 swig_obj
[0] = args
;
14151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogNull
, SWIG_POINTER_DISOWN
| 0 );
14152 if (!SWIG_IsOK(res1
)) {
14153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LogNull" "', expected argument " "1"" of type '" "wxLogNull *""'");
14155 arg1
= reinterpret_cast< wxLogNull
* >(argp1
);
14157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14160 wxPyEndAllowThreads(__tstate
);
14161 if (PyErr_Occurred()) SWIG_fail
;
14163 resultobj
= SWIG_Py_Void();
14170 SWIGINTERN PyObject
*LogNull_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14172 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14173 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogNull
, SWIG_NewClientData(obj
));
14174 return SWIG_Py_Void();
14177 SWIGINTERN PyObject
*LogNull_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14178 return SWIG_Python_InitShadowInstance(args
);
14181 SWIGINTERN PyObject
*_wrap_new_PyLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14182 PyObject
*resultobj
= 0;
14183 wxPyLog
*result
= 0 ;
14185 if (!SWIG_Python_UnpackTuple(args
,"new_PyLog",0,0,0)) SWIG_fail
;
14187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14188 result
= (wxPyLog
*)new wxPyLog();
14189 wxPyEndAllowThreads(__tstate
);
14190 if (PyErr_Occurred()) SWIG_fail
;
14192 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLog
, SWIG_POINTER_NEW
| 0 );
14199 SWIGINTERN PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14200 PyObject
*resultobj
= 0;
14201 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
14202 PyObject
*arg2
= (PyObject
*) 0 ;
14203 PyObject
*arg3
= (PyObject
*) 0 ;
14206 PyObject
* obj0
= 0 ;
14207 PyObject
* obj1
= 0 ;
14208 PyObject
* obj2
= 0 ;
14209 char * kwnames
[] = {
14210 (char *) "self",(char *) "self",(char *) "_class", NULL
14213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLog
, 0 | 0 );
14215 if (!SWIG_IsOK(res1
)) {
14216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLog__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLog *""'");
14218 arg1
= reinterpret_cast< wxPyLog
* >(argp1
);
14222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14223 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14224 wxPyEndAllowThreads(__tstate
);
14225 if (PyErr_Occurred()) SWIG_fail
;
14227 resultobj
= SWIG_Py_Void();
14234 SWIGINTERN PyObject
*PyLog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14236 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14237 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLog
, SWIG_NewClientData(obj
));
14238 return SWIG_Py_Void();
14241 SWIGINTERN PyObject
*PyLog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14242 return SWIG_Python_InitShadowInstance(args
);
14245 SWIGINTERN PyObject
*_wrap_Process_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14246 PyObject
*resultobj
= 0;
14248 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
14249 int arg3
= (int) wxKILL_NOCHILDREN
;
14250 wxKillError result
;
14257 PyObject
* obj0
= 0 ;
14258 PyObject
* obj1
= 0 ;
14259 PyObject
* obj2
= 0 ;
14260 char * kwnames
[] = {
14261 (char *) "pid",(char *) "sig",(char *) "flags", NULL
14264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14265 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14266 if (!SWIG_IsOK(ecode1
)) {
14267 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Kill" "', expected argument " "1"" of type '" "int""'");
14269 arg1
= static_cast< int >(val1
);
14271 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14272 if (!SWIG_IsOK(ecode2
)) {
14273 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Kill" "', expected argument " "2"" of type '" "wxSignal""'");
14275 arg2
= static_cast< wxSignal
>(val2
);
14278 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14279 if (!SWIG_IsOK(ecode3
)) {
14280 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_Kill" "', expected argument " "3"" of type '" "int""'");
14282 arg3
= static_cast< int >(val3
);
14285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14286 result
= (wxKillError
)wxPyProcess::Kill(arg1
,arg2
,arg3
);
14287 wxPyEndAllowThreads(__tstate
);
14288 if (PyErr_Occurred()) SWIG_fail
;
14290 resultobj
= SWIG_From_int(static_cast< int >(result
));
14297 SWIGINTERN PyObject
*_wrap_Process_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14298 PyObject
*resultobj
= 0;
14303 PyObject
* obj0
= 0 ;
14304 char * kwnames
[] = {
14305 (char *) "pid", NULL
14308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) SWIG_fail
;
14309 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14310 if (!SWIG_IsOK(ecode1
)) {
14311 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Exists" "', expected argument " "1"" of type '" "int""'");
14313 arg1
= static_cast< int >(val1
);
14315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14316 result
= (bool)wxPyProcess::Exists(arg1
);
14317 wxPyEndAllowThreads(__tstate
);
14318 if (PyErr_Occurred()) SWIG_fail
;
14321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14329 SWIGINTERN PyObject
*_wrap_Process_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14330 PyObject
*resultobj
= 0;
14331 wxString
*arg1
= 0 ;
14332 int arg2
= (int) wxEXEC_ASYNC
;
14333 wxPyProcess
*result
= 0 ;
14334 bool temp1
= false ;
14337 PyObject
* obj0
= 0 ;
14338 PyObject
* obj1
= 0 ;
14339 char * kwnames
[] = {
14340 (char *) "cmd",(char *) "flags", NULL
14343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14345 arg1
= wxString_in_helper(obj0
);
14346 if (arg1
== NULL
) SWIG_fail
;
14350 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14351 if (!SWIG_IsOK(ecode2
)) {
14352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Open" "', expected argument " "2"" of type '" "int""'");
14354 arg2
= static_cast< int >(val2
);
14357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14358 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
14359 wxPyEndAllowThreads(__tstate
);
14360 if (PyErr_Occurred()) SWIG_fail
;
14362 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14377 SWIGINTERN PyObject
*_wrap_new_Process(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14378 PyObject
*resultobj
= 0;
14379 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
14380 int arg2
= (int) -1 ;
14381 wxPyProcess
*result
= 0 ;
14386 PyObject
* obj0
= 0 ;
14387 PyObject
* obj1
= 0 ;
14388 char * kwnames
[] = {
14389 (char *) "parent",(char *) "id", NULL
14392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
14395 if (!SWIG_IsOK(res1
)) {
14396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Process" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
14398 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
14401 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14402 if (!SWIG_IsOK(ecode2
)) {
14403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Process" "', expected argument " "2"" of type '" "int""'");
14405 arg2
= static_cast< int >(val2
);
14408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14409 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
14410 wxPyEndAllowThreads(__tstate
);
14411 if (PyErr_Occurred()) SWIG_fail
;
14413 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_NEW
| 0 );
14420 SWIGINTERN PyObject
*_wrap_delete_Process(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14421 PyObject
*resultobj
= 0;
14422 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14425 PyObject
*swig_obj
[1] ;
14427 if (!args
) SWIG_fail
;
14428 swig_obj
[0] = args
;
14429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_DISOWN
| 0 );
14430 if (!SWIG_IsOK(res1
)) {
14431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Process" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14433 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14438 wxPyEndAllowThreads(__tstate
);
14439 if (PyErr_Occurred()) SWIG_fail
;
14441 resultobj
= SWIG_Py_Void();
14448 SWIGINTERN PyObject
*_wrap_Process__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14449 PyObject
*resultobj
= 0;
14450 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14451 PyObject
*arg2
= (PyObject
*) 0 ;
14452 PyObject
*arg3
= (PyObject
*) 0 ;
14455 PyObject
* obj0
= 0 ;
14456 PyObject
* obj1
= 0 ;
14457 PyObject
* obj2
= 0 ;
14458 char * kwnames
[] = {
14459 (char *) "self",(char *) "self",(char *) "_class", NULL
14462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14464 if (!SWIG_IsOK(res1
)) {
14465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14467 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14472 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14473 wxPyEndAllowThreads(__tstate
);
14474 if (PyErr_Occurred()) SWIG_fail
;
14476 resultobj
= SWIG_Py_Void();
14483 SWIGINTERN PyObject
*_wrap_Process_GetPid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14484 PyObject
*resultobj
= 0;
14485 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14489 PyObject
*swig_obj
[1] ;
14491 if (!args
) SWIG_fail
;
14492 swig_obj
[0] = args
;
14493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14494 if (!SWIG_IsOK(res1
)) {
14495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetPid" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
14497 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14500 result
= (long)((wxPyProcess
const *)arg1
)->GetPid();
14501 wxPyEndAllowThreads(__tstate
);
14502 if (PyErr_Occurred()) SWIG_fail
;
14504 resultobj
= SWIG_From_long(static_cast< long >(result
));
14511 SWIGINTERN PyObject
*_wrap_Process_OnTerminate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14512 PyObject
*resultobj
= 0;
14513 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14522 PyObject
* obj0
= 0 ;
14523 PyObject
* obj1
= 0 ;
14524 PyObject
* obj2
= 0 ;
14525 char * kwnames
[] = {
14526 (char *) "self",(char *) "pid",(char *) "status", NULL
14529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14531 if (!SWIG_IsOK(res1
)) {
14532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_OnTerminate" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14534 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14535 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14536 if (!SWIG_IsOK(ecode2
)) {
14537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_OnTerminate" "', expected argument " "2"" of type '" "int""'");
14539 arg2
= static_cast< int >(val2
);
14540 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14541 if (!SWIG_IsOK(ecode3
)) {
14542 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_OnTerminate" "', expected argument " "3"" of type '" "int""'");
14544 arg3
= static_cast< int >(val3
);
14546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14547 (arg1
)->OnTerminate(arg2
,arg3
);
14548 wxPyEndAllowThreads(__tstate
);
14549 if (PyErr_Occurred()) SWIG_fail
;
14551 resultobj
= SWIG_Py_Void();
14558 SWIGINTERN PyObject
*_wrap_Process_Redirect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14559 PyObject
*resultobj
= 0;
14560 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14563 PyObject
*swig_obj
[1] ;
14565 if (!args
) SWIG_fail
;
14566 swig_obj
[0] = args
;
14567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14568 if (!SWIG_IsOK(res1
)) {
14569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Redirect" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14571 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14574 (arg1
)->Redirect();
14575 wxPyEndAllowThreads(__tstate
);
14576 if (PyErr_Occurred()) SWIG_fail
;
14578 resultobj
= SWIG_Py_Void();
14585 SWIGINTERN PyObject
*_wrap_Process_IsRedirected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14586 PyObject
*resultobj
= 0;
14587 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14591 PyObject
*swig_obj
[1] ;
14593 if (!args
) SWIG_fail
;
14594 swig_obj
[0] = args
;
14595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14596 if (!SWIG_IsOK(res1
)) {
14597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsRedirected" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14599 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14602 result
= (bool)(arg1
)->IsRedirected();
14603 wxPyEndAllowThreads(__tstate
);
14604 if (PyErr_Occurred()) SWIG_fail
;
14607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14615 SWIGINTERN PyObject
*_wrap_Process_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14616 PyObject
*resultobj
= 0;
14617 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14620 PyObject
*swig_obj
[1] ;
14622 if (!args
) SWIG_fail
;
14623 swig_obj
[0] = args
;
14624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14625 if (!SWIG_IsOK(res1
)) {
14626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Detach" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14628 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14632 wxPyEndAllowThreads(__tstate
);
14633 if (PyErr_Occurred()) SWIG_fail
;
14635 resultobj
= SWIG_Py_Void();
14642 SWIGINTERN PyObject
*_wrap_Process_GetInputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14643 PyObject
*resultobj
= 0;
14644 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14645 wxInputStream
*result
= 0 ;
14648 PyObject
*swig_obj
[1] ;
14650 if (!args
) SWIG_fail
;
14651 swig_obj
[0] = args
;
14652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14653 if (!SWIG_IsOK(res1
)) {
14654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetInputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14656 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14659 result
= (wxInputStream
*)(arg1
)->GetInputStream();
14660 wxPyEndAllowThreads(__tstate
);
14661 if (PyErr_Occurred()) SWIG_fail
;
14664 wxPyInputStream
* _ptr
= NULL
;
14667 _ptr
= new wxPyInputStream(result
);
14669 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
14677 SWIGINTERN PyObject
*_wrap_Process_GetErrorStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14678 PyObject
*resultobj
= 0;
14679 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14680 wxInputStream
*result
= 0 ;
14683 PyObject
*swig_obj
[1] ;
14685 if (!args
) SWIG_fail
;
14686 swig_obj
[0] = args
;
14687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14688 if (!SWIG_IsOK(res1
)) {
14689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetErrorStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14691 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14694 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
14695 wxPyEndAllowThreads(__tstate
);
14696 if (PyErr_Occurred()) SWIG_fail
;
14699 wxPyInputStream
* _ptr
= NULL
;
14702 _ptr
= new wxPyInputStream(result
);
14704 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
14712 SWIGINTERN PyObject
*_wrap_Process_GetOutputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14713 PyObject
*resultobj
= 0;
14714 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14715 wxOutputStream
*result
= 0 ;
14718 PyObject
*swig_obj
[1] ;
14720 if (!args
) SWIG_fail
;
14721 swig_obj
[0] = args
;
14722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14723 if (!SWIG_IsOK(res1
)) {
14724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetOutputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14726 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14729 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
14730 wxPyEndAllowThreads(__tstate
);
14731 if (PyErr_Occurred()) SWIG_fail
;
14733 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOutputStream
, 0 | 0 );
14740 SWIGINTERN PyObject
*_wrap_Process_CloseOutput(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14741 PyObject
*resultobj
= 0;
14742 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14745 PyObject
*swig_obj
[1] ;
14747 if (!args
) SWIG_fail
;
14748 swig_obj
[0] = args
;
14749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14750 if (!SWIG_IsOK(res1
)) {
14751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_CloseOutput" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14753 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14756 (arg1
)->CloseOutput();
14757 wxPyEndAllowThreads(__tstate
);
14758 if (PyErr_Occurred()) SWIG_fail
;
14760 resultobj
= SWIG_Py_Void();
14767 SWIGINTERN PyObject
*_wrap_Process_IsInputOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14768 PyObject
*resultobj
= 0;
14769 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14773 PyObject
*swig_obj
[1] ;
14775 if (!args
) SWIG_fail
;
14776 swig_obj
[0] = args
;
14777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14778 if (!SWIG_IsOK(res1
)) {
14779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputOpened" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
14781 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14784 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
14785 wxPyEndAllowThreads(__tstate
);
14786 if (PyErr_Occurred()) SWIG_fail
;
14789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14797 SWIGINTERN PyObject
*_wrap_Process_IsInputAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14798 PyObject
*resultobj
= 0;
14799 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14803 PyObject
*swig_obj
[1] ;
14805 if (!args
) SWIG_fail
;
14806 swig_obj
[0] = args
;
14807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14808 if (!SWIG_IsOK(res1
)) {
14809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
14811 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14814 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
14815 wxPyEndAllowThreads(__tstate
);
14816 if (PyErr_Occurred()) SWIG_fail
;
14819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14827 SWIGINTERN PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14828 PyObject
*resultobj
= 0;
14829 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14833 PyObject
*swig_obj
[1] ;
14835 if (!args
) SWIG_fail
;
14836 swig_obj
[0] = args
;
14837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14838 if (!SWIG_IsOK(res1
)) {
14839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsErrorAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
14841 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14844 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
14845 wxPyEndAllowThreads(__tstate
);
14846 if (PyErr_Occurred()) SWIG_fail
;
14849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14857 SWIGINTERN PyObject
*Process_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14859 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14860 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyProcess
, SWIG_NewClientData(obj
));
14861 return SWIG_Py_Void();
14864 SWIGINTERN PyObject
*Process_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14865 return SWIG_Python_InitShadowInstance(args
);
14868 SWIGINTERN PyObject
*_wrap_new_ProcessEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14869 PyObject
*resultobj
= 0;
14870 int arg1
= (int) 0 ;
14871 int arg2
= (int) 0 ;
14872 int arg3
= (int) 0 ;
14873 wxProcessEvent
*result
= 0 ;
14880 PyObject
* obj0
= 0 ;
14881 PyObject
* obj1
= 0 ;
14882 PyObject
* obj2
= 0 ;
14883 char * kwnames
[] = {
14884 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
14887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14889 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14890 if (!SWIG_IsOK(ecode1
)) {
14891 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ProcessEvent" "', expected argument " "1"" of type '" "int""'");
14893 arg1
= static_cast< int >(val1
);
14896 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14897 if (!SWIG_IsOK(ecode2
)) {
14898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ProcessEvent" "', expected argument " "2"" of type '" "int""'");
14900 arg2
= static_cast< int >(val2
);
14903 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14904 if (!SWIG_IsOK(ecode3
)) {
14905 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProcessEvent" "', expected argument " "3"" of type '" "int""'");
14907 arg3
= static_cast< int >(val3
);
14910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14911 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
14912 wxPyEndAllowThreads(__tstate
);
14913 if (PyErr_Occurred()) SWIG_fail
;
14915 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_NEW
| 0 );
14922 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14923 PyObject
*resultobj
= 0;
14924 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14928 PyObject
*swig_obj
[1] ;
14930 if (!args
) SWIG_fail
;
14931 swig_obj
[0] = args
;
14932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14933 if (!SWIG_IsOK(res1
)) {
14934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetPid" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14936 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14939 result
= (int)(arg1
)->GetPid();
14940 wxPyEndAllowThreads(__tstate
);
14941 if (PyErr_Occurred()) SWIG_fail
;
14943 resultobj
= SWIG_From_int(static_cast< int >(result
));
14950 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14951 PyObject
*resultobj
= 0;
14952 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14956 PyObject
*swig_obj
[1] ;
14958 if (!args
) SWIG_fail
;
14959 swig_obj
[0] = args
;
14960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14961 if (!SWIG_IsOK(res1
)) {
14962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetExitCode" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14964 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14967 result
= (int)(arg1
)->GetExitCode();
14968 wxPyEndAllowThreads(__tstate
);
14969 if (PyErr_Occurred()) SWIG_fail
;
14971 resultobj
= SWIG_From_int(static_cast< int >(result
));
14978 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14979 PyObject
*resultobj
= 0;
14980 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14986 PyObject
*swig_obj
[2] ;
14988 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_pid_set",2,2,swig_obj
)) SWIG_fail
;
14989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14990 if (!SWIG_IsOK(res1
)) {
14991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14993 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14994 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
14995 if (!SWIG_IsOK(ecode2
)) {
14996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "2"" of type '" "int""'");
14998 arg2
= static_cast< int >(val2
);
14999 if (arg1
) (arg1
)->m_pid
= arg2
;
15001 resultobj
= SWIG_Py_Void();
15008 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15009 PyObject
*resultobj
= 0;
15010 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
15014 PyObject
*swig_obj
[1] ;
15016 if (!args
) SWIG_fail
;
15017 swig_obj
[0] = args
;
15018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
15019 if (!SWIG_IsOK(res1
)) {
15020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
15022 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
15023 result
= (int) ((arg1
)->m_pid
);
15024 resultobj
= SWIG_From_int(static_cast< int >(result
));
15031 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15032 PyObject
*resultobj
= 0;
15033 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
15039 PyObject
*swig_obj
[2] ;
15041 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_exitcode_set",2,2,swig_obj
)) SWIG_fail
;
15042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
15043 if (!SWIG_IsOK(res1
)) {
15044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
15046 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
15047 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15048 if (!SWIG_IsOK(ecode2
)) {
15049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "2"" of type '" "int""'");
15051 arg2
= static_cast< int >(val2
);
15052 if (arg1
) (arg1
)->m_exitcode
= arg2
;
15054 resultobj
= SWIG_Py_Void();
15061 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15062 PyObject
*resultobj
= 0;
15063 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
15067 PyObject
*swig_obj
[1] ;
15069 if (!args
) SWIG_fail
;
15070 swig_obj
[0] = args
;
15071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
15072 if (!SWIG_IsOK(res1
)) {
15073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
15075 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
15076 result
= (int) ((arg1
)->m_exitcode
);
15077 resultobj
= SWIG_From_int(static_cast< int >(result
));
15084 SWIGINTERN PyObject
*ProcessEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15086 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15087 SWIG_TypeNewClientData(SWIGTYPE_p_wxProcessEvent
, SWIG_NewClientData(obj
));
15088 return SWIG_Py_Void();
15091 SWIGINTERN PyObject
*ProcessEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15092 return SWIG_Python_InitShadowInstance(args
);
15095 SWIGINTERN PyObject
*_wrap_Execute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15096 PyObject
*resultobj
= 0;
15097 wxString
*arg1
= 0 ;
15098 int arg2
= (int) wxEXEC_ASYNC
;
15099 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
15101 bool temp1
= false ;
15106 PyObject
* obj0
= 0 ;
15107 PyObject
* obj1
= 0 ;
15108 PyObject
* obj2
= 0 ;
15109 char * kwnames
[] = {
15110 (char *) "command",(char *) "flags",(char *) "process", NULL
15113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15115 arg1
= wxString_in_helper(obj0
);
15116 if (arg1
== NULL
) SWIG_fail
;
15120 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15121 if (!SWIG_IsOK(ecode2
)) {
15122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Execute" "', expected argument " "2"" of type '" "int""'");
15124 arg2
= static_cast< int >(val2
);
15127 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
15128 if (!SWIG_IsOK(res3
)) {
15129 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Execute" "', expected argument " "3"" of type '" "wxPyProcess *""'");
15131 arg3
= reinterpret_cast< wxPyProcess
* >(argp3
);
15134 if (!wxPyCheckForApp()) SWIG_fail
;
15135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15136 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
15137 wxPyEndAllowThreads(__tstate
);
15138 if (PyErr_Occurred()) SWIG_fail
;
15140 resultobj
= SWIG_From_long(static_cast< long >(result
));
15155 SWIGINTERN PyObject
*_wrap_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15156 PyObject
*resultobj
= 0;
15158 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
15159 wxKillError
*arg3
= (wxKillError
*) 0 ;
15160 int arg4
= (int) wxKILL_NOCHILDREN
;
15166 wxKillError temp3
;
15169 PyObject
* obj0
= 0 ;
15170 PyObject
* obj1
= 0 ;
15171 PyObject
* obj2
= 0 ;
15172 char * kwnames
[] = {
15173 (char *) "pid",(char *) "sig",(char *) "flags", NULL
15179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15180 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
15181 if (!SWIG_IsOK(ecode1
)) {
15182 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Kill" "', expected argument " "1"" of type '" "long""'");
15184 arg1
= static_cast< long >(val1
);
15186 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15187 if (!SWIG_IsOK(ecode2
)) {
15188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Kill" "', expected argument " "2"" of type '" "wxSignal""'");
15190 arg2
= static_cast< wxSignal
>(val2
);
15193 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
15194 if (!SWIG_IsOK(ecode4
)) {
15195 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Kill" "', expected argument " "4"" of type '" "int""'");
15197 arg4
= static_cast< int >(val4
);
15200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15201 result
= (int)wxKill(arg1
,arg2
,arg3
,arg4
);
15202 wxPyEndAllowThreads(__tstate
);
15203 if (PyErr_Occurred()) SWIG_fail
;
15205 resultobj
= SWIG_From_int(static_cast< int >(result
));
15208 o
= PyInt_FromLong((long) (*arg3
));
15212 resultobj
= SWIG_Python_AppendOutput(resultobj
, o
);
15221 SWIGINTERN PyObject
*_wrap_new_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15222 PyObject
*resultobj
= 0;
15223 int arg1
= (int) wxJOYSTICK1
;
15224 wxJoystick
*result
= 0 ;
15227 PyObject
* obj0
= 0 ;
15228 char * kwnames
[] = {
15229 (char *) "joystick", NULL
15232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) SWIG_fail
;
15234 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15235 if (!SWIG_IsOK(ecode1
)) {
15236 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Joystick" "', expected argument " "1"" of type '" "int""'");
15238 arg1
= static_cast< int >(val1
);
15241 if (!wxPyCheckForApp()) SWIG_fail
;
15242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15243 result
= (wxJoystick
*)new wxJoystick(arg1
);
15244 wxPyEndAllowThreads(__tstate
);
15245 if (PyErr_Occurred()) SWIG_fail
;
15247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystick
, SWIG_POINTER_NEW
| 0 );
15254 SWIGINTERN PyObject
*_wrap_delete_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15255 PyObject
*resultobj
= 0;
15256 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15259 PyObject
*swig_obj
[1] ;
15261 if (!args
) SWIG_fail
;
15262 swig_obj
[0] = args
;
15263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, SWIG_POINTER_DISOWN
| 0 );
15264 if (!SWIG_IsOK(res1
)) {
15265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Joystick" "', expected argument " "1"" of type '" "wxJoystick *""'");
15267 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15272 wxPyEndAllowThreads(__tstate
);
15273 if (PyErr_Occurred()) SWIG_fail
;
15275 resultobj
= SWIG_Py_Void();
15282 SWIGINTERN PyObject
*_wrap_Joystick_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15283 PyObject
*resultobj
= 0;
15284 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15288 PyObject
*swig_obj
[1] ;
15290 if (!args
) SWIG_fail
;
15291 swig_obj
[0] = args
;
15292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15293 if (!SWIG_IsOK(res1
)) {
15294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15296 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15299 result
= (arg1
)->GetPosition();
15300 wxPyEndAllowThreads(__tstate
);
15301 if (PyErr_Occurred()) SWIG_fail
;
15303 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
15310 SWIGINTERN PyObject
*_wrap_Joystick_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15311 PyObject
*resultobj
= 0;
15312 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15316 PyObject
*swig_obj
[1] ;
15318 if (!args
) SWIG_fail
;
15319 swig_obj
[0] = args
;
15320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15321 if (!SWIG_IsOK(res1
)) {
15322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15324 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15327 result
= (int)(arg1
)->GetZPosition();
15328 wxPyEndAllowThreads(__tstate
);
15329 if (PyErr_Occurred()) SWIG_fail
;
15331 resultobj
= SWIG_From_int(static_cast< int >(result
));
15338 SWIGINTERN PyObject
*_wrap_Joystick_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15339 PyObject
*resultobj
= 0;
15340 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15344 PyObject
*swig_obj
[1] ;
15346 if (!args
) SWIG_fail
;
15347 swig_obj
[0] = args
;
15348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15349 if (!SWIG_IsOK(res1
)) {
15350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetButtonState" "', expected argument " "1"" of type '" "wxJoystick *""'");
15352 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15355 result
= (int)(arg1
)->GetButtonState();
15356 wxPyEndAllowThreads(__tstate
);
15357 if (PyErr_Occurred()) SWIG_fail
;
15359 resultobj
= SWIG_From_int(static_cast< int >(result
));
15366 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15367 PyObject
*resultobj
= 0;
15368 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15372 PyObject
*swig_obj
[1] ;
15374 if (!args
) SWIG_fail
;
15375 swig_obj
[0] = args
;
15376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15377 if (!SWIG_IsOK(res1
)) {
15378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15380 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15383 result
= (int)(arg1
)->GetPOVPosition();
15384 wxPyEndAllowThreads(__tstate
);
15385 if (PyErr_Occurred()) SWIG_fail
;
15387 resultobj
= SWIG_From_int(static_cast< int >(result
));
15394 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15395 PyObject
*resultobj
= 0;
15396 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15400 PyObject
*swig_obj
[1] ;
15402 if (!args
) SWIG_fail
;
15403 swig_obj
[0] = args
;
15404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15405 if (!SWIG_IsOK(res1
)) {
15406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVCTSPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15408 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15411 result
= (int)(arg1
)->GetPOVCTSPosition();
15412 wxPyEndAllowThreads(__tstate
);
15413 if (PyErr_Occurred()) SWIG_fail
;
15415 resultobj
= SWIG_From_int(static_cast< int >(result
));
15422 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15423 PyObject
*resultobj
= 0;
15424 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15428 PyObject
*swig_obj
[1] ;
15430 if (!args
) SWIG_fail
;
15431 swig_obj
[0] = args
;
15432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15433 if (!SWIG_IsOK(res1
)) {
15434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15436 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15439 result
= (int)(arg1
)->GetRudderPosition();
15440 wxPyEndAllowThreads(__tstate
);
15441 if (PyErr_Occurred()) SWIG_fail
;
15443 resultobj
= SWIG_From_int(static_cast< int >(result
));
15450 SWIGINTERN PyObject
*_wrap_Joystick_GetUPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15451 PyObject
*resultobj
= 0;
15452 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15456 PyObject
*swig_obj
[1] ;
15458 if (!args
) SWIG_fail
;
15459 swig_obj
[0] = args
;
15460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15461 if (!SWIG_IsOK(res1
)) {
15462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15464 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15467 result
= (int)(arg1
)->GetUPosition();
15468 wxPyEndAllowThreads(__tstate
);
15469 if (PyErr_Occurred()) SWIG_fail
;
15471 resultobj
= SWIG_From_int(static_cast< int >(result
));
15478 SWIGINTERN PyObject
*_wrap_Joystick_GetVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15479 PyObject
*resultobj
= 0;
15480 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15484 PyObject
*swig_obj
[1] ;
15486 if (!args
) SWIG_fail
;
15487 swig_obj
[0] = args
;
15488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15489 if (!SWIG_IsOK(res1
)) {
15490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15492 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15495 result
= (int)(arg1
)->GetVPosition();
15496 wxPyEndAllowThreads(__tstate
);
15497 if (PyErr_Occurred()) SWIG_fail
;
15499 resultobj
= SWIG_From_int(static_cast< int >(result
));
15506 SWIGINTERN PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15507 PyObject
*resultobj
= 0;
15508 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15512 PyObject
*swig_obj
[1] ;
15514 if (!args
) SWIG_fail
;
15515 swig_obj
[0] = args
;
15516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15517 if (!SWIG_IsOK(res1
)) {
15518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
15520 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15523 result
= (int)(arg1
)->GetMovementThreshold();
15524 wxPyEndAllowThreads(__tstate
);
15525 if (PyErr_Occurred()) SWIG_fail
;
15527 resultobj
= SWIG_From_int(static_cast< int >(result
));
15534 SWIGINTERN PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15535 PyObject
*resultobj
= 0;
15536 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15542 PyObject
* obj0
= 0 ;
15543 PyObject
* obj1
= 0 ;
15544 char * kwnames
[] = {
15545 (char *) "self",(char *) "threshold", NULL
15548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15550 if (!SWIG_IsOK(res1
)) {
15551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
15553 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15554 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15555 if (!SWIG_IsOK(ecode2
)) {
15556 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "2"" of type '" "int""'");
15558 arg2
= static_cast< int >(val2
);
15560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15561 (arg1
)->SetMovementThreshold(arg2
);
15562 wxPyEndAllowThreads(__tstate
);
15563 if (PyErr_Occurred()) SWIG_fail
;
15565 resultobj
= SWIG_Py_Void();
15572 SWIGINTERN PyObject
*_wrap_Joystick_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15573 PyObject
*resultobj
= 0;
15574 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15578 PyObject
*swig_obj
[1] ;
15580 if (!args
) SWIG_fail
;
15581 swig_obj
[0] = args
;
15582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15583 if (!SWIG_IsOK(res1
)) {
15584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_IsOk" "', expected argument " "1"" of type '" "wxJoystick *""'");
15586 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15589 result
= (bool)(arg1
)->IsOk();
15590 wxPyEndAllowThreads(__tstate
);
15591 if (PyErr_Occurred()) SWIG_fail
;
15594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15602 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15603 PyObject
*resultobj
= 0;
15604 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15608 PyObject
*swig_obj
[1] ;
15610 if (!args
) SWIG_fail
;
15611 swig_obj
[0] = args
;
15612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15613 if (!SWIG_IsOK(res1
)) {
15614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberJoysticks" "', expected argument " "1"" of type '" "wxJoystick *""'");
15616 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15619 result
= (int)(arg1
)->GetNumberJoysticks();
15620 wxPyEndAllowThreads(__tstate
);
15621 if (PyErr_Occurred()) SWIG_fail
;
15623 resultobj
= SWIG_From_int(static_cast< int >(result
));
15630 SWIGINTERN PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15631 PyObject
*resultobj
= 0;
15632 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15636 PyObject
*swig_obj
[1] ;
15638 if (!args
) SWIG_fail
;
15639 swig_obj
[0] = args
;
15640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15641 if (!SWIG_IsOK(res1
)) {
15642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetManufacturerId" "', expected argument " "1"" of type '" "wxJoystick *""'");
15644 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15647 result
= (int)(arg1
)->GetManufacturerId();
15648 wxPyEndAllowThreads(__tstate
);
15649 if (PyErr_Occurred()) SWIG_fail
;
15651 resultobj
= SWIG_From_int(static_cast< int >(result
));
15658 SWIGINTERN PyObject
*_wrap_Joystick_GetProductId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15659 PyObject
*resultobj
= 0;
15660 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15664 PyObject
*swig_obj
[1] ;
15666 if (!args
) SWIG_fail
;
15667 swig_obj
[0] = args
;
15668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15669 if (!SWIG_IsOK(res1
)) {
15670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductId" "', expected argument " "1"" of type '" "wxJoystick *""'");
15672 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15675 result
= (int)(arg1
)->GetProductId();
15676 wxPyEndAllowThreads(__tstate
);
15677 if (PyErr_Occurred()) SWIG_fail
;
15679 resultobj
= SWIG_From_int(static_cast< int >(result
));
15686 SWIGINTERN PyObject
*_wrap_Joystick_GetProductName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15687 PyObject
*resultobj
= 0;
15688 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15692 PyObject
*swig_obj
[1] ;
15694 if (!args
) SWIG_fail
;
15695 swig_obj
[0] = args
;
15696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15697 if (!SWIG_IsOK(res1
)) {
15698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductName" "', expected argument " "1"" of type '" "wxJoystick *""'");
15700 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15703 result
= (arg1
)->GetProductName();
15704 wxPyEndAllowThreads(__tstate
);
15705 if (PyErr_Occurred()) SWIG_fail
;
15709 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15711 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15720 SWIGINTERN PyObject
*_wrap_Joystick_GetXMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15721 PyObject
*resultobj
= 0;
15722 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15726 PyObject
*swig_obj
[1] ;
15728 if (!args
) SWIG_fail
;
15729 swig_obj
[0] = args
;
15730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15731 if (!SWIG_IsOK(res1
)) {
15732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15734 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15737 result
= (int)(arg1
)->GetXMin();
15738 wxPyEndAllowThreads(__tstate
);
15739 if (PyErr_Occurred()) SWIG_fail
;
15741 resultobj
= SWIG_From_int(static_cast< int >(result
));
15748 SWIGINTERN PyObject
*_wrap_Joystick_GetYMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15749 PyObject
*resultobj
= 0;
15750 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15754 PyObject
*swig_obj
[1] ;
15756 if (!args
) SWIG_fail
;
15757 swig_obj
[0] = args
;
15758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15759 if (!SWIG_IsOK(res1
)) {
15760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15762 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15765 result
= (int)(arg1
)->GetYMin();
15766 wxPyEndAllowThreads(__tstate
);
15767 if (PyErr_Occurred()) SWIG_fail
;
15769 resultobj
= SWIG_From_int(static_cast< int >(result
));
15776 SWIGINTERN PyObject
*_wrap_Joystick_GetZMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15777 PyObject
*resultobj
= 0;
15778 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15782 PyObject
*swig_obj
[1] ;
15784 if (!args
) SWIG_fail
;
15785 swig_obj
[0] = args
;
15786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15787 if (!SWIG_IsOK(res1
)) {
15788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15790 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15793 result
= (int)(arg1
)->GetZMin();
15794 wxPyEndAllowThreads(__tstate
);
15795 if (PyErr_Occurred()) SWIG_fail
;
15797 resultobj
= SWIG_From_int(static_cast< int >(result
));
15804 SWIGINTERN PyObject
*_wrap_Joystick_GetXMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15805 PyObject
*resultobj
= 0;
15806 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15810 PyObject
*swig_obj
[1] ;
15812 if (!args
) SWIG_fail
;
15813 swig_obj
[0] = args
;
15814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15815 if (!SWIG_IsOK(res1
)) {
15816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15818 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15821 result
= (int)(arg1
)->GetXMax();
15822 wxPyEndAllowThreads(__tstate
);
15823 if (PyErr_Occurred()) SWIG_fail
;
15825 resultobj
= SWIG_From_int(static_cast< int >(result
));
15832 SWIGINTERN PyObject
*_wrap_Joystick_GetYMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15833 PyObject
*resultobj
= 0;
15834 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15838 PyObject
*swig_obj
[1] ;
15840 if (!args
) SWIG_fail
;
15841 swig_obj
[0] = args
;
15842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15843 if (!SWIG_IsOK(res1
)) {
15844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15846 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15849 result
= (int)(arg1
)->GetYMax();
15850 wxPyEndAllowThreads(__tstate
);
15851 if (PyErr_Occurred()) SWIG_fail
;
15853 resultobj
= SWIG_From_int(static_cast< int >(result
));
15860 SWIGINTERN PyObject
*_wrap_Joystick_GetZMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15861 PyObject
*resultobj
= 0;
15862 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15866 PyObject
*swig_obj
[1] ;
15868 if (!args
) SWIG_fail
;
15869 swig_obj
[0] = args
;
15870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15871 if (!SWIG_IsOK(res1
)) {
15872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15874 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15877 result
= (int)(arg1
)->GetZMax();
15878 wxPyEndAllowThreads(__tstate
);
15879 if (PyErr_Occurred()) SWIG_fail
;
15881 resultobj
= SWIG_From_int(static_cast< int >(result
));
15888 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15889 PyObject
*resultobj
= 0;
15890 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15894 PyObject
*swig_obj
[1] ;
15896 if (!args
) SWIG_fail
;
15897 swig_obj
[0] = args
;
15898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15899 if (!SWIG_IsOK(res1
)) {
15900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
15902 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15905 result
= (int)(arg1
)->GetNumberButtons();
15906 wxPyEndAllowThreads(__tstate
);
15907 if (PyErr_Occurred()) SWIG_fail
;
15909 resultobj
= SWIG_From_int(static_cast< int >(result
));
15916 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15917 PyObject
*resultobj
= 0;
15918 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15922 PyObject
*swig_obj
[1] ;
15924 if (!args
) SWIG_fail
;
15925 swig_obj
[0] = args
;
15926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15927 if (!SWIG_IsOK(res1
)) {
15928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
15930 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15933 result
= (int)(arg1
)->GetNumberAxes();
15934 wxPyEndAllowThreads(__tstate
);
15935 if (PyErr_Occurred()) SWIG_fail
;
15937 resultobj
= SWIG_From_int(static_cast< int >(result
));
15944 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15945 PyObject
*resultobj
= 0;
15946 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15950 PyObject
*swig_obj
[1] ;
15952 if (!args
) SWIG_fail
;
15953 swig_obj
[0] = args
;
15954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15955 if (!SWIG_IsOK(res1
)) {
15956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
15958 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15961 result
= (int)(arg1
)->GetMaxButtons();
15962 wxPyEndAllowThreads(__tstate
);
15963 if (PyErr_Occurred()) SWIG_fail
;
15965 resultobj
= SWIG_From_int(static_cast< int >(result
));
15972 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15973 PyObject
*resultobj
= 0;
15974 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15978 PyObject
*swig_obj
[1] ;
15980 if (!args
) SWIG_fail
;
15981 swig_obj
[0] = args
;
15982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15983 if (!SWIG_IsOK(res1
)) {
15984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
15986 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15989 result
= (int)(arg1
)->GetMaxAxes();
15990 wxPyEndAllowThreads(__tstate
);
15991 if (PyErr_Occurred()) SWIG_fail
;
15993 resultobj
= SWIG_From_int(static_cast< int >(result
));
16000 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16001 PyObject
*resultobj
= 0;
16002 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16006 PyObject
*swig_obj
[1] ;
16008 if (!args
) SWIG_fail
;
16009 swig_obj
[0] = args
;
16010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16011 if (!SWIG_IsOK(res1
)) {
16012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
16014 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16017 result
= (int)(arg1
)->GetPollingMin();
16018 wxPyEndAllowThreads(__tstate
);
16019 if (PyErr_Occurred()) SWIG_fail
;
16021 resultobj
= SWIG_From_int(static_cast< int >(result
));
16028 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16029 PyObject
*resultobj
= 0;
16030 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16034 PyObject
*swig_obj
[1] ;
16036 if (!args
) SWIG_fail
;
16037 swig_obj
[0] = args
;
16038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16039 if (!SWIG_IsOK(res1
)) {
16040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
16042 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16045 result
= (int)(arg1
)->GetPollingMax();
16046 wxPyEndAllowThreads(__tstate
);
16047 if (PyErr_Occurred()) SWIG_fail
;
16049 resultobj
= SWIG_From_int(static_cast< int >(result
));
16056 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16057 PyObject
*resultobj
= 0;
16058 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16062 PyObject
*swig_obj
[1] ;
16064 if (!args
) SWIG_fail
;
16065 swig_obj
[0] = args
;
16066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16067 if (!SWIG_IsOK(res1
)) {
16068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
16070 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16073 result
= (int)(arg1
)->GetRudderMin();
16074 wxPyEndAllowThreads(__tstate
);
16075 if (PyErr_Occurred()) SWIG_fail
;
16077 resultobj
= SWIG_From_int(static_cast< int >(result
));
16084 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16085 PyObject
*resultobj
= 0;
16086 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16090 PyObject
*swig_obj
[1] ;
16092 if (!args
) SWIG_fail
;
16093 swig_obj
[0] = args
;
16094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16095 if (!SWIG_IsOK(res1
)) {
16096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
16098 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16101 result
= (int)(arg1
)->GetRudderMax();
16102 wxPyEndAllowThreads(__tstate
);
16103 if (PyErr_Occurred()) SWIG_fail
;
16105 resultobj
= SWIG_From_int(static_cast< int >(result
));
16112 SWIGINTERN PyObject
*_wrap_Joystick_GetUMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16113 PyObject
*resultobj
= 0;
16114 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16118 PyObject
*swig_obj
[1] ;
16120 if (!args
) SWIG_fail
;
16121 swig_obj
[0] = args
;
16122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16123 if (!SWIG_IsOK(res1
)) {
16124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
16126 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16129 result
= (int)(arg1
)->GetUMin();
16130 wxPyEndAllowThreads(__tstate
);
16131 if (PyErr_Occurred()) SWIG_fail
;
16133 resultobj
= SWIG_From_int(static_cast< int >(result
));
16140 SWIGINTERN PyObject
*_wrap_Joystick_GetUMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16141 PyObject
*resultobj
= 0;
16142 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16146 PyObject
*swig_obj
[1] ;
16148 if (!args
) SWIG_fail
;
16149 swig_obj
[0] = args
;
16150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16151 if (!SWIG_IsOK(res1
)) {
16152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
16154 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16157 result
= (int)(arg1
)->GetUMax();
16158 wxPyEndAllowThreads(__tstate
);
16159 if (PyErr_Occurred()) SWIG_fail
;
16161 resultobj
= SWIG_From_int(static_cast< int >(result
));
16168 SWIGINTERN PyObject
*_wrap_Joystick_GetVMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16169 PyObject
*resultobj
= 0;
16170 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16174 PyObject
*swig_obj
[1] ;
16176 if (!args
) SWIG_fail
;
16177 swig_obj
[0] = args
;
16178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16179 if (!SWIG_IsOK(res1
)) {
16180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
16182 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16185 result
= (int)(arg1
)->GetVMin();
16186 wxPyEndAllowThreads(__tstate
);
16187 if (PyErr_Occurred()) SWIG_fail
;
16189 resultobj
= SWIG_From_int(static_cast< int >(result
));
16196 SWIGINTERN PyObject
*_wrap_Joystick_GetVMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16197 PyObject
*resultobj
= 0;
16198 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16202 PyObject
*swig_obj
[1] ;
16204 if (!args
) SWIG_fail
;
16205 swig_obj
[0] = args
;
16206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16207 if (!SWIG_IsOK(res1
)) {
16208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
16210 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16213 result
= (int)(arg1
)->GetVMax();
16214 wxPyEndAllowThreads(__tstate
);
16215 if (PyErr_Occurred()) SWIG_fail
;
16217 resultobj
= SWIG_From_int(static_cast< int >(result
));
16224 SWIGINTERN PyObject
*_wrap_Joystick_HasRudder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16225 PyObject
*resultobj
= 0;
16226 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16230 PyObject
*swig_obj
[1] ;
16232 if (!args
) SWIG_fail
;
16233 swig_obj
[0] = args
;
16234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16235 if (!SWIG_IsOK(res1
)) {
16236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasRudder" "', expected argument " "1"" of type '" "wxJoystick *""'");
16238 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16241 result
= (bool)(arg1
)->HasRudder();
16242 wxPyEndAllowThreads(__tstate
);
16243 if (PyErr_Occurred()) SWIG_fail
;
16246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16254 SWIGINTERN PyObject
*_wrap_Joystick_HasZ(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16255 PyObject
*resultobj
= 0;
16256 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16260 PyObject
*swig_obj
[1] ;
16262 if (!args
) SWIG_fail
;
16263 swig_obj
[0] = args
;
16264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16265 if (!SWIG_IsOK(res1
)) {
16266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasZ" "', expected argument " "1"" of type '" "wxJoystick *""'");
16268 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16271 result
= (bool)(arg1
)->HasZ();
16272 wxPyEndAllowThreads(__tstate
);
16273 if (PyErr_Occurred()) SWIG_fail
;
16276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16284 SWIGINTERN PyObject
*_wrap_Joystick_HasU(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16285 PyObject
*resultobj
= 0;
16286 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16290 PyObject
*swig_obj
[1] ;
16292 if (!args
) SWIG_fail
;
16293 swig_obj
[0] = args
;
16294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16295 if (!SWIG_IsOK(res1
)) {
16296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasU" "', expected argument " "1"" of type '" "wxJoystick *""'");
16298 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16301 result
= (bool)(arg1
)->HasU();
16302 wxPyEndAllowThreads(__tstate
);
16303 if (PyErr_Occurred()) SWIG_fail
;
16306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16314 SWIGINTERN PyObject
*_wrap_Joystick_HasV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16315 PyObject
*resultobj
= 0;
16316 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16320 PyObject
*swig_obj
[1] ;
16322 if (!args
) SWIG_fail
;
16323 swig_obj
[0] = args
;
16324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16325 if (!SWIG_IsOK(res1
)) {
16326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasV" "', expected argument " "1"" of type '" "wxJoystick *""'");
16328 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16331 result
= (bool)(arg1
)->HasV();
16332 wxPyEndAllowThreads(__tstate
);
16333 if (PyErr_Occurred()) SWIG_fail
;
16336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16344 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16345 PyObject
*resultobj
= 0;
16346 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16350 PyObject
*swig_obj
[1] ;
16352 if (!args
) SWIG_fail
;
16353 swig_obj
[0] = args
;
16354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16355 if (!SWIG_IsOK(res1
)) {
16356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV" "', expected argument " "1"" of type '" "wxJoystick *""'");
16358 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16361 result
= (bool)(arg1
)->HasPOV();
16362 wxPyEndAllowThreads(__tstate
);
16363 if (PyErr_Occurred()) SWIG_fail
;
16366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16374 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16375 PyObject
*resultobj
= 0;
16376 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16380 PyObject
*swig_obj
[1] ;
16382 if (!args
) SWIG_fail
;
16383 swig_obj
[0] = args
;
16384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16385 if (!SWIG_IsOK(res1
)) {
16386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV4Dir" "', expected argument " "1"" of type '" "wxJoystick *""'");
16388 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16391 result
= (bool)(arg1
)->HasPOV4Dir();
16392 wxPyEndAllowThreads(__tstate
);
16393 if (PyErr_Occurred()) SWIG_fail
;
16396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16404 SWIGINTERN PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16405 PyObject
*resultobj
= 0;
16406 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16410 PyObject
*swig_obj
[1] ;
16412 if (!args
) SWIG_fail
;
16413 swig_obj
[0] = args
;
16414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16415 if (!SWIG_IsOK(res1
)) {
16416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOVCTS" "', expected argument " "1"" of type '" "wxJoystick *""'");
16418 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16421 result
= (bool)(arg1
)->HasPOVCTS();
16422 wxPyEndAllowThreads(__tstate
);
16423 if (PyErr_Occurred()) SWIG_fail
;
16426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16434 SWIGINTERN PyObject
*_wrap_Joystick_SetCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16435 PyObject
*resultobj
= 0;
16436 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16437 wxWindow
*arg2
= (wxWindow
*) 0 ;
16438 int arg3
= (int) 0 ;
16446 PyObject
* obj0
= 0 ;
16447 PyObject
* obj1
= 0 ;
16448 PyObject
* obj2
= 0 ;
16449 char * kwnames
[] = {
16450 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
16453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16455 if (!SWIG_IsOK(res1
)) {
16456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
16458 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16459 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16460 if (!SWIG_IsOK(res2
)) {
16461 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Joystick_SetCapture" "', expected argument " "2"" of type '" "wxWindow *""'");
16463 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16465 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16466 if (!SWIG_IsOK(ecode3
)) {
16467 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Joystick_SetCapture" "', expected argument " "3"" of type '" "int""'");
16469 arg3
= static_cast< int >(val3
);
16472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16473 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
16474 wxPyEndAllowThreads(__tstate
);
16475 if (PyErr_Occurred()) SWIG_fail
;
16478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16486 SWIGINTERN PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16487 PyObject
*resultobj
= 0;
16488 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16492 PyObject
*swig_obj
[1] ;
16494 if (!args
) SWIG_fail
;
16495 swig_obj
[0] = args
;
16496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16497 if (!SWIG_IsOK(res1
)) {
16498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_ReleaseCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
16500 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16503 result
= (bool)(arg1
)->ReleaseCapture();
16504 wxPyEndAllowThreads(__tstate
);
16505 if (PyErr_Occurred()) SWIG_fail
;
16508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16516 SWIGINTERN PyObject
*Joystick_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16518 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16519 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystick
, SWIG_NewClientData(obj
));
16520 return SWIG_Py_Void();
16523 SWIGINTERN PyObject
*Joystick_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16524 return SWIG_Python_InitShadowInstance(args
);
16527 SWIGINTERN PyObject
*_wrap_new_JoystickEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16528 PyObject
*resultobj
= 0;
16529 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16530 int arg2
= (int) 0 ;
16531 int arg3
= (int) wxJOYSTICK1
;
16532 int arg4
= (int) 0 ;
16533 wxJoystickEvent
*result
= 0 ;
16542 PyObject
* obj0
= 0 ;
16543 PyObject
* obj1
= 0 ;
16544 PyObject
* obj2
= 0 ;
16545 PyObject
* obj3
= 0 ;
16546 char * kwnames
[] = {
16547 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
16550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16552 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16553 if (!SWIG_IsOK(ecode1
)) {
16554 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_JoystickEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16556 arg1
= static_cast< wxEventType
>(val1
);
16559 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16560 if (!SWIG_IsOK(ecode2
)) {
16561 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_JoystickEvent" "', expected argument " "2"" of type '" "int""'");
16563 arg2
= static_cast< int >(val2
);
16566 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16567 if (!SWIG_IsOK(ecode3
)) {
16568 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_JoystickEvent" "', expected argument " "3"" of type '" "int""'");
16570 arg3
= static_cast< int >(val3
);
16573 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16574 if (!SWIG_IsOK(ecode4
)) {
16575 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_JoystickEvent" "', expected argument " "4"" of type '" "int""'");
16577 arg4
= static_cast< int >(val4
);
16580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16581 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
16582 wxPyEndAllowThreads(__tstate
);
16583 if (PyErr_Occurred()) SWIG_fail
;
16585 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_NEW
| 0 );
16592 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16593 PyObject
*resultobj
= 0;
16594 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16598 PyObject
*swig_obj
[1] ;
16600 if (!args
) SWIG_fail
;
16601 swig_obj
[0] = args
;
16602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16603 if (!SWIG_IsOK(res1
)) {
16604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16606 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16609 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
16610 wxPyEndAllowThreads(__tstate
);
16611 if (PyErr_Occurred()) SWIG_fail
;
16613 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
16620 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16621 PyObject
*resultobj
= 0;
16622 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16626 PyObject
*swig_obj
[1] ;
16628 if (!args
) SWIG_fail
;
16629 swig_obj
[0] = args
;
16630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16631 if (!SWIG_IsOK(res1
)) {
16632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16634 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16637 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
16638 wxPyEndAllowThreads(__tstate
);
16639 if (PyErr_Occurred()) SWIG_fail
;
16641 resultobj
= SWIG_From_int(static_cast< int >(result
));
16648 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16649 PyObject
*resultobj
= 0;
16650 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16654 PyObject
*swig_obj
[1] ;
16656 if (!args
) SWIG_fail
;
16657 swig_obj
[0] = args
;
16658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16659 if (!SWIG_IsOK(res1
)) {
16660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16662 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16665 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
16666 wxPyEndAllowThreads(__tstate
);
16667 if (PyErr_Occurred()) SWIG_fail
;
16669 resultobj
= SWIG_From_int(static_cast< int >(result
));
16676 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16677 PyObject
*resultobj
= 0;
16678 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16682 PyObject
*swig_obj
[1] ;
16684 if (!args
) SWIG_fail
;
16685 swig_obj
[0] = args
;
16686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16687 if (!SWIG_IsOK(res1
)) {
16688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16690 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16693 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
16694 wxPyEndAllowThreads(__tstate
);
16695 if (PyErr_Occurred()) SWIG_fail
;
16697 resultobj
= SWIG_From_int(static_cast< int >(result
));
16704 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16705 PyObject
*resultobj
= 0;
16706 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16710 PyObject
*swig_obj
[1] ;
16712 if (!args
) SWIG_fail
;
16713 swig_obj
[0] = args
;
16714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16715 if (!SWIG_IsOK(res1
)) {
16716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16718 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16721 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
16722 wxPyEndAllowThreads(__tstate
);
16723 if (PyErr_Occurred()) SWIG_fail
;
16725 resultobj
= SWIG_From_int(static_cast< int >(result
));
16732 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16733 PyObject
*resultobj
= 0;
16734 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16740 PyObject
* obj0
= 0 ;
16741 PyObject
* obj1
= 0 ;
16742 char * kwnames
[] = {
16743 (char *) "self",(char *) "stick", NULL
16746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16748 if (!SWIG_IsOK(res1
)) {
16749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16751 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16752 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16753 if (!SWIG_IsOK(ecode2
)) {
16754 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "2"" of type '" "int""'");
16756 arg2
= static_cast< int >(val2
);
16758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16759 (arg1
)->SetJoystick(arg2
);
16760 wxPyEndAllowThreads(__tstate
);
16761 if (PyErr_Occurred()) SWIG_fail
;
16763 resultobj
= SWIG_Py_Void();
16770 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16771 PyObject
*resultobj
= 0;
16772 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16778 PyObject
* obj0
= 0 ;
16779 PyObject
* obj1
= 0 ;
16780 char * kwnames
[] = {
16781 (char *) "self",(char *) "state", NULL
16784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16786 if (!SWIG_IsOK(res1
)) {
16787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16789 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16790 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16791 if (!SWIG_IsOK(ecode2
)) {
16792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "2"" of type '" "int""'");
16794 arg2
= static_cast< int >(val2
);
16796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16797 (arg1
)->SetButtonState(arg2
);
16798 wxPyEndAllowThreads(__tstate
);
16799 if (PyErr_Occurred()) SWIG_fail
;
16801 resultobj
= SWIG_Py_Void();
16808 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16809 PyObject
*resultobj
= 0;
16810 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16816 PyObject
* obj0
= 0 ;
16817 PyObject
* obj1
= 0 ;
16818 char * kwnames
[] = {
16819 (char *) "self",(char *) "change", NULL
16822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16824 if (!SWIG_IsOK(res1
)) {
16825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16827 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16828 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16829 if (!SWIG_IsOK(ecode2
)) {
16830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "2"" of type '" "int""'");
16832 arg2
= static_cast< int >(val2
);
16834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16835 (arg1
)->SetButtonChange(arg2
);
16836 wxPyEndAllowThreads(__tstate
);
16837 if (PyErr_Occurred()) SWIG_fail
;
16839 resultobj
= SWIG_Py_Void();
16846 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16847 PyObject
*resultobj
= 0;
16848 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16849 wxPoint
*arg2
= 0 ;
16853 PyObject
* obj0
= 0 ;
16854 PyObject
* obj1
= 0 ;
16855 char * kwnames
[] = {
16856 (char *) "self",(char *) "pos", NULL
16859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16861 if (!SWIG_IsOK(res1
)) {
16862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16864 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16867 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16871 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
16872 wxPyEndAllowThreads(__tstate
);
16873 if (PyErr_Occurred()) SWIG_fail
;
16875 resultobj
= SWIG_Py_Void();
16882 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16883 PyObject
*resultobj
= 0;
16884 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16890 PyObject
* obj0
= 0 ;
16891 PyObject
* obj1
= 0 ;
16892 char * kwnames
[] = {
16893 (char *) "self",(char *) "zPos", NULL
16896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16898 if (!SWIG_IsOK(res1
)) {
16899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16901 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16902 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16903 if (!SWIG_IsOK(ecode2
)) {
16904 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "2"" of type '" "int""'");
16906 arg2
= static_cast< int >(val2
);
16908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16909 (arg1
)->SetZPosition(arg2
);
16910 wxPyEndAllowThreads(__tstate
);
16911 if (PyErr_Occurred()) SWIG_fail
;
16913 resultobj
= SWIG_Py_Void();
16920 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16921 PyObject
*resultobj
= 0;
16922 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16926 PyObject
*swig_obj
[1] ;
16928 if (!args
) SWIG_fail
;
16929 swig_obj
[0] = args
;
16930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16931 if (!SWIG_IsOK(res1
)) {
16932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsButton" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16934 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16937 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
16938 wxPyEndAllowThreads(__tstate
);
16939 if (PyErr_Occurred()) SWIG_fail
;
16942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16950 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16951 PyObject
*resultobj
= 0;
16952 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16956 PyObject
*swig_obj
[1] ;
16958 if (!args
) SWIG_fail
;
16959 swig_obj
[0] = args
;
16960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16961 if (!SWIG_IsOK(res1
)) {
16962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16964 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16967 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
16968 wxPyEndAllowThreads(__tstate
);
16969 if (PyErr_Occurred()) SWIG_fail
;
16972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16980 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16981 PyObject
*resultobj
= 0;
16982 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16986 PyObject
*swig_obj
[1] ;
16988 if (!args
) SWIG_fail
;
16989 swig_obj
[0] = args
;
16990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16991 if (!SWIG_IsOK(res1
)) {
16992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsZMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16994 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16997 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
16998 wxPyEndAllowThreads(__tstate
);
16999 if (PyErr_Occurred()) SWIG_fail
;
17002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17010 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17011 PyObject
*resultobj
= 0;
17012 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
17013 int arg2
= (int) wxJOY_BUTTON_ANY
;
17019 PyObject
* obj0
= 0 ;
17020 PyObject
* obj1
= 0 ;
17021 char * kwnames
[] = {
17022 (char *) "self",(char *) "but", NULL
17025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
17027 if (!SWIG_IsOK(res1
)) {
17028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
17030 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
17032 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17033 if (!SWIG_IsOK(ecode2
)) {
17034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "2"" of type '" "int""'");
17036 arg2
= static_cast< int >(val2
);
17039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17040 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
17041 wxPyEndAllowThreads(__tstate
);
17042 if (PyErr_Occurred()) SWIG_fail
;
17045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17053 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17054 PyObject
*resultobj
= 0;
17055 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
17056 int arg2
= (int) wxJOY_BUTTON_ANY
;
17062 PyObject
* obj0
= 0 ;
17063 PyObject
* obj1
= 0 ;
17064 char * kwnames
[] = {
17065 (char *) "self",(char *) "but", NULL
17068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
17070 if (!SWIG_IsOK(res1
)) {
17071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
17073 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
17075 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17076 if (!SWIG_IsOK(ecode2
)) {
17077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "2"" of type '" "int""'");
17079 arg2
= static_cast< int >(val2
);
17082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17083 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
17084 wxPyEndAllowThreads(__tstate
);
17085 if (PyErr_Occurred()) SWIG_fail
;
17088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17096 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17097 PyObject
*resultobj
= 0;
17098 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
17099 int arg2
= (int) wxJOY_BUTTON_ANY
;
17105 PyObject
* obj0
= 0 ;
17106 PyObject
* obj1
= 0 ;
17107 char * kwnames
[] = {
17108 (char *) "self",(char *) "but", NULL
17111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
17113 if (!SWIG_IsOK(res1
)) {
17114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
17116 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
17118 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17119 if (!SWIG_IsOK(ecode2
)) {
17120 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "2"" of type '" "int""'");
17122 arg2
= static_cast< int >(val2
);
17125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17126 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
17127 wxPyEndAllowThreads(__tstate
);
17128 if (PyErr_Occurred()) SWIG_fail
;
17131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17139 SWIGINTERN PyObject
*JoystickEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17141 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17142 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystickEvent
, SWIG_NewClientData(obj
));
17143 return SWIG_Py_Void();
17146 SWIGINTERN PyObject
*JoystickEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17147 return SWIG_Python_InitShadowInstance(args
);
17150 SWIGINTERN PyObject
*_wrap_new_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17151 PyObject
*resultobj
= 0;
17152 wxString
const &arg1_defvalue
= wxPyEmptyString
;
17153 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
17154 wxSound
*result
= 0 ;
17155 bool temp1
= false ;
17156 PyObject
* obj0
= 0 ;
17157 char * kwnames
[] = {
17158 (char *) "fileName", NULL
17161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) SWIG_fail
;
17164 arg1
= wxString_in_helper(obj0
);
17165 if (arg1
== NULL
) SWIG_fail
;
17170 if (!wxPyCheckForApp()) SWIG_fail
;
17171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17172 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
17173 wxPyEndAllowThreads(__tstate
);
17174 if (PyErr_Occurred()) SWIG_fail
;
17176 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_NEW
| 0 );
17191 SWIGINTERN PyObject
*_wrap_new_SoundFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17192 PyObject
*resultobj
= 0;
17193 PyObject
*arg1
= (PyObject
*) 0 ;
17194 wxSound
*result
= 0 ;
17195 PyObject
* obj0
= 0 ;
17196 char * kwnames
[] = {
17197 (char *) "data", NULL
17200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) SWIG_fail
;
17203 if (!wxPyCheckForApp()) SWIG_fail
;
17204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17205 result
= (wxSound
*)new_wxSound(arg1
);
17206 wxPyEndAllowThreads(__tstate
);
17207 if (PyErr_Occurred()) SWIG_fail
;
17209 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_OWN
| 0 );
17216 SWIGINTERN PyObject
*_wrap_delete_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17217 PyObject
*resultobj
= 0;
17218 wxSound
*arg1
= (wxSound
*) 0 ;
17221 PyObject
*swig_obj
[1] ;
17223 if (!args
) SWIG_fail
;
17224 swig_obj
[0] = args
;
17225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, SWIG_POINTER_DISOWN
| 0 );
17226 if (!SWIG_IsOK(res1
)) {
17227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Sound" "', expected argument " "1"" of type '" "wxSound *""'");
17229 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17234 wxPyEndAllowThreads(__tstate
);
17235 if (PyErr_Occurred()) SWIG_fail
;
17237 resultobj
= SWIG_Py_Void();
17244 SWIGINTERN PyObject
*_wrap_Sound_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17245 PyObject
*resultobj
= 0;
17246 wxSound
*arg1
= (wxSound
*) 0 ;
17247 wxString
*arg2
= 0 ;
17251 bool temp2
= false ;
17252 PyObject
* obj0
= 0 ;
17253 PyObject
* obj1
= 0 ;
17254 char * kwnames
[] = {
17255 (char *) "self",(char *) "fileName", NULL
17258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17260 if (!SWIG_IsOK(res1
)) {
17261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Create" "', expected argument " "1"" of type '" "wxSound *""'");
17263 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17265 arg2
= wxString_in_helper(obj1
);
17266 if (arg2
== NULL
) SWIG_fail
;
17270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17271 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
17272 wxPyEndAllowThreads(__tstate
);
17273 if (PyErr_Occurred()) SWIG_fail
;
17276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17292 SWIGINTERN PyObject
*_wrap_Sound_CreateFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17293 PyObject
*resultobj
= 0;
17294 wxSound
*arg1
= (wxSound
*) 0 ;
17295 PyObject
*arg2
= (PyObject
*) 0 ;
17299 PyObject
* obj0
= 0 ;
17300 PyObject
* obj1
= 0 ;
17301 char * kwnames
[] = {
17302 (char *) "self",(char *) "data", NULL
17305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17307 if (!SWIG_IsOK(res1
)) {
17308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_CreateFromData" "', expected argument " "1"" of type '" "wxSound *""'");
17310 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17314 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
17315 wxPyEndAllowThreads(__tstate
);
17316 if (PyErr_Occurred()) SWIG_fail
;
17319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17327 SWIGINTERN PyObject
*_wrap_Sound_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17328 PyObject
*resultobj
= 0;
17329 wxSound
*arg1
= (wxSound
*) 0 ;
17333 PyObject
*swig_obj
[1] ;
17335 if (!args
) SWIG_fail
;
17336 swig_obj
[0] = args
;
17337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17338 if (!SWIG_IsOK(res1
)) {
17339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_IsOk" "', expected argument " "1"" of type '" "wxSound *""'");
17341 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17344 result
= (bool)(arg1
)->IsOk();
17345 wxPyEndAllowThreads(__tstate
);
17346 if (PyErr_Occurred()) SWIG_fail
;
17349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17357 SWIGINTERN PyObject
*_wrap_Sound_Play(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17358 PyObject
*resultobj
= 0;
17359 wxSound
*arg1
= (wxSound
*) 0 ;
17360 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
17364 unsigned int val2
;
17366 PyObject
* obj0
= 0 ;
17367 PyObject
* obj1
= 0 ;
17368 char * kwnames
[] = {
17369 (char *) "self",(char *) "flags", NULL
17372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17374 if (!SWIG_IsOK(res1
)) {
17375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Play" "', expected argument " "1"" of type '" "wxSound const *""'");
17377 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17379 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17380 if (!SWIG_IsOK(ecode2
)) {
17381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_Play" "', expected argument " "2"" of type '" "unsigned int""'");
17383 arg2
= static_cast< unsigned int >(val2
);
17386 if (!wxPyCheckForApp()) SWIG_fail
;
17387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17388 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
17389 wxPyEndAllowThreads(__tstate
);
17390 if (PyErr_Occurred()) SWIG_fail
;
17393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17401 SWIGINTERN PyObject
*_wrap_Sound_PlaySound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17402 PyObject
*resultobj
= 0;
17403 wxString
*arg1
= 0 ;
17404 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
17406 bool temp1
= false ;
17407 unsigned int val2
;
17409 PyObject
* obj0
= 0 ;
17410 PyObject
* obj1
= 0 ;
17411 char * kwnames
[] = {
17412 (char *) "filename",(char *) "flags", NULL
17415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17417 arg1
= wxString_in_helper(obj0
);
17418 if (arg1
== NULL
) SWIG_fail
;
17422 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17423 if (!SWIG_IsOK(ecode2
)) {
17424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_PlaySound" "', expected argument " "2"" of type '" "unsigned int""'");
17426 arg2
= static_cast< unsigned int >(val2
);
17429 if (!wxPyCheckForApp()) SWIG_fail
;
17430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17431 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
17432 wxPyEndAllowThreads(__tstate
);
17433 if (PyErr_Occurred()) SWIG_fail
;
17436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17452 SWIGINTERN PyObject
*_wrap_Sound_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17453 PyObject
*resultobj
= 0;
17455 if (!SWIG_Python_UnpackTuple(args
,"Sound_Stop",0,0,0)) SWIG_fail
;
17457 if (!wxPyCheckForApp()) SWIG_fail
;
17458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17460 wxPyEndAllowThreads(__tstate
);
17461 if (PyErr_Occurred()) SWIG_fail
;
17463 resultobj
= SWIG_Py_Void();
17470 SWIGINTERN PyObject
*Sound_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17472 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17473 SWIG_TypeNewClientData(SWIGTYPE_p_wxSound
, SWIG_NewClientData(obj
));
17474 return SWIG_Py_Void();
17477 SWIGINTERN PyObject
*Sound_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17478 return SWIG_Python_InitShadowInstance(args
);
17481 SWIGINTERN PyObject
*_wrap_new_FileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17482 PyObject
*resultobj
= 0;
17483 wxString
*arg1
= 0 ;
17484 wxString
*arg2
= 0 ;
17485 wxString
*arg3
= 0 ;
17486 wxString
*arg4
= 0 ;
17487 wxFileTypeInfo
*result
= 0 ;
17488 bool temp1
= false ;
17489 bool temp2
= false ;
17490 bool temp3
= false ;
17491 bool temp4
= false ;
17492 PyObject
* obj0
= 0 ;
17493 PyObject
* obj1
= 0 ;
17494 PyObject
* obj2
= 0 ;
17495 PyObject
* obj3
= 0 ;
17496 char * kwnames
[] = {
17497 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
17500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17502 arg1
= wxString_in_helper(obj0
);
17503 if (arg1
== NULL
) SWIG_fail
;
17507 arg2
= wxString_in_helper(obj1
);
17508 if (arg2
== NULL
) SWIG_fail
;
17512 arg3
= wxString_in_helper(obj2
);
17513 if (arg3
== NULL
) SWIG_fail
;
17517 arg4
= wxString_in_helper(obj3
);
17518 if (arg4
== NULL
) SWIG_fail
;
17522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17523 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
17524 wxPyEndAllowThreads(__tstate
);
17525 if (PyErr_Occurred()) SWIG_fail
;
17527 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_NEW
| 0 );
17566 SWIGINTERN PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17567 PyObject
*resultobj
= 0;
17568 wxArrayString
*arg1
= 0 ;
17569 wxFileTypeInfo
*result
= 0 ;
17570 bool temp1
= false ;
17571 PyObject
* obj0
= 0 ;
17572 char * kwnames
[] = {
17573 (char *) "sArray", NULL
17576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) SWIG_fail
;
17578 if (! PySequence_Check(obj0
)) {
17579 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
17582 arg1
= new wxArrayString
;
17584 int i
, len
=PySequence_Length(obj0
);
17585 for (i
=0; i
<len
; i
++) {
17586 PyObject
* item
= PySequence_GetItem(obj0
, i
);
17587 wxString
* s
= wxString_in_helper(item
);
17588 if (PyErr_Occurred()) SWIG_fail
;
17595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17596 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
17597 wxPyEndAllowThreads(__tstate
);
17598 if (PyErr_Occurred()) SWIG_fail
;
17600 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
17602 if (temp1
) delete arg1
;
17607 if (temp1
) delete arg1
;
17613 SWIGINTERN PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17614 PyObject
*resultobj
= 0;
17615 wxFileTypeInfo
*result
= 0 ;
17617 if (!SWIG_Python_UnpackTuple(args
,"new_NullFileTypeInfo",0,0,0)) SWIG_fail
;
17619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17620 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
17621 wxPyEndAllowThreads(__tstate
);
17622 if (PyErr_Occurred()) SWIG_fail
;
17624 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
17631 SWIGINTERN PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17632 PyObject
*resultobj
= 0;
17633 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17637 PyObject
*swig_obj
[1] ;
17639 if (!args
) SWIG_fail
;
17640 swig_obj
[0] = args
;
17641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17642 if (!SWIG_IsOK(res1
)) {
17643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_IsValid" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17645 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17648 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
17649 wxPyEndAllowThreads(__tstate
);
17650 if (PyErr_Occurred()) SWIG_fail
;
17653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17661 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17662 PyObject
*resultobj
= 0;
17663 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17664 wxString
*arg2
= 0 ;
17665 int arg3
= (int) 0 ;
17668 bool temp2
= false ;
17671 PyObject
* obj0
= 0 ;
17672 PyObject
* obj1
= 0 ;
17673 PyObject
* obj2
= 0 ;
17674 char * kwnames
[] = {
17675 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
17678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17680 if (!SWIG_IsOK(res1
)) {
17681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
17683 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17685 arg2
= wxString_in_helper(obj1
);
17686 if (arg2
== NULL
) SWIG_fail
;
17690 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17691 if (!SWIG_IsOK(ecode3
)) {
17692 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "3"" of type '" "int""'");
17694 arg3
= static_cast< int >(val3
);
17697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17698 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
17699 wxPyEndAllowThreads(__tstate
);
17700 if (PyErr_Occurred()) SWIG_fail
;
17702 resultobj
= SWIG_Py_Void();
17717 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17718 PyObject
*resultobj
= 0;
17719 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17720 wxString
*arg2
= 0 ;
17723 bool temp2
= false ;
17724 PyObject
* obj0
= 0 ;
17725 PyObject
* obj1
= 0 ;
17726 char * kwnames
[] = {
17727 (char *) "self",(char *) "shortDesc", NULL
17730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17732 if (!SWIG_IsOK(res1
)) {
17733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
17735 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17737 arg2
= wxString_in_helper(obj1
);
17738 if (arg2
== NULL
) SWIG_fail
;
17742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17743 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
17744 wxPyEndAllowThreads(__tstate
);
17745 if (PyErr_Occurred()) SWIG_fail
;
17747 resultobj
= SWIG_Py_Void();
17762 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17763 PyObject
*resultobj
= 0;
17764 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17765 wxString
*result
= 0 ;
17768 PyObject
*swig_obj
[1] ;
17770 if (!args
) SWIG_fail
;
17771 swig_obj
[0] = args
;
17772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17773 if (!SWIG_IsOK(res1
)) {
17774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetMimeType" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17776 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17780 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
17781 result
= (wxString
*) &_result_ref
;
17783 wxPyEndAllowThreads(__tstate
);
17784 if (PyErr_Occurred()) SWIG_fail
;
17788 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17790 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17799 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17800 PyObject
*resultobj
= 0;
17801 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17802 wxString
*result
= 0 ;
17805 PyObject
*swig_obj
[1] ;
17807 if (!args
) SWIG_fail
;
17808 swig_obj
[0] = args
;
17809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17810 if (!SWIG_IsOK(res1
)) {
17811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17813 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17817 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
17818 result
= (wxString
*) &_result_ref
;
17820 wxPyEndAllowThreads(__tstate
);
17821 if (PyErr_Occurred()) SWIG_fail
;
17825 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17827 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17836 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17837 PyObject
*resultobj
= 0;
17838 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17839 wxString
*result
= 0 ;
17842 PyObject
*swig_obj
[1] ;
17844 if (!args
) SWIG_fail
;
17845 swig_obj
[0] = args
;
17846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17847 if (!SWIG_IsOK(res1
)) {
17848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17850 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17854 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
17855 result
= (wxString
*) &_result_ref
;
17857 wxPyEndAllowThreads(__tstate
);
17858 if (PyErr_Occurred()) SWIG_fail
;
17862 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17864 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17873 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17874 PyObject
*resultobj
= 0;
17875 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17876 wxString
*result
= 0 ;
17879 PyObject
*swig_obj
[1] ;
17881 if (!args
) SWIG_fail
;
17882 swig_obj
[0] = args
;
17883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17884 if (!SWIG_IsOK(res1
)) {
17885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17887 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17891 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
17892 result
= (wxString
*) &_result_ref
;
17894 wxPyEndAllowThreads(__tstate
);
17895 if (PyErr_Occurred()) SWIG_fail
;
17899 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17901 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17910 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17911 PyObject
*resultobj
= 0;
17912 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17913 wxString
*result
= 0 ;
17916 PyObject
*swig_obj
[1] ;
17918 if (!args
) SWIG_fail
;
17919 swig_obj
[0] = args
;
17920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17921 if (!SWIG_IsOK(res1
)) {
17922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetDescription" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17924 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17928 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
17929 result
= (wxString
*) &_result_ref
;
17931 wxPyEndAllowThreads(__tstate
);
17932 if (PyErr_Occurred()) SWIG_fail
;
17936 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17938 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17947 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17948 PyObject
*resultobj
= 0;
17949 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17950 wxArrayString
*result
= 0 ;
17953 PyObject
*swig_obj
[1] ;
17955 if (!args
) SWIG_fail
;
17956 swig_obj
[0] = args
;
17957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17958 if (!SWIG_IsOK(res1
)) {
17959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensions" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17961 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17965 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
17966 result
= (wxArrayString
*) &_result_ref
;
17968 wxPyEndAllowThreads(__tstate
);
17969 if (PyErr_Occurred()) SWIG_fail
;
17972 resultobj
= wxArrayString2PyList_helper(*result
);
17980 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17981 PyObject
*resultobj
= 0;
17982 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17986 PyObject
*swig_obj
[1] ;
17988 if (!args
) SWIG_fail
;
17989 swig_obj
[0] = args
;
17990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17991 if (!SWIG_IsOK(res1
)) {
17992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensionsCount" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17994 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17997 result
= (size_t)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
17998 wxPyEndAllowThreads(__tstate
);
17999 if (PyErr_Occurred()) SWIG_fail
;
18001 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
18008 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18009 PyObject
*resultobj
= 0;
18010 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
18011 wxString
*result
= 0 ;
18014 PyObject
*swig_obj
[1] ;
18016 if (!args
) SWIG_fail
;
18017 swig_obj
[0] = args
;
18018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
18019 if (!SWIG_IsOK(res1
)) {
18020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconFile" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
18022 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
18024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18026 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
18027 result
= (wxString
*) &_result_ref
;
18029 wxPyEndAllowThreads(__tstate
);
18030 if (PyErr_Occurred()) SWIG_fail
;
18034 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18036 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18045 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18046 PyObject
*resultobj
= 0;
18047 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
18051 PyObject
*swig_obj
[1] ;
18053 if (!args
) SWIG_fail
;
18054 swig_obj
[0] = args
;
18055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
18056 if (!SWIG_IsOK(res1
)) {
18057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconIndex" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
18059 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
18061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18062 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
18063 wxPyEndAllowThreads(__tstate
);
18064 if (PyErr_Occurred()) SWIG_fail
;
18066 resultobj
= SWIG_From_int(static_cast< int >(result
));
18073 SWIGINTERN PyObject
*FileTypeInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18075 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18076 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileTypeInfo
, SWIG_NewClientData(obj
));
18077 return SWIG_Py_Void();
18080 SWIGINTERN PyObject
*FileTypeInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18081 return SWIG_Python_InitShadowInstance(args
);
18084 SWIGINTERN PyObject
*_wrap_new_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18085 PyObject
*resultobj
= 0;
18086 wxFileTypeInfo
*arg1
= 0 ;
18087 wxFileType
*result
= 0 ;
18090 PyObject
* obj0
= 0 ;
18091 char * kwnames
[] = {
18092 (char *) "ftInfo", NULL
18095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) SWIG_fail
;
18096 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
18097 if (!SWIG_IsOK(res1
)) {
18098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
18101 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
18103 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
18105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18106 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
18107 wxPyEndAllowThreads(__tstate
);
18108 if (PyErr_Occurred()) SWIG_fail
;
18110 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_NEW
| 0 );
18117 SWIGINTERN PyObject
*_wrap_delete_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18118 PyObject
*resultobj
= 0;
18119 wxFileType
*arg1
= (wxFileType
*) 0 ;
18122 PyObject
*swig_obj
[1] ;
18124 if (!args
) SWIG_fail
;
18125 swig_obj
[0] = args
;
18126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, SWIG_POINTER_DISOWN
| 0 );
18127 if (!SWIG_IsOK(res1
)) {
18128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileType" "', expected argument " "1"" of type '" "wxFileType *""'");
18130 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18135 wxPyEndAllowThreads(__tstate
);
18136 if (PyErr_Occurred()) SWIG_fail
;
18138 resultobj
= SWIG_Py_Void();
18145 SWIGINTERN PyObject
*_wrap_FileType_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18146 PyObject
*resultobj
= 0;
18147 wxFileType
*arg1
= (wxFileType
*) 0 ;
18148 PyObject
*result
= 0 ;
18151 PyObject
*swig_obj
[1] ;
18153 if (!args
) SWIG_fail
;
18154 swig_obj
[0] = args
;
18155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18156 if (!SWIG_IsOK(res1
)) {
18157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeType" "', expected argument " "1"" of type '" "wxFileType *""'");
18159 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18162 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
18163 wxPyEndAllowThreads(__tstate
);
18164 if (PyErr_Occurred()) SWIG_fail
;
18166 resultobj
= result
;
18173 SWIGINTERN PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18174 PyObject
*resultobj
= 0;
18175 wxFileType
*arg1
= (wxFileType
*) 0 ;
18176 PyObject
*result
= 0 ;
18179 PyObject
*swig_obj
[1] ;
18181 if (!args
) SWIG_fail
;
18182 swig_obj
[0] = args
;
18183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18184 if (!SWIG_IsOK(res1
)) {
18185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeTypes" "', expected argument " "1"" of type '" "wxFileType *""'");
18187 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18190 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
18191 wxPyEndAllowThreads(__tstate
);
18192 if (PyErr_Occurred()) SWIG_fail
;
18194 resultobj
= result
;
18201 SWIGINTERN PyObject
*_wrap_FileType_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18202 PyObject
*resultobj
= 0;
18203 wxFileType
*arg1
= (wxFileType
*) 0 ;
18204 PyObject
*result
= 0 ;
18207 PyObject
*swig_obj
[1] ;
18209 if (!args
) SWIG_fail
;
18210 swig_obj
[0] = args
;
18211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18212 if (!SWIG_IsOK(res1
)) {
18213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetExtensions" "', expected argument " "1"" of type '" "wxFileType *""'");
18215 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18218 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
18219 wxPyEndAllowThreads(__tstate
);
18220 if (PyErr_Occurred()) SWIG_fail
;
18222 resultobj
= result
;
18229 SWIGINTERN PyObject
*_wrap_FileType_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18230 PyObject
*resultobj
= 0;
18231 wxFileType
*arg1
= (wxFileType
*) 0 ;
18232 wxIcon
*result
= 0 ;
18235 PyObject
*swig_obj
[1] ;
18237 if (!args
) SWIG_fail
;
18238 swig_obj
[0] = args
;
18239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18240 if (!SWIG_IsOK(res1
)) {
18241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
18243 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18246 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
18247 wxPyEndAllowThreads(__tstate
);
18248 if (PyErr_Occurred()) SWIG_fail
;
18250 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
18257 SWIGINTERN PyObject
*_wrap_FileType_GetIconInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18258 PyObject
*resultobj
= 0;
18259 wxFileType
*arg1
= (wxFileType
*) 0 ;
18260 PyObject
*result
= 0 ;
18263 PyObject
*swig_obj
[1] ;
18265 if (!args
) SWIG_fail
;
18266 swig_obj
[0] = args
;
18267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18268 if (!SWIG_IsOK(res1
)) {
18269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIconInfo" "', expected argument " "1"" of type '" "wxFileType *""'");
18271 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18274 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
18275 wxPyEndAllowThreads(__tstate
);
18276 if (PyErr_Occurred()) SWIG_fail
;
18278 resultobj
= result
;
18285 SWIGINTERN PyObject
*_wrap_FileType_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18286 PyObject
*resultobj
= 0;
18287 wxFileType
*arg1
= (wxFileType
*) 0 ;
18288 PyObject
*result
= 0 ;
18291 PyObject
*swig_obj
[1] ;
18293 if (!args
) SWIG_fail
;
18294 swig_obj
[0] = args
;
18295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18296 if (!SWIG_IsOK(res1
)) {
18297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetDescription" "', expected argument " "1"" of type '" "wxFileType *""'");
18299 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18302 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
18303 wxPyEndAllowThreads(__tstate
);
18304 if (PyErr_Occurred()) SWIG_fail
;
18306 resultobj
= result
;
18313 SWIGINTERN PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18314 PyObject
*resultobj
= 0;
18315 wxFileType
*arg1
= (wxFileType
*) 0 ;
18316 wxString
*arg2
= 0 ;
18317 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18318 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18319 PyObject
*result
= 0 ;
18322 bool temp2
= false ;
18323 bool temp3
= false ;
18324 PyObject
* obj0
= 0 ;
18325 PyObject
* obj1
= 0 ;
18326 PyObject
* obj2
= 0 ;
18327 char * kwnames
[] = {
18328 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
18331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18333 if (!SWIG_IsOK(res1
)) {
18334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
18336 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18338 arg2
= wxString_in_helper(obj1
);
18339 if (arg2
== NULL
) SWIG_fail
;
18344 arg3
= wxString_in_helper(obj2
);
18345 if (arg3
== NULL
) SWIG_fail
;
18350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18351 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18352 wxPyEndAllowThreads(__tstate
);
18353 if (PyErr_Occurred()) SWIG_fail
;
18355 resultobj
= result
;
18378 SWIGINTERN PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18379 PyObject
*resultobj
= 0;
18380 wxFileType
*arg1
= (wxFileType
*) 0 ;
18381 wxString
*arg2
= 0 ;
18382 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18383 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18384 PyObject
*result
= 0 ;
18387 bool temp2
= false ;
18388 bool temp3
= false ;
18389 PyObject
* obj0
= 0 ;
18390 PyObject
* obj1
= 0 ;
18391 PyObject
* obj2
= 0 ;
18392 char * kwnames
[] = {
18393 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
18396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18398 if (!SWIG_IsOK(res1
)) {
18399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
18401 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18403 arg2
= wxString_in_helper(obj1
);
18404 if (arg2
== NULL
) SWIG_fail
;
18409 arg3
= wxString_in_helper(obj2
);
18410 if (arg3
== NULL
) SWIG_fail
;
18415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18416 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18417 wxPyEndAllowThreads(__tstate
);
18418 if (PyErr_Occurred()) SWIG_fail
;
18420 resultobj
= result
;
18443 SWIGINTERN PyObject
*_wrap_FileType_GetAllCommands(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18444 PyObject
*resultobj
= 0;
18445 wxFileType
*arg1
= (wxFileType
*) 0 ;
18446 wxString
*arg2
= 0 ;
18447 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18448 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18449 PyObject
*result
= 0 ;
18452 bool temp2
= false ;
18453 bool temp3
= false ;
18454 PyObject
* obj0
= 0 ;
18455 PyObject
* obj1
= 0 ;
18456 PyObject
* obj2
= 0 ;
18457 char * kwnames
[] = {
18458 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
18461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18463 if (!SWIG_IsOK(res1
)) {
18464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetAllCommands" "', expected argument " "1"" of type '" "wxFileType *""'");
18466 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18468 arg2
= wxString_in_helper(obj1
);
18469 if (arg2
== NULL
) SWIG_fail
;
18474 arg3
= wxString_in_helper(obj2
);
18475 if (arg3
== NULL
) SWIG_fail
;
18480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18481 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18482 wxPyEndAllowThreads(__tstate
);
18483 if (PyErr_Occurred()) SWIG_fail
;
18485 resultobj
= result
;
18508 SWIGINTERN PyObject
*_wrap_FileType_SetCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18509 PyObject
*resultobj
= 0;
18510 wxFileType
*arg1
= (wxFileType
*) 0 ;
18511 wxString
*arg2
= 0 ;
18512 wxString
*arg3
= 0 ;
18513 bool arg4
= (bool) true ;
18517 bool temp2
= false ;
18518 bool temp3
= false ;
18521 PyObject
* obj0
= 0 ;
18522 PyObject
* obj1
= 0 ;
18523 PyObject
* obj2
= 0 ;
18524 PyObject
* obj3
= 0 ;
18525 char * kwnames
[] = {
18526 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
18529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18531 if (!SWIG_IsOK(res1
)) {
18532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
18534 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18536 arg2
= wxString_in_helper(obj1
);
18537 if (arg2
== NULL
) SWIG_fail
;
18541 arg3
= wxString_in_helper(obj2
);
18542 if (arg3
== NULL
) SWIG_fail
;
18546 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
18547 if (!SWIG_IsOK(ecode4
)) {
18548 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileType_SetCommand" "', expected argument " "4"" of type '" "bool""'");
18550 arg4
= static_cast< bool >(val4
);
18553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18554 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
18555 wxPyEndAllowThreads(__tstate
);
18556 if (PyErr_Occurred()) SWIG_fail
;
18559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18583 SWIGINTERN PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18584 PyObject
*resultobj
= 0;
18585 wxFileType
*arg1
= (wxFileType
*) 0 ;
18586 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18587 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18588 int arg3
= (int) 0 ;
18592 bool temp2
= false ;
18595 PyObject
* obj0
= 0 ;
18596 PyObject
* obj1
= 0 ;
18597 PyObject
* obj2
= 0 ;
18598 char * kwnames
[] = {
18599 (char *) "self",(char *) "cmd",(char *) "index", NULL
18602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18604 if (!SWIG_IsOK(res1
)) {
18605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
18607 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18610 arg2
= wxString_in_helper(obj1
);
18611 if (arg2
== NULL
) SWIG_fail
;
18616 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18617 if (!SWIG_IsOK(ecode3
)) {
18618 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "3"" of type '" "int""'");
18620 arg3
= static_cast< int >(val3
);
18623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18624 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
18625 wxPyEndAllowThreads(__tstate
);
18626 if (PyErr_Occurred()) SWIG_fail
;
18629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18645 SWIGINTERN PyObject
*_wrap_FileType_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18646 PyObject
*resultobj
= 0;
18647 wxFileType
*arg1
= (wxFileType
*) 0 ;
18651 PyObject
*swig_obj
[1] ;
18653 if (!args
) SWIG_fail
;
18654 swig_obj
[0] = args
;
18655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18656 if (!SWIG_IsOK(res1
)) {
18657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_Unassociate" "', expected argument " "1"" of type '" "wxFileType *""'");
18659 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18662 result
= (bool)(arg1
)->Unassociate();
18663 wxPyEndAllowThreads(__tstate
);
18664 if (PyErr_Occurred()) SWIG_fail
;
18667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18675 SWIGINTERN PyObject
*_wrap_FileType_ExpandCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18676 PyObject
*resultobj
= 0;
18677 wxString
*arg1
= 0 ;
18678 wxString
*arg2
= 0 ;
18679 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18680 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18682 bool temp1
= false ;
18683 bool temp2
= false ;
18684 bool temp3
= false ;
18685 PyObject
* obj0
= 0 ;
18686 PyObject
* obj1
= 0 ;
18687 PyObject
* obj2
= 0 ;
18688 char * kwnames
[] = {
18689 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
18692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18694 arg1
= wxString_in_helper(obj0
);
18695 if (arg1
== NULL
) SWIG_fail
;
18699 arg2
= wxString_in_helper(obj1
);
18700 if (arg2
== NULL
) SWIG_fail
;
18705 arg3
= wxString_in_helper(obj2
);
18706 if (arg3
== NULL
) SWIG_fail
;
18711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18712 result
= wxFileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18713 wxPyEndAllowThreads(__tstate
);
18714 if (PyErr_Occurred()) SWIG_fail
;
18718 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18720 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18753 SWIGINTERN PyObject
*FileType_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18755 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18756 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileType
, SWIG_NewClientData(obj
));
18757 return SWIG_Py_Void();
18760 SWIGINTERN PyObject
*FileType_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18761 return SWIG_Python_InitShadowInstance(args
);
18764 SWIGINTERN
int TheMimeTypesManager_set(PyObject
*) {
18765 SWIG_Error(SWIG_AttributeError
,"Variable TheMimeTypesManager is read-only.");
18770 SWIGINTERN PyObject
*TheMimeTypesManager_get(void) {
18771 PyObject
*pyobj
= 0;
18773 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0 );
18778 SWIGINTERN PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18779 PyObject
*resultobj
= 0;
18780 wxString
*arg1
= 0 ;
18781 wxString
*arg2
= 0 ;
18783 bool temp1
= false ;
18784 bool temp2
= false ;
18785 PyObject
* obj0
= 0 ;
18786 PyObject
* obj1
= 0 ;
18787 char * kwnames
[] = {
18788 (char *) "mimeType",(char *) "wildcard", NULL
18791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18793 arg1
= wxString_in_helper(obj0
);
18794 if (arg1
== NULL
) SWIG_fail
;
18798 arg2
= wxString_in_helper(obj1
);
18799 if (arg2
== NULL
) SWIG_fail
;
18803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18804 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
18805 wxPyEndAllowThreads(__tstate
);
18806 if (PyErr_Occurred()) SWIG_fail
;
18809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18833 SWIGINTERN PyObject
*_wrap_new_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18834 PyObject
*resultobj
= 0;
18835 wxMimeTypesManager
*result
= 0 ;
18837 if (!SWIG_Python_UnpackTuple(args
,"new_MimeTypesManager",0,0,0)) SWIG_fail
;
18839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18840 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
18841 wxPyEndAllowThreads(__tstate
);
18842 if (PyErr_Occurred()) SWIG_fail
;
18844 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_NEW
| 0 );
18851 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18852 PyObject
*resultobj
= 0;
18853 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18854 int arg2
= (int) wxMAILCAP_ALL
;
18855 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18856 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18861 bool temp3
= false ;
18862 PyObject
* obj0
= 0 ;
18863 PyObject
* obj1
= 0 ;
18864 PyObject
* obj2
= 0 ;
18865 char * kwnames
[] = {
18866 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
18869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18871 if (!SWIG_IsOK(res1
)) {
18872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18874 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18876 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18877 if (!SWIG_IsOK(ecode2
)) {
18878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "2"" of type '" "int""'");
18880 arg2
= static_cast< int >(val2
);
18884 arg3
= wxString_in_helper(obj2
);
18885 if (arg3
== NULL
) SWIG_fail
;
18890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18891 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
18892 wxPyEndAllowThreads(__tstate
);
18893 if (PyErr_Occurred()) SWIG_fail
;
18895 resultobj
= SWIG_Py_Void();
18910 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18911 PyObject
*resultobj
= 0;
18912 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18915 PyObject
*swig_obj
[1] ;
18917 if (!args
) SWIG_fail
;
18918 swig_obj
[0] = args
;
18919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18920 if (!SWIG_IsOK(res1
)) {
18921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ClearData" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18923 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18926 (arg1
)->ClearData();
18927 wxPyEndAllowThreads(__tstate
);
18928 if (PyErr_Occurred()) SWIG_fail
;
18930 resultobj
= SWIG_Py_Void();
18937 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18938 PyObject
*resultobj
= 0;
18939 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18940 wxString
*arg2
= 0 ;
18941 wxFileType
*result
= 0 ;
18944 bool temp2
= false ;
18945 PyObject
* obj0
= 0 ;
18946 PyObject
* obj1
= 0 ;
18947 char * kwnames
[] = {
18948 (char *) "self",(char *) "ext", NULL
18951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18953 if (!SWIG_IsOK(res1
)) {
18954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromExtension" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18956 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18958 arg2
= wxString_in_helper(obj1
);
18959 if (arg2
== NULL
) SWIG_fail
;
18963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18964 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
18965 wxPyEndAllowThreads(__tstate
);
18966 if (PyErr_Occurred()) SWIG_fail
;
18968 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
18983 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18984 PyObject
*resultobj
= 0;
18985 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18986 wxString
*arg2
= 0 ;
18987 wxFileType
*result
= 0 ;
18990 bool temp2
= false ;
18991 PyObject
* obj0
= 0 ;
18992 PyObject
* obj1
= 0 ;
18993 char * kwnames
[] = {
18994 (char *) "self",(char *) "mimeType", NULL
18997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18999 if (!SWIG_IsOK(res1
)) {
19000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromMimeType" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19002 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19004 arg2
= wxString_in_helper(obj1
);
19005 if (arg2
== NULL
) SWIG_fail
;
19009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19010 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
19011 wxPyEndAllowThreads(__tstate
);
19012 if (PyErr_Occurred()) SWIG_fail
;
19014 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
19029 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19030 PyObject
*resultobj
= 0;
19031 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19032 wxString
*arg2
= 0 ;
19033 bool arg3
= (bool) false ;
19037 bool temp2
= false ;
19040 PyObject
* obj0
= 0 ;
19041 PyObject
* obj1
= 0 ;
19042 PyObject
* obj2
= 0 ;
19043 char * kwnames
[] = {
19044 (char *) "self",(char *) "filename",(char *) "fallback", NULL
19047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19049 if (!SWIG_IsOK(res1
)) {
19050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19052 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19054 arg2
= wxString_in_helper(obj1
);
19055 if (arg2
== NULL
) SWIG_fail
;
19059 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
19060 if (!SWIG_IsOK(ecode3
)) {
19061 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "3"" of type '" "bool""'");
19063 arg3
= static_cast< bool >(val3
);
19066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19067 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
19068 wxPyEndAllowThreads(__tstate
);
19069 if (PyErr_Occurred()) SWIG_fail
;
19072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19088 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19089 PyObject
*resultobj
= 0;
19090 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19091 wxString
*arg2
= 0 ;
19095 bool temp2
= false ;
19096 PyObject
* obj0
= 0 ;
19097 PyObject
* obj1
= 0 ;
19098 char * kwnames
[] = {
19099 (char *) "self",(char *) "filename", NULL
19102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19104 if (!SWIG_IsOK(res1
)) {
19105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMimeTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19107 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19109 arg2
= wxString_in_helper(obj1
);
19110 if (arg2
== NULL
) SWIG_fail
;
19114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19115 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
19116 wxPyEndAllowThreads(__tstate
);
19117 if (PyErr_Occurred()) SWIG_fail
;
19120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19136 SWIGINTERN PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19137 PyObject
*resultobj
= 0;
19138 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19139 PyObject
*result
= 0 ;
19142 PyObject
*swig_obj
[1] ;
19144 if (!args
) SWIG_fail
;
19145 swig_obj
[0] = args
;
19146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19147 if (!SWIG_IsOK(res1
)) {
19148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_EnumAllFileTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19150 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19153 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
19154 wxPyEndAllowThreads(__tstate
);
19155 if (PyErr_Occurred()) SWIG_fail
;
19157 resultobj
= result
;
19164 SWIGINTERN PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19165 PyObject
*resultobj
= 0;
19166 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19167 wxFileTypeInfo
*arg2
= 0 ;
19172 PyObject
* obj0
= 0 ;
19173 PyObject
* obj1
= 0 ;
19174 char * kwnames
[] = {
19175 (char *) "self",(char *) "ft", NULL
19178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19180 if (!SWIG_IsOK(res1
)) {
19181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19183 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19184 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
19185 if (!SWIG_IsOK(res2
)) {
19186 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
19189 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
19191 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
19193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19194 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
19195 wxPyEndAllowThreads(__tstate
);
19196 if (PyErr_Occurred()) SWIG_fail
;
19198 resultobj
= SWIG_Py_Void();
19205 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19206 PyObject
*resultobj
= 0;
19207 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19208 wxFileTypeInfo
*arg2
= 0 ;
19209 wxFileType
*result
= 0 ;
19214 PyObject
* obj0
= 0 ;
19215 PyObject
* obj1
= 0 ;
19216 char * kwnames
[] = {
19217 (char *) "self",(char *) "ftInfo", NULL
19220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19222 if (!SWIG_IsOK(res1
)) {
19223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Associate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19225 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19226 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
19227 if (!SWIG_IsOK(res2
)) {
19228 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
19231 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
19233 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
19235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19236 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
19237 wxPyEndAllowThreads(__tstate
);
19238 if (PyErr_Occurred()) SWIG_fail
;
19240 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
19247 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19248 PyObject
*resultobj
= 0;
19249 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19250 wxFileType
*arg2
= (wxFileType
*) 0 ;
19256 PyObject
* obj0
= 0 ;
19257 PyObject
* obj1
= 0 ;
19258 char * kwnames
[] = {
19259 (char *) "self",(char *) "ft", NULL
19262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19264 if (!SWIG_IsOK(res1
)) {
19265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19267 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19268 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFileType
, 0 | 0 );
19269 if (!SWIG_IsOK(res2
)) {
19270 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "2"" of type '" "wxFileType *""'");
19272 arg2
= reinterpret_cast< wxFileType
* >(argp2
);
19274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19275 result
= (bool)(arg1
)->Unassociate(arg2
);
19276 wxPyEndAllowThreads(__tstate
);
19277 if (PyErr_Occurred()) SWIG_fail
;
19280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19288 SWIGINTERN PyObject
*_wrap_delete_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19289 PyObject
*resultobj
= 0;
19290 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19293 PyObject
*swig_obj
[1] ;
19295 if (!args
) SWIG_fail
;
19296 swig_obj
[0] = args
;
19297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_DISOWN
| 0 );
19298 if (!SWIG_IsOK(res1
)) {
19299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MimeTypesManager" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19301 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19306 wxPyEndAllowThreads(__tstate
);
19307 if (PyErr_Occurred()) SWIG_fail
;
19309 resultobj
= SWIG_Py_Void();
19316 SWIGINTERN PyObject
*MimeTypesManager_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19318 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19319 SWIG_TypeNewClientData(SWIGTYPE_p_wxMimeTypesManager
, SWIG_NewClientData(obj
));
19320 return SWIG_Py_Void();
19323 SWIGINTERN PyObject
*MimeTypesManager_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19324 return SWIG_Python_InitShadowInstance(args
);
19327 SWIGINTERN
int ART_TOOLBAR_set(PyObject
*) {
19328 SWIG_Error(SWIG_AttributeError
,"Variable ART_TOOLBAR is read-only.");
19333 SWIGINTERN PyObject
*ART_TOOLBAR_get(void) {
19334 PyObject
*pyobj
= 0;
19338 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
19340 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
19347 SWIGINTERN
int ART_MENU_set(PyObject
*) {
19348 SWIG_Error(SWIG_AttributeError
,"Variable ART_MENU is read-only.");
19353 SWIGINTERN PyObject
*ART_MENU_get(void) {
19354 PyObject
*pyobj
= 0;
19358 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
19360 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
19367 SWIGINTERN
int ART_FRAME_ICON_set(PyObject
*) {
19368 SWIG_Error(SWIG_AttributeError
,"Variable ART_FRAME_ICON is read-only.");
19373 SWIGINTERN PyObject
*ART_FRAME_ICON_get(void) {
19374 PyObject
*pyobj
= 0;
19378 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
19380 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
19387 SWIGINTERN
int ART_CMN_DIALOG_set(PyObject
*) {
19388 SWIG_Error(SWIG_AttributeError
,"Variable ART_CMN_DIALOG is read-only.");
19393 SWIGINTERN PyObject
*ART_CMN_DIALOG_get(void) {
19394 PyObject
*pyobj
= 0;
19398 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
19400 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
19407 SWIGINTERN
int ART_HELP_BROWSER_set(PyObject
*) {
19408 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BROWSER is read-only.");
19413 SWIGINTERN PyObject
*ART_HELP_BROWSER_get(void) {
19414 PyObject
*pyobj
= 0;
19418 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
19420 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
19427 SWIGINTERN
int ART_MESSAGE_BOX_set(PyObject
*) {
19428 SWIG_Error(SWIG_AttributeError
,"Variable ART_MESSAGE_BOX is read-only.");
19433 SWIGINTERN PyObject
*ART_MESSAGE_BOX_get(void) {
19434 PyObject
*pyobj
= 0;
19438 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
19440 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
19447 SWIGINTERN
int ART_BUTTON_set(PyObject
*) {
19448 SWIG_Error(SWIG_AttributeError
,"Variable ART_BUTTON is read-only.");
19453 SWIGINTERN PyObject
*ART_BUTTON_get(void) {
19454 PyObject
*pyobj
= 0;
19458 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
19460 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
19467 SWIGINTERN
int ART_OTHER_set(PyObject
*) {
19468 SWIG_Error(SWIG_AttributeError
,"Variable ART_OTHER is read-only.");
19473 SWIGINTERN PyObject
*ART_OTHER_get(void) {
19474 PyObject
*pyobj
= 0;
19478 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
19480 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
19487 SWIGINTERN
int ART_ADD_BOOKMARK_set(PyObject
*) {
19488 SWIG_Error(SWIG_AttributeError
,"Variable ART_ADD_BOOKMARK is read-only.");
19493 SWIGINTERN PyObject
*ART_ADD_BOOKMARK_get(void) {
19494 PyObject
*pyobj
= 0;
19498 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
19500 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
19507 SWIGINTERN
int ART_DEL_BOOKMARK_set(PyObject
*) {
19508 SWIG_Error(SWIG_AttributeError
,"Variable ART_DEL_BOOKMARK is read-only.");
19513 SWIGINTERN PyObject
*ART_DEL_BOOKMARK_get(void) {
19514 PyObject
*pyobj
= 0;
19518 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
19520 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
19527 SWIGINTERN
int ART_HELP_SIDE_PANEL_set(PyObject
*) {
19528 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
19533 SWIGINTERN PyObject
*ART_HELP_SIDE_PANEL_get(void) {
19534 PyObject
*pyobj
= 0;
19538 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
19540 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
19547 SWIGINTERN
int ART_HELP_SETTINGS_set(PyObject
*) {
19548 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SETTINGS is read-only.");
19553 SWIGINTERN PyObject
*ART_HELP_SETTINGS_get(void) {
19554 PyObject
*pyobj
= 0;
19558 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
19560 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
19567 SWIGINTERN
int ART_HELP_BOOK_set(PyObject
*) {
19568 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BOOK is read-only.");
19573 SWIGINTERN PyObject
*ART_HELP_BOOK_get(void) {
19574 PyObject
*pyobj
= 0;
19578 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
19580 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
19587 SWIGINTERN
int ART_HELP_FOLDER_set(PyObject
*) {
19588 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_FOLDER is read-only.");
19593 SWIGINTERN PyObject
*ART_HELP_FOLDER_get(void) {
19594 PyObject
*pyobj
= 0;
19598 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
19600 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
19607 SWIGINTERN
int ART_HELP_PAGE_set(PyObject
*) {
19608 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_PAGE is read-only.");
19613 SWIGINTERN PyObject
*ART_HELP_PAGE_get(void) {
19614 PyObject
*pyobj
= 0;
19618 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
19620 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
19627 SWIGINTERN
int ART_GO_BACK_set(PyObject
*) {
19628 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_BACK is read-only.");
19633 SWIGINTERN PyObject
*ART_GO_BACK_get(void) {
19634 PyObject
*pyobj
= 0;
19638 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
19640 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
19647 SWIGINTERN
int ART_GO_FORWARD_set(PyObject
*) {
19648 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_FORWARD is read-only.");
19653 SWIGINTERN PyObject
*ART_GO_FORWARD_get(void) {
19654 PyObject
*pyobj
= 0;
19658 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
19660 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
19667 SWIGINTERN
int ART_GO_UP_set(PyObject
*) {
19668 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_UP is read-only.");
19673 SWIGINTERN PyObject
*ART_GO_UP_get(void) {
19674 PyObject
*pyobj
= 0;
19678 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
19680 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
19687 SWIGINTERN
int ART_GO_DOWN_set(PyObject
*) {
19688 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DOWN is read-only.");
19693 SWIGINTERN PyObject
*ART_GO_DOWN_get(void) {
19694 PyObject
*pyobj
= 0;
19698 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
19700 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
19707 SWIGINTERN
int ART_GO_TO_PARENT_set(PyObject
*) {
19708 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_TO_PARENT is read-only.");
19713 SWIGINTERN PyObject
*ART_GO_TO_PARENT_get(void) {
19714 PyObject
*pyobj
= 0;
19718 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
19720 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
19727 SWIGINTERN
int ART_GO_HOME_set(PyObject
*) {
19728 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_HOME is read-only.");
19733 SWIGINTERN PyObject
*ART_GO_HOME_get(void) {
19734 PyObject
*pyobj
= 0;
19738 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
19740 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
19747 SWIGINTERN
int ART_FILE_OPEN_set(PyObject
*) {
19748 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_OPEN is read-only.");
19753 SWIGINTERN PyObject
*ART_FILE_OPEN_get(void) {
19754 PyObject
*pyobj
= 0;
19758 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
19760 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
19767 SWIGINTERN
int ART_FILE_SAVE_set(PyObject
*) {
19768 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE is read-only.");
19773 SWIGINTERN PyObject
*ART_FILE_SAVE_get(void) {
19774 PyObject
*pyobj
= 0;
19778 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
19780 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
19787 SWIGINTERN
int ART_FILE_SAVE_AS_set(PyObject
*) {
19788 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE_AS is read-only.");
19793 SWIGINTERN PyObject
*ART_FILE_SAVE_AS_get(void) {
19794 PyObject
*pyobj
= 0;
19798 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
19800 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
19807 SWIGINTERN
int ART_PRINT_set(PyObject
*) {
19808 SWIG_Error(SWIG_AttributeError
,"Variable ART_PRINT is read-only.");
19813 SWIGINTERN PyObject
*ART_PRINT_get(void) {
19814 PyObject
*pyobj
= 0;
19818 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
19820 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
19827 SWIGINTERN
int ART_HELP_set(PyObject
*) {
19828 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP is read-only.");
19833 SWIGINTERN PyObject
*ART_HELP_get(void) {
19834 PyObject
*pyobj
= 0;
19838 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
19840 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
19847 SWIGINTERN
int ART_TIP_set(PyObject
*) {
19848 SWIG_Error(SWIG_AttributeError
,"Variable ART_TIP is read-only.");
19853 SWIGINTERN PyObject
*ART_TIP_get(void) {
19854 PyObject
*pyobj
= 0;
19858 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
19860 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
19867 SWIGINTERN
int ART_REPORT_VIEW_set(PyObject
*) {
19868 SWIG_Error(SWIG_AttributeError
,"Variable ART_REPORT_VIEW is read-only.");
19873 SWIGINTERN PyObject
*ART_REPORT_VIEW_get(void) {
19874 PyObject
*pyobj
= 0;
19878 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
19880 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
19887 SWIGINTERN
int ART_LIST_VIEW_set(PyObject
*) {
19888 SWIG_Error(SWIG_AttributeError
,"Variable ART_LIST_VIEW is read-only.");
19893 SWIGINTERN PyObject
*ART_LIST_VIEW_get(void) {
19894 PyObject
*pyobj
= 0;
19898 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
19900 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
19907 SWIGINTERN
int ART_NEW_DIR_set(PyObject
*) {
19908 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW_DIR is read-only.");
19913 SWIGINTERN PyObject
*ART_NEW_DIR_get(void) {
19914 PyObject
*pyobj
= 0;
19918 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
19920 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
19927 SWIGINTERN
int ART_HARDDISK_set(PyObject
*) {
19928 SWIG_Error(SWIG_AttributeError
,"Variable ART_HARDDISK is read-only.");
19933 SWIGINTERN PyObject
*ART_HARDDISK_get(void) {
19934 PyObject
*pyobj
= 0;
19938 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
19940 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
19947 SWIGINTERN
int ART_FLOPPY_set(PyObject
*) {
19948 SWIG_Error(SWIG_AttributeError
,"Variable ART_FLOPPY is read-only.");
19953 SWIGINTERN PyObject
*ART_FLOPPY_get(void) {
19954 PyObject
*pyobj
= 0;
19958 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
19960 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
19967 SWIGINTERN
int ART_CDROM_set(PyObject
*) {
19968 SWIG_Error(SWIG_AttributeError
,"Variable ART_CDROM is read-only.");
19973 SWIGINTERN PyObject
*ART_CDROM_get(void) {
19974 PyObject
*pyobj
= 0;
19978 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
19980 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
19987 SWIGINTERN
int ART_REMOVABLE_set(PyObject
*) {
19988 SWIG_Error(SWIG_AttributeError
,"Variable ART_REMOVABLE is read-only.");
19993 SWIGINTERN PyObject
*ART_REMOVABLE_get(void) {
19994 PyObject
*pyobj
= 0;
19998 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
20000 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
20007 SWIGINTERN
int ART_FOLDER_set(PyObject
*) {
20008 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER is read-only.");
20013 SWIGINTERN PyObject
*ART_FOLDER_get(void) {
20014 PyObject
*pyobj
= 0;
20018 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
20020 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
20027 SWIGINTERN
int ART_FOLDER_OPEN_set(PyObject
*) {
20028 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER_OPEN is read-only.");
20033 SWIGINTERN PyObject
*ART_FOLDER_OPEN_get(void) {
20034 PyObject
*pyobj
= 0;
20038 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
20040 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
20047 SWIGINTERN
int ART_GO_DIR_UP_set(PyObject
*) {
20048 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DIR_UP is read-only.");
20053 SWIGINTERN PyObject
*ART_GO_DIR_UP_get(void) {
20054 PyObject
*pyobj
= 0;
20058 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
20060 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
20067 SWIGINTERN
int ART_EXECUTABLE_FILE_set(PyObject
*) {
20068 SWIG_Error(SWIG_AttributeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
20073 SWIGINTERN PyObject
*ART_EXECUTABLE_FILE_get(void) {
20074 PyObject
*pyobj
= 0;
20078 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
20080 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
20087 SWIGINTERN
int ART_NORMAL_FILE_set(PyObject
*) {
20088 SWIG_Error(SWIG_AttributeError
,"Variable ART_NORMAL_FILE is read-only.");
20093 SWIGINTERN PyObject
*ART_NORMAL_FILE_get(void) {
20094 PyObject
*pyobj
= 0;
20098 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
20100 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
20107 SWIGINTERN
int ART_TICK_MARK_set(PyObject
*) {
20108 SWIG_Error(SWIG_AttributeError
,"Variable ART_TICK_MARK is read-only.");
20113 SWIGINTERN PyObject
*ART_TICK_MARK_get(void) {
20114 PyObject
*pyobj
= 0;
20118 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
20120 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
20127 SWIGINTERN
int ART_CROSS_MARK_set(PyObject
*) {
20128 SWIG_Error(SWIG_AttributeError
,"Variable ART_CROSS_MARK is read-only.");
20133 SWIGINTERN PyObject
*ART_CROSS_MARK_get(void) {
20134 PyObject
*pyobj
= 0;
20138 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
20140 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
20147 SWIGINTERN
int ART_ERROR_set(PyObject
*) {
20148 SWIG_Error(SWIG_AttributeError
,"Variable ART_ERROR is read-only.");
20153 SWIGINTERN PyObject
*ART_ERROR_get(void) {
20154 PyObject
*pyobj
= 0;
20158 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
20160 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
20167 SWIGINTERN
int ART_QUESTION_set(PyObject
*) {
20168 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUESTION is read-only.");
20173 SWIGINTERN PyObject
*ART_QUESTION_get(void) {
20174 PyObject
*pyobj
= 0;
20178 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
20180 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
20187 SWIGINTERN
int ART_WARNING_set(PyObject
*) {
20188 SWIG_Error(SWIG_AttributeError
,"Variable ART_WARNING is read-only.");
20193 SWIGINTERN PyObject
*ART_WARNING_get(void) {
20194 PyObject
*pyobj
= 0;
20198 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
20200 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
20207 SWIGINTERN
int ART_INFORMATION_set(PyObject
*) {
20208 SWIG_Error(SWIG_AttributeError
,"Variable ART_INFORMATION is read-only.");
20213 SWIGINTERN PyObject
*ART_INFORMATION_get(void) {
20214 PyObject
*pyobj
= 0;
20218 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
20220 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
20227 SWIGINTERN
int ART_MISSING_IMAGE_set(PyObject
*) {
20228 SWIG_Error(SWIG_AttributeError
,"Variable ART_MISSING_IMAGE is read-only.");
20233 SWIGINTERN PyObject
*ART_MISSING_IMAGE_get(void) {
20234 PyObject
*pyobj
= 0;
20238 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
20240 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
20247 SWIGINTERN
int ART_COPY_set(PyObject
*) {
20248 SWIG_Error(SWIG_AttributeError
,"Variable ART_COPY is read-only.");
20253 SWIGINTERN PyObject
*ART_COPY_get(void) {
20254 PyObject
*pyobj
= 0;
20258 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
20260 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
20267 SWIGINTERN
int ART_CUT_set(PyObject
*) {
20268 SWIG_Error(SWIG_AttributeError
,"Variable ART_CUT is read-only.");
20273 SWIGINTERN PyObject
*ART_CUT_get(void) {
20274 PyObject
*pyobj
= 0;
20278 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
20280 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
20287 SWIGINTERN
int ART_PASTE_set(PyObject
*) {
20288 SWIG_Error(SWIG_AttributeError
,"Variable ART_PASTE is read-only.");
20293 SWIGINTERN PyObject
*ART_PASTE_get(void) {
20294 PyObject
*pyobj
= 0;
20298 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
20300 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
20307 SWIGINTERN
int ART_DELETE_set(PyObject
*) {
20308 SWIG_Error(SWIG_AttributeError
,"Variable ART_DELETE is read-only.");
20313 SWIGINTERN PyObject
*ART_DELETE_get(void) {
20314 PyObject
*pyobj
= 0;
20318 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
20320 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
20327 SWIGINTERN
int ART_NEW_set(PyObject
*) {
20328 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW is read-only.");
20333 SWIGINTERN PyObject
*ART_NEW_get(void) {
20334 PyObject
*pyobj
= 0;
20338 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
20340 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
20347 SWIGINTERN
int ART_UNDO_set(PyObject
*) {
20348 SWIG_Error(SWIG_AttributeError
,"Variable ART_UNDO is read-only.");
20353 SWIGINTERN PyObject
*ART_UNDO_get(void) {
20354 PyObject
*pyobj
= 0;
20358 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
20360 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
20367 SWIGINTERN
int ART_REDO_set(PyObject
*) {
20368 SWIG_Error(SWIG_AttributeError
,"Variable ART_REDO is read-only.");
20373 SWIGINTERN PyObject
*ART_REDO_get(void) {
20374 PyObject
*pyobj
= 0;
20378 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
20380 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
20387 SWIGINTERN
int ART_QUIT_set(PyObject
*) {
20388 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUIT is read-only.");
20393 SWIGINTERN PyObject
*ART_QUIT_get(void) {
20394 PyObject
*pyobj
= 0;
20398 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
20400 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
20407 SWIGINTERN
int ART_FIND_set(PyObject
*) {
20408 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND is read-only.");
20413 SWIGINTERN PyObject
*ART_FIND_get(void) {
20414 PyObject
*pyobj
= 0;
20418 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
20420 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
20427 SWIGINTERN
int ART_FIND_AND_REPLACE_set(PyObject
*) {
20428 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
20433 SWIGINTERN PyObject
*ART_FIND_AND_REPLACE_get(void) {
20434 PyObject
*pyobj
= 0;
20438 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
20440 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
20447 SWIGINTERN PyObject
*_wrap_new_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20448 PyObject
*resultobj
= 0;
20449 wxPyArtProvider
*result
= 0 ;
20451 if (!SWIG_Python_UnpackTuple(args
,"new_ArtProvider",0,0,0)) SWIG_fail
;
20453 if (!wxPyCheckForApp()) SWIG_fail
;
20454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20455 result
= (wxPyArtProvider
*)new wxPyArtProvider();
20456 wxPyEndAllowThreads(__tstate
);
20457 if (PyErr_Occurred()) SWIG_fail
;
20459 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_NEW
| 0 );
20466 SWIGINTERN PyObject
*_wrap_delete_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20467 PyObject
*resultobj
= 0;
20468 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20471 PyObject
*swig_obj
[1] ;
20473 if (!args
) SWIG_fail
;
20474 swig_obj
[0] = args
;
20475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
20476 if (!SWIG_IsOK(res1
)) {
20477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ArtProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20479 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20484 wxPyEndAllowThreads(__tstate
);
20485 if (PyErr_Occurred()) SWIG_fail
;
20487 resultobj
= SWIG_Py_Void();
20494 SWIGINTERN PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20495 PyObject
*resultobj
= 0;
20496 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20497 PyObject
*arg2
= (PyObject
*) 0 ;
20498 PyObject
*arg3
= (PyObject
*) 0 ;
20501 PyObject
* obj0
= 0 ;
20502 PyObject
* obj1
= 0 ;
20503 PyObject
* obj2
= 0 ;
20504 char * kwnames
[] = {
20505 (char *) "self",(char *) "self",(char *) "_class", NULL
20508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
20510 if (!SWIG_IsOK(res1
)) {
20511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20513 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20518 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20519 wxPyEndAllowThreads(__tstate
);
20520 if (PyErr_Occurred()) SWIG_fail
;
20522 resultobj
= SWIG_Py_Void();
20529 SWIGINTERN PyObject
*_wrap_ArtProvider_Push(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20530 PyObject
*resultobj
= 0;
20531 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20533 PyObject
* obj0
= 0 ;
20534 char * kwnames
[] = {
20535 (char *) "provider", NULL
20538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Push",kwnames
,&obj0
)) SWIG_fail
;
20539 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
20540 if (!SWIG_IsOK(res1
)) {
20541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Push" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20545 wxPyArtProvider::Push(arg1
);
20546 wxPyEndAllowThreads(__tstate
);
20547 if (PyErr_Occurred()) SWIG_fail
;
20549 resultobj
= SWIG_Py_Void();
20556 SWIGINTERN PyObject
*_wrap_ArtProvider_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20557 PyObject
*resultobj
= 0;
20558 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20560 PyObject
* obj0
= 0 ;
20561 char * kwnames
[] = {
20562 (char *) "provider", NULL
20565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Insert",kwnames
,&obj0
)) SWIG_fail
;
20566 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
20567 if (!SWIG_IsOK(res1
)) {
20568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Insert" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20572 wxPyArtProvider::Insert(arg1
);
20573 wxPyEndAllowThreads(__tstate
);
20574 if (PyErr_Occurred()) SWIG_fail
;
20576 resultobj
= SWIG_Py_Void();
20583 SWIGINTERN PyObject
*_wrap_ArtProvider_Pop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20584 PyObject
*resultobj
= 0;
20587 if (!SWIG_Python_UnpackTuple(args
,"ArtProvider_Pop",0,0,0)) SWIG_fail
;
20589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20590 result
= (bool)wxPyArtProvider::Pop();
20591 wxPyEndAllowThreads(__tstate
);
20592 if (PyErr_Occurred()) SWIG_fail
;
20595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20603 SWIGINTERN PyObject
*_wrap_ArtProvider_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20604 PyObject
*resultobj
= 0;
20605 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20609 PyObject
* obj0
= 0 ;
20610 char * kwnames
[] = {
20611 (char *) "provider", NULL
20614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Delete",kwnames
,&obj0
)) SWIG_fail
;
20615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
20616 if (!SWIG_IsOK(res1
)) {
20617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Delete" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20619 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20622 result
= (bool)wxPyArtProvider::Delete(arg1
);
20623 wxPyEndAllowThreads(__tstate
);
20624 if (PyErr_Occurred()) SWIG_fail
;
20627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20635 SWIGINTERN PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20636 PyObject
*resultobj
= 0;
20637 wxString
*arg1
= 0 ;
20638 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
20639 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20640 wxSize
const &arg3_defvalue
= wxDefaultSize
;
20641 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
20643 bool temp1
= false ;
20644 bool temp2
= false ;
20646 PyObject
* obj0
= 0 ;
20647 PyObject
* obj1
= 0 ;
20648 PyObject
* obj2
= 0 ;
20649 char * kwnames
[] = {
20650 (char *) "id",(char *) "client",(char *) "size", NULL
20653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20655 arg1
= wxString_in_helper(obj0
);
20656 if (arg1
== NULL
) SWIG_fail
;
20661 arg2
= wxString_in_helper(obj1
);
20662 if (arg2
== NULL
) SWIG_fail
;
20669 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20673 if (!wxPyCheckForApp()) SWIG_fail
;
20674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20675 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
20676 wxPyEndAllowThreads(__tstate
);
20677 if (PyErr_Occurred()) SWIG_fail
;
20679 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
20702 SWIGINTERN PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20703 PyObject
*resultobj
= 0;
20704 wxString
*arg1
= 0 ;
20705 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
20706 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20707 wxSize
const &arg3_defvalue
= wxDefaultSize
;
20708 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
20710 bool temp1
= false ;
20711 bool temp2
= false ;
20713 PyObject
* obj0
= 0 ;
20714 PyObject
* obj1
= 0 ;
20715 PyObject
* obj2
= 0 ;
20716 char * kwnames
[] = {
20717 (char *) "id",(char *) "client",(char *) "size", NULL
20720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20722 arg1
= wxString_in_helper(obj0
);
20723 if (arg1
== NULL
) SWIG_fail
;
20728 arg2
= wxString_in_helper(obj1
);
20729 if (arg2
== NULL
) SWIG_fail
;
20736 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20740 if (!wxPyCheckForApp()) SWIG_fail
;
20741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20742 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
20743 wxPyEndAllowThreads(__tstate
);
20744 if (PyErr_Occurred()) SWIG_fail
;
20746 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
20769 SWIGINTERN PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20770 PyObject
*resultobj
= 0;
20771 wxString
*arg1
= 0 ;
20772 bool arg2
= (bool) false ;
20774 bool temp1
= false ;
20777 PyObject
* obj0
= 0 ;
20778 PyObject
* obj1
= 0 ;
20779 char * kwnames
[] = {
20780 (char *) "client",(char *) "platform_dependent", NULL
20783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20785 arg1
= wxString_in_helper(obj0
);
20786 if (arg1
== NULL
) SWIG_fail
;
20790 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20791 if (!SWIG_IsOK(ecode2
)) {
20792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ArtProvider_GetSizeHint" "', expected argument " "2"" of type '" "bool""'");
20794 arg2
= static_cast< bool >(val2
);
20797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20798 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
20799 wxPyEndAllowThreads(__tstate
);
20800 if (PyErr_Occurred()) SWIG_fail
;
20802 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20817 SWIGINTERN PyObject
*_wrap_ArtProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20818 PyObject
*resultobj
= 0;
20819 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20822 PyObject
*swig_obj
[1] ;
20824 if (!args
) SWIG_fail
;
20825 swig_obj
[0] = args
;
20826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
20827 if (!SWIG_IsOK(res1
)) {
20828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Destroy" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20830 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20833 wxPyArtProvider_Destroy(arg1
);
20834 wxPyEndAllowThreads(__tstate
);
20835 if (PyErr_Occurred()) SWIG_fail
;
20837 resultobj
= SWIG_Py_Void();
20844 SWIGINTERN PyObject
*ArtProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20846 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20847 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyArtProvider
, SWIG_NewClientData(obj
));
20848 return SWIG_Py_Void();
20851 SWIGINTERN PyObject
*ArtProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20852 return SWIG_Python_InitShadowInstance(args
);
20855 SWIGINTERN PyObject
*_wrap_delete_ConfigBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20856 PyObject
*resultobj
= 0;
20857 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20860 PyObject
*swig_obj
[1] ;
20862 if (!args
) SWIG_fail
;
20863 swig_obj
[0] = args
;
20864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
20865 if (!SWIG_IsOK(res1
)) {
20866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigBase" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20868 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20873 wxPyEndAllowThreads(__tstate
);
20874 if (PyErr_Occurred()) SWIG_fail
;
20876 resultobj
= SWIG_Py_Void();
20883 SWIGINTERN PyObject
*_wrap_ConfigBase_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20884 PyObject
*resultobj
= 0;
20885 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20886 wxConfigBase
*result
= 0 ;
20888 PyObject
* obj0
= 0 ;
20889 char * kwnames
[] = {
20890 (char *) "config", NULL
20893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) SWIG_fail
;
20894 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
20895 if (!SWIG_IsOK(res1
)) {
20896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Set" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20900 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
20901 wxPyEndAllowThreads(__tstate
);
20902 if (PyErr_Occurred()) SWIG_fail
;
20904 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20911 SWIGINTERN PyObject
*_wrap_ConfigBase_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20912 PyObject
*resultobj
= 0;
20913 bool arg1
= (bool) true ;
20914 wxConfigBase
*result
= 0 ;
20917 PyObject
* obj0
= 0 ;
20918 char * kwnames
[] = {
20919 (char *) "createOnDemand", NULL
20922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) SWIG_fail
;
20924 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
20925 if (!SWIG_IsOK(ecode1
)) {
20926 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ConfigBase_Get" "', expected argument " "1"" of type '" "bool""'");
20928 arg1
= static_cast< bool >(val1
);
20931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20932 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
20933 wxPyEndAllowThreads(__tstate
);
20934 if (PyErr_Occurred()) SWIG_fail
;
20936 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20943 SWIGINTERN PyObject
*_wrap_ConfigBase_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20944 PyObject
*resultobj
= 0;
20945 wxConfigBase
*result
= 0 ;
20947 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_Create",0,0,0)) SWIG_fail
;
20949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20950 result
= (wxConfigBase
*)wxConfigBase::Create();
20951 wxPyEndAllowThreads(__tstate
);
20952 if (PyErr_Occurred()) SWIG_fail
;
20954 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20961 SWIGINTERN PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20962 PyObject
*resultobj
= 0;
20964 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_DontCreateOnDemand",0,0,0)) SWIG_fail
;
20966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20967 wxConfigBase::DontCreateOnDemand();
20968 wxPyEndAllowThreads(__tstate
);
20969 if (PyErr_Occurred()) SWIG_fail
;
20971 resultobj
= SWIG_Py_Void();
20978 SWIGINTERN PyObject
*_wrap_ConfigBase_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20979 PyObject
*resultobj
= 0;
20980 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20981 wxString
*arg2
= 0 ;
20984 bool temp2
= false ;
20985 PyObject
* obj0
= 0 ;
20986 PyObject
* obj1
= 0 ;
20987 char * kwnames
[] = {
20988 (char *) "self",(char *) "path", NULL
20991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20993 if (!SWIG_IsOK(res1
)) {
20994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetPath" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20996 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20998 arg2
= wxString_in_helper(obj1
);
20999 if (arg2
== NULL
) SWIG_fail
;
21003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21004 (arg1
)->SetPath((wxString
const &)*arg2
);
21005 wxPyEndAllowThreads(__tstate
);
21006 if (PyErr_Occurred()) SWIG_fail
;
21008 resultobj
= SWIG_Py_Void();
21023 SWIGINTERN PyObject
*_wrap_ConfigBase_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21024 PyObject
*resultobj
= 0;
21025 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21026 wxString
*result
= 0 ;
21029 PyObject
*swig_obj
[1] ;
21031 if (!args
) SWIG_fail
;
21032 swig_obj
[0] = args
;
21033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21034 if (!SWIG_IsOK(res1
)) {
21035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetPath" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21037 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21041 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
21042 result
= (wxString
*) &_result_ref
;
21044 wxPyEndAllowThreads(__tstate
);
21045 if (PyErr_Occurred()) SWIG_fail
;
21049 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21051 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21060 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21061 PyObject
*resultobj
= 0;
21062 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21063 PyObject
*result
= 0 ;
21066 PyObject
*swig_obj
[1] ;
21068 if (!args
) SWIG_fail
;
21069 swig_obj
[0] = args
;
21070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21071 if (!SWIG_IsOK(res1
)) {
21072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21074 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21077 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
21078 wxPyEndAllowThreads(__tstate
);
21079 if (PyErr_Occurred()) SWIG_fail
;
21081 resultobj
= result
;
21088 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21089 PyObject
*resultobj
= 0;
21090 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21092 PyObject
*result
= 0 ;
21097 PyObject
* obj0
= 0 ;
21098 PyObject
* obj1
= 0 ;
21099 char * kwnames
[] = {
21100 (char *) "self",(char *) "index", NULL
21103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21105 if (!SWIG_IsOK(res1
)) {
21106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21108 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21109 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21110 if (!SWIG_IsOK(ecode2
)) {
21111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "2"" of type '" "long""'");
21113 arg2
= static_cast< long >(val2
);
21115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21116 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
21117 wxPyEndAllowThreads(__tstate
);
21118 if (PyErr_Occurred()) SWIG_fail
;
21120 resultobj
= result
;
21127 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21128 PyObject
*resultobj
= 0;
21129 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21130 PyObject
*result
= 0 ;
21133 PyObject
*swig_obj
[1] ;
21135 if (!args
) SWIG_fail
;
21136 swig_obj
[0] = args
;
21137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21138 if (!SWIG_IsOK(res1
)) {
21139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21141 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21144 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
21145 wxPyEndAllowThreads(__tstate
);
21146 if (PyErr_Occurred()) SWIG_fail
;
21148 resultobj
= result
;
21155 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21156 PyObject
*resultobj
= 0;
21157 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21159 PyObject
*result
= 0 ;
21164 PyObject
* obj0
= 0 ;
21165 PyObject
* obj1
= 0 ;
21166 char * kwnames
[] = {
21167 (char *) "self",(char *) "index", NULL
21170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21172 if (!SWIG_IsOK(res1
)) {
21173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21175 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21176 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21177 if (!SWIG_IsOK(ecode2
)) {
21178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "2"" of type '" "long""'");
21180 arg2
= static_cast< long >(val2
);
21182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21183 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
21184 wxPyEndAllowThreads(__tstate
);
21185 if (PyErr_Occurred()) SWIG_fail
;
21187 resultobj
= result
;
21194 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21195 PyObject
*resultobj
= 0;
21196 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21197 bool arg2
= (bool) false ;
21203 PyObject
* obj0
= 0 ;
21204 PyObject
* obj1
= 0 ;
21205 char * kwnames
[] = {
21206 (char *) "self",(char *) "recursive", NULL
21209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21211 if (!SWIG_IsOK(res1
)) {
21212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21214 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21216 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21217 if (!SWIG_IsOK(ecode2
)) {
21218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "2"" of type '" "bool""'");
21220 arg2
= static_cast< bool >(val2
);
21223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21224 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
21225 wxPyEndAllowThreads(__tstate
);
21226 if (PyErr_Occurred()) SWIG_fail
;
21228 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
21235 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21236 PyObject
*resultobj
= 0;
21237 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21238 bool arg2
= (bool) false ;
21244 PyObject
* obj0
= 0 ;
21245 PyObject
* obj1
= 0 ;
21246 char * kwnames
[] = {
21247 (char *) "self",(char *) "recursive", NULL
21250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21252 if (!SWIG_IsOK(res1
)) {
21253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21255 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21257 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21258 if (!SWIG_IsOK(ecode2
)) {
21259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "2"" of type '" "bool""'");
21261 arg2
= static_cast< bool >(val2
);
21264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21265 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
21266 wxPyEndAllowThreads(__tstate
);
21267 if (PyErr_Occurred()) SWIG_fail
;
21269 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
21276 SWIGINTERN PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21277 PyObject
*resultobj
= 0;
21278 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21279 wxString
*arg2
= 0 ;
21283 bool temp2
= false ;
21284 PyObject
* obj0
= 0 ;
21285 PyObject
* obj1
= 0 ;
21286 char * kwnames
[] = {
21287 (char *) "self",(char *) "name", NULL
21290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21292 if (!SWIG_IsOK(res1
)) {
21293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasGroup" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21295 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21297 arg2
= wxString_in_helper(obj1
);
21298 if (arg2
== NULL
) SWIG_fail
;
21302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21303 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
21304 wxPyEndAllowThreads(__tstate
);
21305 if (PyErr_Occurred()) SWIG_fail
;
21308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21324 SWIGINTERN PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21325 PyObject
*resultobj
= 0;
21326 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21327 wxString
*arg2
= 0 ;
21331 bool temp2
= false ;
21332 PyObject
* obj0
= 0 ;
21333 PyObject
* obj1
= 0 ;
21334 char * kwnames
[] = {
21335 (char *) "self",(char *) "name", NULL
21338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21340 if (!SWIG_IsOK(res1
)) {
21341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasEntry" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21343 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21345 arg2
= wxString_in_helper(obj1
);
21346 if (arg2
== NULL
) SWIG_fail
;
21350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21351 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
21352 wxPyEndAllowThreads(__tstate
);
21353 if (PyErr_Occurred()) SWIG_fail
;
21356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21372 SWIGINTERN PyObject
*_wrap_ConfigBase_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21373 PyObject
*resultobj
= 0;
21374 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21375 wxString
*arg2
= 0 ;
21379 bool temp2
= false ;
21380 PyObject
* obj0
= 0 ;
21381 PyObject
* obj1
= 0 ;
21382 char * kwnames
[] = {
21383 (char *) "self",(char *) "name", NULL
21386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21388 if (!SWIG_IsOK(res1
)) {
21389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Exists" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21391 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21393 arg2
= wxString_in_helper(obj1
);
21394 if (arg2
== NULL
) SWIG_fail
;
21398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21399 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
21400 wxPyEndAllowThreads(__tstate
);
21401 if (PyErr_Occurred()) SWIG_fail
;
21404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21420 SWIGINTERN PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21421 PyObject
*resultobj
= 0;
21422 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21423 wxString
*arg2
= 0 ;
21424 wxConfigBase::EntryType result
;
21427 bool temp2
= false ;
21428 PyObject
* obj0
= 0 ;
21429 PyObject
* obj1
= 0 ;
21430 char * kwnames
[] = {
21431 (char *) "self",(char *) "name", NULL
21434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21436 if (!SWIG_IsOK(res1
)) {
21437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetEntryType" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21439 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21441 arg2
= wxString_in_helper(obj1
);
21442 if (arg2
== NULL
) SWIG_fail
;
21446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21447 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
21448 wxPyEndAllowThreads(__tstate
);
21449 if (PyErr_Occurred()) SWIG_fail
;
21451 resultobj
= SWIG_From_int(static_cast< int >(result
));
21466 SWIGINTERN PyObject
*_wrap_ConfigBase_Read(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21467 PyObject
*resultobj
= 0;
21468 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21469 wxString
*arg2
= 0 ;
21470 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21471 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21475 bool temp2
= false ;
21476 bool temp3
= false ;
21477 PyObject
* obj0
= 0 ;
21478 PyObject
* obj1
= 0 ;
21479 PyObject
* obj2
= 0 ;
21480 char * kwnames
[] = {
21481 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21486 if (!SWIG_IsOK(res1
)) {
21487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Read" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21489 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21491 arg2
= wxString_in_helper(obj1
);
21492 if (arg2
== NULL
) SWIG_fail
;
21497 arg3
= wxString_in_helper(obj2
);
21498 if (arg3
== NULL
) SWIG_fail
;
21503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21504 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
21505 wxPyEndAllowThreads(__tstate
);
21506 if (PyErr_Occurred()) SWIG_fail
;
21510 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21512 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21537 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21538 PyObject
*resultobj
= 0;
21539 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21540 wxString
*arg2
= 0 ;
21541 long arg3
= (long) 0 ;
21545 bool temp2
= false ;
21548 PyObject
* obj0
= 0 ;
21549 PyObject
* obj1
= 0 ;
21550 PyObject
* obj2
= 0 ;
21551 char * kwnames
[] = {
21552 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21557 if (!SWIG_IsOK(res1
)) {
21558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21560 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21562 arg2
= wxString_in_helper(obj1
);
21563 if (arg2
== NULL
) SWIG_fail
;
21567 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21568 if (!SWIG_IsOK(ecode3
)) {
21569 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadInt" "', expected argument " "3"" of type '" "long""'");
21571 arg3
= static_cast< long >(val3
);
21574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21575 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
21576 wxPyEndAllowThreads(__tstate
);
21577 if (PyErr_Occurred()) SWIG_fail
;
21579 resultobj
= SWIG_From_long(static_cast< long >(result
));
21594 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21595 PyObject
*resultobj
= 0;
21596 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21597 wxString
*arg2
= 0 ;
21598 double arg3
= (double) 0.0 ;
21602 bool temp2
= false ;
21605 PyObject
* obj0
= 0 ;
21606 PyObject
* obj1
= 0 ;
21607 PyObject
* obj2
= 0 ;
21608 char * kwnames
[] = {
21609 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21614 if (!SWIG_IsOK(res1
)) {
21615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21617 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21619 arg2
= wxString_in_helper(obj1
);
21620 if (arg2
== NULL
) SWIG_fail
;
21624 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21625 if (!SWIG_IsOK(ecode3
)) {
21626 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "3"" of type '" "double""'");
21628 arg3
= static_cast< double >(val3
);
21631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21632 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
21633 wxPyEndAllowThreads(__tstate
);
21634 if (PyErr_Occurred()) SWIG_fail
;
21636 resultobj
= SWIG_From_double(static_cast< double >(result
));
21651 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21652 PyObject
*resultobj
= 0;
21653 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21654 wxString
*arg2
= 0 ;
21655 bool arg3
= (bool) false ;
21659 bool temp2
= false ;
21662 PyObject
* obj0
= 0 ;
21663 PyObject
* obj1
= 0 ;
21664 PyObject
* obj2
= 0 ;
21665 char * kwnames
[] = {
21666 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21671 if (!SWIG_IsOK(res1
)) {
21672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21674 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21676 arg2
= wxString_in_helper(obj1
);
21677 if (arg2
== NULL
) SWIG_fail
;
21681 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21682 if (!SWIG_IsOK(ecode3
)) {
21683 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadBool" "', expected argument " "3"" of type '" "bool""'");
21685 arg3
= static_cast< bool >(val3
);
21688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21689 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
21690 wxPyEndAllowThreads(__tstate
);
21691 if (PyErr_Occurred()) SWIG_fail
;
21694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21710 SWIGINTERN PyObject
*_wrap_ConfigBase_Write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21711 PyObject
*resultobj
= 0;
21712 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21713 wxString
*arg2
= 0 ;
21714 wxString
*arg3
= 0 ;
21718 bool temp2
= false ;
21719 bool temp3
= false ;
21720 PyObject
* obj0
= 0 ;
21721 PyObject
* obj1
= 0 ;
21722 PyObject
* obj2
= 0 ;
21723 char * kwnames
[] = {
21724 (char *) "self",(char *) "key",(char *) "value", NULL
21727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21729 if (!SWIG_IsOK(res1
)) {
21730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Write" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21732 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21734 arg2
= wxString_in_helper(obj1
);
21735 if (arg2
== NULL
) SWIG_fail
;
21739 arg3
= wxString_in_helper(obj2
);
21740 if (arg3
== NULL
) SWIG_fail
;
21744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21745 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
21746 wxPyEndAllowThreads(__tstate
);
21747 if (PyErr_Occurred()) SWIG_fail
;
21750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21774 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21775 PyObject
*resultobj
= 0;
21776 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21777 wxString
*arg2
= 0 ;
21782 bool temp2
= false ;
21785 PyObject
* obj0
= 0 ;
21786 PyObject
* obj1
= 0 ;
21787 PyObject
* obj2
= 0 ;
21788 char * kwnames
[] = {
21789 (char *) "self",(char *) "key",(char *) "value", NULL
21792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21794 if (!SWIG_IsOK(res1
)) {
21795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21797 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21799 arg2
= wxString_in_helper(obj1
);
21800 if (arg2
== NULL
) SWIG_fail
;
21803 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21804 if (!SWIG_IsOK(ecode3
)) {
21805 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteInt" "', expected argument " "3"" of type '" "long""'");
21807 arg3
= static_cast< long >(val3
);
21809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21810 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
21811 wxPyEndAllowThreads(__tstate
);
21812 if (PyErr_Occurred()) SWIG_fail
;
21815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21831 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21832 PyObject
*resultobj
= 0;
21833 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21834 wxString
*arg2
= 0 ;
21839 bool temp2
= false ;
21842 PyObject
* obj0
= 0 ;
21843 PyObject
* obj1
= 0 ;
21844 PyObject
* obj2
= 0 ;
21845 char * kwnames
[] = {
21846 (char *) "self",(char *) "key",(char *) "value", NULL
21849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21851 if (!SWIG_IsOK(res1
)) {
21852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21854 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21856 arg2
= wxString_in_helper(obj1
);
21857 if (arg2
== NULL
) SWIG_fail
;
21860 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21861 if (!SWIG_IsOK(ecode3
)) {
21862 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "3"" of type '" "double""'");
21864 arg3
= static_cast< double >(val3
);
21866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21867 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
21868 wxPyEndAllowThreads(__tstate
);
21869 if (PyErr_Occurred()) SWIG_fail
;
21872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21888 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21889 PyObject
*resultobj
= 0;
21890 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21891 wxString
*arg2
= 0 ;
21896 bool temp2
= false ;
21899 PyObject
* obj0
= 0 ;
21900 PyObject
* obj1
= 0 ;
21901 PyObject
* obj2
= 0 ;
21902 char * kwnames
[] = {
21903 (char *) "self",(char *) "key",(char *) "value", NULL
21906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21908 if (!SWIG_IsOK(res1
)) {
21909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21911 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21913 arg2
= wxString_in_helper(obj1
);
21914 if (arg2
== NULL
) SWIG_fail
;
21917 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21918 if (!SWIG_IsOK(ecode3
)) {
21919 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteBool" "', expected argument " "3"" of type '" "bool""'");
21921 arg3
= static_cast< bool >(val3
);
21923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21924 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
21925 wxPyEndAllowThreads(__tstate
);
21926 if (PyErr_Occurred()) SWIG_fail
;
21929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21945 SWIGINTERN PyObject
*_wrap_ConfigBase_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21946 PyObject
*resultobj
= 0;
21947 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21948 bool arg2
= (bool) false ;
21954 PyObject
* obj0
= 0 ;
21955 PyObject
* obj1
= 0 ;
21956 char * kwnames
[] = {
21957 (char *) "self",(char *) "currentOnly", NULL
21960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21962 if (!SWIG_IsOK(res1
)) {
21963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Flush" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21965 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21967 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21968 if (!SWIG_IsOK(ecode2
)) {
21969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_Flush" "', expected argument " "2"" of type '" "bool""'");
21971 arg2
= static_cast< bool >(val2
);
21974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21975 result
= (bool)(arg1
)->Flush(arg2
);
21976 wxPyEndAllowThreads(__tstate
);
21977 if (PyErr_Occurred()) SWIG_fail
;
21980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21988 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21989 PyObject
*resultobj
= 0;
21990 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21991 wxString
*arg2
= 0 ;
21992 wxString
*arg3
= 0 ;
21996 bool temp2
= false ;
21997 bool temp3
= false ;
21998 PyObject
* obj0
= 0 ;
21999 PyObject
* obj1
= 0 ;
22000 PyObject
* obj2
= 0 ;
22001 char * kwnames
[] = {
22002 (char *) "self",(char *) "oldName",(char *) "newName", NULL
22005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22007 if (!SWIG_IsOK(res1
)) {
22008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22010 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22012 arg2
= wxString_in_helper(obj1
);
22013 if (arg2
== NULL
) SWIG_fail
;
22017 arg3
= wxString_in_helper(obj2
);
22018 if (arg3
== NULL
) SWIG_fail
;
22022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22023 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
22024 wxPyEndAllowThreads(__tstate
);
22025 if (PyErr_Occurred()) SWIG_fail
;
22028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22052 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22053 PyObject
*resultobj
= 0;
22054 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22055 wxString
*arg2
= 0 ;
22056 wxString
*arg3
= 0 ;
22060 bool temp2
= false ;
22061 bool temp3
= false ;
22062 PyObject
* obj0
= 0 ;
22063 PyObject
* obj1
= 0 ;
22064 PyObject
* obj2
= 0 ;
22065 char * kwnames
[] = {
22066 (char *) "self",(char *) "oldName",(char *) "newName", NULL
22069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22071 if (!SWIG_IsOK(res1
)) {
22072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22074 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22076 arg2
= wxString_in_helper(obj1
);
22077 if (arg2
== NULL
) SWIG_fail
;
22081 arg3
= wxString_in_helper(obj2
);
22082 if (arg3
== NULL
) SWIG_fail
;
22086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22087 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
22088 wxPyEndAllowThreads(__tstate
);
22089 if (PyErr_Occurred()) SWIG_fail
;
22092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22116 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22117 PyObject
*resultobj
= 0;
22118 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22119 wxString
*arg2
= 0 ;
22120 bool arg3
= (bool) true ;
22124 bool temp2
= false ;
22127 PyObject
* obj0
= 0 ;
22128 PyObject
* obj1
= 0 ;
22129 PyObject
* obj2
= 0 ;
22130 char * kwnames
[] = {
22131 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
22134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22136 if (!SWIG_IsOK(res1
)) {
22137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22139 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22141 arg2
= wxString_in_helper(obj1
);
22142 if (arg2
== NULL
) SWIG_fail
;
22146 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22147 if (!SWIG_IsOK(ecode3
)) {
22148 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "3"" of type '" "bool""'");
22150 arg3
= static_cast< bool >(val3
);
22153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22154 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
22155 wxPyEndAllowThreads(__tstate
);
22156 if (PyErr_Occurred()) SWIG_fail
;
22159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22175 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22176 PyObject
*resultobj
= 0;
22177 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22178 wxString
*arg2
= 0 ;
22182 bool temp2
= false ;
22183 PyObject
* obj0
= 0 ;
22184 PyObject
* obj1
= 0 ;
22185 char * kwnames
[] = {
22186 (char *) "self",(char *) "key", NULL
22189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22191 if (!SWIG_IsOK(res1
)) {
22192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22194 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22196 arg2
= wxString_in_helper(obj1
);
22197 if (arg2
== NULL
) SWIG_fail
;
22201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22202 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
22203 wxPyEndAllowThreads(__tstate
);
22204 if (PyErr_Occurred()) SWIG_fail
;
22207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22223 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22224 PyObject
*resultobj
= 0;
22225 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22229 PyObject
*swig_obj
[1] ;
22231 if (!args
) SWIG_fail
;
22232 swig_obj
[0] = args
;
22233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22234 if (!SWIG_IsOK(res1
)) {
22235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteAll" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22237 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22240 result
= (bool)(arg1
)->DeleteAll();
22241 wxPyEndAllowThreads(__tstate
);
22242 if (PyErr_Occurred()) SWIG_fail
;
22245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22253 SWIGINTERN PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22254 PyObject
*resultobj
= 0;
22255 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22256 bool arg2
= (bool) true ;
22261 PyObject
* obj0
= 0 ;
22262 PyObject
* obj1
= 0 ;
22263 char * kwnames
[] = {
22264 (char *) "self",(char *) "doIt", NULL
22267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22269 if (!SWIG_IsOK(res1
)) {
22270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22272 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22274 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22275 if (!SWIG_IsOK(ecode2
)) {
22276 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "2"" of type '" "bool""'");
22278 arg2
= static_cast< bool >(val2
);
22281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22282 (arg1
)->SetExpandEnvVars(arg2
);
22283 wxPyEndAllowThreads(__tstate
);
22284 if (PyErr_Occurred()) SWIG_fail
;
22286 resultobj
= SWIG_Py_Void();
22293 SWIGINTERN PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22294 PyObject
*resultobj
= 0;
22295 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22299 PyObject
*swig_obj
[1] ;
22301 if (!args
) SWIG_fail
;
22302 swig_obj
[0] = args
;
22303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22304 if (!SWIG_IsOK(res1
)) {
22305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsExpandingEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22307 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22310 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
22311 wxPyEndAllowThreads(__tstate
);
22312 if (PyErr_Occurred()) SWIG_fail
;
22315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22323 SWIGINTERN PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22324 PyObject
*resultobj
= 0;
22325 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22326 bool arg2
= (bool) true ;
22331 PyObject
* obj0
= 0 ;
22332 PyObject
* obj1
= 0 ;
22333 char * kwnames
[] = {
22334 (char *) "self",(char *) "doIt", NULL
22337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22339 if (!SWIG_IsOK(res1
)) {
22340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22342 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22344 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22345 if (!SWIG_IsOK(ecode2
)) {
22346 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "2"" of type '" "bool""'");
22348 arg2
= static_cast< bool >(val2
);
22351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22352 (arg1
)->SetRecordDefaults(arg2
);
22353 wxPyEndAllowThreads(__tstate
);
22354 if (PyErr_Occurred()) SWIG_fail
;
22356 resultobj
= SWIG_Py_Void();
22363 SWIGINTERN PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22364 PyObject
*resultobj
= 0;
22365 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22369 PyObject
*swig_obj
[1] ;
22371 if (!args
) SWIG_fail
;
22372 swig_obj
[0] = args
;
22373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22374 if (!SWIG_IsOK(res1
)) {
22375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsRecordingDefaults" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22377 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22380 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
22381 wxPyEndAllowThreads(__tstate
);
22382 if (PyErr_Occurred()) SWIG_fail
;
22385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22393 SWIGINTERN PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22394 PyObject
*resultobj
= 0;
22395 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22396 wxString
*arg2
= 0 ;
22400 bool temp2
= false ;
22401 PyObject
* obj0
= 0 ;
22402 PyObject
* obj1
= 0 ;
22403 char * kwnames
[] = {
22404 (char *) "self",(char *) "str", NULL
22407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22409 if (!SWIG_IsOK(res1
)) {
22410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22412 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22414 arg2
= wxString_in_helper(obj1
);
22415 if (arg2
== NULL
) SWIG_fail
;
22419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22420 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
22421 wxPyEndAllowThreads(__tstate
);
22422 if (PyErr_Occurred()) SWIG_fail
;
22426 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22428 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22445 SWIGINTERN PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22446 PyObject
*resultobj
= 0;
22447 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22451 PyObject
*swig_obj
[1] ;
22453 if (!args
) SWIG_fail
;
22454 swig_obj
[0] = args
;
22455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22456 if (!SWIG_IsOK(res1
)) {
22457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetAppName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22459 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22462 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
22463 wxPyEndAllowThreads(__tstate
);
22464 if (PyErr_Occurred()) SWIG_fail
;
22468 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22470 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22479 SWIGINTERN PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22480 PyObject
*resultobj
= 0;
22481 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22485 PyObject
*swig_obj
[1] ;
22487 if (!args
) SWIG_fail
;
22488 swig_obj
[0] = args
;
22489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22490 if (!SWIG_IsOK(res1
)) {
22491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetVendorName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22493 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22496 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
22497 wxPyEndAllowThreads(__tstate
);
22498 if (PyErr_Occurred()) SWIG_fail
;
22502 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22504 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22513 SWIGINTERN PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22514 PyObject
*resultobj
= 0;
22515 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22516 wxString
*arg2
= 0 ;
22519 bool temp2
= false ;
22520 PyObject
* obj0
= 0 ;
22521 PyObject
* obj1
= 0 ;
22522 char * kwnames
[] = {
22523 (char *) "self",(char *) "appName", NULL
22526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22528 if (!SWIG_IsOK(res1
)) {
22529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetAppName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22531 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22533 arg2
= wxString_in_helper(obj1
);
22534 if (arg2
== NULL
) SWIG_fail
;
22538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22539 (arg1
)->SetAppName((wxString
const &)*arg2
);
22540 wxPyEndAllowThreads(__tstate
);
22541 if (PyErr_Occurred()) SWIG_fail
;
22543 resultobj
= SWIG_Py_Void();
22558 SWIGINTERN PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22559 PyObject
*resultobj
= 0;
22560 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22561 wxString
*arg2
= 0 ;
22564 bool temp2
= false ;
22565 PyObject
* obj0
= 0 ;
22566 PyObject
* obj1
= 0 ;
22567 char * kwnames
[] = {
22568 (char *) "self",(char *) "vendorName", NULL
22571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22573 if (!SWIG_IsOK(res1
)) {
22574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetVendorName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22576 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22578 arg2
= wxString_in_helper(obj1
);
22579 if (arg2
== NULL
) SWIG_fail
;
22583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22584 (arg1
)->SetVendorName((wxString
const &)*arg2
);
22585 wxPyEndAllowThreads(__tstate
);
22586 if (PyErr_Occurred()) SWIG_fail
;
22588 resultobj
= SWIG_Py_Void();
22603 SWIGINTERN PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22604 PyObject
*resultobj
= 0;
22605 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22611 PyObject
* obj0
= 0 ;
22612 PyObject
* obj1
= 0 ;
22613 char * kwnames
[] = {
22614 (char *) "self",(char *) "style", NULL
22617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22619 if (!SWIG_IsOK(res1
)) {
22620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetStyle" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22622 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22623 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
22624 if (!SWIG_IsOK(ecode2
)) {
22625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetStyle" "', expected argument " "2"" of type '" "long""'");
22627 arg2
= static_cast< long >(val2
);
22629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22630 (arg1
)->SetStyle(arg2
);
22631 wxPyEndAllowThreads(__tstate
);
22632 if (PyErr_Occurred()) SWIG_fail
;
22634 resultobj
= SWIG_Py_Void();
22641 SWIGINTERN PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22642 PyObject
*resultobj
= 0;
22643 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22647 PyObject
*swig_obj
[1] ;
22649 if (!args
) SWIG_fail
;
22650 swig_obj
[0] = args
;
22651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22652 if (!SWIG_IsOK(res1
)) {
22653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetStyle" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22655 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22658 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
22659 wxPyEndAllowThreads(__tstate
);
22660 if (PyErr_Occurred()) SWIG_fail
;
22662 resultobj
= SWIG_From_long(static_cast< long >(result
));
22669 SWIGINTERN PyObject
*ConfigBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22671 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22672 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigBase
, SWIG_NewClientData(obj
));
22673 return SWIG_Py_Void();
22676 SWIGINTERN PyObject
*_wrap_new_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22677 PyObject
*resultobj
= 0;
22678 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22679 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22680 wxString
const &arg2_defvalue
= wxPyEmptyString
;
22681 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22682 wxString
const &arg3_defvalue
= wxPyEmptyString
;
22683 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
22684 wxString
const &arg4_defvalue
= wxPyEmptyString
;
22685 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
22686 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
22687 wxConfig
*result
= 0 ;
22688 bool temp1
= false ;
22689 bool temp2
= false ;
22690 bool temp3
= false ;
22691 bool temp4
= false ;
22694 PyObject
* obj0
= 0 ;
22695 PyObject
* obj1
= 0 ;
22696 PyObject
* obj2
= 0 ;
22697 PyObject
* obj3
= 0 ;
22698 PyObject
* obj4
= 0 ;
22699 char * kwnames
[] = {
22700 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
22703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22706 arg1
= wxString_in_helper(obj0
);
22707 if (arg1
== NULL
) SWIG_fail
;
22713 arg2
= wxString_in_helper(obj1
);
22714 if (arg2
== NULL
) SWIG_fail
;
22720 arg3
= wxString_in_helper(obj2
);
22721 if (arg3
== NULL
) SWIG_fail
;
22727 arg4
= wxString_in_helper(obj3
);
22728 if (arg4
== NULL
) SWIG_fail
;
22733 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22734 if (!SWIG_IsOK(ecode5
)) {
22735 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Config" "', expected argument " "5"" of type '" "long""'");
22737 arg5
= static_cast< long >(val5
);
22740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22741 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
22742 wxPyEndAllowThreads(__tstate
);
22743 if (PyErr_Occurred()) SWIG_fail
;
22745 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfig
, SWIG_POINTER_NEW
| 0 );
22784 SWIGINTERN PyObject
*_wrap_delete_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22785 PyObject
*resultobj
= 0;
22786 wxConfig
*arg1
= (wxConfig
*) 0 ;
22789 PyObject
*swig_obj
[1] ;
22791 if (!args
) SWIG_fail
;
22792 swig_obj
[0] = args
;
22793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfig
, SWIG_POINTER_DISOWN
| 0 );
22794 if (!SWIG_IsOK(res1
)) {
22795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Config" "', expected argument " "1"" of type '" "wxConfig *""'");
22797 arg1
= reinterpret_cast< wxConfig
* >(argp1
);
22799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22802 wxPyEndAllowThreads(__tstate
);
22803 if (PyErr_Occurred()) SWIG_fail
;
22805 resultobj
= SWIG_Py_Void();
22812 SWIGINTERN PyObject
*Config_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22814 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22815 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfig
, SWIG_NewClientData(obj
));
22816 return SWIG_Py_Void();
22819 SWIGINTERN PyObject
*Config_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22820 return SWIG_Python_InitShadowInstance(args
);
22823 SWIGINTERN PyObject
*_wrap_new_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22824 PyObject
*resultobj
= 0;
22825 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22826 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22827 wxString
const &arg2_defvalue
= wxPyEmptyString
;
22828 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22829 wxString
const &arg3_defvalue
= wxPyEmptyString
;
22830 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
22831 wxString
const &arg4_defvalue
= wxPyEmptyString
;
22832 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
22833 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
22834 wxFileConfig
*result
= 0 ;
22835 bool temp1
= false ;
22836 bool temp2
= false ;
22837 bool temp3
= false ;
22838 bool temp4
= false ;
22841 PyObject
* obj0
= 0 ;
22842 PyObject
* obj1
= 0 ;
22843 PyObject
* obj2
= 0 ;
22844 PyObject
* obj3
= 0 ;
22845 PyObject
* obj4
= 0 ;
22846 char * kwnames
[] = {
22847 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
22850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22853 arg1
= wxString_in_helper(obj0
);
22854 if (arg1
== NULL
) SWIG_fail
;
22860 arg2
= wxString_in_helper(obj1
);
22861 if (arg2
== NULL
) SWIG_fail
;
22867 arg3
= wxString_in_helper(obj2
);
22868 if (arg3
== NULL
) SWIG_fail
;
22874 arg4
= wxString_in_helper(obj3
);
22875 if (arg4
== NULL
) SWIG_fail
;
22880 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22881 if (!SWIG_IsOK(ecode5
)) {
22882 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FileConfig" "', expected argument " "5"" of type '" "long""'");
22884 arg5
= static_cast< long >(val5
);
22887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22888 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
22889 wxPyEndAllowThreads(__tstate
);
22890 if (PyErr_Occurred()) SWIG_fail
;
22892 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_NEW
| 0 );
22931 SWIGINTERN PyObject
*_wrap_delete_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22932 PyObject
*resultobj
= 0;
22933 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
22936 PyObject
*swig_obj
[1] ;
22938 if (!args
) SWIG_fail
;
22939 swig_obj
[0] = args
;
22940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_DISOWN
| 0 );
22941 if (!SWIG_IsOK(res1
)) {
22942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileConfig" "', expected argument " "1"" of type '" "wxFileConfig *""'");
22944 arg1
= reinterpret_cast< wxFileConfig
* >(argp1
);
22946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22949 wxPyEndAllowThreads(__tstate
);
22950 if (PyErr_Occurred()) SWIG_fail
;
22952 resultobj
= SWIG_Py_Void();
22959 SWIGINTERN PyObject
*FileConfig_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22961 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22962 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileConfig
, SWIG_NewClientData(obj
));
22963 return SWIG_Py_Void();
22966 SWIGINTERN PyObject
*FileConfig_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22967 return SWIG_Python_InitShadowInstance(args
);
22970 SWIGINTERN PyObject
*_wrap_new_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22971 PyObject
*resultobj
= 0;
22972 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22973 wxString
*arg2
= 0 ;
22974 wxConfigPathChanger
*result
= 0 ;
22977 bool temp2
= false ;
22978 PyObject
* obj0
= 0 ;
22979 PyObject
* obj1
= 0 ;
22980 char * kwnames
[] = {
22981 (char *) "config",(char *) "entry", NULL
22984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22986 if (!SWIG_IsOK(res1
)) {
22987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22989 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22991 arg2
= wxString_in_helper(obj1
);
22992 if (arg2
== NULL
) SWIG_fail
;
22996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22997 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
22998 wxPyEndAllowThreads(__tstate
);
22999 if (PyErr_Occurred()) SWIG_fail
;
23001 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_NEW
| 0 );
23016 SWIGINTERN PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23017 PyObject
*resultobj
= 0;
23018 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
23021 PyObject
*swig_obj
[1] ;
23023 if (!args
) SWIG_fail
;
23024 swig_obj
[0] = args
;
23025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_DISOWN
| 0 );
23026 if (!SWIG_IsOK(res1
)) {
23027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigPathChanger *""'");
23029 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
23031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23034 wxPyEndAllowThreads(__tstate
);
23035 if (PyErr_Occurred()) SWIG_fail
;
23037 resultobj
= SWIG_Py_Void();
23044 SWIGINTERN PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23045 PyObject
*resultobj
= 0;
23046 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
23047 wxString
*result
= 0 ;
23050 PyObject
*swig_obj
[1] ;
23052 if (!args
) SWIG_fail
;
23053 swig_obj
[0] = args
;
23054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, 0 | 0 );
23055 if (!SWIG_IsOK(res1
)) {
23056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigPathChanger_Name" "', expected argument " "1"" of type '" "wxConfigPathChanger const *""'");
23058 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
23060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23062 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
23063 result
= (wxString
*) &_result_ref
;
23065 wxPyEndAllowThreads(__tstate
);
23066 if (PyErr_Occurred()) SWIG_fail
;
23070 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23072 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23081 SWIGINTERN PyObject
*ConfigPathChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23083 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23084 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigPathChanger
, SWIG_NewClientData(obj
));
23085 return SWIG_Py_Void();
23088 SWIGINTERN PyObject
*ConfigPathChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23089 return SWIG_Python_InitShadowInstance(args
);
23092 SWIGINTERN PyObject
*_wrap_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23093 PyObject
*resultobj
= 0;
23094 wxString
*arg1
= 0 ;
23096 bool temp1
= false ;
23097 PyObject
* obj0
= 0 ;
23098 char * kwnames
[] = {
23099 (char *) "sz", NULL
23102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) SWIG_fail
;
23104 arg1
= wxString_in_helper(obj0
);
23105 if (arg1
== NULL
) SWIG_fail
;
23109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23110 result
= wxExpandEnvVars((wxString
const &)*arg1
);
23111 wxPyEndAllowThreads(__tstate
);
23112 if (PyErr_Occurred()) SWIG_fail
;
23116 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23118 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23135 SWIGINTERN
int DefaultDateTimeFormat_set(PyObject
*) {
23136 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTimeFormat is read-only.");
23141 SWIGINTERN PyObject
*DefaultDateTimeFormat_get(void) {
23142 PyObject
*pyobj
= 0;
23146 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
23148 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
23155 SWIGINTERN
int DefaultTimeSpanFormat_set(PyObject
*) {
23156 SWIG_Error(SWIG_AttributeError
,"Variable DefaultTimeSpanFormat is read-only.");
23161 SWIGINTERN PyObject
*DefaultTimeSpanFormat_get(void) {
23162 PyObject
*pyobj
= 0;
23166 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
23168 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
23175 SWIGINTERN PyObject
*_wrap_DateTime_SetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23176 PyObject
*resultobj
= 0;
23177 wxDateTime::Country arg1
;
23180 PyObject
* obj0
= 0 ;
23181 char * kwnames
[] = {
23182 (char *) "country", NULL
23185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) SWIG_fail
;
23186 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23187 if (!SWIG_IsOK(ecode1
)) {
23188 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
23190 arg1
= static_cast< wxDateTime::Country
>(val1
);
23192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23193 wxDateTime::SetCountry(arg1
);
23194 wxPyEndAllowThreads(__tstate
);
23195 if (PyErr_Occurred()) SWIG_fail
;
23197 resultobj
= SWIG_Py_Void();
23204 SWIGINTERN PyObject
*_wrap_DateTime_GetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23205 PyObject
*resultobj
= 0;
23206 wxDateTime::Country result
;
23208 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetCountry",0,0,0)) SWIG_fail
;
23210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23211 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
23212 wxPyEndAllowThreads(__tstate
);
23213 if (PyErr_Occurred()) SWIG_fail
;
23215 resultobj
= SWIG_From_int(static_cast< int >(result
));
23222 SWIGINTERN PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23223 PyObject
*resultobj
= 0;
23224 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23228 PyObject
* obj0
= 0 ;
23229 char * kwnames
[] = {
23230 (char *) "country", NULL
23233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) SWIG_fail
;
23235 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23236 if (!SWIG_IsOK(ecode1
)) {
23237 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsWestEuropeanCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
23239 arg1
= static_cast< wxDateTime::Country
>(val1
);
23242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23243 result
= (bool)wxDateTime::IsWestEuropeanCountry(arg1
);
23244 wxPyEndAllowThreads(__tstate
);
23245 if (PyErr_Occurred()) SWIG_fail
;
23248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23256 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23257 PyObject
*resultobj
= 0;
23258 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23262 PyObject
* obj0
= 0 ;
23263 char * kwnames
[] = {
23264 (char *) "cal", NULL
23267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) SWIG_fail
;
23269 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23270 if (!SWIG_IsOK(ecode1
)) {
23271 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentYear" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
23273 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
23276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23277 result
= (int)wxDateTime::GetCurrentYear(arg1
);
23278 wxPyEndAllowThreads(__tstate
);
23279 if (PyErr_Occurred()) SWIG_fail
;
23281 resultobj
= SWIG_From_int(static_cast< int >(result
));
23288 SWIGINTERN PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23289 PyObject
*resultobj
= 0;
23294 PyObject
* obj0
= 0 ;
23295 char * kwnames
[] = {
23296 (char *) "year", NULL
23299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) SWIG_fail
;
23300 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23301 if (!SWIG_IsOK(ecode1
)) {
23302 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_ConvertYearToBC" "', expected argument " "1"" of type '" "int""'");
23304 arg1
= static_cast< int >(val1
);
23306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23307 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
23308 wxPyEndAllowThreads(__tstate
);
23309 if (PyErr_Occurred()) SWIG_fail
;
23311 resultobj
= SWIG_From_int(static_cast< int >(result
));
23318 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23319 PyObject
*resultobj
= 0;
23320 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23321 wxDateTime::Month result
;
23324 PyObject
* obj0
= 0 ;
23325 char * kwnames
[] = {
23326 (char *) "cal", NULL
23329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) SWIG_fail
;
23331 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23332 if (!SWIG_IsOK(ecode1
)) {
23333 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentMonth" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
23335 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
23338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23339 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth(arg1
);
23340 wxPyEndAllowThreads(__tstate
);
23341 if (PyErr_Occurred()) SWIG_fail
;
23343 resultobj
= SWIG_From_int(static_cast< int >(result
));
23350 SWIGINTERN PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23351 PyObject
*resultobj
= 0;
23352 int arg1
= (int) wxDateTime::Inv_Year
;
23353 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23359 PyObject
* obj0
= 0 ;
23360 PyObject
* obj1
= 0 ;
23361 char * kwnames
[] = {
23362 (char *) "year",(char *) "cal", NULL
23365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23367 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23368 if (!SWIG_IsOK(ecode1
)) {
23369 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsLeapYear" "', expected argument " "1"" of type '" "int""'");
23371 arg1
= static_cast< int >(val1
);
23374 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23375 if (!SWIG_IsOK(ecode2
)) {
23376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsLeapYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
23378 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
23381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23382 result
= (bool)wxDateTime::IsLeapYear(arg1
,arg2
);
23383 wxPyEndAllowThreads(__tstate
);
23384 if (PyErr_Occurred()) SWIG_fail
;
23387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23395 SWIGINTERN PyObject
*_wrap_DateTime_GetCentury(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23396 PyObject
*resultobj
= 0;
23397 int arg1
= (int) wxDateTime::Inv_Year
;
23401 PyObject
* obj0
= 0 ;
23402 char * kwnames
[] = {
23403 (char *) "year", NULL
23406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) SWIG_fail
;
23408 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23409 if (!SWIG_IsOK(ecode1
)) {
23410 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCentury" "', expected argument " "1"" of type '" "int""'");
23412 arg1
= static_cast< int >(val1
);
23415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23416 result
= (int)wxDateTime::GetCentury(arg1
);
23417 wxPyEndAllowThreads(__tstate
);
23418 if (PyErr_Occurred()) SWIG_fail
;
23420 resultobj
= SWIG_From_int(static_cast< int >(result
));
23427 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23428 PyObject
*resultobj
= 0;
23430 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23436 PyObject
* obj0
= 0 ;
23437 PyObject
* obj1
= 0 ;
23438 char * kwnames
[] = {
23439 (char *) "year",(char *) "cal", NULL
23442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23443 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23444 if (!SWIG_IsOK(ecode1
)) {
23445 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "1"" of type '" "int""'");
23447 arg1
= static_cast< int >(val1
);
23449 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23450 if (!SWIG_IsOK(ecode2
)) {
23451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
23453 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
23456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23457 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
);
23458 wxPyEndAllowThreads(__tstate
);
23459 if (PyErr_Occurred()) SWIG_fail
;
23461 resultobj
= SWIG_From_int(static_cast< int >(result
));
23468 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23469 PyObject
*resultobj
= 0;
23470 wxDateTime::Month arg1
;
23471 int arg2
= (int) wxDateTime::Inv_Year
;
23472 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23480 PyObject
* obj0
= 0 ;
23481 PyObject
* obj1
= 0 ;
23482 PyObject
* obj2
= 0 ;
23483 char * kwnames
[] = {
23484 (char *) "month",(char *) "year",(char *) "cal", NULL
23487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23488 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23489 if (!SWIG_IsOK(ecode1
)) {
23490 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
23492 arg1
= static_cast< wxDateTime::Month
>(val1
);
23494 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23495 if (!SWIG_IsOK(ecode2
)) {
23496 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "2"" of type '" "int""'");
23498 arg2
= static_cast< int >(val2
);
23501 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23502 if (!SWIG_IsOK(ecode3
)) {
23503 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "3"" of type '" "wxDateTime::Calendar""'");
23505 arg3
= static_cast< wxDateTime::Calendar
>(val3
);
23508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23509 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
,arg3
);
23510 wxPyEndAllowThreads(__tstate
);
23511 if (PyErr_Occurred()) SWIG_fail
;
23513 resultobj
= SWIG_From_int(static_cast< int >(result
));
23520 SWIGINTERN PyObject
*_wrap_DateTime_GetMonthName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23521 PyObject
*resultobj
= 0;
23522 wxDateTime::Month arg1
;
23523 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
23529 PyObject
* obj0
= 0 ;
23530 PyObject
* obj1
= 0 ;
23531 char * kwnames
[] = {
23532 (char *) "month",(char *) "flags", NULL
23535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23536 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23537 if (!SWIG_IsOK(ecode1
)) {
23538 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetMonthName" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
23540 arg1
= static_cast< wxDateTime::Month
>(val1
);
23542 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23543 if (!SWIG_IsOK(ecode2
)) {
23544 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetMonthName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
23546 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
23549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23550 result
= wxDateTime::GetMonthName(arg1
,arg2
);
23551 wxPyEndAllowThreads(__tstate
);
23552 if (PyErr_Occurred()) SWIG_fail
;
23556 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23558 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23567 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23568 PyObject
*resultobj
= 0;
23569 wxDateTime::WeekDay arg1
;
23570 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
23576 PyObject
* obj0
= 0 ;
23577 PyObject
* obj1
= 0 ;
23578 char * kwnames
[] = {
23579 (char *) "weekday",(char *) "flags", NULL
23582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23583 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23584 if (!SWIG_IsOK(ecode1
)) {
23585 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "1"" of type '" "wxDateTime::WeekDay""'");
23587 arg1
= static_cast< wxDateTime::WeekDay
>(val1
);
23589 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23590 if (!SWIG_IsOK(ecode2
)) {
23591 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
23593 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
23596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23597 result
= wxDateTime::GetWeekDayName(arg1
,arg2
);
23598 wxPyEndAllowThreads(__tstate
);
23599 if (PyErr_Occurred()) SWIG_fail
;
23603 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23605 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23614 SWIGINTERN PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23615 PyObject
*resultobj
= 0;
23616 PyObject
*result
= 0 ;
23618 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetAmPmStrings",0,0,0)) SWIG_fail
;
23620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23621 result
= (PyObject
*)wxDateTime_GetAmPmStrings();
23622 wxPyEndAllowThreads(__tstate
);
23623 if (PyErr_Occurred()) SWIG_fail
;
23625 resultobj
= result
;
23632 SWIGINTERN PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23633 PyObject
*resultobj
= 0;
23634 int arg1
= (int) wxDateTime::Inv_Year
;
23635 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23641 PyObject
* obj0
= 0 ;
23642 PyObject
* obj1
= 0 ;
23643 char * kwnames
[] = {
23644 (char *) "year",(char *) "country", NULL
23647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23649 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23650 if (!SWIG_IsOK(ecode1
)) {
23651 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "1"" of type '" "int""'");
23653 arg1
= static_cast< int >(val1
);
23656 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23657 if (!SWIG_IsOK(ecode2
)) {
23658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
23660 arg2
= static_cast< wxDateTime::Country
>(val2
);
23663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23664 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,arg2
);
23665 wxPyEndAllowThreads(__tstate
);
23666 if (PyErr_Occurred()) SWIG_fail
;
23669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23677 SWIGINTERN PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23678 PyObject
*resultobj
= 0;
23679 int arg1
= (int) wxDateTime::Inv_Year
;
23680 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23686 PyObject
* obj0
= 0 ;
23687 PyObject
* obj1
= 0 ;
23688 char * kwnames
[] = {
23689 (char *) "year",(char *) "country", NULL
23692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23694 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23695 if (!SWIG_IsOK(ecode1
)) {
23696 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetBeginDST" "', expected argument " "1"" of type '" "int""'");
23698 arg1
= static_cast< int >(val1
);
23701 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23702 if (!SWIG_IsOK(ecode2
)) {
23703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetBeginDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
23705 arg2
= static_cast< wxDateTime::Country
>(val2
);
23708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23709 result
= wxDateTime::GetBeginDST(arg1
,arg2
);
23710 wxPyEndAllowThreads(__tstate
);
23711 if (PyErr_Occurred()) SWIG_fail
;
23713 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23720 SWIGINTERN PyObject
*_wrap_DateTime_GetEndDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23721 PyObject
*resultobj
= 0;
23722 int arg1
= (int) wxDateTime::Inv_Year
;
23723 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23729 PyObject
* obj0
= 0 ;
23730 PyObject
* obj1
= 0 ;
23731 char * kwnames
[] = {
23732 (char *) "year",(char *) "country", NULL
23735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23737 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23738 if (!SWIG_IsOK(ecode1
)) {
23739 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetEndDST" "', expected argument " "1"" of type '" "int""'");
23741 arg1
= static_cast< int >(val1
);
23744 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23745 if (!SWIG_IsOK(ecode2
)) {
23746 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetEndDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
23748 arg2
= static_cast< wxDateTime::Country
>(val2
);
23751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23752 result
= wxDateTime::GetEndDST(arg1
,arg2
);
23753 wxPyEndAllowThreads(__tstate
);
23754 if (PyErr_Occurred()) SWIG_fail
;
23756 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23763 SWIGINTERN PyObject
*_wrap_DateTime_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23764 PyObject
*resultobj
= 0;
23767 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Now",0,0,0)) SWIG_fail
;
23769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23770 result
= wxDateTime::Now();
23771 wxPyEndAllowThreads(__tstate
);
23772 if (PyErr_Occurred()) SWIG_fail
;
23774 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23781 SWIGINTERN PyObject
*_wrap_DateTime_UNow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23782 PyObject
*resultobj
= 0;
23785 if (!SWIG_Python_UnpackTuple(args
,"DateTime_UNow",0,0,0)) SWIG_fail
;
23787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23788 result
= wxDateTime::UNow();
23789 wxPyEndAllowThreads(__tstate
);
23790 if (PyErr_Occurred()) SWIG_fail
;
23792 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23799 SWIGINTERN PyObject
*_wrap_DateTime_Today(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23800 PyObject
*resultobj
= 0;
23803 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Today",0,0,0)) SWIG_fail
;
23805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23806 result
= wxDateTime::Today();
23807 wxPyEndAllowThreads(__tstate
);
23808 if (PyErr_Occurred()) SWIG_fail
;
23810 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23817 SWIGINTERN PyObject
*_wrap_new_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23818 PyObject
*resultobj
= 0;
23819 wxDateTime
*result
= 0 ;
23821 if (!SWIG_Python_UnpackTuple(args
,"new_DateTime",0,0,0)) SWIG_fail
;
23823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23824 result
= (wxDateTime
*)new wxDateTime();
23825 wxPyEndAllowThreads(__tstate
);
23826 if (PyErr_Occurred()) SWIG_fail
;
23828 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_NEW
| 0 );
23835 SWIGINTERN PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23836 PyObject
*resultobj
= 0;
23838 wxDateTime
*result
= 0 ;
23839 unsigned int val1
;
23841 PyObject
* obj0
= 0 ;
23842 char * kwnames
[] = {
23843 (char *) "timet", NULL
23846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) SWIG_fail
;
23847 ecode1
= SWIG_AsVal_unsigned_SS_int(obj0
, &val1
);
23848 if (!SWIG_IsOK(ecode1
)) {
23849 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromTimeT" "', expected argument " "1"" of type '" "time_t""'");
23851 arg1
= static_cast< time_t >(val1
);
23853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23854 result
= (wxDateTime
*)new wxDateTime(arg1
);
23855 wxPyEndAllowThreads(__tstate
);
23856 if (PyErr_Occurred()) SWIG_fail
;
23858 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23865 SWIGINTERN PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23866 PyObject
*resultobj
= 0;
23868 wxDateTime
*result
= 0 ;
23871 PyObject
* obj0
= 0 ;
23872 char * kwnames
[] = {
23873 (char *) "jdn", NULL
23876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) SWIG_fail
;
23877 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
23878 if (!SWIG_IsOK(ecode1
)) {
23879 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromJDN" "', expected argument " "1"" of type '" "double""'");
23881 arg1
= static_cast< double >(val1
);
23883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23884 result
= (wxDateTime
*)new wxDateTime(arg1
);
23885 wxPyEndAllowThreads(__tstate
);
23886 if (PyErr_Occurred()) SWIG_fail
;
23888 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23895 SWIGINTERN PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23896 PyObject
*resultobj
= 0;
23898 int arg2
= (int) 0 ;
23899 int arg3
= (int) 0 ;
23900 int arg4
= (int) 0 ;
23901 wxDateTime
*result
= 0 ;
23910 PyObject
* obj0
= 0 ;
23911 PyObject
* obj1
= 0 ;
23912 PyObject
* obj2
= 0 ;
23913 PyObject
* obj3
= 0 ;
23914 char * kwnames
[] = {
23915 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
23918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23919 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23920 if (!SWIG_IsOK(ecode1
)) {
23921 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromHMS" "', expected argument " "1"" of type '" "int""'");
23923 arg1
= static_cast< int >(val1
);
23925 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23926 if (!SWIG_IsOK(ecode2
)) {
23927 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromHMS" "', expected argument " "2"" of type '" "int""'");
23929 arg2
= static_cast< int >(val2
);
23932 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23933 if (!SWIG_IsOK(ecode3
)) {
23934 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromHMS" "', expected argument " "3"" of type '" "int""'");
23936 arg3
= static_cast< int >(val3
);
23939 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23940 if (!SWIG_IsOK(ecode4
)) {
23941 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromHMS" "', expected argument " "4"" of type '" "int""'");
23943 arg4
= static_cast< int >(val4
);
23946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23947 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
23948 wxPyEndAllowThreads(__tstate
);
23949 if (PyErr_Occurred()) SWIG_fail
;
23951 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23958 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23959 PyObject
*resultobj
= 0;
23961 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23962 int arg3
= (int) wxDateTime::Inv_Year
;
23963 int arg4
= (int) 0 ;
23964 int arg5
= (int) 0 ;
23965 int arg6
= (int) 0 ;
23966 int arg7
= (int) 0 ;
23967 wxDateTime
*result
= 0 ;
23982 PyObject
* obj0
= 0 ;
23983 PyObject
* obj1
= 0 ;
23984 PyObject
* obj2
= 0 ;
23985 PyObject
* obj3
= 0 ;
23986 PyObject
* obj4
= 0 ;
23987 PyObject
* obj5
= 0 ;
23988 PyObject
* obj6
= 0 ;
23989 char * kwnames
[] = {
23990 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
23993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
23994 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23995 if (!SWIG_IsOK(ecode1
)) {
23996 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromDMY" "', expected argument " "1"" of type '" "int""'");
23998 arg1
= static_cast< int >(val1
);
24000 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24001 if (!SWIG_IsOK(ecode2
)) {
24002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromDMY" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
24004 arg2
= static_cast< wxDateTime::Month
>(val2
);
24007 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24008 if (!SWIG_IsOK(ecode3
)) {
24009 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromDMY" "', expected argument " "3"" of type '" "int""'");
24011 arg3
= static_cast< int >(val3
);
24014 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24015 if (!SWIG_IsOK(ecode4
)) {
24016 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromDMY" "', expected argument " "4"" of type '" "int""'");
24018 arg4
= static_cast< int >(val4
);
24021 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24022 if (!SWIG_IsOK(ecode5
)) {
24023 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DateTimeFromDMY" "', expected argument " "5"" of type '" "int""'");
24025 arg5
= static_cast< int >(val5
);
24028 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24029 if (!SWIG_IsOK(ecode6
)) {
24030 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DateTimeFromDMY" "', expected argument " "6"" of type '" "int""'");
24032 arg6
= static_cast< int >(val6
);
24035 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24036 if (!SWIG_IsOK(ecode7
)) {
24037 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DateTimeFromDMY" "', expected argument " "7"" of type '" "int""'");
24039 arg7
= static_cast< int >(val7
);
24042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24043 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24044 wxPyEndAllowThreads(__tstate
);
24045 if (PyErr_Occurred()) SWIG_fail
;
24047 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24054 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24055 PyObject
*resultobj
= 0;
24056 wxDateTime
*arg1
= 0 ;
24057 wxDateTime
*result
= 0 ;
24060 PyObject
* obj0
= 0 ;
24061 char * kwnames
[] = {
24062 (char *) "date", NULL
24065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromDateTime",kwnames
,&obj0
)) SWIG_fail
;
24066 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDateTime
, 0 | 0);
24067 if (!SWIG_IsOK(res1
)) {
24068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
24071 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
24073 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24076 result
= (wxDateTime
*)new wxDateTime((wxDateTime
const &)*arg1
);
24077 wxPyEndAllowThreads(__tstate
);
24078 if (PyErr_Occurred()) SWIG_fail
;
24080 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24087 SWIGINTERN PyObject
*_wrap_delete_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24088 PyObject
*resultobj
= 0;
24089 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24092 PyObject
*swig_obj
[1] ;
24094 if (!args
) SWIG_fail
;
24095 swig_obj
[0] = args
;
24096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
24097 if (!SWIG_IsOK(res1
)) {
24098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
24100 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24105 wxPyEndAllowThreads(__tstate
);
24106 if (PyErr_Occurred()) SWIG_fail
;
24108 resultobj
= SWIG_Py_Void();
24115 SWIGINTERN PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24116 PyObject
*resultobj
= 0;
24117 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24118 wxDateTime
*result
= 0 ;
24121 PyObject
*swig_obj
[1] ;
24123 if (!args
) SWIG_fail
;
24124 swig_obj
[0] = args
;
24125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24126 if (!SWIG_IsOK(res1
)) {
24127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToCurrent" "', expected argument " "1"" of type '" "wxDateTime *""'");
24129 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24133 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
24134 result
= (wxDateTime
*) &_result_ref
;
24136 wxPyEndAllowThreads(__tstate
);
24137 if (PyErr_Occurred()) SWIG_fail
;
24139 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24146 SWIGINTERN PyObject
*_wrap_DateTime_SetTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24147 PyObject
*resultobj
= 0;
24148 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24150 wxDateTime
*result
= 0 ;
24153 unsigned int val2
;
24155 PyObject
* obj0
= 0 ;
24156 PyObject
* obj1
= 0 ;
24157 char * kwnames
[] = {
24158 (char *) "self",(char *) "timet", NULL
24161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24163 if (!SWIG_IsOK(res1
)) {
24164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetTimeT" "', expected argument " "1"" of type '" "wxDateTime *""'");
24166 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24167 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
24168 if (!SWIG_IsOK(ecode2
)) {
24169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetTimeT" "', expected argument " "2"" of type '" "time_t""'");
24171 arg2
= static_cast< time_t >(val2
);
24173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24175 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
24176 result
= (wxDateTime
*) &_result_ref
;
24178 wxPyEndAllowThreads(__tstate
);
24179 if (PyErr_Occurred()) SWIG_fail
;
24181 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24188 SWIGINTERN PyObject
*_wrap_DateTime_SetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24189 PyObject
*resultobj
= 0;
24190 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24192 wxDateTime
*result
= 0 ;
24197 PyObject
* obj0
= 0 ;
24198 PyObject
* obj1
= 0 ;
24199 char * kwnames
[] = {
24200 (char *) "self",(char *) "jdn", NULL
24203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24205 if (!SWIG_IsOK(res1
)) {
24206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
24208 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24209 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24210 if (!SWIG_IsOK(ecode2
)) {
24211 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetJDN" "', expected argument " "2"" of type '" "double""'");
24213 arg2
= static_cast< double >(val2
);
24215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24217 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
24218 result
= (wxDateTime
*) &_result_ref
;
24220 wxPyEndAllowThreads(__tstate
);
24221 if (PyErr_Occurred()) SWIG_fail
;
24223 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24230 SWIGINTERN PyObject
*_wrap_DateTime_SetHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24231 PyObject
*resultobj
= 0;
24232 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24234 int arg3
= (int) 0 ;
24235 int arg4
= (int) 0 ;
24236 int arg5
= (int) 0 ;
24237 wxDateTime
*result
= 0 ;
24248 PyObject
* obj0
= 0 ;
24249 PyObject
* obj1
= 0 ;
24250 PyObject
* obj2
= 0 ;
24251 PyObject
* obj3
= 0 ;
24252 PyObject
* obj4
= 0 ;
24253 char * kwnames
[] = {
24254 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
24257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24259 if (!SWIG_IsOK(res1
)) {
24260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHMS" "', expected argument " "1"" of type '" "wxDateTime *""'");
24262 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24263 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24264 if (!SWIG_IsOK(ecode2
)) {
24265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHMS" "', expected argument " "2"" of type '" "int""'");
24267 arg2
= static_cast< int >(val2
);
24269 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24270 if (!SWIG_IsOK(ecode3
)) {
24271 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetHMS" "', expected argument " "3"" of type '" "int""'");
24273 arg3
= static_cast< int >(val3
);
24276 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24277 if (!SWIG_IsOK(ecode4
)) {
24278 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetHMS" "', expected argument " "4"" of type '" "int""'");
24280 arg4
= static_cast< int >(val4
);
24283 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24284 if (!SWIG_IsOK(ecode5
)) {
24285 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetHMS" "', expected argument " "5"" of type '" "int""'");
24287 arg5
= static_cast< int >(val5
);
24290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24292 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
24293 result
= (wxDateTime
*) &_result_ref
;
24295 wxPyEndAllowThreads(__tstate
);
24296 if (PyErr_Occurred()) SWIG_fail
;
24298 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24305 SWIGINTERN PyObject
*_wrap_DateTime_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24306 PyObject
*resultobj
= 0;
24307 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24309 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24310 int arg4
= (int) wxDateTime::Inv_Year
;
24311 int arg5
= (int) 0 ;
24312 int arg6
= (int) 0 ;
24313 int arg7
= (int) 0 ;
24314 int arg8
= (int) 0 ;
24315 wxDateTime
*result
= 0 ;
24332 PyObject
* obj0
= 0 ;
24333 PyObject
* obj1
= 0 ;
24334 PyObject
* obj2
= 0 ;
24335 PyObject
* obj3
= 0 ;
24336 PyObject
* obj4
= 0 ;
24337 PyObject
* obj5
= 0 ;
24338 PyObject
* obj6
= 0 ;
24339 PyObject
* obj7
= 0 ;
24340 char * kwnames
[] = {
24341 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
24344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
24345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24346 if (!SWIG_IsOK(res1
)) {
24347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Set" "', expected argument " "1"" of type '" "wxDateTime *""'");
24349 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24350 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24351 if (!SWIG_IsOK(ecode2
)) {
24352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_Set" "', expected argument " "2"" of type '" "int""'");
24354 arg2
= static_cast< int >(val2
);
24356 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24357 if (!SWIG_IsOK(ecode3
)) {
24358 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_Set" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
24360 arg3
= static_cast< wxDateTime::Month
>(val3
);
24363 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24364 if (!SWIG_IsOK(ecode4
)) {
24365 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_Set" "', expected argument " "4"" of type '" "int""'");
24367 arg4
= static_cast< int >(val4
);
24370 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24371 if (!SWIG_IsOK(ecode5
)) {
24372 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_Set" "', expected argument " "5"" of type '" "int""'");
24374 arg5
= static_cast< int >(val5
);
24377 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24378 if (!SWIG_IsOK(ecode6
)) {
24379 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DateTime_Set" "', expected argument " "6"" of type '" "int""'");
24381 arg6
= static_cast< int >(val6
);
24384 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24385 if (!SWIG_IsOK(ecode7
)) {
24386 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DateTime_Set" "', expected argument " "7"" of type '" "int""'");
24388 arg7
= static_cast< int >(val7
);
24391 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
24392 if (!SWIG_IsOK(ecode8
)) {
24393 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DateTime_Set" "', expected argument " "8"" of type '" "int""'");
24395 arg8
= static_cast< int >(val8
);
24398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24400 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
24401 result
= (wxDateTime
*) &_result_ref
;
24403 wxPyEndAllowThreads(__tstate
);
24404 if (PyErr_Occurred()) SWIG_fail
;
24406 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24413 SWIGINTERN PyObject
*_wrap_DateTime_ResetTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24414 PyObject
*resultobj
= 0;
24415 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24416 wxDateTime
*result
= 0 ;
24419 PyObject
*swig_obj
[1] ;
24421 if (!args
) SWIG_fail
;
24422 swig_obj
[0] = args
;
24423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24424 if (!SWIG_IsOK(res1
)) {
24425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ResetTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
24427 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24431 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
24432 result
= (wxDateTime
*) &_result_ref
;
24434 wxPyEndAllowThreads(__tstate
);
24435 if (PyErr_Occurred()) SWIG_fail
;
24437 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24444 SWIGINTERN PyObject
*_wrap_DateTime_SetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24445 PyObject
*resultobj
= 0;
24446 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24448 wxDateTime
*result
= 0 ;
24453 PyObject
* obj0
= 0 ;
24454 PyObject
* obj1
= 0 ;
24455 char * kwnames
[] = {
24456 (char *) "self",(char *) "year", NULL
24459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24461 if (!SWIG_IsOK(res1
)) {
24462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetYear" "', expected argument " "1"" of type '" "wxDateTime *""'");
24464 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24465 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24466 if (!SWIG_IsOK(ecode2
)) {
24467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetYear" "', expected argument " "2"" of type '" "int""'");
24469 arg2
= static_cast< int >(val2
);
24471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24473 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
24474 result
= (wxDateTime
*) &_result_ref
;
24476 wxPyEndAllowThreads(__tstate
);
24477 if (PyErr_Occurred()) SWIG_fail
;
24479 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24486 SWIGINTERN PyObject
*_wrap_DateTime_SetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24487 PyObject
*resultobj
= 0;
24488 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24489 wxDateTime::Month arg2
;
24490 wxDateTime
*result
= 0 ;
24495 PyObject
* obj0
= 0 ;
24496 PyObject
* obj1
= 0 ;
24497 char * kwnames
[] = {
24498 (char *) "self",(char *) "month", NULL
24501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24503 if (!SWIG_IsOK(res1
)) {
24504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMonth" "', expected argument " "1"" of type '" "wxDateTime *""'");
24506 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24507 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24508 if (!SWIG_IsOK(ecode2
)) {
24509 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMonth" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
24511 arg2
= static_cast< wxDateTime::Month
>(val2
);
24513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24515 wxDateTime
&_result_ref
= (arg1
)->SetMonth(arg2
);
24516 result
= (wxDateTime
*) &_result_ref
;
24518 wxPyEndAllowThreads(__tstate
);
24519 if (PyErr_Occurred()) SWIG_fail
;
24521 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24528 SWIGINTERN PyObject
*_wrap_DateTime_SetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24529 PyObject
*resultobj
= 0;
24530 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24532 wxDateTime
*result
= 0 ;
24537 PyObject
* obj0
= 0 ;
24538 PyObject
* obj1
= 0 ;
24539 char * kwnames
[] = {
24540 (char *) "self",(char *) "day", NULL
24543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24545 if (!SWIG_IsOK(res1
)) {
24546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24548 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24549 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24550 if (!SWIG_IsOK(ecode2
)) {
24551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetDay" "', expected argument " "2"" of type '" "int""'");
24553 arg2
= static_cast< int >(val2
);
24555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24557 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
24558 result
= (wxDateTime
*) &_result_ref
;
24560 wxPyEndAllowThreads(__tstate
);
24561 if (PyErr_Occurred()) SWIG_fail
;
24563 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24570 SWIGINTERN PyObject
*_wrap_DateTime_SetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24571 PyObject
*resultobj
= 0;
24572 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24574 wxDateTime
*result
= 0 ;
24579 PyObject
* obj0
= 0 ;
24580 PyObject
* obj1
= 0 ;
24581 char * kwnames
[] = {
24582 (char *) "self",(char *) "hour", NULL
24585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24587 if (!SWIG_IsOK(res1
)) {
24588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHour" "', expected argument " "1"" of type '" "wxDateTime *""'");
24590 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24591 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24592 if (!SWIG_IsOK(ecode2
)) {
24593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHour" "', expected argument " "2"" of type '" "int""'");
24595 arg2
= static_cast< int >(val2
);
24597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24599 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
24600 result
= (wxDateTime
*) &_result_ref
;
24602 wxPyEndAllowThreads(__tstate
);
24603 if (PyErr_Occurred()) SWIG_fail
;
24605 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24612 SWIGINTERN PyObject
*_wrap_DateTime_SetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24613 PyObject
*resultobj
= 0;
24614 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24616 wxDateTime
*result
= 0 ;
24621 PyObject
* obj0
= 0 ;
24622 PyObject
* obj1
= 0 ;
24623 char * kwnames
[] = {
24624 (char *) "self",(char *) "minute", NULL
24627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24629 if (!SWIG_IsOK(res1
)) {
24630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMinute" "', expected argument " "1"" of type '" "wxDateTime *""'");
24632 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24633 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24634 if (!SWIG_IsOK(ecode2
)) {
24635 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMinute" "', expected argument " "2"" of type '" "int""'");
24637 arg2
= static_cast< int >(val2
);
24639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24641 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
24642 result
= (wxDateTime
*) &_result_ref
;
24644 wxPyEndAllowThreads(__tstate
);
24645 if (PyErr_Occurred()) SWIG_fail
;
24647 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24654 SWIGINTERN PyObject
*_wrap_DateTime_SetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24655 PyObject
*resultobj
= 0;
24656 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24658 wxDateTime
*result
= 0 ;
24663 PyObject
* obj0
= 0 ;
24664 PyObject
* obj1
= 0 ;
24665 char * kwnames
[] = {
24666 (char *) "self",(char *) "second", NULL
24669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24671 if (!SWIG_IsOK(res1
)) {
24672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetSecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
24674 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24675 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24676 if (!SWIG_IsOK(ecode2
)) {
24677 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetSecond" "', expected argument " "2"" of type '" "int""'");
24679 arg2
= static_cast< int >(val2
);
24681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24683 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
24684 result
= (wxDateTime
*) &_result_ref
;
24686 wxPyEndAllowThreads(__tstate
);
24687 if (PyErr_Occurred()) SWIG_fail
;
24689 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24696 SWIGINTERN PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24697 PyObject
*resultobj
= 0;
24698 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24700 wxDateTime
*result
= 0 ;
24705 PyObject
* obj0
= 0 ;
24706 PyObject
* obj1
= 0 ;
24707 char * kwnames
[] = {
24708 (char *) "self",(char *) "millisecond", NULL
24711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24713 if (!SWIG_IsOK(res1
)) {
24714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMillisecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
24716 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24717 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24718 if (!SWIG_IsOK(ecode2
)) {
24719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMillisecond" "', expected argument " "2"" of type '" "int""'");
24721 arg2
= static_cast< int >(val2
);
24723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24725 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
24726 result
= (wxDateTime
*) &_result_ref
;
24728 wxPyEndAllowThreads(__tstate
);
24729 if (PyErr_Occurred()) SWIG_fail
;
24731 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24738 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24739 PyObject
*resultobj
= 0;
24740 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24741 wxDateTime::WeekDay arg2
;
24742 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
24743 wxDateTime
*result
= 0 ;
24750 PyObject
* obj0
= 0 ;
24751 PyObject
* obj1
= 0 ;
24752 PyObject
* obj2
= 0 ;
24753 char * kwnames
[] = {
24754 (char *) "self",(char *) "weekday",(char *) "flags", NULL
24757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24759 if (!SWIG_IsOK(res1
)) {
24760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
24762 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24763 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24764 if (!SWIG_IsOK(ecode2
)) {
24765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24767 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24769 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24770 if (!SWIG_IsOK(ecode3
)) {
24771 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
24773 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
24776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24778 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek(arg2
,arg3
);
24779 result
= (wxDateTime
*) &_result_ref
;
24781 wxPyEndAllowThreads(__tstate
);
24782 if (PyErr_Occurred()) SWIG_fail
;
24784 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24791 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24792 PyObject
*resultobj
= 0;
24793 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24794 wxDateTime::WeekDay arg2
;
24795 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
24803 PyObject
* obj0
= 0 ;
24804 PyObject
* obj1
= 0 ;
24805 PyObject
* obj2
= 0 ;
24806 char * kwnames
[] = {
24807 (char *) "self",(char *) "weekday",(char *) "flags", NULL
24810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24812 if (!SWIG_IsOK(res1
)) {
24813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
24815 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24816 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24817 if (!SWIG_IsOK(ecode2
)) {
24818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24820 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24822 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24823 if (!SWIG_IsOK(ecode3
)) {
24824 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
24826 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
24829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24830 result
= (arg1
)->GetWeekDayInSameWeek(arg2
,arg3
);
24831 wxPyEndAllowThreads(__tstate
);
24832 if (PyErr_Occurred()) SWIG_fail
;
24834 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24841 SWIGINTERN PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24842 PyObject
*resultobj
= 0;
24843 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24844 wxDateTime::WeekDay arg2
;
24845 wxDateTime
*result
= 0 ;
24850 PyObject
* obj0
= 0 ;
24851 PyObject
* obj1
= 0 ;
24852 char * kwnames
[] = {
24853 (char *) "self",(char *) "weekday", NULL
24856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24858 if (!SWIG_IsOK(res1
)) {
24859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24861 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24862 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24863 if (!SWIG_IsOK(ecode2
)) {
24864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24866 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24870 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay(arg2
);
24871 result
= (wxDateTime
*) &_result_ref
;
24873 wxPyEndAllowThreads(__tstate
);
24874 if (PyErr_Occurred()) SWIG_fail
;
24876 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24883 SWIGINTERN PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24884 PyObject
*resultobj
= 0;
24885 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24886 wxDateTime::WeekDay arg2
;
24892 PyObject
* obj0
= 0 ;
24893 PyObject
* obj1
= 0 ;
24894 char * kwnames
[] = {
24895 (char *) "self",(char *) "weekday", NULL
24898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24900 if (!SWIG_IsOK(res1
)) {
24901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24903 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24904 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24905 if (!SWIG_IsOK(ecode2
)) {
24906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24908 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24911 result
= (arg1
)->GetNextWeekDay(arg2
);
24912 wxPyEndAllowThreads(__tstate
);
24913 if (PyErr_Occurred()) SWIG_fail
;
24915 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24922 SWIGINTERN PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24923 PyObject
*resultobj
= 0;
24924 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24925 wxDateTime::WeekDay arg2
;
24926 wxDateTime
*result
= 0 ;
24931 PyObject
* obj0
= 0 ;
24932 PyObject
* obj1
= 0 ;
24933 char * kwnames
[] = {
24934 (char *) "self",(char *) "weekday", NULL
24937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24939 if (!SWIG_IsOK(res1
)) {
24940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24942 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24943 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24944 if (!SWIG_IsOK(ecode2
)) {
24945 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24947 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24951 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay(arg2
);
24952 result
= (wxDateTime
*) &_result_ref
;
24954 wxPyEndAllowThreads(__tstate
);
24955 if (PyErr_Occurred()) SWIG_fail
;
24957 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24964 SWIGINTERN PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24965 PyObject
*resultobj
= 0;
24966 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24967 wxDateTime::WeekDay arg2
;
24973 PyObject
* obj0
= 0 ;
24974 PyObject
* obj1
= 0 ;
24975 char * kwnames
[] = {
24976 (char *) "self",(char *) "weekday", NULL
24979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24981 if (!SWIG_IsOK(res1
)) {
24982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24984 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24985 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24986 if (!SWIG_IsOK(ecode2
)) {
24987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24989 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24992 result
= (arg1
)->GetPrevWeekDay(arg2
);
24993 wxPyEndAllowThreads(__tstate
);
24994 if (PyErr_Occurred()) SWIG_fail
;
24996 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25003 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25004 PyObject
*resultobj
= 0;
25005 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25006 wxDateTime::WeekDay arg2
;
25007 int arg3
= (int) 1 ;
25008 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25009 int arg5
= (int) wxDateTime::Inv_Year
;
25021 PyObject
* obj0
= 0 ;
25022 PyObject
* obj1
= 0 ;
25023 PyObject
* obj2
= 0 ;
25024 PyObject
* obj3
= 0 ;
25025 PyObject
* obj4
= 0 ;
25026 char * kwnames
[] = {
25027 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
25030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25032 if (!SWIG_IsOK(res1
)) {
25033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25035 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25036 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25037 if (!SWIG_IsOK(ecode2
)) {
25038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
25040 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
25042 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25043 if (!SWIG_IsOK(ecode3
)) {
25044 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "3"" of type '" "int""'");
25046 arg3
= static_cast< int >(val3
);
25049 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25050 if (!SWIG_IsOK(ecode4
)) {
25051 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "4"" of type '" "wxDateTime::Month""'");
25053 arg4
= static_cast< wxDateTime::Month
>(val4
);
25056 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25057 if (!SWIG_IsOK(ecode5
)) {
25058 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "5"" of type '" "int""'");
25060 arg5
= static_cast< int >(val5
);
25063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25064 result
= (bool)(arg1
)->SetToWeekDay(arg2
,arg3
,arg4
,arg5
);
25065 wxPyEndAllowThreads(__tstate
);
25066 if (PyErr_Occurred()) SWIG_fail
;
25069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25077 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25078 PyObject
*resultobj
= 0;
25079 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25080 wxDateTime::WeekDay arg2
;
25081 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25082 int arg4
= (int) wxDateTime::Inv_Year
;
25092 PyObject
* obj0
= 0 ;
25093 PyObject
* obj1
= 0 ;
25094 PyObject
* obj2
= 0 ;
25095 PyObject
* obj3
= 0 ;
25096 char * kwnames
[] = {
25097 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
25100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25102 if (!SWIG_IsOK(res1
)) {
25103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25105 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25106 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25107 if (!SWIG_IsOK(ecode2
)) {
25108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
25110 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
25112 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25113 if (!SWIG_IsOK(ecode3
)) {
25114 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
25116 arg3
= static_cast< wxDateTime::Month
>(val3
);
25119 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25120 if (!SWIG_IsOK(ecode4
)) {
25121 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "4"" of type '" "int""'");
25123 arg4
= static_cast< int >(val4
);
25126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25127 result
= (bool)(arg1
)->SetToLastWeekDay(arg2
,arg3
,arg4
);
25128 wxPyEndAllowThreads(__tstate
);
25129 if (PyErr_Occurred()) SWIG_fail
;
25132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25140 SWIGINTERN PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25141 PyObject
*resultobj
= 0;
25142 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25143 wxDateTime::WeekDay arg2
;
25144 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25145 int arg4
= (int) wxDateTime::Inv_Year
;
25155 PyObject
* obj0
= 0 ;
25156 PyObject
* obj1
= 0 ;
25157 PyObject
* obj2
= 0 ;
25158 PyObject
* obj3
= 0 ;
25159 char * kwnames
[] = {
25160 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
25163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25165 if (!SWIG_IsOK(res1
)) {
25166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25168 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25169 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25170 if (!SWIG_IsOK(ecode2
)) {
25171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
25173 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
25175 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25176 if (!SWIG_IsOK(ecode3
)) {
25177 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
25179 arg3
= static_cast< wxDateTime::Month
>(val3
);
25182 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25183 if (!SWIG_IsOK(ecode4
)) {
25184 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "4"" of type '" "int""'");
25186 arg4
= static_cast< int >(val4
);
25189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25190 result
= (arg1
)->GetLastWeekDay(arg2
,arg3
,arg4
);
25191 wxPyEndAllowThreads(__tstate
);
25192 if (PyErr_Occurred()) SWIG_fail
;
25194 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25201 SWIGINTERN PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25202 PyObject
*resultobj
= 0;
25203 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25205 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
25206 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
25216 PyObject
* obj0
= 0 ;
25217 PyObject
* obj1
= 0 ;
25218 PyObject
* obj2
= 0 ;
25219 PyObject
* obj3
= 0 ;
25220 char * kwnames
[] = {
25221 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
25224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25226 if (!SWIG_IsOK(res1
)) {
25227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
25229 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25230 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25231 if (!SWIG_IsOK(ecode2
)) {
25232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "2"" of type '" "int""'");
25234 arg2
= static_cast< int >(val2
);
25236 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25237 if (!SWIG_IsOK(ecode3
)) {
25238 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
25240 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
25243 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25244 if (!SWIG_IsOK(ecode4
)) {
25245 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
25247 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
25250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25251 result
= (bool)(arg1
)->SetToTheWeek(arg2
,arg3
,arg4
);
25252 wxPyEndAllowThreads(__tstate
);
25253 if (PyErr_Occurred()) SWIG_fail
;
25256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25264 SWIGINTERN PyObject
*_wrap_DateTime_GetWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25265 PyObject
*resultobj
= 0;
25266 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25268 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
25269 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
25279 PyObject
* obj0
= 0 ;
25280 PyObject
* obj1
= 0 ;
25281 PyObject
* obj2
= 0 ;
25282 PyObject
* obj3
= 0 ;
25283 char * kwnames
[] = {
25284 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
25287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25289 if (!SWIG_IsOK(res1
)) {
25290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
25292 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25293 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25294 if (!SWIG_IsOK(ecode2
)) {
25295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeek" "', expected argument " "2"" of type '" "int""'");
25297 arg2
= static_cast< int >(val2
);
25299 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25300 if (!SWIG_IsOK(ecode3
)) {
25301 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
25303 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
25306 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25307 if (!SWIG_IsOK(ecode4
)) {
25308 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
25310 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
25313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25314 result
= (arg1
)->GetWeek(arg2
,arg3
,arg4
);
25315 wxPyEndAllowThreads(__tstate
);
25316 if (PyErr_Occurred()) SWIG_fail
;
25318 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25325 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25326 PyObject
*resultobj
= 0;
25329 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
25337 PyObject
* obj0
= 0 ;
25338 PyObject
* obj1
= 0 ;
25339 PyObject
* obj2
= 0 ;
25340 char * kwnames
[] = {
25341 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
25344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25345 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25346 if (!SWIG_IsOK(ecode1
)) {
25347 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "1"" of type '" "int""'");
25349 arg1
= static_cast< int >(val1
);
25350 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25351 if (!SWIG_IsOK(ecode2
)) {
25352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "2"" of type '" "int""'");
25354 arg2
= static_cast< int >(val2
);
25356 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25357 if (!SWIG_IsOK(ecode3
)) {
25358 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
25360 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
25363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25364 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,arg3
);
25365 wxPyEndAllowThreads(__tstate
);
25366 if (PyErr_Occurred()) SWIG_fail
;
25368 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25375 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25376 PyObject
*resultobj
= 0;
25377 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25378 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25379 int arg3
= (int) wxDateTime::Inv_Year
;
25380 wxDateTime
*result
= 0 ;
25387 PyObject
* obj0
= 0 ;
25388 PyObject
* obj1
= 0 ;
25389 PyObject
* obj2
= 0 ;
25390 char * kwnames
[] = {
25391 (char *) "self",(char *) "month",(char *) "year", NULL
25394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25396 if (!SWIG_IsOK(res1
)) {
25397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25399 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25401 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25402 if (!SWIG_IsOK(ecode2
)) {
25403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
25405 arg2
= static_cast< wxDateTime::Month
>(val2
);
25408 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25409 if (!SWIG_IsOK(ecode3
)) {
25410 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "3"" of type '" "int""'");
25412 arg3
= static_cast< int >(val3
);
25415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25417 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay(arg2
,arg3
);
25418 result
= (wxDateTime
*) &_result_ref
;
25420 wxPyEndAllowThreads(__tstate
);
25421 if (PyErr_Occurred()) SWIG_fail
;
25423 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25430 SWIGINTERN PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25431 PyObject
*resultobj
= 0;
25432 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25433 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25434 int arg3
= (int) wxDateTime::Inv_Year
;
25442 PyObject
* obj0
= 0 ;
25443 PyObject
* obj1
= 0 ;
25444 PyObject
* obj2
= 0 ;
25445 char * kwnames
[] = {
25446 (char *) "self",(char *) "month",(char *) "year", NULL
25449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25451 if (!SWIG_IsOK(res1
)) {
25452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25454 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25456 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25457 if (!SWIG_IsOK(ecode2
)) {
25458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
25460 arg2
= static_cast< wxDateTime::Month
>(val2
);
25463 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25464 if (!SWIG_IsOK(ecode3
)) {
25465 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "3"" of type '" "int""'");
25467 arg3
= static_cast< int >(val3
);
25470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25471 result
= (arg1
)->GetLastMonthDay(arg2
,arg3
);
25472 wxPyEndAllowThreads(__tstate
);
25473 if (PyErr_Occurred()) SWIG_fail
;
25475 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25482 SWIGINTERN PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25483 PyObject
*resultobj
= 0;
25484 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25486 wxDateTime
*result
= 0 ;
25491 PyObject
* obj0
= 0 ;
25492 PyObject
* obj1
= 0 ;
25493 char * kwnames
[] = {
25494 (char *) "self",(char *) "yday", NULL
25497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25499 if (!SWIG_IsOK(res1
)) {
25500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25502 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25503 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25504 if (!SWIG_IsOK(ecode2
)) {
25505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToYearDay" "', expected argument " "2"" of type '" "int""'");
25507 arg2
= static_cast< int >(val2
);
25509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25511 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
25512 result
= (wxDateTime
*) &_result_ref
;
25514 wxPyEndAllowThreads(__tstate
);
25515 if (PyErr_Occurred()) SWIG_fail
;
25517 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25524 SWIGINTERN PyObject
*_wrap_DateTime_GetYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25525 PyObject
*resultobj
= 0;
25526 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25533 PyObject
* obj0
= 0 ;
25534 PyObject
* obj1
= 0 ;
25535 char * kwnames
[] = {
25536 (char *) "self",(char *) "yday", NULL
25539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25541 if (!SWIG_IsOK(res1
)) {
25542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25544 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25545 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25546 if (!SWIG_IsOK(ecode2
)) {
25547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetYearDay" "', expected argument " "2"" of type '" "int""'");
25549 arg2
= static_cast< int >(val2
);
25551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25552 result
= (arg1
)->GetYearDay(arg2
);
25553 wxPyEndAllowThreads(__tstate
);
25554 if (PyErr_Occurred()) SWIG_fail
;
25556 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25563 SWIGINTERN PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25564 PyObject
*resultobj
= 0;
25565 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25569 PyObject
*swig_obj
[1] ;
25571 if (!args
) SWIG_fail
;
25572 swig_obj
[0] = args
;
25573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25574 if (!SWIG_IsOK(res1
)) {
25575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime *""'");
25577 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25580 result
= (double)(arg1
)->GetJulianDayNumber();
25581 wxPyEndAllowThreads(__tstate
);
25582 if (PyErr_Occurred()) SWIG_fail
;
25584 resultobj
= SWIG_From_double(static_cast< double >(result
));
25591 SWIGINTERN PyObject
*_wrap_DateTime_GetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25592 PyObject
*resultobj
= 0;
25593 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25597 PyObject
*swig_obj
[1] ;
25599 if (!args
) SWIG_fail
;
25600 swig_obj
[0] = args
;
25601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25602 if (!SWIG_IsOK(res1
)) {
25603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
25605 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25608 result
= (double)(arg1
)->GetJDN();
25609 wxPyEndAllowThreads(__tstate
);
25610 if (PyErr_Occurred()) SWIG_fail
;
25612 resultobj
= SWIG_From_double(static_cast< double >(result
));
25619 SWIGINTERN PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25620 PyObject
*resultobj
= 0;
25621 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25625 PyObject
*swig_obj
[1] ;
25627 if (!args
) SWIG_fail
;
25628 swig_obj
[0] = args
;
25629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25630 if (!SWIG_IsOK(res1
)) {
25631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetModifiedJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25633 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25636 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
25637 wxPyEndAllowThreads(__tstate
);
25638 if (PyErr_Occurred()) SWIG_fail
;
25640 resultobj
= SWIG_From_double(static_cast< double >(result
));
25647 SWIGINTERN PyObject
*_wrap_DateTime_GetMJD(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25648 PyObject
*resultobj
= 0;
25649 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25653 PyObject
*swig_obj
[1] ;
25655 if (!args
) SWIG_fail
;
25656 swig_obj
[0] = args
;
25657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25658 if (!SWIG_IsOK(res1
)) {
25659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMJD" "', expected argument " "1"" of type '" "wxDateTime *""'");
25661 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25664 result
= (double)(arg1
)->GetMJD();
25665 wxPyEndAllowThreads(__tstate
);
25666 if (PyErr_Occurred()) SWIG_fail
;
25668 resultobj
= SWIG_From_double(static_cast< double >(result
));
25675 SWIGINTERN PyObject
*_wrap_DateTime_GetRataDie(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25676 PyObject
*resultobj
= 0;
25677 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25681 PyObject
*swig_obj
[1] ;
25683 if (!args
) SWIG_fail
;
25684 swig_obj
[0] = args
;
25685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25686 if (!SWIG_IsOK(res1
)) {
25687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetRataDie" "', expected argument " "1"" of type '" "wxDateTime *""'");
25689 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25692 result
= (double)(arg1
)->GetRataDie();
25693 wxPyEndAllowThreads(__tstate
);
25694 if (PyErr_Occurred()) SWIG_fail
;
25696 resultobj
= SWIG_From_double(static_cast< double >(result
));
25703 SWIGINTERN PyObject
*_wrap_DateTime_ToTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25704 PyObject
*resultobj
= 0;
25705 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25706 wxDateTime::TimeZone
*arg2
= 0 ;
25707 bool arg3
= (bool) false ;
25711 bool temp2
= false ;
25714 PyObject
* obj0
= 0 ;
25715 PyObject
* obj1
= 0 ;
25716 PyObject
* obj2
= 0 ;
25717 char * kwnames
[] = {
25718 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25723 if (!SWIG_IsOK(res1
)) {
25724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
25726 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25728 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25732 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25733 if (!SWIG_IsOK(ecode3
)) {
25734 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_ToTimezone" "', expected argument " "3"" of type '" "bool""'");
25736 arg3
= static_cast< bool >(val3
);
25739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25740 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25741 wxPyEndAllowThreads(__tstate
);
25742 if (PyErr_Occurred()) SWIG_fail
;
25744 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25746 if (temp2
) delete arg2
;
25751 if (temp2
) delete arg2
;
25757 SWIGINTERN PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25758 PyObject
*resultobj
= 0;
25759 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25760 wxDateTime::TimeZone
*arg2
= 0 ;
25761 bool arg3
= (bool) false ;
25762 wxDateTime
*result
= 0 ;
25765 bool temp2
= false ;
25768 PyObject
* obj0
= 0 ;
25769 PyObject
* obj1
= 0 ;
25770 PyObject
* obj2
= 0 ;
25771 char * kwnames
[] = {
25772 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25777 if (!SWIG_IsOK(res1
)) {
25778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
25780 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25782 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25786 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25787 if (!SWIG_IsOK(ecode3
)) {
25788 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeTimezone" "', expected argument " "3"" of type '" "bool""'");
25790 arg3
= static_cast< bool >(val3
);
25793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25795 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25796 result
= (wxDateTime
*) &_result_ref
;
25798 wxPyEndAllowThreads(__tstate
);
25799 if (PyErr_Occurred()) SWIG_fail
;
25801 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25803 if (temp2
) delete arg2
;
25808 if (temp2
) delete arg2
;
25814 SWIGINTERN PyObject
*_wrap_DateTime_FromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25815 PyObject
*resultobj
= 0;
25816 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25817 wxDateTime::TimeZone
*arg2
= 0 ;
25818 bool arg3
= (bool) false ;
25822 bool temp2
= false ;
25825 PyObject
* obj0
= 0 ;
25826 PyObject
* obj1
= 0 ;
25827 PyObject
* obj2
= 0 ;
25828 char * kwnames
[] = {
25829 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_FromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25834 if (!SWIG_IsOK(res1
)) {
25835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromTimezone" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25837 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25839 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25843 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25844 if (!SWIG_IsOK(ecode3
)) {
25845 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_FromTimezone" "', expected argument " "3"" of type '" "bool""'");
25847 arg3
= static_cast< bool >(val3
);
25850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25851 result
= ((wxDateTime
const *)arg1
)->FromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25852 wxPyEndAllowThreads(__tstate
);
25853 if (PyErr_Occurred()) SWIG_fail
;
25855 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25857 if (temp2
) delete arg2
;
25862 if (temp2
) delete arg2
;
25868 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25869 PyObject
*resultobj
= 0;
25870 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25871 wxDateTime::TimeZone
*arg2
= 0 ;
25872 bool arg3
= (bool) false ;
25873 wxDateTime
*result
= 0 ;
25876 bool temp2
= false ;
25879 PyObject
* obj0
= 0 ;
25880 PyObject
* obj1
= 0 ;
25881 PyObject
* obj2
= 0 ;
25882 char * kwnames
[] = {
25883 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeFromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25888 if (!SWIG_IsOK(res1
)) {
25889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
25891 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25893 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25897 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25898 if (!SWIG_IsOK(ecode3
)) {
25899 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "3"" of type '" "bool""'");
25901 arg3
= static_cast< bool >(val3
);
25904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25906 wxDateTime
&_result_ref
= (arg1
)->MakeFromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25907 result
= (wxDateTime
*) &_result_ref
;
25909 wxPyEndAllowThreads(__tstate
);
25910 if (PyErr_Occurred()) SWIG_fail
;
25912 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25914 if (temp2
) delete arg2
;
25919 if (temp2
) delete arg2
;
25925 SWIGINTERN PyObject
*_wrap_DateTime_ToUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25926 PyObject
*resultobj
= 0;
25927 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25928 bool arg2
= (bool) false ;
25934 PyObject
* obj0
= 0 ;
25935 PyObject
* obj1
= 0 ;
25936 char * kwnames
[] = {
25937 (char *) "self",(char *) "noDST", NULL
25940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25942 if (!SWIG_IsOK(res1
)) {
25943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25945 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25947 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25948 if (!SWIG_IsOK(ecode2
)) {
25949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToUTC" "', expected argument " "2"" of type '" "bool""'");
25951 arg2
= static_cast< bool >(val2
);
25954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25955 result
= ((wxDateTime
const *)arg1
)->ToUTC(arg2
);
25956 wxPyEndAllowThreads(__tstate
);
25957 if (PyErr_Occurred()) SWIG_fail
;
25959 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25966 SWIGINTERN PyObject
*_wrap_DateTime_MakeUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25967 PyObject
*resultobj
= 0;
25968 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25969 bool arg2
= (bool) false ;
25970 wxDateTime
*result
= 0 ;
25975 PyObject
* obj0
= 0 ;
25976 PyObject
* obj1
= 0 ;
25977 char * kwnames
[] = {
25978 (char *) "self",(char *) "noDST", NULL
25981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25983 if (!SWIG_IsOK(res1
)) {
25984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
25986 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25988 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25989 if (!SWIG_IsOK(ecode2
)) {
25990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeUTC" "', expected argument " "2"" of type '" "bool""'");
25992 arg2
= static_cast< bool >(val2
);
25995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25997 wxDateTime
&_result_ref
= (arg1
)->MakeUTC(arg2
);
25998 result
= (wxDateTime
*) &_result_ref
;
26000 wxPyEndAllowThreads(__tstate
);
26001 if (PyErr_Occurred()) SWIG_fail
;
26003 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26010 SWIGINTERN PyObject
*_wrap_DateTime_ToGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26011 PyObject
*resultobj
= 0;
26012 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26013 bool arg2
= (bool) false ;
26019 PyObject
* obj0
= 0 ;
26020 PyObject
* obj1
= 0 ;
26021 char * kwnames
[] = {
26022 (char *) "self",(char *) "noDST", NULL
26025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26027 if (!SWIG_IsOK(res1
)) {
26028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToGMT" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26030 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26032 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26033 if (!SWIG_IsOK(ecode2
)) {
26034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToGMT" "', expected argument " "2"" of type '" "bool""'");
26036 arg2
= static_cast< bool >(val2
);
26039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26040 result
= ((wxDateTime
const *)arg1
)->ToGMT(arg2
);
26041 wxPyEndAllowThreads(__tstate
);
26042 if (PyErr_Occurred()) SWIG_fail
;
26044 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26051 SWIGINTERN PyObject
*_wrap_DateTime_MakeGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26052 PyObject
*resultobj
= 0;
26053 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26054 bool arg2
= (bool) false ;
26055 wxDateTime
*result
= 0 ;
26060 PyObject
* obj0
= 0 ;
26061 PyObject
* obj1
= 0 ;
26062 char * kwnames
[] = {
26063 (char *) "self",(char *) "noDST", NULL
26066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26068 if (!SWIG_IsOK(res1
)) {
26069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeGMT" "', expected argument " "1"" of type '" "wxDateTime *""'");
26071 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26073 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26074 if (!SWIG_IsOK(ecode2
)) {
26075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeGMT" "', expected argument " "2"" of type '" "bool""'");
26077 arg2
= static_cast< bool >(val2
);
26080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26082 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
26083 result
= (wxDateTime
*) &_result_ref
;
26085 wxPyEndAllowThreads(__tstate
);
26086 if (PyErr_Occurred()) SWIG_fail
;
26088 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26095 SWIGINTERN PyObject
*_wrap_DateTime_FromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26096 PyObject
*resultobj
= 0;
26097 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26098 bool arg2
= (bool) false ;
26104 PyObject
* obj0
= 0 ;
26105 PyObject
* obj1
= 0 ;
26106 char * kwnames
[] = {
26107 (char *) "self",(char *) "noDST", NULL
26110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_FromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26112 if (!SWIG_IsOK(res1
)) {
26113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26115 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26117 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26118 if (!SWIG_IsOK(ecode2
)) {
26119 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_FromUTC" "', expected argument " "2"" of type '" "bool""'");
26121 arg2
= static_cast< bool >(val2
);
26124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26125 result
= ((wxDateTime
const *)arg1
)->FromUTC(arg2
);
26126 wxPyEndAllowThreads(__tstate
);
26127 if (PyErr_Occurred()) SWIG_fail
;
26129 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26136 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26137 PyObject
*resultobj
= 0;
26138 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26139 bool arg2
= (bool) false ;
26140 wxDateTime
*result
= 0 ;
26145 PyObject
* obj0
= 0 ;
26146 PyObject
* obj1
= 0 ;
26147 char * kwnames
[] = {
26148 (char *) "self",(char *) "noDST", NULL
26151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeFromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26153 if (!SWIG_IsOK(res1
)) {
26154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
26156 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26158 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26159 if (!SWIG_IsOK(ecode2
)) {
26160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "2"" of type '" "bool""'");
26162 arg2
= static_cast< bool >(val2
);
26165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26167 wxDateTime
&_result_ref
= (arg1
)->MakeFromUTC(arg2
);
26168 result
= (wxDateTime
*) &_result_ref
;
26170 wxPyEndAllowThreads(__tstate
);
26171 if (PyErr_Occurred()) SWIG_fail
;
26173 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26180 SWIGINTERN PyObject
*_wrap_DateTime_IsDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26181 PyObject
*resultobj
= 0;
26182 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26183 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
26189 PyObject
* obj0
= 0 ;
26190 PyObject
* obj1
= 0 ;
26191 char * kwnames
[] = {
26192 (char *) "self",(char *) "country", NULL
26195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26197 if (!SWIG_IsOK(res1
)) {
26198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsDST" "', expected argument " "1"" of type '" "wxDateTime *""'");
26200 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26202 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26203 if (!SWIG_IsOK(ecode2
)) {
26204 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
26206 arg2
= static_cast< wxDateTime::Country
>(val2
);
26209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26210 result
= (int)(arg1
)->IsDST(arg2
);
26211 wxPyEndAllowThreads(__tstate
);
26212 if (PyErr_Occurred()) SWIG_fail
;
26214 resultobj
= SWIG_From_int(static_cast< int >(result
));
26221 SWIGINTERN PyObject
*_wrap_DateTime_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26222 PyObject
*resultobj
= 0;
26223 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26227 PyObject
*swig_obj
[1] ;
26229 if (!args
) SWIG_fail
;
26230 swig_obj
[0] = args
;
26231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26232 if (!SWIG_IsOK(res1
)) {
26233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsValid" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26235 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26238 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
26239 wxPyEndAllowThreads(__tstate
);
26240 if (PyErr_Occurred()) SWIG_fail
;
26243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26251 SWIGINTERN PyObject
*_wrap_DateTime_GetTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26252 PyObject
*resultobj
= 0;
26253 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26257 PyObject
*swig_obj
[1] ;
26259 if (!args
) SWIG_fail
;
26260 swig_obj
[0] = args
;
26261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26262 if (!SWIG_IsOK(res1
)) {
26263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetTicks" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26265 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26268 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
26269 wxPyEndAllowThreads(__tstate
);
26270 if (PyErr_Occurred()) SWIG_fail
;
26272 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
26279 SWIGINTERN PyObject
*_wrap_DateTime_GetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26280 PyObject
*resultobj
= 0;
26281 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26282 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26283 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26287 bool temp2
= false ;
26288 PyObject
* obj0
= 0 ;
26289 PyObject
* obj1
= 0 ;
26290 char * kwnames
[] = {
26291 (char *) "self",(char *) "tz", NULL
26294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26296 if (!SWIG_IsOK(res1
)) {
26297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26299 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26302 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26308 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
26309 wxPyEndAllowThreads(__tstate
);
26310 if (PyErr_Occurred()) SWIG_fail
;
26312 resultobj
= SWIG_From_int(static_cast< int >(result
));
26314 if (temp2
) delete arg2
;
26319 if (temp2
) delete arg2
;
26325 SWIGINTERN PyObject
*_wrap_DateTime_GetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26326 PyObject
*resultobj
= 0;
26327 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26328 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26329 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26330 wxDateTime::Month result
;
26333 bool temp2
= false ;
26334 PyObject
* obj0
= 0 ;
26335 PyObject
* obj1
= 0 ;
26336 char * kwnames
[] = {
26337 (char *) "self",(char *) "tz", NULL
26340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26342 if (!SWIG_IsOK(res1
)) {
26343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26345 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26348 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26354 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
26355 wxPyEndAllowThreads(__tstate
);
26356 if (PyErr_Occurred()) SWIG_fail
;
26358 resultobj
= SWIG_From_int(static_cast< int >(result
));
26360 if (temp2
) delete arg2
;
26365 if (temp2
) delete arg2
;
26371 SWIGINTERN PyObject
*_wrap_DateTime_GetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26372 PyObject
*resultobj
= 0;
26373 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26374 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26375 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26379 bool temp2
= false ;
26380 PyObject
* obj0
= 0 ;
26381 PyObject
* obj1
= 0 ;
26382 char * kwnames
[] = {
26383 (char *) "self",(char *) "tz", NULL
26386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26388 if (!SWIG_IsOK(res1
)) {
26389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26391 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26394 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26400 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
26401 wxPyEndAllowThreads(__tstate
);
26402 if (PyErr_Occurred()) SWIG_fail
;
26404 resultobj
= SWIG_From_int(static_cast< int >(result
));
26406 if (temp2
) delete arg2
;
26411 if (temp2
) delete arg2
;
26417 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26418 PyObject
*resultobj
= 0;
26419 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26420 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26421 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26422 wxDateTime::WeekDay result
;
26425 bool temp2
= false ;
26426 PyObject
* obj0
= 0 ;
26427 PyObject
* obj1
= 0 ;
26428 char * kwnames
[] = {
26429 (char *) "self",(char *) "tz", NULL
26432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26434 if (!SWIG_IsOK(res1
)) {
26435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26437 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26440 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26446 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
26447 wxPyEndAllowThreads(__tstate
);
26448 if (PyErr_Occurred()) SWIG_fail
;
26450 resultobj
= SWIG_From_int(static_cast< int >(result
));
26452 if (temp2
) delete arg2
;
26457 if (temp2
) delete arg2
;
26463 SWIGINTERN PyObject
*_wrap_DateTime_GetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26464 PyObject
*resultobj
= 0;
26465 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26466 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26467 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26471 bool temp2
= false ;
26472 PyObject
* obj0
= 0 ;
26473 PyObject
* obj1
= 0 ;
26474 char * kwnames
[] = {
26475 (char *) "self",(char *) "tz", NULL
26478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26480 if (!SWIG_IsOK(res1
)) {
26481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetHour" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26483 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26486 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26492 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
26493 wxPyEndAllowThreads(__tstate
);
26494 if (PyErr_Occurred()) SWIG_fail
;
26496 resultobj
= SWIG_From_int(static_cast< int >(result
));
26498 if (temp2
) delete arg2
;
26503 if (temp2
) delete arg2
;
26509 SWIGINTERN PyObject
*_wrap_DateTime_GetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26510 PyObject
*resultobj
= 0;
26511 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26512 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26513 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26517 bool temp2
= false ;
26518 PyObject
* obj0
= 0 ;
26519 PyObject
* obj1
= 0 ;
26520 char * kwnames
[] = {
26521 (char *) "self",(char *) "tz", NULL
26524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26526 if (!SWIG_IsOK(res1
)) {
26527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMinute" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26529 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26532 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26538 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
26539 wxPyEndAllowThreads(__tstate
);
26540 if (PyErr_Occurred()) SWIG_fail
;
26542 resultobj
= SWIG_From_int(static_cast< int >(result
));
26544 if (temp2
) delete arg2
;
26549 if (temp2
) delete arg2
;
26555 SWIGINTERN PyObject
*_wrap_DateTime_GetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26556 PyObject
*resultobj
= 0;
26557 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26558 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26559 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26563 bool temp2
= false ;
26564 PyObject
* obj0
= 0 ;
26565 PyObject
* obj1
= 0 ;
26566 char * kwnames
[] = {
26567 (char *) "self",(char *) "tz", NULL
26570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26572 if (!SWIG_IsOK(res1
)) {
26573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetSecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26575 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26578 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26584 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
26585 wxPyEndAllowThreads(__tstate
);
26586 if (PyErr_Occurred()) SWIG_fail
;
26588 resultobj
= SWIG_From_int(static_cast< int >(result
));
26590 if (temp2
) delete arg2
;
26595 if (temp2
) delete arg2
;
26601 SWIGINTERN PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26602 PyObject
*resultobj
= 0;
26603 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26604 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26605 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26609 bool temp2
= false ;
26610 PyObject
* obj0
= 0 ;
26611 PyObject
* obj1
= 0 ;
26612 char * kwnames
[] = {
26613 (char *) "self",(char *) "tz", NULL
26616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26618 if (!SWIG_IsOK(res1
)) {
26619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMillisecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26621 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26624 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26630 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
26631 wxPyEndAllowThreads(__tstate
);
26632 if (PyErr_Occurred()) SWIG_fail
;
26634 resultobj
= SWIG_From_int(static_cast< int >(result
));
26636 if (temp2
) delete arg2
;
26641 if (temp2
) delete arg2
;
26647 SWIGINTERN PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26648 PyObject
*resultobj
= 0;
26649 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26650 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26651 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26655 bool temp2
= false ;
26656 PyObject
* obj0
= 0 ;
26657 PyObject
* obj1
= 0 ;
26658 char * kwnames
[] = {
26659 (char *) "self",(char *) "tz", NULL
26662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26664 if (!SWIG_IsOK(res1
)) {
26665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDayOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26667 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26670 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26676 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
26677 wxPyEndAllowThreads(__tstate
);
26678 if (PyErr_Occurred()) SWIG_fail
;
26680 resultobj
= SWIG_From_int(static_cast< int >(result
));
26682 if (temp2
) delete arg2
;
26687 if (temp2
) delete arg2
;
26693 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26694 PyObject
*resultobj
= 0;
26695 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26696 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
26697 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
26698 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
26704 bool temp3
= false ;
26705 PyObject
* obj0
= 0 ;
26706 PyObject
* obj1
= 0 ;
26707 PyObject
* obj2
= 0 ;
26708 char * kwnames
[] = {
26709 (char *) "self",(char *) "flags",(char *) "tz", NULL
26712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26714 if (!SWIG_IsOK(res1
)) {
26715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26717 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26719 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26720 if (!SWIG_IsOK(ecode2
)) {
26721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
26723 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
26727 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
26732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26733 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
26734 wxPyEndAllowThreads(__tstate
);
26735 if (PyErr_Occurred()) SWIG_fail
;
26737 resultobj
= SWIG_From_int(static_cast< int >(result
));
26739 if (temp3
) delete arg3
;
26744 if (temp3
) delete arg3
;
26750 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26751 PyObject
*resultobj
= 0;
26752 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26753 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
26754 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
26755 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
26761 bool temp3
= false ;
26762 PyObject
* obj0
= 0 ;
26763 PyObject
* obj1
= 0 ;
26764 PyObject
* obj2
= 0 ;
26765 char * kwnames
[] = {
26766 (char *) "self",(char *) "flags",(char *) "tz", NULL
26769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26771 if (!SWIG_IsOK(res1
)) {
26772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26774 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26776 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26777 if (!SWIG_IsOK(ecode2
)) {
26778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
26780 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
26784 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
26789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26790 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
26791 wxPyEndAllowThreads(__tstate
);
26792 if (PyErr_Occurred()) SWIG_fail
;
26794 resultobj
= SWIG_From_int(static_cast< int >(result
));
26796 if (temp3
) delete arg3
;
26801 if (temp3
) delete arg3
;
26807 SWIGINTERN PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26808 PyObject
*resultobj
= 0;
26809 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26810 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
26816 PyObject
* obj0
= 0 ;
26817 PyObject
* obj1
= 0 ;
26818 char * kwnames
[] = {
26819 (char *) "self",(char *) "country", NULL
26822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26824 if (!SWIG_IsOK(res1
)) {
26825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsWorkDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26827 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26829 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26830 if (!SWIG_IsOK(ecode2
)) {
26831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsWorkDay" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
26833 arg2
= static_cast< wxDateTime::Country
>(val2
);
26836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26837 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay(arg2
);
26838 wxPyEndAllowThreads(__tstate
);
26839 if (PyErr_Occurred()) SWIG_fail
;
26842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26850 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26851 PyObject
*resultobj
= 0;
26852 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26853 wxDateTime
*arg2
= 0 ;
26859 PyObject
* obj0
= 0 ;
26860 PyObject
* obj1
= 0 ;
26861 char * kwnames
[] = {
26862 (char *) "self",(char *) "datetime", NULL
26865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26867 if (!SWIG_IsOK(res1
)) {
26868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26870 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26871 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26872 if (!SWIG_IsOK(res2
)) {
26873 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26876 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26878 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26881 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
26882 wxPyEndAllowThreads(__tstate
);
26883 if (PyErr_Occurred()) SWIG_fail
;
26886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26894 SWIGINTERN PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26895 PyObject
*resultobj
= 0;
26896 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26897 wxDateTime
*arg2
= 0 ;
26903 PyObject
* obj0
= 0 ;
26904 PyObject
* obj1
= 0 ;
26905 char * kwnames
[] = {
26906 (char *) "self",(char *) "datetime", NULL
26909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26911 if (!SWIG_IsOK(res1
)) {
26912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26914 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26915 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26916 if (!SWIG_IsOK(res2
)) {
26917 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26920 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26922 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26925 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
26926 wxPyEndAllowThreads(__tstate
);
26927 if (PyErr_Occurred()) SWIG_fail
;
26930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26938 SWIGINTERN PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26939 PyObject
*resultobj
= 0;
26940 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26941 wxDateTime
*arg2
= 0 ;
26947 PyObject
* obj0
= 0 ;
26948 PyObject
* obj1
= 0 ;
26949 char * kwnames
[] = {
26950 (char *) "self",(char *) "datetime", NULL
26953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26955 if (!SWIG_IsOK(res1
)) {
26956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsLaterThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26958 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26959 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26960 if (!SWIG_IsOK(res2
)) {
26961 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26964 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26966 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26969 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
26970 wxPyEndAllowThreads(__tstate
);
26971 if (PyErr_Occurred()) SWIG_fail
;
26974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26982 SWIGINTERN PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26983 PyObject
*resultobj
= 0;
26984 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26985 wxDateTime
*arg2
= 0 ;
26986 wxDateTime
*arg3
= 0 ;
26994 PyObject
* obj0
= 0 ;
26995 PyObject
* obj1
= 0 ;
26996 PyObject
* obj2
= 0 ;
26997 char * kwnames
[] = {
26998 (char *) "self",(char *) "t1",(char *) "t2", NULL
27001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27003 if (!SWIG_IsOK(res1
)) {
27004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27006 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27007 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27008 if (!SWIG_IsOK(res2
)) {
27009 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27012 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27014 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27015 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27016 if (!SWIG_IsOK(res3
)) {
27017 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
27020 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
27022 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
27024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27025 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
27026 wxPyEndAllowThreads(__tstate
);
27027 if (PyErr_Occurred()) SWIG_fail
;
27030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27038 SWIGINTERN PyObject
*_wrap_DateTime_IsBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27039 PyObject
*resultobj
= 0;
27040 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27041 wxDateTime
*arg2
= 0 ;
27042 wxDateTime
*arg3
= 0 ;
27050 PyObject
* obj0
= 0 ;
27051 PyObject
* obj1
= 0 ;
27052 PyObject
* obj2
= 0 ;
27053 char * kwnames
[] = {
27054 (char *) "self",(char *) "t1",(char *) "t2", NULL
27057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27059 if (!SWIG_IsOK(res1
)) {
27060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27062 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27063 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27064 if (!SWIG_IsOK(res2
)) {
27065 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27068 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27070 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27071 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27072 if (!SWIG_IsOK(res3
)) {
27073 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
27076 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
27078 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
27080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27081 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
27082 wxPyEndAllowThreads(__tstate
);
27083 if (PyErr_Occurred()) SWIG_fail
;
27086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27094 SWIGINTERN PyObject
*_wrap_DateTime_IsSameDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27095 PyObject
*resultobj
= 0;
27096 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27097 wxDateTime
*arg2
= 0 ;
27103 PyObject
* obj0
= 0 ;
27104 PyObject
* obj1
= 0 ;
27105 char * kwnames
[] = {
27106 (char *) "self",(char *) "dt", NULL
27109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27111 if (!SWIG_IsOK(res1
)) {
27112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27114 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27115 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27116 if (!SWIG_IsOK(res2
)) {
27117 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27120 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27122 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27125 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
27126 wxPyEndAllowThreads(__tstate
);
27127 if (PyErr_Occurred()) SWIG_fail
;
27130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27138 SWIGINTERN PyObject
*_wrap_DateTime_IsSameTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27139 PyObject
*resultobj
= 0;
27140 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27141 wxDateTime
*arg2
= 0 ;
27147 PyObject
* obj0
= 0 ;
27148 PyObject
* obj1
= 0 ;
27149 char * kwnames
[] = {
27150 (char *) "self",(char *) "dt", NULL
27153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27155 if (!SWIG_IsOK(res1
)) {
27156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27158 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27159 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27160 if (!SWIG_IsOK(res2
)) {
27161 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27164 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27166 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27169 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
27170 wxPyEndAllowThreads(__tstate
);
27171 if (PyErr_Occurred()) SWIG_fail
;
27174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27182 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27183 PyObject
*resultobj
= 0;
27184 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27185 wxDateTime
*arg2
= 0 ;
27186 wxTimeSpan
*arg3
= 0 ;
27194 PyObject
* obj0
= 0 ;
27195 PyObject
* obj1
= 0 ;
27196 PyObject
* obj2
= 0 ;
27197 char * kwnames
[] = {
27198 (char *) "self",(char *) "dt",(char *) "ts", NULL
27201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27203 if (!SWIG_IsOK(res1
)) {
27204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27206 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27207 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27208 if (!SWIG_IsOK(res2
)) {
27209 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27212 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27214 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27215 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27216 if (!SWIG_IsOK(res3
)) {
27217 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
27220 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
27222 arg3
= reinterpret_cast< wxTimeSpan
* >(argp3
);
27224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27225 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
27226 wxPyEndAllowThreads(__tstate
);
27227 if (PyErr_Occurred()) SWIG_fail
;
27230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27238 SWIGINTERN PyObject
*_wrap_DateTime_AddTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27239 PyObject
*resultobj
= 0;
27240 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27241 wxTimeSpan
*arg2
= 0 ;
27242 wxDateTime
*result
= 0 ;
27247 PyObject
* obj0
= 0 ;
27248 PyObject
* obj1
= 0 ;
27249 char * kwnames
[] = {
27250 (char *) "self",(char *) "diff", NULL
27253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27255 if (!SWIG_IsOK(res1
)) {
27256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27258 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27259 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27260 if (!SWIG_IsOK(res2
)) {
27261 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27264 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27266 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27270 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
27271 result
= (wxDateTime
*) &_result_ref
;
27273 wxPyEndAllowThreads(__tstate
);
27274 if (PyErr_Occurred()) SWIG_fail
;
27276 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27283 SWIGINTERN PyObject
*_wrap_DateTime_AddDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27284 PyObject
*resultobj
= 0;
27285 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27286 wxDateSpan
*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_AddDS",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_AddDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27303 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27304 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27305 if (!SWIG_IsOK(res2
)) {
27306 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27309 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27311 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27315 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
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_SubtractTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27329 PyObject
*resultobj
= 0;
27330 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27331 wxTimeSpan
*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_SubtractTS",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_SubtractTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27348 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27349 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27350 if (!SWIG_IsOK(res2
)) {
27351 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27354 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27356 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27360 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
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_SubtractDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27374 PyObject
*resultobj
= 0;
27375 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27376 wxDateSpan
*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_SubtractDS",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_SubtractDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27393 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27394 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27395 if (!SWIG_IsOK(res2
)) {
27396 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27399 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27401 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27405 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
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_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27419 PyObject
*resultobj
= 0;
27420 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27421 wxDateTime
*arg2
= 0 ;
27427 PyObject
* obj0
= 0 ;
27428 PyObject
* obj1
= 0 ;
27429 char * kwnames
[] = {
27430 (char *) "self",(char *) "dt", NULL
27433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",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_Subtract" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27438 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27439 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27440 if (!SWIG_IsOK(res2
)) {
27441 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27444 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27446 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27449 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
27450 wxPyEndAllowThreads(__tstate
);
27451 if (PyErr_Occurred()) SWIG_fail
;
27453 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27460 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27461 PyObject
*resultobj
= 0;
27462 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27463 wxTimeSpan
*arg2
= 0 ;
27464 wxDateTime
*result
= 0 ;
27470 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27472 if (!SWIG_IsOK(res1
)) {
27473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27475 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27476 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27477 if (!SWIG_IsOK(res2
)) {
27478 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27481 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27483 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27487 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
27488 result
= (wxDateTime
*) &_result_ref
;
27490 wxPyEndAllowThreads(__tstate
);
27491 if (PyErr_Occurred()) SWIG_fail
;
27493 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27500 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27501 PyObject
*resultobj
= 0;
27502 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27503 wxDateSpan
*arg2
= 0 ;
27504 wxDateTime
*result
= 0 ;
27510 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27512 if (!SWIG_IsOK(res1
)) {
27513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27515 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27516 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27517 if (!SWIG_IsOK(res2
)) {
27518 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27521 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27523 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27527 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
27528 result
= (wxDateTime
*) &_result_ref
;
27530 wxPyEndAllowThreads(__tstate
);
27531 if (PyErr_Occurred()) SWIG_fail
;
27533 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27540 SWIGINTERN PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
27544 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___iadd__",0,2,argv
))) SWIG_fail
;
27549 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27550 _v
= SWIG_CheckState(res
);
27552 if (!_v
) goto check_1
;
27553 return _wrap_DateTime___iadd____SWIG_0(self
, argc
, argv
);
27558 return _wrap_DateTime___iadd____SWIG_1(self
, argc
, argv
);
27562 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
27567 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27568 PyObject
*resultobj
= 0;
27569 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27570 wxTimeSpan
*arg2
= 0 ;
27571 wxDateTime
*result
= 0 ;
27577 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27579 if (!SWIG_IsOK(res1
)) {
27580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27582 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27583 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27584 if (!SWIG_IsOK(res2
)) {
27585 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27588 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27590 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27594 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
27595 result
= (wxDateTime
*) &_result_ref
;
27597 wxPyEndAllowThreads(__tstate
);
27598 if (PyErr_Occurred()) SWIG_fail
;
27600 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27607 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27608 PyObject
*resultobj
= 0;
27609 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27610 wxDateSpan
*arg2
= 0 ;
27611 wxDateTime
*result
= 0 ;
27617 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27619 if (!SWIG_IsOK(res1
)) {
27620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27622 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27623 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27624 if (!SWIG_IsOK(res2
)) {
27625 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27628 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27630 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27634 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
27635 result
= (wxDateTime
*) &_result_ref
;
27637 wxPyEndAllowThreads(__tstate
);
27638 if (PyErr_Occurred()) SWIG_fail
;
27640 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27647 SWIGINTERN PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
27651 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___isub__",0,2,argv
))) SWIG_fail
;
27656 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27657 _v
= SWIG_CheckState(res
);
27659 if (!_v
) goto check_1
;
27660 return _wrap_DateTime___isub____SWIG_0(self
, argc
, argv
);
27665 return _wrap_DateTime___isub____SWIG_1(self
, argc
, argv
);
27669 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
27674 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27675 PyObject
*resultobj
= 0;
27676 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27677 wxTimeSpan
*arg2
= 0 ;
27684 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27686 if (!SWIG_IsOK(res1
)) {
27687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27689 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27690 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27691 if (!SWIG_IsOK(res2
)) {
27692 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27695 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27697 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27700 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
27701 wxPyEndAllowThreads(__tstate
);
27702 if (PyErr_Occurred()) SWIG_fail
;
27704 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27711 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27712 PyObject
*resultobj
= 0;
27713 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27714 wxDateSpan
*arg2
= 0 ;
27721 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27723 if (!SWIG_IsOK(res1
)) {
27724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27726 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27727 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27728 if (!SWIG_IsOK(res2
)) {
27729 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27732 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27734 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27737 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
27738 wxPyEndAllowThreads(__tstate
);
27739 if (PyErr_Occurred()) SWIG_fail
;
27741 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27748 SWIGINTERN PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
27752 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___add__",0,2,argv
))) SWIG_fail
;
27757 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27758 _v
= SWIG_CheckState(res
);
27760 if (!_v
) goto check_1
;
27761 return _wrap_DateTime___add____SWIG_0(self
, argc
, argv
);
27766 return _wrap_DateTime___add____SWIG_1(self
, argc
, argv
);
27770 Py_INCREF(Py_NotImplemented
);
27771 return Py_NotImplemented
;
27775 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27776 PyObject
*resultobj
= 0;
27777 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27778 wxDateTime
*arg2
= 0 ;
27785 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27787 if (!SWIG_IsOK(res1
)) {
27788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27790 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27791 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27792 if (!SWIG_IsOK(res2
)) {
27793 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27796 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27798 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27801 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
27802 wxPyEndAllowThreads(__tstate
);
27803 if (PyErr_Occurred()) SWIG_fail
;
27805 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27812 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27813 PyObject
*resultobj
= 0;
27814 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27815 wxTimeSpan
*arg2
= 0 ;
27822 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27824 if (!SWIG_IsOK(res1
)) {
27825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27827 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27828 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27829 if (!SWIG_IsOK(res2
)) {
27830 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27833 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27835 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27838 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
27839 wxPyEndAllowThreads(__tstate
);
27840 if (PyErr_Occurred()) SWIG_fail
;
27842 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27849 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27850 PyObject
*resultobj
= 0;
27851 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27852 wxDateSpan
*arg2
= 0 ;
27859 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27861 if (!SWIG_IsOK(res1
)) {
27862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27864 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27865 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27866 if (!SWIG_IsOK(res2
)) {
27867 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27870 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27872 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27875 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
27876 wxPyEndAllowThreads(__tstate
);
27877 if (PyErr_Occurred()) SWIG_fail
;
27879 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27886 SWIGINTERN PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
27890 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___sub__",0,2,argv
))) SWIG_fail
;
27895 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDateTime
, 0);
27896 _v
= SWIG_CheckState(res
);
27898 if (!_v
) goto check_1
;
27899 return _wrap_DateTime___sub____SWIG_0(self
, argc
, argv
);
27906 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27907 _v
= SWIG_CheckState(res
);
27909 if (!_v
) goto check_2
;
27910 return _wrap_DateTime___sub____SWIG_1(self
, argc
, argv
);
27915 return _wrap_DateTime___sub____SWIG_2(self
, argc
, argv
);
27919 Py_INCREF(Py_NotImplemented
);
27920 return Py_NotImplemented
;
27924 SWIGINTERN PyObject
*_wrap_DateTime___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27925 PyObject
*resultobj
= 0;
27926 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27927 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
27933 PyObject
* obj0
= 0 ;
27934 PyObject
* obj1
= 0 ;
27935 char * kwnames
[] = {
27936 (char *) "self",(char *) "other", NULL
27939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27941 if (!SWIG_IsOK(res1
)) {
27942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___lt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27944 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27945 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27946 if (!SWIG_IsOK(res2
)) {
27947 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___lt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
27949 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27952 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
27953 wxPyEndAllowThreads(__tstate
);
27954 if (PyErr_Occurred()) SWIG_fail
;
27957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27965 SWIGINTERN PyObject
*_wrap_DateTime___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27966 PyObject
*resultobj
= 0;
27967 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27968 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
27974 PyObject
* obj0
= 0 ;
27975 PyObject
* obj1
= 0 ;
27976 char * kwnames
[] = {
27977 (char *) "self",(char *) "other", NULL
27980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27982 if (!SWIG_IsOK(res1
)) {
27983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___le__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27985 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27986 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27987 if (!SWIG_IsOK(res2
)) {
27988 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___le__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
27990 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27993 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
27994 wxPyEndAllowThreads(__tstate
);
27995 if (PyErr_Occurred()) SWIG_fail
;
27998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28006 SWIGINTERN PyObject
*_wrap_DateTime___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28007 PyObject
*resultobj
= 0;
28008 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28009 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
28015 PyObject
* obj0
= 0 ;
28016 PyObject
* obj1
= 0 ;
28017 char * kwnames
[] = {
28018 (char *) "self",(char *) "other", NULL
28021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28023 if (!SWIG_IsOK(res1
)) {
28024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___gt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
28026 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28027 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28028 if (!SWIG_IsOK(res2
)) {
28029 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___gt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
28031 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
28033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28034 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
28035 wxPyEndAllowThreads(__tstate
);
28036 if (PyErr_Occurred()) SWIG_fail
;
28039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28047 SWIGINTERN PyObject
*_wrap_DateTime___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28048 PyObject
*resultobj
= 0;
28049 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28050 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
28056 PyObject
* obj0
= 0 ;
28057 PyObject
* obj1
= 0 ;
28058 char * kwnames
[] = {
28059 (char *) "self",(char *) "other", NULL
28062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28064 if (!SWIG_IsOK(res1
)) {
28065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ge__" "', expected argument " "1"" of type '" "wxDateTime *""'");
28067 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28068 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28069 if (!SWIG_IsOK(res2
)) {
28070 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ge__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
28072 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
28074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28075 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
28076 wxPyEndAllowThreads(__tstate
);
28077 if (PyErr_Occurred()) SWIG_fail
;
28080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28088 SWIGINTERN PyObject
*_wrap_DateTime___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28089 PyObject
*resultobj
= 0;
28090 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28091 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
28097 PyObject
* obj0
= 0 ;
28098 PyObject
* obj1
= 0 ;
28099 char * kwnames
[] = {
28100 (char *) "self",(char *) "other", NULL
28103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28105 if (!SWIG_IsOK(res1
)) {
28106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___eq__" "', expected argument " "1"" of type '" "wxDateTime *""'");
28108 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28109 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28110 if (!SWIG_IsOK(res2
)) {
28111 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___eq__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
28113 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
28115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28116 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
28117 wxPyEndAllowThreads(__tstate
);
28118 if (PyErr_Occurred()) SWIG_fail
;
28121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28129 SWIGINTERN PyObject
*_wrap_DateTime___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28130 PyObject
*resultobj
= 0;
28131 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28132 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
28138 PyObject
* obj0
= 0 ;
28139 PyObject
* obj1
= 0 ;
28140 char * kwnames
[] = {
28141 (char *) "self",(char *) "other", NULL
28144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28146 if (!SWIG_IsOK(res1
)) {
28147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ne__" "', expected argument " "1"" of type '" "wxDateTime *""'");
28149 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28150 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28151 if (!SWIG_IsOK(res2
)) {
28152 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ne__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
28154 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
28156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28157 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
28158 wxPyEndAllowThreads(__tstate
);
28159 if (PyErr_Occurred()) SWIG_fail
;
28162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28170 SWIGINTERN PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28171 PyObject
*resultobj
= 0;
28172 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28173 wxString
*arg2
= 0 ;
28177 bool temp2
= false ;
28178 PyObject
* obj0
= 0 ;
28179 PyObject
* obj1
= 0 ;
28180 char * kwnames
[] = {
28181 (char *) "self",(char *) "date", NULL
28184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28186 if (!SWIG_IsOK(res1
)) {
28187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseRfc822Date" "', expected argument " "1"" of type '" "wxDateTime *""'");
28189 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28191 arg2
= wxString_in_helper(obj1
);
28192 if (arg2
== NULL
) SWIG_fail
;
28196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28197 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
28198 wxPyEndAllowThreads(__tstate
);
28199 if (PyErr_Occurred()) SWIG_fail
;
28201 resultobj
= SWIG_From_int(static_cast< int >(result
));
28216 SWIGINTERN PyObject
*_wrap_DateTime_ParseFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28217 PyObject
*resultobj
= 0;
28218 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28219 wxString
*arg2
= 0 ;
28220 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
28221 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
28222 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
28223 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
28227 bool temp2
= false ;
28228 bool temp3
= false ;
28231 PyObject
* obj0
= 0 ;
28232 PyObject
* obj1
= 0 ;
28233 PyObject
* obj2
= 0 ;
28234 PyObject
* obj3
= 0 ;
28235 char * kwnames
[] = {
28236 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
28239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28241 if (!SWIG_IsOK(res1
)) {
28242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseFormat" "', expected argument " "1"" of type '" "wxDateTime *""'");
28244 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28246 arg2
= wxString_in_helper(obj1
);
28247 if (arg2
== NULL
) SWIG_fail
;
28252 arg3
= wxString_in_helper(obj2
);
28253 if (arg3
== NULL
) SWIG_fail
;
28258 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
28259 if (!SWIG_IsOK(res4
)) {
28260 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
28263 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
28265 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
28268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28269 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
28270 wxPyEndAllowThreads(__tstate
);
28271 if (PyErr_Occurred()) SWIG_fail
;
28273 resultobj
= SWIG_From_int(static_cast< int >(result
));
28296 SWIGINTERN PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28297 PyObject
*resultobj
= 0;
28298 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28299 wxString
*arg2
= 0 ;
28303 bool temp2
= false ;
28304 PyObject
* obj0
= 0 ;
28305 PyObject
* obj1
= 0 ;
28306 char * kwnames
[] = {
28307 (char *) "self",(char *) "datetime", NULL
28310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28312 if (!SWIG_IsOK(res1
)) {
28313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
28315 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28317 arg2
= wxString_in_helper(obj1
);
28318 if (arg2
== NULL
) SWIG_fail
;
28322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28323 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
28324 wxPyEndAllowThreads(__tstate
);
28325 if (PyErr_Occurred()) SWIG_fail
;
28327 resultobj
= SWIG_From_int(static_cast< int >(result
));
28342 SWIGINTERN PyObject
*_wrap_DateTime_ParseDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28343 PyObject
*resultobj
= 0;
28344 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28345 wxString
*arg2
= 0 ;
28349 bool temp2
= false ;
28350 PyObject
* obj0
= 0 ;
28351 PyObject
* obj1
= 0 ;
28352 char * kwnames
[] = {
28353 (char *) "self",(char *) "date", NULL
28356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28358 if (!SWIG_IsOK(res1
)) {
28359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDate" "', expected argument " "1"" of type '" "wxDateTime *""'");
28361 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28363 arg2
= wxString_in_helper(obj1
);
28364 if (arg2
== NULL
) SWIG_fail
;
28368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28369 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
28370 wxPyEndAllowThreads(__tstate
);
28371 if (PyErr_Occurred()) SWIG_fail
;
28373 resultobj
= SWIG_From_int(static_cast< int >(result
));
28388 SWIGINTERN PyObject
*_wrap_DateTime_ParseTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28389 PyObject
*resultobj
= 0;
28390 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28391 wxString
*arg2
= 0 ;
28395 bool temp2
= false ;
28396 PyObject
* obj0
= 0 ;
28397 PyObject
* obj1
= 0 ;
28398 char * kwnames
[] = {
28399 (char *) "self",(char *) "time", NULL
28402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28404 if (!SWIG_IsOK(res1
)) {
28405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
28407 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28409 arg2
= wxString_in_helper(obj1
);
28410 if (arg2
== NULL
) SWIG_fail
;
28414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28415 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
28416 wxPyEndAllowThreads(__tstate
);
28417 if (PyErr_Occurred()) SWIG_fail
;
28419 resultobj
= SWIG_From_int(static_cast< int >(result
));
28434 SWIGINTERN PyObject
*_wrap_DateTime_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28435 PyObject
*resultobj
= 0;
28436 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28437 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
28438 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
28439 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
28440 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
28444 bool temp2
= false ;
28445 bool temp3
= false ;
28446 PyObject
* obj0
= 0 ;
28447 PyObject
* obj1
= 0 ;
28448 PyObject
* obj2
= 0 ;
28449 char * kwnames
[] = {
28450 (char *) "self",(char *) "format",(char *) "tz", NULL
28453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28455 if (!SWIG_IsOK(res1
)) {
28456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Format" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28458 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28461 arg2
= wxString_in_helper(obj1
);
28462 if (arg2
== NULL
) SWIG_fail
;
28468 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
28473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28474 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
28475 wxPyEndAllowThreads(__tstate
);
28476 if (PyErr_Occurred()) SWIG_fail
;
28480 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28482 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28490 if (temp3
) delete arg3
;
28499 if (temp3
) delete arg3
;
28505 SWIGINTERN PyObject
*_wrap_DateTime_FormatDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28506 PyObject
*resultobj
= 0;
28507 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28511 PyObject
*swig_obj
[1] ;
28513 if (!args
) SWIG_fail
;
28514 swig_obj
[0] = args
;
28515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28516 if (!SWIG_IsOK(res1
)) {
28517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28519 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28522 result
= ((wxDateTime
const *)arg1
)->FormatDate();
28523 wxPyEndAllowThreads(__tstate
);
28524 if (PyErr_Occurred()) SWIG_fail
;
28528 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28530 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28539 SWIGINTERN PyObject
*_wrap_DateTime_FormatTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28540 PyObject
*resultobj
= 0;
28541 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28545 PyObject
*swig_obj
[1] ;
28547 if (!args
) SWIG_fail
;
28548 swig_obj
[0] = args
;
28549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28550 if (!SWIG_IsOK(res1
)) {
28551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28553 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28556 result
= ((wxDateTime
const *)arg1
)->FormatTime();
28557 wxPyEndAllowThreads(__tstate
);
28558 if (PyErr_Occurred()) SWIG_fail
;
28562 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28564 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28573 SWIGINTERN PyObject
*_wrap_DateTime_FormatISODate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28574 PyObject
*resultobj
= 0;
28575 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28579 PyObject
*swig_obj
[1] ;
28581 if (!args
) SWIG_fail
;
28582 swig_obj
[0] = args
;
28583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28584 if (!SWIG_IsOK(res1
)) {
28585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISODate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28587 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28590 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
28591 wxPyEndAllowThreads(__tstate
);
28592 if (PyErr_Occurred()) SWIG_fail
;
28596 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28598 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28607 SWIGINTERN PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28608 PyObject
*resultobj
= 0;
28609 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28613 PyObject
*swig_obj
[1] ;
28615 if (!args
) SWIG_fail
;
28616 swig_obj
[0] = args
;
28617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28618 if (!SWIG_IsOK(res1
)) {
28619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISOTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28621 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28624 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
28625 wxPyEndAllowThreads(__tstate
);
28626 if (PyErr_Occurred()) SWIG_fail
;
28630 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28632 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28641 SWIGINTERN PyObject
*DateTime_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28643 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28644 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateTime
, SWIG_NewClientData(obj
));
28645 return SWIG_Py_Void();
28648 SWIGINTERN PyObject
*DateTime_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28649 return SWIG_Python_InitShadowInstance(args
);
28652 SWIGINTERN PyObject
*_wrap_TimeSpan_Milliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28653 PyObject
*resultobj
= 0;
28658 PyObject
* obj0
= 0 ;
28659 char * kwnames
[] = {
28660 (char *) "ms", NULL
28663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Milliseconds",kwnames
,&obj0
)) SWIG_fail
;
28664 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28665 if (!SWIG_IsOK(ecode1
)) {
28666 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Milliseconds" "', expected argument " "1"" of type '" "long""'");
28668 arg1
= static_cast< long >(val1
);
28670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28671 result
= wxTimeSpan::Milliseconds(arg1
);
28672 wxPyEndAllowThreads(__tstate
);
28673 if (PyErr_Occurred()) SWIG_fail
;
28675 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28682 SWIGINTERN PyObject
*_wrap_TimeSpan_Millisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28683 PyObject
*resultobj
= 0;
28686 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Millisecond",0,0,0)) SWIG_fail
;
28688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28689 result
= wxTimeSpan::Millisecond();
28690 wxPyEndAllowThreads(__tstate
);
28691 if (PyErr_Occurred()) SWIG_fail
;
28693 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28700 SWIGINTERN PyObject
*_wrap_TimeSpan_Seconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28701 PyObject
*resultobj
= 0;
28706 PyObject
* obj0
= 0 ;
28707 char * kwnames
[] = {
28708 (char *) "sec", NULL
28711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) SWIG_fail
;
28712 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28713 if (!SWIG_IsOK(ecode1
)) {
28714 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Seconds" "', expected argument " "1"" of type '" "long""'");
28716 arg1
= static_cast< long >(val1
);
28718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28719 result
= wxTimeSpan::Seconds(arg1
);
28720 wxPyEndAllowThreads(__tstate
);
28721 if (PyErr_Occurred()) SWIG_fail
;
28723 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28730 SWIGINTERN PyObject
*_wrap_TimeSpan_Second(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28731 PyObject
*resultobj
= 0;
28734 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Second",0,0,0)) SWIG_fail
;
28736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28737 result
= wxTimeSpan::Second();
28738 wxPyEndAllowThreads(__tstate
);
28739 if (PyErr_Occurred()) SWIG_fail
;
28741 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28748 SWIGINTERN PyObject
*_wrap_TimeSpan_Minutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28749 PyObject
*resultobj
= 0;
28754 PyObject
* obj0
= 0 ;
28755 char * kwnames
[] = {
28756 (char *) "min", NULL
28759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) SWIG_fail
;
28760 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28761 if (!SWIG_IsOK(ecode1
)) {
28762 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Minutes" "', expected argument " "1"" of type '" "long""'");
28764 arg1
= static_cast< long >(val1
);
28766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28767 result
= wxTimeSpan::Minutes(arg1
);
28768 wxPyEndAllowThreads(__tstate
);
28769 if (PyErr_Occurred()) SWIG_fail
;
28771 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28778 SWIGINTERN PyObject
*_wrap_TimeSpan_Minute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28779 PyObject
*resultobj
= 0;
28782 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Minute",0,0,0)) SWIG_fail
;
28784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28785 result
= wxTimeSpan::Minute();
28786 wxPyEndAllowThreads(__tstate
);
28787 if (PyErr_Occurred()) SWIG_fail
;
28789 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28796 SWIGINTERN PyObject
*_wrap_TimeSpan_Hours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28797 PyObject
*resultobj
= 0;
28802 PyObject
* obj0
= 0 ;
28803 char * kwnames
[] = {
28804 (char *) "hours", NULL
28807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) SWIG_fail
;
28808 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28809 if (!SWIG_IsOK(ecode1
)) {
28810 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Hours" "', expected argument " "1"" of type '" "long""'");
28812 arg1
= static_cast< long >(val1
);
28814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28815 result
= wxTimeSpan::Hours(arg1
);
28816 wxPyEndAllowThreads(__tstate
);
28817 if (PyErr_Occurred()) SWIG_fail
;
28819 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28826 SWIGINTERN PyObject
*_wrap_TimeSpan_Hour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28827 PyObject
*resultobj
= 0;
28830 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Hour",0,0,0)) SWIG_fail
;
28832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28833 result
= wxTimeSpan::Hour();
28834 wxPyEndAllowThreads(__tstate
);
28835 if (PyErr_Occurred()) SWIG_fail
;
28837 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28844 SWIGINTERN PyObject
*_wrap_TimeSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28845 PyObject
*resultobj
= 0;
28850 PyObject
* obj0
= 0 ;
28851 char * kwnames
[] = {
28852 (char *) "days", NULL
28855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
28856 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28857 if (!SWIG_IsOK(ecode1
)) {
28858 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Days" "', expected argument " "1"" of type '" "long""'");
28860 arg1
= static_cast< long >(val1
);
28862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28863 result
= wxTimeSpan::Days(arg1
);
28864 wxPyEndAllowThreads(__tstate
);
28865 if (PyErr_Occurred()) SWIG_fail
;
28867 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28874 SWIGINTERN PyObject
*_wrap_TimeSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28875 PyObject
*resultobj
= 0;
28878 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Day",0,0,0)) SWIG_fail
;
28880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28881 result
= wxTimeSpan::Day();
28882 wxPyEndAllowThreads(__tstate
);
28883 if (PyErr_Occurred()) SWIG_fail
;
28885 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28892 SWIGINTERN PyObject
*_wrap_TimeSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28893 PyObject
*resultobj
= 0;
28898 PyObject
* obj0
= 0 ;
28899 char * kwnames
[] = {
28900 (char *) "days", NULL
28903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
28904 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28905 if (!SWIG_IsOK(ecode1
)) {
28906 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Weeks" "', expected argument " "1"" of type '" "long""'");
28908 arg1
= static_cast< long >(val1
);
28910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28911 result
= wxTimeSpan::Weeks(arg1
);
28912 wxPyEndAllowThreads(__tstate
);
28913 if (PyErr_Occurred()) SWIG_fail
;
28915 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28922 SWIGINTERN PyObject
*_wrap_TimeSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28923 PyObject
*resultobj
= 0;
28926 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Week",0,0,0)) SWIG_fail
;
28928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28929 result
= wxTimeSpan::Week();
28930 wxPyEndAllowThreads(__tstate
);
28931 if (PyErr_Occurred()) SWIG_fail
;
28933 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28940 SWIGINTERN PyObject
*_wrap_new_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28941 PyObject
*resultobj
= 0;
28942 long arg1
= (long) 0 ;
28943 long arg2
= (long) 0 ;
28944 long arg3
= (long) 0 ;
28945 long arg4
= (long) 0 ;
28946 wxTimeSpan
*result
= 0 ;
28955 PyObject
* obj0
= 0 ;
28956 PyObject
* obj1
= 0 ;
28957 PyObject
* obj2
= 0 ;
28958 PyObject
* obj3
= 0 ;
28959 char * kwnames
[] = {
28960 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
28963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28965 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28966 if (!SWIG_IsOK(ecode1
)) {
28967 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimeSpan" "', expected argument " "1"" of type '" "long""'");
28969 arg1
= static_cast< long >(val1
);
28972 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28973 if (!SWIG_IsOK(ecode2
)) {
28974 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimeSpan" "', expected argument " "2"" of type '" "long""'");
28976 arg2
= static_cast< long >(val2
);
28979 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
28980 if (!SWIG_IsOK(ecode3
)) {
28981 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimeSpan" "', expected argument " "3"" of type '" "long""'");
28983 arg3
= static_cast< long >(val3
);
28986 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
28987 if (!SWIG_IsOK(ecode4
)) {
28988 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TimeSpan" "', expected argument " "4"" of type '" "long""'");
28990 arg4
= static_cast< long >(val4
);
28993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28994 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
28995 wxPyEndAllowThreads(__tstate
);
28996 if (PyErr_Occurred()) SWIG_fail
;
28998 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_NEW
| 0 );
29005 SWIGINTERN PyObject
*_wrap_delete_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29006 PyObject
*resultobj
= 0;
29007 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29010 PyObject
*swig_obj
[1] ;
29012 if (!args
) SWIG_fail
;
29013 swig_obj
[0] = args
;
29014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
29015 if (!SWIG_IsOK(res1
)) {
29016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimeSpan" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29018 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29023 wxPyEndAllowThreads(__tstate
);
29024 if (PyErr_Occurred()) SWIG_fail
;
29026 resultobj
= SWIG_Py_Void();
29033 SWIGINTERN PyObject
*_wrap_TimeSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29034 PyObject
*resultobj
= 0;
29035 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29036 wxTimeSpan
*arg2
= 0 ;
29037 wxTimeSpan
*result
= 0 ;
29042 PyObject
* obj0
= 0 ;
29043 PyObject
* obj1
= 0 ;
29044 char * kwnames
[] = {
29045 (char *) "self",(char *) "diff", NULL
29048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29050 if (!SWIG_IsOK(res1
)) {
29051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Add" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29053 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29054 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29055 if (!SWIG_IsOK(res2
)) {
29056 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29059 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29061 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29065 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
29066 result
= (wxTimeSpan
*) &_result_ref
;
29068 wxPyEndAllowThreads(__tstate
);
29069 if (PyErr_Occurred()) SWIG_fail
;
29071 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29078 SWIGINTERN PyObject
*_wrap_TimeSpan_Subtract(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_Subtract",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_Subtract" "', 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_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29104 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29106 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29110 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((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_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29124 PyObject
*resultobj
= 0;
29125 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29127 wxTimeSpan
*result
= 0 ;
29132 PyObject
* obj0
= 0 ;
29133 PyObject
* obj1
= 0 ;
29134 char * kwnames
[] = {
29135 (char *) "self",(char *) "n", NULL
29138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",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_Multiply" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29143 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29144 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29145 if (!SWIG_IsOK(ecode2
)) {
29146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
29148 arg2
= static_cast< int >(val2
);
29150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29152 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
29153 result
= (wxTimeSpan
*) &_result_ref
;
29155 wxPyEndAllowThreads(__tstate
);
29156 if (PyErr_Occurred()) SWIG_fail
;
29158 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29165 SWIGINTERN PyObject
*_wrap_TimeSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29166 PyObject
*resultobj
= 0;
29167 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29168 wxTimeSpan
*result
= 0 ;
29171 PyObject
*swig_obj
[1] ;
29173 if (!args
) SWIG_fail
;
29174 swig_obj
[0] = args
;
29175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29176 if (!SWIG_IsOK(res1
)) {
29177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Neg" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29179 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29183 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
29184 result
= (wxTimeSpan
*) &_result_ref
;
29186 wxPyEndAllowThreads(__tstate
);
29187 if (PyErr_Occurred()) SWIG_fail
;
29189 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29196 SWIGINTERN PyObject
*_wrap_TimeSpan_Abs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29197 PyObject
*resultobj
= 0;
29198 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29202 PyObject
*swig_obj
[1] ;
29204 if (!args
) SWIG_fail
;
29205 swig_obj
[0] = args
;
29206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29207 if (!SWIG_IsOK(res1
)) {
29208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Abs" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29210 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29213 result
= ((wxTimeSpan
const *)arg1
)->Abs();
29214 wxPyEndAllowThreads(__tstate
);
29215 if (PyErr_Occurred()) SWIG_fail
;
29217 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29224 SWIGINTERN PyObject
*_wrap_TimeSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29225 PyObject
*resultobj
= 0;
29226 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29227 wxTimeSpan
*arg2
= 0 ;
29228 wxTimeSpan
*result
= 0 ;
29233 PyObject
* obj0
= 0 ;
29234 PyObject
* obj1
= 0 ;
29235 char * kwnames
[] = {
29236 (char *) "self",(char *) "diff", NULL
29239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
29241 if (!SWIG_IsOK(res1
)) {
29242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___iadd__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29244 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29245 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29246 if (!SWIG_IsOK(res2
)) {
29247 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29250 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29252 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29256 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
29257 result
= (wxTimeSpan
*) &_result_ref
;
29259 wxPyEndAllowThreads(__tstate
);
29260 if (PyErr_Occurred()) SWIG_fail
;
29262 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29269 SWIGINTERN PyObject
*_wrap_TimeSpan___isub__(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___isub__",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___isub__" "', 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___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29295 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___isub__" "', 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___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29315 PyObject
*resultobj
= 0;
29316 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29318 wxTimeSpan
*result
= 0 ;
29323 PyObject
* obj0
= 0 ;
29324 PyObject
* obj1
= 0 ;
29325 char * kwnames
[] = {
29326 (char *) "self",(char *) "n", NULL
29329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",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___imul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29334 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29335 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29336 if (!SWIG_IsOK(ecode2
)) {
29337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___imul__" "', expected argument " "2"" of type '" "int""'");
29339 arg2
= static_cast< int >(val2
);
29341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29343 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
29344 result
= (wxTimeSpan
*) &_result_ref
;
29346 wxPyEndAllowThreads(__tstate
);
29347 if (PyErr_Occurred()) SWIG_fail
;
29349 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29356 SWIGINTERN PyObject
*_wrap_TimeSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29357 PyObject
*resultobj
= 0;
29358 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29359 wxTimeSpan
*result
= 0 ;
29362 PyObject
*swig_obj
[1] ;
29364 if (!args
) SWIG_fail
;
29365 swig_obj
[0] = args
;
29366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29367 if (!SWIG_IsOK(res1
)) {
29368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___neg__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29370 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29374 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
29375 result
= (wxTimeSpan
*) &_result_ref
;
29377 wxPyEndAllowThreads(__tstate
);
29378 if (PyErr_Occurred()) SWIG_fail
;
29380 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29387 SWIGINTERN PyObject
*_wrap_TimeSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29388 PyObject
*resultobj
= 0;
29389 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29390 wxTimeSpan
*arg2
= 0 ;
29396 PyObject
* obj0
= 0 ;
29397 PyObject
* obj1
= 0 ;
29398 char * kwnames
[] = {
29399 (char *) "self",(char *) "other", NULL
29402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29404 if (!SWIG_IsOK(res1
)) {
29405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___add__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29407 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29408 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29409 if (!SWIG_IsOK(res2
)) {
29410 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29413 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29415 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29418 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
29419 wxPyEndAllowThreads(__tstate
);
29420 if (PyErr_Occurred()) SWIG_fail
;
29422 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29429 SWIGINTERN PyObject
*_wrap_TimeSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29430 PyObject
*resultobj
= 0;
29431 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29432 wxTimeSpan
*arg2
= 0 ;
29438 PyObject
* obj0
= 0 ;
29439 PyObject
* obj1
= 0 ;
29440 char * kwnames
[] = {
29441 (char *) "self",(char *) "other", NULL
29444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29446 if (!SWIG_IsOK(res1
)) {
29447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___sub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29449 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29450 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29451 if (!SWIG_IsOK(res2
)) {
29452 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29455 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29457 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29460 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
29461 wxPyEndAllowThreads(__tstate
);
29462 if (PyErr_Occurred()) SWIG_fail
;
29464 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29471 SWIGINTERN PyObject
*_wrap_TimeSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29472 PyObject
*resultobj
= 0;
29473 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29480 PyObject
* obj0
= 0 ;
29481 PyObject
* obj1
= 0 ;
29482 char * kwnames
[] = {
29483 (char *) "self",(char *) "n", NULL
29486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29488 if (!SWIG_IsOK(res1
)) {
29489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___mul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29491 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29492 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29493 if (!SWIG_IsOK(ecode2
)) {
29494 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___mul__" "', expected argument " "2"" of type '" "int""'");
29496 arg2
= static_cast< int >(val2
);
29498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29499 result
= wxTimeSpan___mul__(arg1
,arg2
);
29500 wxPyEndAllowThreads(__tstate
);
29501 if (PyErr_Occurred()) SWIG_fail
;
29503 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29510 SWIGINTERN PyObject
*_wrap_TimeSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29511 PyObject
*resultobj
= 0;
29512 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29519 PyObject
* obj0
= 0 ;
29520 PyObject
* obj1
= 0 ;
29521 char * kwnames
[] = {
29522 (char *) "self",(char *) "n", NULL
29525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29527 if (!SWIG_IsOK(res1
)) {
29528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___rmul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29530 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29531 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29532 if (!SWIG_IsOK(ecode2
)) {
29533 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
29535 arg2
= static_cast< int >(val2
);
29537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29538 result
= wxTimeSpan___rmul__(arg1
,arg2
);
29539 wxPyEndAllowThreads(__tstate
);
29540 if (PyErr_Occurred()) SWIG_fail
;
29542 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29549 SWIGINTERN PyObject
*_wrap_TimeSpan___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29550 PyObject
*resultobj
= 0;
29551 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29552 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29558 PyObject
* obj0
= 0 ;
29559 PyObject
* obj1
= 0 ;
29560 char * kwnames
[] = {
29561 (char *) "self",(char *) "other", NULL
29564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29566 if (!SWIG_IsOK(res1
)) {
29567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___lt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29569 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29570 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29571 if (!SWIG_IsOK(res2
)) {
29572 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___lt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29574 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29577 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
29578 wxPyEndAllowThreads(__tstate
);
29579 if (PyErr_Occurred()) SWIG_fail
;
29582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29590 SWIGINTERN PyObject
*_wrap_TimeSpan___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29591 PyObject
*resultobj
= 0;
29592 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29593 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29599 PyObject
* obj0
= 0 ;
29600 PyObject
* obj1
= 0 ;
29601 char * kwnames
[] = {
29602 (char *) "self",(char *) "other", NULL
29605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29607 if (!SWIG_IsOK(res1
)) {
29608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___le__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29610 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29611 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29612 if (!SWIG_IsOK(res2
)) {
29613 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___le__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29615 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29618 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
29619 wxPyEndAllowThreads(__tstate
);
29620 if (PyErr_Occurred()) SWIG_fail
;
29623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29631 SWIGINTERN PyObject
*_wrap_TimeSpan___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29632 PyObject
*resultobj
= 0;
29633 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29634 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29640 PyObject
* obj0
= 0 ;
29641 PyObject
* obj1
= 0 ;
29642 char * kwnames
[] = {
29643 (char *) "self",(char *) "other", NULL
29646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29648 if (!SWIG_IsOK(res1
)) {
29649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___gt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29651 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29652 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29653 if (!SWIG_IsOK(res2
)) {
29654 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___gt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29656 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29659 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
29660 wxPyEndAllowThreads(__tstate
);
29661 if (PyErr_Occurred()) SWIG_fail
;
29664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29672 SWIGINTERN PyObject
*_wrap_TimeSpan___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29673 PyObject
*resultobj
= 0;
29674 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29675 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29681 PyObject
* obj0
= 0 ;
29682 PyObject
* obj1
= 0 ;
29683 char * kwnames
[] = {
29684 (char *) "self",(char *) "other", NULL
29687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29689 if (!SWIG_IsOK(res1
)) {
29690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ge__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29692 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29693 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29694 if (!SWIG_IsOK(res2
)) {
29695 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ge__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29697 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29700 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
29701 wxPyEndAllowThreads(__tstate
);
29702 if (PyErr_Occurred()) SWIG_fail
;
29705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29713 SWIGINTERN PyObject
*_wrap_TimeSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29714 PyObject
*resultobj
= 0;
29715 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29716 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29722 PyObject
* obj0
= 0 ;
29723 PyObject
* obj1
= 0 ;
29724 char * kwnames
[] = {
29725 (char *) "self",(char *) "other", NULL
29728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29730 if (!SWIG_IsOK(res1
)) {
29731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___eq__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29733 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29734 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29735 if (!SWIG_IsOK(res2
)) {
29736 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___eq__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29738 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29741 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
29742 wxPyEndAllowThreads(__tstate
);
29743 if (PyErr_Occurred()) SWIG_fail
;
29746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29754 SWIGINTERN PyObject
*_wrap_TimeSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29755 PyObject
*resultobj
= 0;
29756 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29757 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29763 PyObject
* obj0
= 0 ;
29764 PyObject
* obj1
= 0 ;
29765 char * kwnames
[] = {
29766 (char *) "self",(char *) "other", NULL
29769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29771 if (!SWIG_IsOK(res1
)) {
29772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ne__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29774 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29775 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29776 if (!SWIG_IsOK(res2
)) {
29777 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ne__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29779 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29782 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
29783 wxPyEndAllowThreads(__tstate
);
29784 if (PyErr_Occurred()) SWIG_fail
;
29787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29795 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29796 PyObject
*resultobj
= 0;
29797 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29801 PyObject
*swig_obj
[1] ;
29803 if (!args
) SWIG_fail
;
29804 swig_obj
[0] = args
;
29805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29806 if (!SWIG_IsOK(res1
)) {
29807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNull" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29809 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29812 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
29813 wxPyEndAllowThreads(__tstate
);
29814 if (PyErr_Occurred()) SWIG_fail
;
29817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29825 SWIGINTERN PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29826 PyObject
*resultobj
= 0;
29827 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29831 PyObject
*swig_obj
[1] ;
29833 if (!args
) SWIG_fail
;
29834 swig_obj
[0] = args
;
29835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29836 if (!SWIG_IsOK(res1
)) {
29837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsPositive" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29839 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29842 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
29843 wxPyEndAllowThreads(__tstate
);
29844 if (PyErr_Occurred()) SWIG_fail
;
29847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29855 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29856 PyObject
*resultobj
= 0;
29857 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29861 PyObject
*swig_obj
[1] ;
29863 if (!args
) SWIG_fail
;
29864 swig_obj
[0] = args
;
29865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29866 if (!SWIG_IsOK(res1
)) {
29867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNegative" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29869 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29872 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
29873 wxPyEndAllowThreads(__tstate
);
29874 if (PyErr_Occurred()) SWIG_fail
;
29877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29885 SWIGINTERN PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29886 PyObject
*resultobj
= 0;
29887 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29888 wxTimeSpan
*arg2
= 0 ;
29894 PyObject
* obj0
= 0 ;
29895 PyObject
* obj1
= 0 ;
29896 char * kwnames
[] = {
29897 (char *) "self",(char *) "ts", NULL
29900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29902 if (!SWIG_IsOK(res1
)) {
29903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29905 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29906 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29907 if (!SWIG_IsOK(res2
)) {
29908 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29911 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29913 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29916 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
29917 wxPyEndAllowThreads(__tstate
);
29918 if (PyErr_Occurred()) SWIG_fail
;
29921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29929 SWIGINTERN PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29930 PyObject
*resultobj
= 0;
29931 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29932 wxTimeSpan
*arg2
= 0 ;
29938 PyObject
* obj0
= 0 ;
29939 PyObject
* obj1
= 0 ;
29940 char * kwnames
[] = {
29941 (char *) "self",(char *) "ts", NULL
29944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29946 if (!SWIG_IsOK(res1
)) {
29947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29949 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29950 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29951 if (!SWIG_IsOK(res2
)) {
29952 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29955 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29957 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29960 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
29961 wxPyEndAllowThreads(__tstate
);
29962 if (PyErr_Occurred()) SWIG_fail
;
29965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29973 SWIGINTERN PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29974 PyObject
*resultobj
= 0;
29975 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29976 wxTimeSpan
*arg2
= 0 ;
29982 PyObject
* obj0
= 0 ;
29983 PyObject
* obj1
= 0 ;
29984 char * kwnames
[] = {
29985 (char *) "self",(char *) "t", NULL
29988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29990 if (!SWIG_IsOK(res1
)) {
29991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29993 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29994 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29995 if (!SWIG_IsOK(res2
)) {
29996 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29999 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
30001 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
30003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30004 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
30005 wxPyEndAllowThreads(__tstate
);
30006 if (PyErr_Occurred()) SWIG_fail
;
30009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30017 SWIGINTERN PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30018 PyObject
*resultobj
= 0;
30019 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30023 PyObject
*swig_obj
[1] ;
30025 if (!args
) SWIG_fail
;
30026 swig_obj
[0] = args
;
30027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30028 if (!SWIG_IsOK(res1
)) {
30029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetWeeks" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30031 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30034 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
30035 wxPyEndAllowThreads(__tstate
);
30036 if (PyErr_Occurred()) SWIG_fail
;
30038 resultobj
= SWIG_From_int(static_cast< int >(result
));
30045 SWIGINTERN PyObject
*_wrap_TimeSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30046 PyObject
*resultobj
= 0;
30047 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30051 PyObject
*swig_obj
[1] ;
30053 if (!args
) SWIG_fail
;
30054 swig_obj
[0] = args
;
30055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30056 if (!SWIG_IsOK(res1
)) {
30057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetDays" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30059 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30062 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
30063 wxPyEndAllowThreads(__tstate
);
30064 if (PyErr_Occurred()) SWIG_fail
;
30066 resultobj
= SWIG_From_int(static_cast< int >(result
));
30073 SWIGINTERN PyObject
*_wrap_TimeSpan_GetHours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30074 PyObject
*resultobj
= 0;
30075 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30079 PyObject
*swig_obj
[1] ;
30081 if (!args
) SWIG_fail
;
30082 swig_obj
[0] = args
;
30083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30084 if (!SWIG_IsOK(res1
)) {
30085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetHours" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30087 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30090 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
30091 wxPyEndAllowThreads(__tstate
);
30092 if (PyErr_Occurred()) SWIG_fail
;
30094 resultobj
= SWIG_From_int(static_cast< int >(result
));
30101 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30102 PyObject
*resultobj
= 0;
30103 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30107 PyObject
*swig_obj
[1] ;
30109 if (!args
) SWIG_fail
;
30110 swig_obj
[0] = args
;
30111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30112 if (!SWIG_IsOK(res1
)) {
30113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMinutes" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30115 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30118 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
30119 wxPyEndAllowThreads(__tstate
);
30120 if (PyErr_Occurred()) SWIG_fail
;
30122 resultobj
= SWIG_From_int(static_cast< int >(result
));
30129 SWIGINTERN PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30130 PyObject
*resultobj
= 0;
30131 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30135 PyObject
*swig_obj
[1] ;
30137 if (!args
) SWIG_fail
;
30138 swig_obj
[0] = args
;
30139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30140 if (!SWIG_IsOK(res1
)) {
30141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetSeconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30143 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30146 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
30147 wxPyEndAllowThreads(__tstate
);
30148 if (PyErr_Occurred()) SWIG_fail
;
30151 PyObject
*hi
, *lo
, *shifter
, *shifted
;
30152 hi
= PyLong_FromLong( (&result
)->GetHi() );
30153 lo
= PyLong_FromLong( (&result
)->GetLo() );
30154 shifter
= PyLong_FromLong(32);
30155 shifted
= PyNumber_Lshift(hi
, shifter
);
30156 resultobj
= PyNumber_Or(shifted
, lo
);
30159 Py_DECREF(shifter
);
30160 Py_DECREF(shifted
);
30168 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30169 PyObject
*resultobj
= 0;
30170 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30174 PyObject
*swig_obj
[1] ;
30176 if (!args
) SWIG_fail
;
30177 swig_obj
[0] = args
;
30178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30179 if (!SWIG_IsOK(res1
)) {
30180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMilliseconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30182 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30185 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
30186 wxPyEndAllowThreads(__tstate
);
30187 if (PyErr_Occurred()) SWIG_fail
;
30190 PyObject
*hi
, *lo
, *shifter
, *shifted
;
30191 hi
= PyLong_FromLong( (&result
)->GetHi() );
30192 lo
= PyLong_FromLong( (&result
)->GetLo() );
30193 shifter
= PyLong_FromLong(32);
30194 shifted
= PyNumber_Lshift(hi
, shifter
);
30195 resultobj
= PyNumber_Or(shifted
, lo
);
30198 Py_DECREF(shifter
);
30199 Py_DECREF(shifted
);
30207 SWIGINTERN PyObject
*_wrap_TimeSpan_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30208 PyObject
*resultobj
= 0;
30209 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30210 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
30211 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
30215 bool temp2
= false ;
30216 PyObject
* obj0
= 0 ;
30217 PyObject
* obj1
= 0 ;
30218 char * kwnames
[] = {
30219 (char *) "self",(char *) "format", NULL
30222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30224 if (!SWIG_IsOK(res1
)) {
30225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Format" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30227 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30230 arg2
= wxString_in_helper(obj1
);
30231 if (arg2
== NULL
) SWIG_fail
;
30236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30237 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
30238 wxPyEndAllowThreads(__tstate
);
30239 if (PyErr_Occurred()) SWIG_fail
;
30243 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30245 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30262 SWIGINTERN PyObject
*TimeSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30264 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30265 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimeSpan
, SWIG_NewClientData(obj
));
30266 return SWIG_Py_Void();
30269 SWIGINTERN PyObject
*TimeSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30270 return SWIG_Python_InitShadowInstance(args
);
30273 SWIGINTERN PyObject
*_wrap_new_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30274 PyObject
*resultobj
= 0;
30275 int arg1
= (int) 0 ;
30276 int arg2
= (int) 0 ;
30277 int arg3
= (int) 0 ;
30278 int arg4
= (int) 0 ;
30279 wxDateSpan
*result
= 0 ;
30288 PyObject
* obj0
= 0 ;
30289 PyObject
* obj1
= 0 ;
30290 PyObject
* obj2
= 0 ;
30291 PyObject
* obj3
= 0 ;
30292 char * kwnames
[] = {
30293 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
30296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30298 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30299 if (!SWIG_IsOK(ecode1
)) {
30300 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateSpan" "', expected argument " "1"" of type '" "int""'");
30302 arg1
= static_cast< int >(val1
);
30305 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30306 if (!SWIG_IsOK(ecode2
)) {
30307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateSpan" "', expected argument " "2"" of type '" "int""'");
30309 arg2
= static_cast< int >(val2
);
30312 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30313 if (!SWIG_IsOK(ecode3
)) {
30314 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateSpan" "', expected argument " "3"" of type '" "int""'");
30316 arg3
= static_cast< int >(val3
);
30319 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30320 if (!SWIG_IsOK(ecode4
)) {
30321 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateSpan" "', expected argument " "4"" of type '" "int""'");
30323 arg4
= static_cast< int >(val4
);
30326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30327 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
30328 wxPyEndAllowThreads(__tstate
);
30329 if (PyErr_Occurred()) SWIG_fail
;
30331 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_NEW
| 0 );
30338 SWIGINTERN PyObject
*_wrap_delete_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30339 PyObject
*resultobj
= 0;
30340 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30343 PyObject
*swig_obj
[1] ;
30345 if (!args
) SWIG_fail
;
30346 swig_obj
[0] = args
;
30347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
30348 if (!SWIG_IsOK(res1
)) {
30349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateSpan" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30351 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30356 wxPyEndAllowThreads(__tstate
);
30357 if (PyErr_Occurred()) SWIG_fail
;
30359 resultobj
= SWIG_Py_Void();
30366 SWIGINTERN PyObject
*_wrap_DateSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30367 PyObject
*resultobj
= 0;
30372 PyObject
* obj0
= 0 ;
30373 char * kwnames
[] = {
30374 (char *) "days", NULL
30377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
30378 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30379 if (!SWIG_IsOK(ecode1
)) {
30380 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Days" "', expected argument " "1"" of type '" "int""'");
30382 arg1
= static_cast< int >(val1
);
30384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30385 result
= wxDateSpan::Days(arg1
);
30386 wxPyEndAllowThreads(__tstate
);
30387 if (PyErr_Occurred()) SWIG_fail
;
30389 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30396 SWIGINTERN PyObject
*_wrap_DateSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30397 PyObject
*resultobj
= 0;
30400 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Day",0,0,0)) SWIG_fail
;
30402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30403 result
= wxDateSpan::Day();
30404 wxPyEndAllowThreads(__tstate
);
30405 if (PyErr_Occurred()) SWIG_fail
;
30407 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30414 SWIGINTERN PyObject
*_wrap_DateSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30415 PyObject
*resultobj
= 0;
30420 PyObject
* obj0
= 0 ;
30421 char * kwnames
[] = {
30422 (char *) "weeks", NULL
30425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
30426 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30427 if (!SWIG_IsOK(ecode1
)) {
30428 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Weeks" "', expected argument " "1"" of type '" "int""'");
30430 arg1
= static_cast< int >(val1
);
30432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30433 result
= wxDateSpan::Weeks(arg1
);
30434 wxPyEndAllowThreads(__tstate
);
30435 if (PyErr_Occurred()) SWIG_fail
;
30437 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30444 SWIGINTERN PyObject
*_wrap_DateSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30445 PyObject
*resultobj
= 0;
30448 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Week",0,0,0)) SWIG_fail
;
30450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30451 result
= wxDateSpan::Week();
30452 wxPyEndAllowThreads(__tstate
);
30453 if (PyErr_Occurred()) SWIG_fail
;
30455 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30462 SWIGINTERN PyObject
*_wrap_DateSpan_Months(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30463 PyObject
*resultobj
= 0;
30468 PyObject
* obj0
= 0 ;
30469 char * kwnames
[] = {
30470 (char *) "mon", NULL
30473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) SWIG_fail
;
30474 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30475 if (!SWIG_IsOK(ecode1
)) {
30476 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Months" "', expected argument " "1"" of type '" "int""'");
30478 arg1
= static_cast< int >(val1
);
30480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30481 result
= wxDateSpan::Months(arg1
);
30482 wxPyEndAllowThreads(__tstate
);
30483 if (PyErr_Occurred()) SWIG_fail
;
30485 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30492 SWIGINTERN PyObject
*_wrap_DateSpan_Month(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30493 PyObject
*resultobj
= 0;
30496 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Month",0,0,0)) SWIG_fail
;
30498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30499 result
= wxDateSpan::Month();
30500 wxPyEndAllowThreads(__tstate
);
30501 if (PyErr_Occurred()) SWIG_fail
;
30503 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30510 SWIGINTERN PyObject
*_wrap_DateSpan_Years(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30511 PyObject
*resultobj
= 0;
30516 PyObject
* obj0
= 0 ;
30517 char * kwnames
[] = {
30518 (char *) "years", NULL
30521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) SWIG_fail
;
30522 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30523 if (!SWIG_IsOK(ecode1
)) {
30524 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Years" "', expected argument " "1"" of type '" "int""'");
30526 arg1
= static_cast< int >(val1
);
30528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30529 result
= wxDateSpan::Years(arg1
);
30530 wxPyEndAllowThreads(__tstate
);
30531 if (PyErr_Occurred()) SWIG_fail
;
30533 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30540 SWIGINTERN PyObject
*_wrap_DateSpan_Year(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30541 PyObject
*resultobj
= 0;
30544 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Year",0,0,0)) SWIG_fail
;
30546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30547 result
= wxDateSpan::Year();
30548 wxPyEndAllowThreads(__tstate
);
30549 if (PyErr_Occurred()) SWIG_fail
;
30551 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30558 SWIGINTERN PyObject
*_wrap_DateSpan_SetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30559 PyObject
*resultobj
= 0;
30560 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30562 wxDateSpan
*result
= 0 ;
30567 PyObject
* obj0
= 0 ;
30568 PyObject
* obj1
= 0 ;
30569 char * kwnames
[] = {
30570 (char *) "self",(char *) "n", NULL
30573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30575 if (!SWIG_IsOK(res1
)) {
30576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetYears" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30578 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30579 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30580 if (!SWIG_IsOK(ecode2
)) {
30581 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetYears" "', expected argument " "2"" of type '" "int""'");
30583 arg2
= static_cast< int >(val2
);
30585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30587 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
30588 result
= (wxDateSpan
*) &_result_ref
;
30590 wxPyEndAllowThreads(__tstate
);
30591 if (PyErr_Occurred()) SWIG_fail
;
30593 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30600 SWIGINTERN PyObject
*_wrap_DateSpan_SetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30601 PyObject
*resultobj
= 0;
30602 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30604 wxDateSpan
*result
= 0 ;
30609 PyObject
* obj0
= 0 ;
30610 PyObject
* obj1
= 0 ;
30611 char * kwnames
[] = {
30612 (char *) "self",(char *) "n", NULL
30615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30617 if (!SWIG_IsOK(res1
)) {
30618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetMonths" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30620 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30621 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30622 if (!SWIG_IsOK(ecode2
)) {
30623 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetMonths" "', expected argument " "2"" of type '" "int""'");
30625 arg2
= static_cast< int >(val2
);
30627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30629 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
30630 result
= (wxDateSpan
*) &_result_ref
;
30632 wxPyEndAllowThreads(__tstate
);
30633 if (PyErr_Occurred()) SWIG_fail
;
30635 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30642 SWIGINTERN PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30643 PyObject
*resultobj
= 0;
30644 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30646 wxDateSpan
*result
= 0 ;
30651 PyObject
* obj0
= 0 ;
30652 PyObject
* obj1
= 0 ;
30653 char * kwnames
[] = {
30654 (char *) "self",(char *) "n", NULL
30657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30659 if (!SWIG_IsOK(res1
)) {
30660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetWeeks" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30662 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30663 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30664 if (!SWIG_IsOK(ecode2
)) {
30665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetWeeks" "', expected argument " "2"" of type '" "int""'");
30667 arg2
= static_cast< int >(val2
);
30669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30671 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
30672 result
= (wxDateSpan
*) &_result_ref
;
30674 wxPyEndAllowThreads(__tstate
);
30675 if (PyErr_Occurred()) SWIG_fail
;
30677 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30684 SWIGINTERN PyObject
*_wrap_DateSpan_SetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30685 PyObject
*resultobj
= 0;
30686 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30688 wxDateSpan
*result
= 0 ;
30693 PyObject
* obj0
= 0 ;
30694 PyObject
* obj1
= 0 ;
30695 char * kwnames
[] = {
30696 (char *) "self",(char *) "n", NULL
30699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30701 if (!SWIG_IsOK(res1
)) {
30702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetDays" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30704 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30705 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30706 if (!SWIG_IsOK(ecode2
)) {
30707 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetDays" "', expected argument " "2"" of type '" "int""'");
30709 arg2
= static_cast< int >(val2
);
30711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30713 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
30714 result
= (wxDateSpan
*) &_result_ref
;
30716 wxPyEndAllowThreads(__tstate
);
30717 if (PyErr_Occurred()) SWIG_fail
;
30719 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30726 SWIGINTERN PyObject
*_wrap_DateSpan_GetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30727 PyObject
*resultobj
= 0;
30728 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30732 PyObject
*swig_obj
[1] ;
30734 if (!args
) SWIG_fail
;
30735 swig_obj
[0] = args
;
30736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30737 if (!SWIG_IsOK(res1
)) {
30738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetYears" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30740 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30743 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
30744 wxPyEndAllowThreads(__tstate
);
30745 if (PyErr_Occurred()) SWIG_fail
;
30747 resultobj
= SWIG_From_int(static_cast< int >(result
));
30754 SWIGINTERN PyObject
*_wrap_DateSpan_GetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30755 PyObject
*resultobj
= 0;
30756 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30760 PyObject
*swig_obj
[1] ;
30762 if (!args
) SWIG_fail
;
30763 swig_obj
[0] = args
;
30764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30765 if (!SWIG_IsOK(res1
)) {
30766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetMonths" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30768 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30771 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
30772 wxPyEndAllowThreads(__tstate
);
30773 if (PyErr_Occurred()) SWIG_fail
;
30775 resultobj
= SWIG_From_int(static_cast< int >(result
));
30782 SWIGINTERN PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30783 PyObject
*resultobj
= 0;
30784 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30788 PyObject
*swig_obj
[1] ;
30790 if (!args
) SWIG_fail
;
30791 swig_obj
[0] = args
;
30792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30793 if (!SWIG_IsOK(res1
)) {
30794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetWeeks" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30796 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30799 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
30800 wxPyEndAllowThreads(__tstate
);
30801 if (PyErr_Occurred()) SWIG_fail
;
30803 resultobj
= SWIG_From_int(static_cast< int >(result
));
30810 SWIGINTERN PyObject
*_wrap_DateSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30811 PyObject
*resultobj
= 0;
30812 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30816 PyObject
*swig_obj
[1] ;
30818 if (!args
) SWIG_fail
;
30819 swig_obj
[0] = args
;
30820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30821 if (!SWIG_IsOK(res1
)) {
30822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30824 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30827 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
30828 wxPyEndAllowThreads(__tstate
);
30829 if (PyErr_Occurred()) SWIG_fail
;
30831 resultobj
= SWIG_From_int(static_cast< int >(result
));
30838 SWIGINTERN PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30839 PyObject
*resultobj
= 0;
30840 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30844 PyObject
*swig_obj
[1] ;
30846 if (!args
) SWIG_fail
;
30847 swig_obj
[0] = args
;
30848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30849 if (!SWIG_IsOK(res1
)) {
30850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetTotalDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30852 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30855 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
30856 wxPyEndAllowThreads(__tstate
);
30857 if (PyErr_Occurred()) SWIG_fail
;
30859 resultobj
= SWIG_From_int(static_cast< int >(result
));
30866 SWIGINTERN PyObject
*_wrap_DateSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30867 PyObject
*resultobj
= 0;
30868 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30869 wxDateSpan
*arg2
= 0 ;
30870 wxDateSpan
*result
= 0 ;
30875 PyObject
* obj0
= 0 ;
30876 PyObject
* obj1
= 0 ;
30877 char * kwnames
[] = {
30878 (char *) "self",(char *) "other", NULL
30881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30883 if (!SWIG_IsOK(res1
)) {
30884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Add" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30886 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30887 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30888 if (!SWIG_IsOK(res2
)) {
30889 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30892 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30894 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30898 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
30899 result
= (wxDateSpan
*) &_result_ref
;
30901 wxPyEndAllowThreads(__tstate
);
30902 if (PyErr_Occurred()) SWIG_fail
;
30904 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30911 SWIGINTERN PyObject
*_wrap_DateSpan_Subtract(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_Subtract",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_Subtract" "', 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_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30937 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30939 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30943 wxDateSpan
&_result_ref
= (arg1
)->Subtract((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_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30957 PyObject
*resultobj
= 0;
30958 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30959 wxDateSpan
*result
= 0 ;
30962 PyObject
*swig_obj
[1] ;
30964 if (!args
) SWIG_fail
;
30965 swig_obj
[0] = args
;
30966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30967 if (!SWIG_IsOK(res1
)) {
30968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Neg" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30970 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30974 wxDateSpan
&_result_ref
= (arg1
)->Neg();
30975 result
= (wxDateSpan
*) &_result_ref
;
30977 wxPyEndAllowThreads(__tstate
);
30978 if (PyErr_Occurred()) SWIG_fail
;
30980 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30987 SWIGINTERN PyObject
*_wrap_DateSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30988 PyObject
*resultobj
= 0;
30989 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30991 wxDateSpan
*result
= 0 ;
30996 PyObject
* obj0
= 0 ;
30997 PyObject
* obj1
= 0 ;
30998 char * kwnames
[] = {
30999 (char *) "self",(char *) "factor", NULL
31002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31004 if (!SWIG_IsOK(res1
)) {
31005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Multiply" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31007 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31008 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31009 if (!SWIG_IsOK(ecode2
)) {
31010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
31012 arg2
= static_cast< int >(val2
);
31014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31016 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
31017 result
= (wxDateSpan
*) &_result_ref
;
31019 wxPyEndAllowThreads(__tstate
);
31020 if (PyErr_Occurred()) SWIG_fail
;
31022 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31029 SWIGINTERN PyObject
*_wrap_DateSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31030 PyObject
*resultobj
= 0;
31031 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31032 wxDateSpan
*arg2
= 0 ;
31033 wxDateSpan
*result
= 0 ;
31038 PyObject
* obj0
= 0 ;
31039 PyObject
* obj1
= 0 ;
31040 char * kwnames
[] = {
31041 (char *) "self",(char *) "other", NULL
31044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
31046 if (!SWIG_IsOK(res1
)) {
31047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___iadd__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31049 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31050 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
31051 if (!SWIG_IsOK(res2
)) {
31052 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31055 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31057 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31061 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*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
, SWIG_POINTER_OWN
| 0 );
31074 SWIGINTERN PyObject
*_wrap_DateSpan___isub__(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___isub__",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___isub__" "', 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___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31100 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___isub__" "', 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___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31120 PyObject
*resultobj
= 0;
31121 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31122 wxDateSpan
*result
= 0 ;
31125 PyObject
*swig_obj
[1] ;
31127 if (!args
) SWIG_fail
;
31128 swig_obj
[0] = args
;
31129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31130 if (!SWIG_IsOK(res1
)) {
31131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___neg__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31133 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31137 wxDateSpan
&_result_ref
= (arg1
)->operator -();
31138 result
= (wxDateSpan
*) &_result_ref
;
31140 wxPyEndAllowThreads(__tstate
);
31141 if (PyErr_Occurred()) SWIG_fail
;
31143 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31150 SWIGINTERN PyObject
*_wrap_DateSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31151 PyObject
*resultobj
= 0;
31152 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31154 wxDateSpan
*result
= 0 ;
31159 PyObject
* obj0
= 0 ;
31160 PyObject
* obj1
= 0 ;
31161 char * kwnames
[] = {
31162 (char *) "self",(char *) "factor", NULL
31165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
31167 if (!SWIG_IsOK(res1
)) {
31168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___imul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31170 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31171 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31172 if (!SWIG_IsOK(ecode2
)) {
31173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___imul__" "', expected argument " "2"" of type '" "int""'");
31175 arg2
= static_cast< int >(val2
);
31177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31179 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
31180 result
= (wxDateSpan
*) &_result_ref
;
31182 wxPyEndAllowThreads(__tstate
);
31183 if (PyErr_Occurred()) SWIG_fail
;
31185 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31192 SWIGINTERN PyObject
*_wrap_DateSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31193 PyObject
*resultobj
= 0;
31194 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31195 wxDateSpan
*arg2
= 0 ;
31201 PyObject
* obj0
= 0 ;
31202 PyObject
* obj1
= 0 ;
31203 char * kwnames
[] = {
31204 (char *) "self",(char *) "other", NULL
31207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31209 if (!SWIG_IsOK(res1
)) {
31210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___add__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31212 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31213 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
31214 if (!SWIG_IsOK(res2
)) {
31215 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31218 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31220 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31223 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
31224 wxPyEndAllowThreads(__tstate
);
31225 if (PyErr_Occurred()) SWIG_fail
;
31227 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31234 SWIGINTERN PyObject
*_wrap_DateSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31235 PyObject
*resultobj
= 0;
31236 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31237 wxDateSpan
*arg2
= 0 ;
31243 PyObject
* obj0
= 0 ;
31244 PyObject
* obj1
= 0 ;
31245 char * kwnames
[] = {
31246 (char *) "self",(char *) "other", NULL
31249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31251 if (!SWIG_IsOK(res1
)) {
31252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___sub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31254 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31255 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
31256 if (!SWIG_IsOK(res2
)) {
31257 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31260 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31262 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31265 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
31266 wxPyEndAllowThreads(__tstate
);
31267 if (PyErr_Occurred()) SWIG_fail
;
31269 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31276 SWIGINTERN PyObject
*_wrap_DateSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31277 PyObject
*resultobj
= 0;
31278 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31285 PyObject
* obj0
= 0 ;
31286 PyObject
* obj1
= 0 ;
31287 char * kwnames
[] = {
31288 (char *) "self",(char *) "n", NULL
31291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31293 if (!SWIG_IsOK(res1
)) {
31294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___mul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31296 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31297 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31298 if (!SWIG_IsOK(ecode2
)) {
31299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___mul__" "', expected argument " "2"" of type '" "int""'");
31301 arg2
= static_cast< int >(val2
);
31303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31304 result
= wxDateSpan___mul__(arg1
,arg2
);
31305 wxPyEndAllowThreads(__tstate
);
31306 if (PyErr_Occurred()) SWIG_fail
;
31308 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31315 SWIGINTERN PyObject
*_wrap_DateSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31316 PyObject
*resultobj
= 0;
31317 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31324 PyObject
* obj0
= 0 ;
31325 PyObject
* obj1
= 0 ;
31326 char * kwnames
[] = {
31327 (char *) "self",(char *) "n", NULL
31330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31332 if (!SWIG_IsOK(res1
)) {
31333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___rmul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31335 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31336 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31337 if (!SWIG_IsOK(ecode2
)) {
31338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
31340 arg2
= static_cast< int >(val2
);
31342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31343 result
= wxDateSpan___rmul__(arg1
,arg2
);
31344 wxPyEndAllowThreads(__tstate
);
31345 if (PyErr_Occurred()) SWIG_fail
;
31347 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31354 SWIGINTERN PyObject
*_wrap_DateSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31355 PyObject
*resultobj
= 0;
31356 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31357 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
31363 PyObject
* obj0
= 0 ;
31364 PyObject
* obj1
= 0 ;
31365 char * kwnames
[] = {
31366 (char *) "self",(char *) "other", NULL
31369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31371 if (!SWIG_IsOK(res1
)) {
31372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___eq__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31374 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31375 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31376 if (!SWIG_IsOK(res2
)) {
31377 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___eq__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
31379 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31382 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
31383 wxPyEndAllowThreads(__tstate
);
31384 if (PyErr_Occurred()) SWIG_fail
;
31387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31395 SWIGINTERN PyObject
*_wrap_DateSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31396 PyObject
*resultobj
= 0;
31397 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31398 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
31404 PyObject
* obj0
= 0 ;
31405 PyObject
* obj1
= 0 ;
31406 char * kwnames
[] = {
31407 (char *) "self",(char *) "other", NULL
31410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31412 if (!SWIG_IsOK(res1
)) {
31413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___ne__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31415 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31416 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31417 if (!SWIG_IsOK(res2
)) {
31418 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___ne__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
31420 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31423 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
31424 wxPyEndAllowThreads(__tstate
);
31425 if (PyErr_Occurred()) SWIG_fail
;
31428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31436 SWIGINTERN PyObject
*DateSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31438 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31439 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateSpan
, SWIG_NewClientData(obj
));
31440 return SWIG_Py_Void();
31443 SWIGINTERN PyObject
*DateSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31444 return SWIG_Python_InitShadowInstance(args
);
31447 SWIGINTERN PyObject
*_wrap_GetLocalTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31448 PyObject
*resultobj
= 0;
31451 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTime",0,0,0)) SWIG_fail
;
31453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31454 result
= (long)wxGetLocalTime();
31455 wxPyEndAllowThreads(__tstate
);
31456 if (PyErr_Occurred()) SWIG_fail
;
31458 resultobj
= SWIG_From_long(static_cast< long >(result
));
31465 SWIGINTERN PyObject
*_wrap_GetUTCTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31466 PyObject
*resultobj
= 0;
31469 if (!SWIG_Python_UnpackTuple(args
,"GetUTCTime",0,0,0)) SWIG_fail
;
31471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31472 result
= (long)wxGetUTCTime();
31473 wxPyEndAllowThreads(__tstate
);
31474 if (PyErr_Occurred()) SWIG_fail
;
31476 resultobj
= SWIG_From_long(static_cast< long >(result
));
31483 SWIGINTERN PyObject
*_wrap_GetCurrentTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31484 PyObject
*resultobj
= 0;
31487 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentTime",0,0,0)) SWIG_fail
;
31489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31490 result
= (long)wxGetCurrentTime();
31491 wxPyEndAllowThreads(__tstate
);
31492 if (PyErr_Occurred()) SWIG_fail
;
31494 resultobj
= SWIG_From_long(static_cast< long >(result
));
31501 SWIGINTERN PyObject
*_wrap_GetLocalTimeMillis(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31502 PyObject
*resultobj
= 0;
31505 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTimeMillis",0,0,0)) SWIG_fail
;
31507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31508 result
= wxGetLocalTimeMillis();
31509 wxPyEndAllowThreads(__tstate
);
31510 if (PyErr_Occurred()) SWIG_fail
;
31513 PyObject
*hi
, *lo
, *shifter
, *shifted
;
31514 hi
= PyLong_FromLong( (&result
)->GetHi() );
31515 lo
= PyLong_FromLong( (&result
)->GetLo() );
31516 shifter
= PyLong_FromLong(32);
31517 shifted
= PyNumber_Lshift(hi
, shifter
);
31518 resultobj
= PyNumber_Or(shifted
, lo
);
31521 Py_DECREF(shifter
);
31522 Py_DECREF(shifted
);
31530 SWIGINTERN
int DefaultDateTime_set(PyObject
*) {
31531 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTime is read-only.");
31536 SWIGINTERN PyObject
*DefaultDateTime_get(void) {
31537 PyObject
*pyobj
= 0;
31539 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0 );
31544 SWIGINTERN PyObject
*_wrap_new_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31545 PyObject
*resultobj
= 0;
31546 wxDataFormatId arg1
;
31547 wxDataFormat
*result
= 0 ;
31550 PyObject
* obj0
= 0 ;
31551 char * kwnames
[] = {
31552 (char *) "type", NULL
31555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) SWIG_fail
;
31556 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31557 if (!SWIG_IsOK(ecode1
)) {
31558 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DataFormat" "', expected argument " "1"" of type '" "wxDataFormatId""'");
31560 arg1
= static_cast< wxDataFormatId
>(val1
);
31562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31563 result
= (wxDataFormat
*)new wxDataFormat(arg1
);
31564 wxPyEndAllowThreads(__tstate
);
31565 if (PyErr_Occurred()) SWIG_fail
;
31567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_NEW
| 0 );
31574 SWIGINTERN PyObject
*_wrap_new_CustomDataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31575 PyObject
*resultobj
= 0;
31576 wxString
*arg1
= 0 ;
31577 wxDataFormat
*result
= 0 ;
31578 bool temp1
= false ;
31579 PyObject
* obj0
= 0 ;
31580 char * kwnames
[] = {
31581 (char *) "format", NULL
31584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) SWIG_fail
;
31586 arg1
= wxString_in_helper(obj0
);
31587 if (arg1
== NULL
) SWIG_fail
;
31591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31592 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
31593 wxPyEndAllowThreads(__tstate
);
31594 if (PyErr_Occurred()) SWIG_fail
;
31596 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
31611 SWIGINTERN PyObject
*_wrap_delete_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31612 PyObject
*resultobj
= 0;
31613 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31616 PyObject
*swig_obj
[1] ;
31618 if (!args
) SWIG_fail
;
31619 swig_obj
[0] = args
;
31620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_DISOWN
| 0 );
31621 if (!SWIG_IsOK(res1
)) {
31622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataFormat" "', expected argument " "1"" of type '" "wxDataFormat *""'");
31624 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31629 wxPyEndAllowThreads(__tstate
);
31630 if (PyErr_Occurred()) SWIG_fail
;
31632 resultobj
= SWIG_Py_Void();
31639 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31640 PyObject
*resultobj
= 0;
31641 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31642 wxDataFormatId arg2
;
31649 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31651 if (!SWIG_IsOK(res1
)) {
31652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31654 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31655 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
31656 if (!SWIG_IsOK(ecode2
)) {
31657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
31659 arg2
= static_cast< wxDataFormatId
>(val2
);
31661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31662 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==(arg2
);
31663 wxPyEndAllowThreads(__tstate
);
31664 if (PyErr_Occurred()) SWIG_fail
;
31667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31675 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31676 PyObject
*resultobj
= 0;
31677 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31678 wxDataFormatId arg2
;
31685 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31687 if (!SWIG_IsOK(res1
)) {
31688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31690 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31691 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
31692 if (!SWIG_IsOK(ecode2
)) {
31693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
31695 arg2
= static_cast< wxDataFormatId
>(val2
);
31697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31698 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=(arg2
);
31699 wxPyEndAllowThreads(__tstate
);
31700 if (PyErr_Occurred()) SWIG_fail
;
31703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31711 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31712 PyObject
*resultobj
= 0;
31713 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31714 wxDataFormat
*arg2
= 0 ;
31721 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31723 if (!SWIG_IsOK(res1
)) {
31724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31726 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31727 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31728 if (!SWIG_IsOK(res2
)) {
31729 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31732 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31734 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31737 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
31738 wxPyEndAllowThreads(__tstate
);
31739 if (PyErr_Occurred()) SWIG_fail
;
31742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31750 SWIGINTERN PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
31754 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___eq__",0,2,argv
))) SWIG_fail
;
31759 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
31760 _v
= SWIG_CheckState(res
);
31762 if (!_v
) goto check_1
;
31763 return _wrap_DataFormat___eq____SWIG_1(self
, argc
, argv
);
31768 return _wrap_DataFormat___eq____SWIG_0(self
, argc
, argv
);
31772 Py_INCREF(Py_NotImplemented
);
31773 return Py_NotImplemented
;
31777 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31778 PyObject
*resultobj
= 0;
31779 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31780 wxDataFormat
*arg2
= 0 ;
31787 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31789 if (!SWIG_IsOK(res1
)) {
31790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31792 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31793 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31794 if (!SWIG_IsOK(res2
)) {
31795 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31798 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31800 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31803 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
31804 wxPyEndAllowThreads(__tstate
);
31805 if (PyErr_Occurred()) SWIG_fail
;
31808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31816 SWIGINTERN PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
31820 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___ne__",0,2,argv
))) SWIG_fail
;
31825 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
31826 _v
= SWIG_CheckState(res
);
31828 if (!_v
) goto check_1
;
31829 return _wrap_DataFormat___ne____SWIG_1(self
, argc
, argv
);
31834 return _wrap_DataFormat___ne____SWIG_0(self
, argc
, argv
);
31838 Py_INCREF(Py_NotImplemented
);
31839 return Py_NotImplemented
;
31843 SWIGINTERN PyObject
*_wrap_DataFormat_SetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31844 PyObject
*resultobj
= 0;
31845 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31846 wxDataFormatId arg2
;
31851 PyObject
* obj0
= 0 ;
31852 PyObject
* obj1
= 0 ;
31853 char * kwnames
[] = {
31854 (char *) "self",(char *) "format", NULL
31857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31859 if (!SWIG_IsOK(res1
)) {
31860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetType" "', expected argument " "1"" of type '" "wxDataFormat *""'");
31862 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31863 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31864 if (!SWIG_IsOK(ecode2
)) {
31865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat_SetType" "', expected argument " "2"" of type '" "wxDataFormatId""'");
31867 arg2
= static_cast< wxDataFormatId
>(val2
);
31869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31870 (arg1
)->SetType(arg2
);
31871 wxPyEndAllowThreads(__tstate
);
31872 if (PyErr_Occurred()) SWIG_fail
;
31874 resultobj
= SWIG_Py_Void();
31881 SWIGINTERN PyObject
*_wrap_DataFormat_GetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31882 PyObject
*resultobj
= 0;
31883 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31884 wxDataFormatId result
;
31887 PyObject
*swig_obj
[1] ;
31889 if (!args
) SWIG_fail
;
31890 swig_obj
[0] = args
;
31891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31892 if (!SWIG_IsOK(res1
)) {
31893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_GetType" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31895 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31898 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
31899 wxPyEndAllowThreads(__tstate
);
31900 if (PyErr_Occurred()) SWIG_fail
;
31902 resultobj
= SWIG_From_int(static_cast< int >(result
));
31909 SWIGINTERN PyObject
*_wrap_DataFormat_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31910 PyObject
*resultobj
= 0;
31911 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31915 PyObject
*swig_obj
[1] ;
31917 if (!args
) SWIG_fail
;
31918 swig_obj
[0] = args
;
31919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31920 if (!SWIG_IsOK(res1
)) {
31921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_GetId" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31923 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31926 result
= ((wxDataFormat
const *)arg1
)->GetId();
31927 wxPyEndAllowThreads(__tstate
);
31928 if (PyErr_Occurred()) SWIG_fail
;
31932 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31934 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31943 SWIGINTERN PyObject
*_wrap_DataFormat_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31944 PyObject
*resultobj
= 0;
31945 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31946 wxString
*arg2
= 0 ;
31949 bool temp2
= false ;
31950 PyObject
* obj0
= 0 ;
31951 PyObject
* obj1
= 0 ;
31952 char * kwnames
[] = {
31953 (char *) "self",(char *) "format", NULL
31956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31958 if (!SWIG_IsOK(res1
)) {
31959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetId" "', expected argument " "1"" of type '" "wxDataFormat *""'");
31961 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31963 arg2
= wxString_in_helper(obj1
);
31964 if (arg2
== NULL
) SWIG_fail
;
31968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31969 (arg1
)->SetId((wxString
const &)*arg2
);
31970 wxPyEndAllowThreads(__tstate
);
31971 if (PyErr_Occurred()) SWIG_fail
;
31973 resultobj
= SWIG_Py_Void();
31988 SWIGINTERN PyObject
*DataFormat_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31990 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31991 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataFormat
, SWIG_NewClientData(obj
));
31992 return SWIG_Py_Void();
31995 SWIGINTERN PyObject
*DataFormat_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31996 return SWIG_Python_InitShadowInstance(args
);
31999 SWIGINTERN
int FormatInvalid_set(PyObject
*) {
32000 SWIG_Error(SWIG_AttributeError
,"Variable FormatInvalid is read-only.");
32005 SWIGINTERN PyObject
*FormatInvalid_get(void) {
32006 PyObject
*pyobj
= 0;
32008 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0 );
32013 SWIGINTERN PyObject
*_wrap_delete_DataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32014 PyObject
*resultobj
= 0;
32015 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32018 PyObject
*swig_obj
[1] ;
32020 if (!args
) SWIG_fail
;
32021 swig_obj
[0] = args
;
32022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
32023 if (!SWIG_IsOK(res1
)) {
32024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataObject" "', expected argument " "1"" of type '" "wxDataObject *""'");
32026 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32031 wxPyEndAllowThreads(__tstate
);
32032 if (PyErr_Occurred()) SWIG_fail
;
32034 resultobj
= SWIG_Py_Void();
32041 SWIGINTERN PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32042 PyObject
*resultobj
= 0;
32043 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32044 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
32045 SwigValueWrapper
<wxDataFormat
> result
;
32050 PyObject
* obj0
= 0 ;
32051 PyObject
* obj1
= 0 ;
32052 char * kwnames
[] = {
32053 (char *) "self",(char *) "dir", NULL
32056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32058 if (!SWIG_IsOK(res1
)) {
32059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "1"" of type '" "wxDataObject const *""'");
32061 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32063 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32064 if (!SWIG_IsOK(ecode2
)) {
32065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
32067 arg2
= static_cast< wxDataObject::Direction
>(val2
);
32070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32071 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat(arg2
);
32072 wxPyEndAllowThreads(__tstate
);
32073 if (PyErr_Occurred()) SWIG_fail
;
32075 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
32082 SWIGINTERN PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32083 PyObject
*resultobj
= 0;
32084 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32085 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
32091 PyObject
* obj0
= 0 ;
32092 PyObject
* obj1
= 0 ;
32093 char * kwnames
[] = {
32094 (char *) "self",(char *) "dir", NULL
32097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32099 if (!SWIG_IsOK(res1
)) {
32100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetFormatCount" "', expected argument " "1"" of type '" "wxDataObject const *""'");
32102 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32104 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32105 if (!SWIG_IsOK(ecode2
)) {
32106 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetFormatCount" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
32108 arg2
= static_cast< wxDataObject::Direction
>(val2
);
32111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32112 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount(arg2
);
32113 wxPyEndAllowThreads(__tstate
);
32114 if (PyErr_Occurred()) SWIG_fail
;
32116 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32123 SWIGINTERN PyObject
*_wrap_DataObject_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32124 PyObject
*resultobj
= 0;
32125 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32126 wxDataFormat
*arg2
= 0 ;
32127 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
32135 PyObject
* obj0
= 0 ;
32136 PyObject
* obj1
= 0 ;
32137 PyObject
* obj2
= 0 ;
32138 char * kwnames
[] = {
32139 (char *) "self",(char *) "format",(char *) "dir", NULL
32142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) 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_IsSupported" "', expected argument " "1"" of type '" "wxDataObject const *""'");
32147 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32148 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32149 if (!SWIG_IsOK(res2
)) {
32150 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32153 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32155 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32157 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32158 if (!SWIG_IsOK(ecode3
)) {
32159 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObject_IsSupported" "', expected argument " "3"" of type '" "wxDataObject::Direction""'");
32161 arg3
= static_cast< wxDataObject::Direction
>(val3
);
32164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32165 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,arg3
);
32166 wxPyEndAllowThreads(__tstate
);
32167 if (PyErr_Occurred()) SWIG_fail
;
32170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32178 SWIGINTERN PyObject
*_wrap_DataObject_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32179 PyObject
*resultobj
= 0;
32180 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32181 wxDataFormat
*arg2
= 0 ;
32187 PyObject
* obj0
= 0 ;
32188 PyObject
* obj1
= 0 ;
32189 char * kwnames
[] = {
32190 (char *) "self",(char *) "format", NULL
32193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32195 if (!SWIG_IsOK(res1
)) {
32196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataSize" "', expected argument " "1"" of type '" "wxDataObject const *""'");
32198 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32199 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32200 if (!SWIG_IsOK(res2
)) {
32201 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32204 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32206 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32209 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
32210 wxPyEndAllowThreads(__tstate
);
32211 if (PyErr_Occurred()) SWIG_fail
;
32213 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32220 SWIGINTERN PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32221 PyObject
*resultobj
= 0;
32222 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32223 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
32224 PyObject
*result
= 0 ;
32229 PyObject
* obj0
= 0 ;
32230 PyObject
* obj1
= 0 ;
32231 char * kwnames
[] = {
32232 (char *) "self",(char *) "dir", NULL
32235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32237 if (!SWIG_IsOK(res1
)) {
32238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetAllFormats" "', expected argument " "1"" of type '" "wxDataObject *""'");
32240 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32242 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32243 if (!SWIG_IsOK(ecode2
)) {
32244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetAllFormats" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
32246 arg2
= static_cast< wxDataObject::Direction
>(val2
);
32249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32250 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,arg2
);
32251 wxPyEndAllowThreads(__tstate
);
32252 if (PyErr_Occurred()) SWIG_fail
;
32254 resultobj
= result
;
32261 SWIGINTERN PyObject
*_wrap_DataObject_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32262 PyObject
*resultobj
= 0;
32263 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32264 wxDataFormat
*arg2
= 0 ;
32265 PyObject
*result
= 0 ;
32270 PyObject
* obj0
= 0 ;
32271 PyObject
* obj1
= 0 ;
32272 char * kwnames
[] = {
32273 (char *) "self",(char *) "format", NULL
32276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32278 if (!SWIG_IsOK(res1
)) {
32279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataHere" "', expected argument " "1"" of type '" "wxDataObject *""'");
32281 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32282 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32283 if (!SWIG_IsOK(res2
)) {
32284 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32287 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32289 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32292 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
32293 wxPyEndAllowThreads(__tstate
);
32294 if (PyErr_Occurred()) SWIG_fail
;
32296 resultobj
= result
;
32303 SWIGINTERN PyObject
*_wrap_DataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32304 PyObject
*resultobj
= 0;
32305 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32306 wxDataFormat
*arg2
= 0 ;
32307 PyObject
*arg3
= (PyObject
*) 0 ;
32313 PyObject
* obj0
= 0 ;
32314 PyObject
* obj1
= 0 ;
32315 PyObject
* obj2
= 0 ;
32316 char * kwnames
[] = {
32317 (char *) "self",(char *) "format",(char *) "data", NULL
32320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32322 if (!SWIG_IsOK(res1
)) {
32323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_SetData" "', expected argument " "1"" of type '" "wxDataObject *""'");
32325 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32326 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32327 if (!SWIG_IsOK(res2
)) {
32328 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32331 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32333 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32337 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
32338 wxPyEndAllowThreads(__tstate
);
32339 if (PyErr_Occurred()) SWIG_fail
;
32342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32350 SWIGINTERN PyObject
*DataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32352 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32353 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObject
, SWIG_NewClientData(obj
));
32354 return SWIG_Py_Void();
32357 SWIGINTERN PyObject
*_wrap_new_DataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32358 PyObject
*resultobj
= 0;
32359 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
32360 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
32361 wxDataObjectSimple
*result
= 0 ;
32364 PyObject
* obj0
= 0 ;
32365 char * kwnames
[] = {
32366 (char *) "format", NULL
32369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
32371 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32372 if (!SWIG_IsOK(res1
)) {
32373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32376 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32378 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
32381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32382 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
32383 wxPyEndAllowThreads(__tstate
);
32384 if (PyErr_Occurred()) SWIG_fail
;
32386 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
32393 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32394 PyObject
*resultobj
= 0;
32395 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32396 wxDataFormat
*result
= 0 ;
32399 PyObject
*swig_obj
[1] ;
32401 if (!args
) SWIG_fail
;
32402 swig_obj
[0] = args
;
32403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32404 if (!SWIG_IsOK(res1
)) {
32405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32407 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32411 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
32412 result
= (wxDataFormat
*) &_result_ref
;
32414 wxPyEndAllowThreads(__tstate
);
32415 if (PyErr_Occurred()) SWIG_fail
;
32417 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, 0 | 0 );
32424 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32425 PyObject
*resultobj
= 0;
32426 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32427 wxDataFormat
*arg2
= 0 ;
32432 PyObject
* obj0
= 0 ;
32433 PyObject
* obj1
= 0 ;
32434 char * kwnames
[] = {
32435 (char *) "self",(char *) "format", NULL
32438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32440 if (!SWIG_IsOK(res1
)) {
32441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32443 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32444 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32445 if (!SWIG_IsOK(res2
)) {
32446 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32449 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32451 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32454 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
32455 wxPyEndAllowThreads(__tstate
);
32456 if (PyErr_Occurred()) SWIG_fail
;
32458 resultobj
= SWIG_Py_Void();
32465 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32466 PyObject
*resultobj
= 0;
32467 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32471 PyObject
*swig_obj
[1] ;
32473 if (!args
) SWIG_fail
;
32474 swig_obj
[0] = args
;
32475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32476 if (!SWIG_IsOK(res1
)) {
32477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataSize" "', expected argument " "1"" of type '" "wxDataObjectSimple const *""'");
32479 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32482 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
32483 wxPyEndAllowThreads(__tstate
);
32484 if (PyErr_Occurred()) SWIG_fail
;
32486 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32493 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32494 PyObject
*resultobj
= 0;
32495 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32496 PyObject
*result
= 0 ;
32499 PyObject
*swig_obj
[1] ;
32501 if (!args
) SWIG_fail
;
32502 swig_obj
[0] = args
;
32503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32504 if (!SWIG_IsOK(res1
)) {
32505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataHere" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32507 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32510 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
32511 wxPyEndAllowThreads(__tstate
);
32512 if (PyErr_Occurred()) SWIG_fail
;
32514 resultobj
= result
;
32521 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32522 PyObject
*resultobj
= 0;
32523 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32524 PyObject
*arg2
= (PyObject
*) 0 ;
32528 PyObject
* obj0
= 0 ;
32529 PyObject
* obj1
= 0 ;
32530 char * kwnames
[] = {
32531 (char *) "self",(char *) "data", NULL
32534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32536 if (!SWIG_IsOK(res1
)) {
32537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetData" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32539 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32543 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
32544 wxPyEndAllowThreads(__tstate
);
32545 if (PyErr_Occurred()) SWIG_fail
;
32548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32556 SWIGINTERN PyObject
*DataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32558 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32559 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectSimple
, SWIG_NewClientData(obj
));
32560 return SWIG_Py_Void();
32563 SWIGINTERN PyObject
*DataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32564 return SWIG_Python_InitShadowInstance(args
);
32567 SWIGINTERN PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32568 PyObject
*resultobj
= 0;
32569 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
32570 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
32571 wxPyDataObjectSimple
*result
= 0 ;
32574 PyObject
* obj0
= 0 ;
32575 char * kwnames
[] = {
32576 (char *) "format", NULL
32579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
32581 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32582 if (!SWIG_IsOK(res1
)) {
32583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32586 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32588 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
32591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32592 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
32593 wxPyEndAllowThreads(__tstate
);
32594 if (PyErr_Occurred()) SWIG_fail
;
32596 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
32603 SWIGINTERN PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32604 PyObject
*resultobj
= 0;
32605 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
32606 PyObject
*arg2
= (PyObject
*) 0 ;
32607 PyObject
*arg3
= (PyObject
*) 0 ;
32610 PyObject
* obj0
= 0 ;
32611 PyObject
* obj1
= 0 ;
32612 PyObject
* obj2
= 0 ;
32613 char * kwnames
[] = {
32614 (char *) "self",(char *) "self",(char *) "_class", NULL
32617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDataObjectSimple
, 0 | 0 );
32619 if (!SWIG_IsOK(res1
)) {
32620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyDataObjectSimple__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDataObjectSimple *""'");
32622 arg1
= reinterpret_cast< wxPyDataObjectSimple
* >(argp1
);
32626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32627 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32628 wxPyEndAllowThreads(__tstate
);
32629 if (PyErr_Occurred()) SWIG_fail
;
32631 resultobj
= SWIG_Py_Void();
32638 SWIGINTERN PyObject
*PyDataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32640 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32641 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_NewClientData(obj
));
32642 return SWIG_Py_Void();
32645 SWIGINTERN PyObject
*PyDataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32646 return SWIG_Python_InitShadowInstance(args
);
32649 SWIGINTERN PyObject
*_wrap_new_DataObjectComposite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32650 PyObject
*resultobj
= 0;
32651 wxDataObjectComposite
*result
= 0 ;
32653 if (!SWIG_Python_UnpackTuple(args
,"new_DataObjectComposite",0,0,0)) SWIG_fail
;
32655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32656 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
32657 wxPyEndAllowThreads(__tstate
);
32658 if (PyErr_Occurred()) SWIG_fail
;
32660 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_NEW
| 0 );
32667 SWIGINTERN PyObject
*_wrap_DataObjectComposite_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32668 PyObject
*resultobj
= 0;
32669 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
32670 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
32671 bool arg3
= (bool) false ;
32677 PyObject
* obj0
= 0 ;
32678 PyObject
* obj1
= 0 ;
32679 PyObject
* obj2
= 0 ;
32680 char * kwnames
[] = {
32681 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
32684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
32686 if (!SWIG_IsOK(res1
)) {
32687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_Add" "', expected argument " "1"" of type '" "wxDataObjectComposite *""'");
32689 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
32690 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_DISOWN
| 0 );
32691 if (!SWIG_IsOK(res2
)) {
32692 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectComposite_Add" "', expected argument " "2"" of type '" "wxDataObjectSimple *""'");
32695 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32696 if (!SWIG_IsOK(ecode3
)) {
32697 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObjectComposite_Add" "', expected argument " "3"" of type '" "bool""'");
32699 arg3
= static_cast< bool >(val3
);
32702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32703 (arg1
)->Add(arg2
,arg3
);
32704 wxPyEndAllowThreads(__tstate
);
32705 if (PyErr_Occurred()) SWIG_fail
;
32707 resultobj
= SWIG_Py_Void();
32714 SWIGINTERN PyObject
*_wrap_DataObjectComposite_GetReceivedFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32715 PyObject
*resultobj
= 0;
32716 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
32717 SwigValueWrapper
<wxDataFormat
> result
;
32720 PyObject
*swig_obj
[1] ;
32722 if (!args
) SWIG_fail
;
32723 swig_obj
[0] = args
;
32724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
32725 if (!SWIG_IsOK(res1
)) {
32726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_GetReceivedFormat" "', expected argument " "1"" of type '" "wxDataObjectComposite const *""'");
32728 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
32730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32731 result
= ((wxDataObjectComposite
const *)arg1
)->GetReceivedFormat();
32732 wxPyEndAllowThreads(__tstate
);
32733 if (PyErr_Occurred()) SWIG_fail
;
32735 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
32742 SWIGINTERN PyObject
*DataObjectComposite_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32744 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32745 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectComposite
, SWIG_NewClientData(obj
));
32746 return SWIG_Py_Void();
32749 SWIGINTERN PyObject
*DataObjectComposite_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32750 return SWIG_Python_InitShadowInstance(args
);
32753 SWIGINTERN PyObject
*_wrap_new_TextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32754 PyObject
*resultobj
= 0;
32755 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32756 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32757 wxTextDataObject
*result
= 0 ;
32758 bool temp1
= false ;
32759 PyObject
* obj0
= 0 ;
32760 char * kwnames
[] = {
32761 (char *) "text", NULL
32764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) SWIG_fail
;
32767 arg1
= wxString_in_helper(obj0
);
32768 if (arg1
== NULL
) SWIG_fail
;
32773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32774 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
32775 wxPyEndAllowThreads(__tstate
);
32776 if (PyErr_Occurred()) SWIG_fail
;
32778 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_NEW
| 0 );
32793 SWIGINTERN PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32794 PyObject
*resultobj
= 0;
32795 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
32799 PyObject
*swig_obj
[1] ;
32801 if (!args
) SWIG_fail
;
32802 swig_obj
[0] = args
;
32803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
32804 if (!SWIG_IsOK(res1
)) {
32805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetTextLength" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
32807 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
32809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32810 result
= (size_t)(arg1
)->GetTextLength();
32811 wxPyEndAllowThreads(__tstate
);
32812 if (PyErr_Occurred()) SWIG_fail
;
32814 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32821 SWIGINTERN PyObject
*_wrap_TextDataObject_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32822 PyObject
*resultobj
= 0;
32823 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
32827 PyObject
*swig_obj
[1] ;
32829 if (!args
) SWIG_fail
;
32830 swig_obj
[0] = args
;
32831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
32832 if (!SWIG_IsOK(res1
)) {
32833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
32835 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
32837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32838 result
= (arg1
)->GetText();
32839 wxPyEndAllowThreads(__tstate
);
32840 if (PyErr_Occurred()) SWIG_fail
;
32844 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32846 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32855 SWIGINTERN PyObject
*_wrap_TextDataObject_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32856 PyObject
*resultobj
= 0;
32857 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
32858 wxString
*arg2
= 0 ;
32861 bool temp2
= false ;
32862 PyObject
* obj0
= 0 ;
32863 PyObject
* obj1
= 0 ;
32864 char * kwnames
[] = {
32865 (char *) "self",(char *) "text", NULL
32868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
32870 if (!SWIG_IsOK(res1
)) {
32871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_SetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
32873 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
32875 arg2
= wxString_in_helper(obj1
);
32876 if (arg2
== NULL
) SWIG_fail
;
32880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32881 (arg1
)->SetText((wxString
const &)*arg2
);
32882 wxPyEndAllowThreads(__tstate
);
32883 if (PyErr_Occurred()) SWIG_fail
;
32885 resultobj
= SWIG_Py_Void();
32900 SWIGINTERN PyObject
*TextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32902 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32903 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextDataObject
, SWIG_NewClientData(obj
));
32904 return SWIG_Py_Void();
32907 SWIGINTERN PyObject
*TextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32908 return SWIG_Python_InitShadowInstance(args
);
32911 SWIGINTERN PyObject
*_wrap_new_PyTextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32912 PyObject
*resultobj
= 0;
32913 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32914 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32915 wxPyTextDataObject
*result
= 0 ;
32916 bool temp1
= false ;
32917 PyObject
* obj0
= 0 ;
32918 char * kwnames
[] = {
32919 (char *) "text", NULL
32922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) SWIG_fail
;
32925 arg1
= wxString_in_helper(obj0
);
32926 if (arg1
== NULL
) SWIG_fail
;
32931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32932 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
32933 wxPyEndAllowThreads(__tstate
);
32934 if (PyErr_Occurred()) SWIG_fail
;
32936 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_NEW
| 0 );
32951 SWIGINTERN PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32952 PyObject
*resultobj
= 0;
32953 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
32954 PyObject
*arg2
= (PyObject
*) 0 ;
32955 PyObject
*arg3
= (PyObject
*) 0 ;
32958 PyObject
* obj0
= 0 ;
32959 PyObject
* obj1
= 0 ;
32960 PyObject
* obj2
= 0 ;
32961 char * kwnames
[] = {
32962 (char *) "self",(char *) "self",(char *) "_class", NULL
32965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDataObject
, 0 | 0 );
32967 if (!SWIG_IsOK(res1
)) {
32968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTextDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDataObject *""'");
32970 arg1
= reinterpret_cast< wxPyTextDataObject
* >(argp1
);
32974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32975 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32976 wxPyEndAllowThreads(__tstate
);
32977 if (PyErr_Occurred()) SWIG_fail
;
32979 resultobj
= SWIG_Py_Void();
32986 SWIGINTERN PyObject
*PyTextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32988 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32989 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDataObject
, SWIG_NewClientData(obj
));
32990 return SWIG_Py_Void();
32993 SWIGINTERN PyObject
*PyTextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32994 return SWIG_Python_InitShadowInstance(args
);
32997 SWIGINTERN PyObject
*_wrap_new_BitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32998 PyObject
*resultobj
= 0;
32999 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
33000 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
33001 wxBitmapDataObject
*result
= 0 ;
33004 PyObject
* obj0
= 0 ;
33005 char * kwnames
[] = {
33006 (char *) "bitmap", NULL
33009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
33011 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33012 if (!SWIG_IsOK(res1
)) {
33013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
33016 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
33018 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
33021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33022 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
33023 wxPyEndAllowThreads(__tstate
);
33024 if (PyErr_Occurred()) SWIG_fail
;
33026 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
33033 SWIGINTERN PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33034 PyObject
*resultobj
= 0;
33035 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
33039 PyObject
*swig_obj
[1] ;
33041 if (!args
) SWIG_fail
;
33042 swig_obj
[0] = args
;
33043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
33044 if (!SWIG_IsOK(res1
)) {
33045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_GetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject const *""'");
33047 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
33049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33050 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
33051 wxPyEndAllowThreads(__tstate
);
33052 if (PyErr_Occurred()) SWIG_fail
;
33054 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
33061 SWIGINTERN PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33062 PyObject
*resultobj
= 0;
33063 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
33064 wxBitmap
*arg2
= 0 ;
33069 PyObject
* obj0
= 0 ;
33070 PyObject
* obj1
= 0 ;
33071 char * kwnames
[] = {
33072 (char *) "self",(char *) "bitmap", NULL
33075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
33077 if (!SWIG_IsOK(res1
)) {
33078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject *""'");
33080 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
33081 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33082 if (!SWIG_IsOK(res2
)) {
33083 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33086 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33088 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33091 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
33092 wxPyEndAllowThreads(__tstate
);
33093 if (PyErr_Occurred()) SWIG_fail
;
33095 resultobj
= SWIG_Py_Void();
33102 SWIGINTERN PyObject
*BitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33104 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33105 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapDataObject
, SWIG_NewClientData(obj
));
33106 return SWIG_Py_Void();
33109 SWIGINTERN PyObject
*BitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33110 return SWIG_Python_InitShadowInstance(args
);
33113 SWIGINTERN PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33114 PyObject
*resultobj
= 0;
33115 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
33116 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
33117 wxPyBitmapDataObject
*result
= 0 ;
33120 PyObject
* obj0
= 0 ;
33121 char * kwnames
[] = {
33122 (char *) "bitmap", NULL
33125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
33127 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33128 if (!SWIG_IsOK(res1
)) {
33129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
33132 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
33134 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
33137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33138 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
33139 wxPyEndAllowThreads(__tstate
);
33140 if (PyErr_Occurred()) SWIG_fail
;
33142 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
33149 SWIGINTERN PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33150 PyObject
*resultobj
= 0;
33151 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
33152 PyObject
*arg2
= (PyObject
*) 0 ;
33153 PyObject
*arg3
= (PyObject
*) 0 ;
33156 PyObject
* obj0
= 0 ;
33157 PyObject
* obj1
= 0 ;
33158 PyObject
* obj2
= 0 ;
33159 char * kwnames
[] = {
33160 (char *) "self",(char *) "self",(char *) "_class", NULL
33163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyBitmapDataObject
, 0 | 0 );
33165 if (!SWIG_IsOK(res1
)) {
33166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyBitmapDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyBitmapDataObject *""'");
33168 arg1
= reinterpret_cast< wxPyBitmapDataObject
* >(argp1
);
33172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33173 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33174 wxPyEndAllowThreads(__tstate
);
33175 if (PyErr_Occurred()) SWIG_fail
;
33177 resultobj
= SWIG_Py_Void();
33184 SWIGINTERN PyObject
*PyBitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33186 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33187 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_NewClientData(obj
));
33188 return SWIG_Py_Void();
33191 SWIGINTERN PyObject
*PyBitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33192 return SWIG_Python_InitShadowInstance(args
);
33195 SWIGINTERN PyObject
*_wrap_new_FileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33196 PyObject
*resultobj
= 0;
33197 wxFileDataObject
*result
= 0 ;
33199 if (!SWIG_Python_UnpackTuple(args
,"new_FileDataObject",0,0,0)) SWIG_fail
;
33201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33202 result
= (wxFileDataObject
*)new wxFileDataObject();
33203 wxPyEndAllowThreads(__tstate
);
33204 if (PyErr_Occurred()) SWIG_fail
;
33206 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_NEW
| 0 );
33213 SWIGINTERN PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33214 PyObject
*resultobj
= 0;
33215 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
33216 wxArrayString
*result
= 0 ;
33219 PyObject
*swig_obj
[1] ;
33221 if (!args
) SWIG_fail
;
33222 swig_obj
[0] = args
;
33223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
33224 if (!SWIG_IsOK(res1
)) {
33225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_GetFilenames" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
33227 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
33229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33231 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
33232 result
= (wxArrayString
*) &_result_ref
;
33234 wxPyEndAllowThreads(__tstate
);
33235 if (PyErr_Occurred()) SWIG_fail
;
33238 resultobj
= wxArrayString2PyList_helper(*result
);
33246 SWIGINTERN PyObject
*_wrap_FileDataObject_AddFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33247 PyObject
*resultobj
= 0;
33248 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
33249 wxString
*arg2
= 0 ;
33252 bool temp2
= false ;
33253 PyObject
* obj0
= 0 ;
33254 PyObject
* obj1
= 0 ;
33255 char * kwnames
[] = {
33256 (char *) "self",(char *) "filename", NULL
33259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
33261 if (!SWIG_IsOK(res1
)) {
33262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_AddFile" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
33264 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
33266 arg2
= wxString_in_helper(obj1
);
33267 if (arg2
== NULL
) SWIG_fail
;
33271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33272 (arg1
)->AddFile((wxString
const &)*arg2
);
33273 wxPyEndAllowThreads(__tstate
);
33274 if (PyErr_Occurred()) SWIG_fail
;
33276 resultobj
= SWIG_Py_Void();
33291 SWIGINTERN PyObject
*FileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33293 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33294 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDataObject
, SWIG_NewClientData(obj
));
33295 return SWIG_Py_Void();
33298 SWIGINTERN PyObject
*FileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33299 return SWIG_Python_InitShadowInstance(args
);
33302 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33303 PyObject
*resultobj
= 0;
33304 wxDataFormat
*arg1
= 0 ;
33305 wxCustomDataObject
*result
= 0 ;
33309 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
33310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
33311 if (!SWIG_IsOK(res1
)) {
33312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
33315 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
33317 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
33319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33320 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
33321 wxPyEndAllowThreads(__tstate
);
33322 if (PyErr_Occurred()) SWIG_fail
;
33324 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
33331 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33332 PyObject
*resultobj
= 0;
33333 wxString
*arg1
= 0 ;
33334 wxCustomDataObject
*result
= 0 ;
33335 bool temp1
= false ;
33337 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
33339 arg1
= wxString_in_helper(swig_obj
[0]);
33340 if (arg1
== NULL
) SWIG_fail
;
33344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33345 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
33346 wxPyEndAllowThreads(__tstate
);
33347 if (PyErr_Occurred()) SWIG_fail
;
33349 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
33364 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
33365 PyObject
*resultobj
= 0;
33366 wxCustomDataObject
*result
= 0 ;
33368 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
33370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33371 result
= (wxCustomDataObject
*)new wxCustomDataObject();
33372 wxPyEndAllowThreads(__tstate
);
33373 if (PyErr_Occurred()) SWIG_fail
;
33375 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
33382 SWIGINTERN PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
33386 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_CustomDataObject",0,1,argv
))) SWIG_fail
;
33389 return _wrap_new_CustomDataObject__SWIG_2(self
, argc
, argv
);
33395 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
33398 if (!_v
) goto check_2
;
33399 return _wrap_new_CustomDataObject__SWIG_1(self
, argc
, argv
);
33404 return _wrap_new_CustomDataObject__SWIG_0(self
, argc
, argv
);
33408 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
33413 SWIGINTERN PyObject
*_wrap_CustomDataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33414 PyObject
*resultobj
= 0;
33415 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
33416 PyObject
*arg2
= (PyObject
*) 0 ;
33420 PyObject
* obj0
= 0 ;
33421 PyObject
* obj1
= 0 ;
33422 char * kwnames
[] = {
33423 (char *) "self",(char *) "data", NULL
33426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
33428 if (!SWIG_IsOK(res1
)) {
33429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_SetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
33431 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
33434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33435 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
33436 wxPyEndAllowThreads(__tstate
);
33437 if (PyErr_Occurred()) SWIG_fail
;
33440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33448 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33449 PyObject
*resultobj
= 0;
33450 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
33454 PyObject
*swig_obj
[1] ;
33456 if (!args
) SWIG_fail
;
33457 swig_obj
[0] = args
;
33458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
33459 if (!SWIG_IsOK(res1
)) {
33460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetSize" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
33462 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
33464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33465 result
= (size_t)(arg1
)->GetSize();
33466 wxPyEndAllowThreads(__tstate
);
33467 if (PyErr_Occurred()) SWIG_fail
;
33469 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
33476 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33477 PyObject
*resultobj
= 0;
33478 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
33479 PyObject
*result
= 0 ;
33482 PyObject
*swig_obj
[1] ;
33484 if (!args
) SWIG_fail
;
33485 swig_obj
[0] = args
;
33486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
33487 if (!SWIG_IsOK(res1
)) {
33488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
33490 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
33492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33493 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
33494 wxPyEndAllowThreads(__tstate
);
33495 if (PyErr_Occurred()) SWIG_fail
;
33497 resultobj
= result
;
33504 SWIGINTERN PyObject
*CustomDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33506 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33507 SWIG_TypeNewClientData(SWIGTYPE_p_wxCustomDataObject
, SWIG_NewClientData(obj
));
33508 return SWIG_Py_Void();
33511 SWIGINTERN PyObject
*CustomDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33512 return SWIG_Python_InitShadowInstance(args
);
33515 SWIGINTERN PyObject
*_wrap_new_URLDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33516 PyObject
*resultobj
= 0;
33517 wxString
const &arg1_defvalue
= wxPyEmptyString
;
33518 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
33519 wxURLDataObject
*result
= 0 ;
33520 bool temp1
= false ;
33521 PyObject
* obj0
= 0 ;
33522 char * kwnames
[] = {
33523 (char *) "url", NULL
33526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_URLDataObject",kwnames
,&obj0
)) SWIG_fail
;
33529 arg1
= wxString_in_helper(obj0
);
33530 if (arg1
== NULL
) SWIG_fail
;
33535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33536 result
= (wxURLDataObject
*)new wxURLDataObject((wxString
const &)*arg1
);
33537 wxPyEndAllowThreads(__tstate
);
33538 if (PyErr_Occurred()) SWIG_fail
;
33540 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_NEW
| 0 );
33555 SWIGINTERN PyObject
*_wrap_URLDataObject_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33556 PyObject
*resultobj
= 0;
33557 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
33561 PyObject
*swig_obj
[1] ;
33563 if (!args
) SWIG_fail
;
33564 swig_obj
[0] = args
;
33565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
33566 if (!SWIG_IsOK(res1
)) {
33567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_GetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
33569 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
33571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33572 result
= (arg1
)->GetURL();
33573 wxPyEndAllowThreads(__tstate
);
33574 if (PyErr_Occurred()) SWIG_fail
;
33578 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33580 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33589 SWIGINTERN PyObject
*_wrap_URLDataObject_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33590 PyObject
*resultobj
= 0;
33591 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
33592 wxString
*arg2
= 0 ;
33595 bool temp2
= false ;
33596 PyObject
* obj0
= 0 ;
33597 PyObject
* obj1
= 0 ;
33598 char * kwnames
[] = {
33599 (char *) "self",(char *) "url", NULL
33602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
33604 if (!SWIG_IsOK(res1
)) {
33605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_SetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
33607 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
33609 arg2
= wxString_in_helper(obj1
);
33610 if (arg2
== NULL
) SWIG_fail
;
33614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33615 (arg1
)->SetURL((wxString
const &)*arg2
);
33616 wxPyEndAllowThreads(__tstate
);
33617 if (PyErr_Occurred()) SWIG_fail
;
33619 resultobj
= SWIG_Py_Void();
33634 SWIGINTERN PyObject
*URLDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33636 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33637 SWIG_TypeNewClientData(SWIGTYPE_p_wxURLDataObject
, SWIG_NewClientData(obj
));
33638 return SWIG_Py_Void();
33641 SWIGINTERN PyObject
*URLDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33642 return SWIG_Python_InitShadowInstance(args
);
33645 SWIGINTERN PyObject
*_wrap_new_MetafileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33646 PyObject
*resultobj
= 0;
33647 wxMetafileDataObject
*result
= 0 ;
33649 if (!SWIG_Python_UnpackTuple(args
,"new_MetafileDataObject",0,0,0)) SWIG_fail
;
33651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33652 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
33653 wxPyEndAllowThreads(__tstate
);
33654 if (PyErr_Occurred()) SWIG_fail
;
33656 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_NEW
| 0 );
33663 SWIGINTERN PyObject
*MetafileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33665 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33666 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetafileDataObject
, SWIG_NewClientData(obj
));
33667 return SWIG_Py_Void();
33670 SWIGINTERN PyObject
*MetafileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33671 return SWIG_Python_InitShadowInstance(args
);
33674 SWIGINTERN PyObject
*_wrap_IsDragResultOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33675 PyObject
*resultobj
= 0;
33676 wxDragResult arg1
;
33680 PyObject
* obj0
= 0 ;
33681 char * kwnames
[] = {
33682 (char *) "res", NULL
33685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) SWIG_fail
;
33686 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33687 if (!SWIG_IsOK(ecode1
)) {
33688 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsDragResultOk" "', expected argument " "1"" of type '" "wxDragResult""'");
33690 arg1
= static_cast< wxDragResult
>(val1
);
33692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33693 result
= (bool)wxIsDragResultOk(arg1
);
33694 wxPyEndAllowThreads(__tstate
);
33695 if (PyErr_Occurred()) SWIG_fail
;
33698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33706 SWIGINTERN PyObject
*_wrap_new_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33707 PyObject
*resultobj
= 0;
33708 wxWindow
*arg1
= (wxWindow
*) 0 ;
33709 wxIcon
const &arg2_defvalue
= wxNullIcon
;
33710 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
33711 wxIcon
const &arg3_defvalue
= wxNullIcon
;
33712 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
33713 wxIcon
const &arg4_defvalue
= wxNullIcon
;
33714 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
33715 wxPyDropSource
*result
= 0 ;
33724 PyObject
* obj0
= 0 ;
33725 PyObject
* obj1
= 0 ;
33726 PyObject
* obj2
= 0 ;
33727 PyObject
* obj3
= 0 ;
33728 char * kwnames
[] = {
33729 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
33732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33734 if (!SWIG_IsOK(res1
)) {
33735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropSource" "', expected argument " "1"" of type '" "wxWindow *""'");
33737 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33739 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
33740 if (!SWIG_IsOK(res2
)) {
33741 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxIcon const &""'");
33744 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxIcon const &""'");
33746 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
33749 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxIcon
, 0 | 0);
33750 if (!SWIG_IsOK(res3
)) {
33751 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxIcon const &""'");
33754 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxIcon const &""'");
33756 arg3
= reinterpret_cast< wxIcon
* >(argp3
);
33759 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxIcon
, 0 | 0);
33760 if (!SWIG_IsOK(res4
)) {
33761 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxIcon const &""'");
33764 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxIcon const &""'");
33766 arg4
= reinterpret_cast< wxIcon
* >(argp4
);
33769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33770 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
33771 wxPyEndAllowThreads(__tstate
);
33772 if (PyErr_Occurred()) SWIG_fail
;
33774 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_NEW
| 0 );
33781 SWIGINTERN PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33782 PyObject
*resultobj
= 0;
33783 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33784 PyObject
*arg2
= (PyObject
*) 0 ;
33785 PyObject
*arg3
= (PyObject
*) 0 ;
33786 int arg4
= (int) 0 ;
33791 PyObject
* obj0
= 0 ;
33792 PyObject
* obj1
= 0 ;
33793 PyObject
* obj2
= 0 ;
33794 PyObject
* obj3
= 0 ;
33795 char * kwnames
[] = {
33796 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
33799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33801 if (!SWIG_IsOK(res1
)) {
33802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33804 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33808 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33809 if (!SWIG_IsOK(ecode4
)) {
33810 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
33812 arg4
= static_cast< int >(val4
);
33815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33816 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
33817 wxPyEndAllowThreads(__tstate
);
33818 if (PyErr_Occurred()) SWIG_fail
;
33820 resultobj
= SWIG_Py_Void();
33827 SWIGINTERN PyObject
*_wrap_delete_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33828 PyObject
*resultobj
= 0;
33829 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33832 PyObject
*swig_obj
[1] ;
33834 if (!args
) SWIG_fail
;
33835 swig_obj
[0] = args
;
33836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_DISOWN
| 0 );
33837 if (!SWIG_IsOK(res1
)) {
33838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropSource" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33840 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33845 wxPyEndAllowThreads(__tstate
);
33846 if (PyErr_Occurred()) SWIG_fail
;
33848 resultobj
= SWIG_Py_Void();
33855 SWIGINTERN PyObject
*_wrap_DropSource_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33856 PyObject
*resultobj
= 0;
33857 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33858 wxDataObject
*arg2
= 0 ;
33863 PyObject
* obj0
= 0 ;
33864 PyObject
* obj1
= 0 ;
33865 char * kwnames
[] = {
33866 (char *) "self",(char *) "data", NULL
33869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33871 if (!SWIG_IsOK(res1
)) {
33872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetData" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33874 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33875 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
33876 if (!SWIG_IsOK(res2
)) {
33877 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
33880 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
33882 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
33884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33885 (arg1
)->SetData(*arg2
);
33886 wxPyEndAllowThreads(__tstate
);
33887 if (PyErr_Occurred()) SWIG_fail
;
33889 resultobj
= SWIG_Py_Void();
33896 SWIGINTERN PyObject
*_wrap_DropSource_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33897 PyObject
*resultobj
= 0;
33898 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33899 wxDataObject
*result
= 0 ;
33902 PyObject
*swig_obj
[1] ;
33904 if (!args
) SWIG_fail
;
33905 swig_obj
[0] = args
;
33906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33907 if (!SWIG_IsOK(res1
)) {
33908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33910 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33913 result
= (wxDataObject
*)(arg1
)->GetDataObject();
33914 wxPyEndAllowThreads(__tstate
);
33915 if (PyErr_Occurred()) SWIG_fail
;
33917 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
33924 SWIGINTERN PyObject
*_wrap_DropSource_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33925 PyObject
*resultobj
= 0;
33926 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33927 wxDragResult arg2
;
33928 wxCursor
*arg3
= 0 ;
33935 PyObject
* obj0
= 0 ;
33936 PyObject
* obj1
= 0 ;
33937 PyObject
* obj2
= 0 ;
33938 char * kwnames
[] = {
33939 (char *) "self",(char *) "res",(char *) "cursor", NULL
33942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33944 if (!SWIG_IsOK(res1
)) {
33945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetCursor" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33947 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33948 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33949 if (!SWIG_IsOK(ecode2
)) {
33950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_SetCursor" "', expected argument " "2"" of type '" "wxDragResult""'");
33952 arg2
= static_cast< wxDragResult
>(val2
);
33953 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxCursor
, 0 | 0);
33954 if (!SWIG_IsOK(res3
)) {
33955 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
33958 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
33960 arg3
= reinterpret_cast< wxCursor
* >(argp3
);
33962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33963 (arg1
)->SetCursor(arg2
,(wxCursor
const &)*arg3
);
33964 wxPyEndAllowThreads(__tstate
);
33965 if (PyErr_Occurred()) SWIG_fail
;
33967 resultobj
= SWIG_Py_Void();
33974 SWIGINTERN PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33975 PyObject
*resultobj
= 0;
33976 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33977 int arg2
= (int) wxDrag_CopyOnly
;
33978 wxDragResult result
;
33983 PyObject
* obj0
= 0 ;
33984 PyObject
* obj1
= 0 ;
33985 char * kwnames
[] = {
33986 (char *) "self",(char *) "flags", NULL
33989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33991 if (!SWIG_IsOK(res1
)) {
33992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_DoDragDrop" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33994 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33996 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33997 if (!SWIG_IsOK(ecode2
)) {
33998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_DoDragDrop" "', expected argument " "2"" of type '" "int""'");
34000 arg2
= static_cast< int >(val2
);
34003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34004 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
34005 wxPyEndAllowThreads(__tstate
);
34006 if (PyErr_Occurred()) SWIG_fail
;
34008 resultobj
= SWIG_From_int(static_cast< int >(result
));
34015 SWIGINTERN PyObject
*_wrap_DropSource_GiveFeedback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34016 PyObject
*resultobj
= 0;
34017 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
34018 wxDragResult arg2
;
34024 PyObject
* obj0
= 0 ;
34025 PyObject
* obj1
= 0 ;
34026 char * kwnames
[] = {
34027 (char *) "self",(char *) "effect", NULL
34030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_GiveFeedback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
34032 if (!SWIG_IsOK(res1
)) {
34033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GiveFeedback" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
34035 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
34036 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34037 if (!SWIG_IsOK(ecode2
)) {
34038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_GiveFeedback" "', expected argument " "2"" of type '" "wxDragResult""'");
34040 arg2
= static_cast< wxDragResult
>(val2
);
34042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34043 result
= (bool)(arg1
)->GiveFeedback(arg2
);
34044 wxPyEndAllowThreads(__tstate
);
34045 if (PyErr_Occurred()) SWIG_fail
;
34048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34056 SWIGINTERN PyObject
*DropSource_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34058 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34059 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropSource
, SWIG_NewClientData(obj
));
34060 return SWIG_Py_Void();
34063 SWIGINTERN PyObject
*DropSource_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34064 return SWIG_Python_InitShadowInstance(args
);
34067 SWIGINTERN PyObject
*_wrap_new_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34068 PyObject
*resultobj
= 0;
34069 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
34070 wxPyDropTarget
*result
= 0 ;
34072 PyObject
* obj0
= 0 ;
34073 char * kwnames
[] = {
34074 (char *) "dataObject", NULL
34077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) SWIG_fail
;
34079 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
34080 if (!SWIG_IsOK(res1
)) {
34081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropTarget" "', expected argument " "1"" of type '" "wxDataObject *""'");
34085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34086 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
34087 wxPyEndAllowThreads(__tstate
);
34088 if (PyErr_Occurred()) SWIG_fail
;
34090 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_NEW
| 0 );
34097 SWIGINTERN PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34098 PyObject
*resultobj
= 0;
34099 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34100 PyObject
*arg2
= (PyObject
*) 0 ;
34101 PyObject
*arg3
= (PyObject
*) 0 ;
34104 PyObject
* obj0
= 0 ;
34105 PyObject
* obj1
= 0 ;
34106 PyObject
* obj2
= 0 ;
34107 char * kwnames
[] = {
34108 (char *) "self",(char *) "self",(char *) "_class", NULL
34111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34113 if (!SWIG_IsOK(res1
)) {
34114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34116 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34121 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34122 wxPyEndAllowThreads(__tstate
);
34123 if (PyErr_Occurred()) SWIG_fail
;
34125 resultobj
= SWIG_Py_Void();
34132 SWIGINTERN PyObject
*_wrap_delete_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34133 PyObject
*resultobj
= 0;
34134 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34137 PyObject
*swig_obj
[1] ;
34139 if (!args
) SWIG_fail
;
34140 swig_obj
[0] = args
;
34141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_DISOWN
| 0 );
34142 if (!SWIG_IsOK(res1
)) {
34143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropTarget" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34145 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34150 wxPyEndAllowThreads(__tstate
);
34151 if (PyErr_Occurred()) SWIG_fail
;
34153 resultobj
= SWIG_Py_Void();
34160 SWIGINTERN PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34161 PyObject
*resultobj
= 0;
34162 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34163 wxDataObject
*result
= 0 ;
34166 PyObject
*swig_obj
[1] ;
34168 if (!args
) SWIG_fail
;
34169 swig_obj
[0] = args
;
34170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34171 if (!SWIG_IsOK(res1
)) {
34172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34174 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34177 result
= (wxDataObject
*)(arg1
)->GetDataObject();
34178 wxPyEndAllowThreads(__tstate
);
34179 if (PyErr_Occurred()) SWIG_fail
;
34181 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
34188 SWIGINTERN PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34189 PyObject
*resultobj
= 0;
34190 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34191 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
34195 PyObject
* obj0
= 0 ;
34196 PyObject
* obj1
= 0 ;
34197 char * kwnames
[] = {
34198 (char *) "self",(char *) "dataObject", NULL
34201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34203 if (!SWIG_IsOK(res1
)) {
34204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34206 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34207 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
34208 if (!SWIG_IsOK(res2
)) {
34209 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropTarget_SetDataObject" "', expected argument " "2"" of type '" "wxDataObject *""'");
34212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34213 (arg1
)->SetDataObject(arg2
);
34214 wxPyEndAllowThreads(__tstate
);
34215 if (PyErr_Occurred()) SWIG_fail
;
34217 resultobj
= SWIG_Py_Void();
34224 SWIGINTERN PyObject
*_wrap_DropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34225 PyObject
*resultobj
= 0;
34226 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34229 wxDragResult arg4
;
34230 wxDragResult result
;
34239 PyObject
* obj0
= 0 ;
34240 PyObject
* obj1
= 0 ;
34241 PyObject
* obj2
= 0 ;
34242 PyObject
* obj3
= 0 ;
34243 char * kwnames
[] = {
34244 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34249 if (!SWIG_IsOK(res1
)) {
34250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34252 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34253 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34254 if (!SWIG_IsOK(ecode2
)) {
34255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
34257 arg2
= static_cast< int >(val2
);
34258 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34259 if (!SWIG_IsOK(ecode3
)) {
34260 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
34262 arg3
= static_cast< int >(val3
);
34263 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34264 if (!SWIG_IsOK(ecode4
)) {
34265 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
34267 arg4
= static_cast< wxDragResult
>(val4
);
34269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34270 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
34271 wxPyEndAllowThreads(__tstate
);
34272 if (PyErr_Occurred()) SWIG_fail
;
34274 resultobj
= SWIG_From_int(static_cast< int >(result
));
34281 SWIGINTERN PyObject
*_wrap_DropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34282 PyObject
*resultobj
= 0;
34283 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34286 wxDragResult arg4
;
34287 wxDragResult result
;
34296 PyObject
* obj0
= 0 ;
34297 PyObject
* obj1
= 0 ;
34298 PyObject
* obj2
= 0 ;
34299 PyObject
* obj3
= 0 ;
34300 char * kwnames
[] = {
34301 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34306 if (!SWIG_IsOK(res1
)) {
34307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34309 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34310 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34311 if (!SWIG_IsOK(ecode2
)) {
34312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
34314 arg2
= static_cast< int >(val2
);
34315 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34316 if (!SWIG_IsOK(ecode3
)) {
34317 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
34319 arg3
= static_cast< int >(val3
);
34320 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34321 if (!SWIG_IsOK(ecode4
)) {
34322 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
34324 arg4
= static_cast< wxDragResult
>(val4
);
34326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34327 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
34328 wxPyEndAllowThreads(__tstate
);
34329 if (PyErr_Occurred()) SWIG_fail
;
34331 resultobj
= SWIG_From_int(static_cast< int >(result
));
34338 SWIGINTERN PyObject
*_wrap_DropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34339 PyObject
*resultobj
= 0;
34340 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34343 PyObject
*swig_obj
[1] ;
34345 if (!args
) SWIG_fail
;
34346 swig_obj
[0] = args
;
34347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34348 if (!SWIG_IsOK(res1
)) {
34349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34351 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34355 wxPyEndAllowThreads(__tstate
);
34356 if (PyErr_Occurred()) SWIG_fail
;
34358 resultobj
= SWIG_Py_Void();
34365 SWIGINTERN PyObject
*_wrap_DropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34366 PyObject
*resultobj
= 0;
34367 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34377 PyObject
* obj0
= 0 ;
34378 PyObject
* obj1
= 0 ;
34379 PyObject
* obj2
= 0 ;
34380 char * kwnames
[] = {
34381 (char *) "self",(char *) "x",(char *) "y", NULL
34384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34386 if (!SWIG_IsOK(res1
)) {
34387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34389 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34390 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34391 if (!SWIG_IsOK(ecode2
)) {
34392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
34394 arg2
= static_cast< int >(val2
);
34395 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34396 if (!SWIG_IsOK(ecode3
)) {
34397 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
34399 arg3
= static_cast< int >(val3
);
34401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34402 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
34403 wxPyEndAllowThreads(__tstate
);
34404 if (PyErr_Occurred()) SWIG_fail
;
34407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34415 SWIGINTERN PyObject
*_wrap_DropTarget_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34416 PyObject
*resultobj
= 0;
34417 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34421 PyObject
*swig_obj
[1] ;
34423 if (!args
) SWIG_fail
;
34424 swig_obj
[0] = args
;
34425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34426 if (!SWIG_IsOK(res1
)) {
34427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetData" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34429 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34432 result
= (bool)(arg1
)->GetData();
34433 wxPyEndAllowThreads(__tstate
);
34434 if (PyErr_Occurred()) SWIG_fail
;
34437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34445 SWIGINTERN PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34446 PyObject
*resultobj
= 0;
34447 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34448 wxDragResult arg2
;
34453 PyObject
* obj0
= 0 ;
34454 PyObject
* obj1
= 0 ;
34455 char * kwnames
[] = {
34456 (char *) "self",(char *) "action", NULL
34459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34461 if (!SWIG_IsOK(res1
)) {
34462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34464 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34465 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34466 if (!SWIG_IsOK(ecode2
)) {
34467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "2"" of type '" "wxDragResult""'");
34469 arg2
= static_cast< wxDragResult
>(val2
);
34471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34472 (arg1
)->SetDefaultAction(arg2
);
34473 wxPyEndAllowThreads(__tstate
);
34474 if (PyErr_Occurred()) SWIG_fail
;
34476 resultobj
= SWIG_Py_Void();
34483 SWIGINTERN PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34484 PyObject
*resultobj
= 0;
34485 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34486 wxDragResult result
;
34489 PyObject
*swig_obj
[1] ;
34491 if (!args
) SWIG_fail
;
34492 swig_obj
[0] = args
;
34493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34494 if (!SWIG_IsOK(res1
)) {
34495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34497 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34500 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
34501 wxPyEndAllowThreads(__tstate
);
34502 if (PyErr_Occurred()) SWIG_fail
;
34504 resultobj
= SWIG_From_int(static_cast< int >(result
));
34511 SWIGINTERN PyObject
*DropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34513 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34514 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropTarget
, SWIG_NewClientData(obj
));
34515 return SWIG_Py_Void();
34518 SWIGINTERN PyObject
*DropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34519 return SWIG_Python_InitShadowInstance(args
);
34522 SWIGINTERN PyObject
*_wrap_new_TextDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34523 PyObject
*resultobj
= 0;
34524 wxPyTextDropTarget
*result
= 0 ;
34526 if (!SWIG_Python_UnpackTuple(args
,"new_TextDropTarget",0,0,0)) SWIG_fail
;
34528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34529 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
34530 wxPyEndAllowThreads(__tstate
);
34531 if (PyErr_Occurred()) SWIG_fail
;
34533 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_NEW
| 0 );
34540 SWIGINTERN PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34541 PyObject
*resultobj
= 0;
34542 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34543 PyObject
*arg2
= (PyObject
*) 0 ;
34544 PyObject
*arg3
= (PyObject
*) 0 ;
34547 PyObject
* obj0
= 0 ;
34548 PyObject
* obj1
= 0 ;
34549 PyObject
* obj2
= 0 ;
34550 char * kwnames
[] = {
34551 (char *) "self",(char *) "self",(char *) "_class", NULL
34554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34556 if (!SWIG_IsOK(res1
)) {
34557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34559 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34564 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34565 wxPyEndAllowThreads(__tstate
);
34566 if (PyErr_Occurred()) SWIG_fail
;
34568 resultobj
= SWIG_Py_Void();
34575 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDropText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34576 PyObject
*resultobj
= 0;
34577 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34580 wxString
*arg4
= 0 ;
34588 bool temp4
= false ;
34589 PyObject
* obj0
= 0 ;
34590 PyObject
* obj1
= 0 ;
34591 PyObject
* obj2
= 0 ;
34592 PyObject
* obj3
= 0 ;
34593 char * kwnames
[] = {
34594 (char *) "self",(char *) "x",(char *) "y",(char *) "text", NULL
34597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDropText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34599 if (!SWIG_IsOK(res1
)) {
34600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34602 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34603 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34604 if (!SWIG_IsOK(ecode2
)) {
34605 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "2"" of type '" "int""'");
34607 arg2
= static_cast< int >(val2
);
34608 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34609 if (!SWIG_IsOK(ecode3
)) {
34610 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "3"" of type '" "int""'");
34612 arg3
= static_cast< int >(val3
);
34614 arg4
= wxString_in_helper(obj3
);
34615 if (arg4
== NULL
) SWIG_fail
;
34619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34620 result
= (bool)(arg1
)->OnDropText(arg2
,arg3
,(wxString
const &)*arg4
);
34621 wxPyEndAllowThreads(__tstate
);
34622 if (PyErr_Occurred()) SWIG_fail
;
34625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34641 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34642 PyObject
*resultobj
= 0;
34643 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34646 wxDragResult arg4
;
34647 wxDragResult result
;
34656 PyObject
* obj0
= 0 ;
34657 PyObject
* obj1
= 0 ;
34658 PyObject
* obj2
= 0 ;
34659 PyObject
* obj3
= 0 ;
34660 char * kwnames
[] = {
34661 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34666 if (!SWIG_IsOK(res1
)) {
34667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34669 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34670 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34671 if (!SWIG_IsOK(ecode2
)) {
34672 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
34674 arg2
= static_cast< int >(val2
);
34675 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34676 if (!SWIG_IsOK(ecode3
)) {
34677 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
34679 arg3
= static_cast< int >(val3
);
34680 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34681 if (!SWIG_IsOK(ecode4
)) {
34682 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
34684 arg4
= static_cast< wxDragResult
>(val4
);
34686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34687 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
34688 wxPyEndAllowThreads(__tstate
);
34689 if (PyErr_Occurred()) SWIG_fail
;
34691 resultobj
= SWIG_From_int(static_cast< int >(result
));
34698 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34699 PyObject
*resultobj
= 0;
34700 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34703 wxDragResult arg4
;
34704 wxDragResult result
;
34713 PyObject
* obj0
= 0 ;
34714 PyObject
* obj1
= 0 ;
34715 PyObject
* obj2
= 0 ;
34716 PyObject
* obj3
= 0 ;
34717 char * kwnames
[] = {
34718 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34723 if (!SWIG_IsOK(res1
)) {
34724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34726 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34727 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34728 if (!SWIG_IsOK(ecode2
)) {
34729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
34731 arg2
= static_cast< int >(val2
);
34732 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34733 if (!SWIG_IsOK(ecode3
)) {
34734 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
34736 arg3
= static_cast< int >(val3
);
34737 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34738 if (!SWIG_IsOK(ecode4
)) {
34739 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
34741 arg4
= static_cast< wxDragResult
>(val4
);
34743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34744 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
34745 wxPyEndAllowThreads(__tstate
);
34746 if (PyErr_Occurred()) SWIG_fail
;
34748 resultobj
= SWIG_From_int(static_cast< int >(result
));
34755 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34756 PyObject
*resultobj
= 0;
34757 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34760 PyObject
*swig_obj
[1] ;
34762 if (!args
) SWIG_fail
;
34763 swig_obj
[0] = args
;
34764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34765 if (!SWIG_IsOK(res1
)) {
34766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34768 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34772 wxPyEndAllowThreads(__tstate
);
34773 if (PyErr_Occurred()) SWIG_fail
;
34775 resultobj
= SWIG_Py_Void();
34782 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34783 PyObject
*resultobj
= 0;
34784 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34794 PyObject
* obj0
= 0 ;
34795 PyObject
* obj1
= 0 ;
34796 PyObject
* obj2
= 0 ;
34797 char * kwnames
[] = {
34798 (char *) "self",(char *) "x",(char *) "y", NULL
34801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34803 if (!SWIG_IsOK(res1
)) {
34804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34806 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34807 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34808 if (!SWIG_IsOK(ecode2
)) {
34809 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
34811 arg2
= static_cast< int >(val2
);
34812 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34813 if (!SWIG_IsOK(ecode3
)) {
34814 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
34816 arg3
= static_cast< int >(val3
);
34818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34819 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
34820 wxPyEndAllowThreads(__tstate
);
34821 if (PyErr_Occurred()) SWIG_fail
;
34824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34832 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34833 PyObject
*resultobj
= 0;
34834 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34837 wxDragResult arg4
;
34838 wxDragResult result
;
34847 PyObject
* obj0
= 0 ;
34848 PyObject
* obj1
= 0 ;
34849 PyObject
* obj2
= 0 ;
34850 PyObject
* obj3
= 0 ;
34851 char * kwnames
[] = {
34852 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34857 if (!SWIG_IsOK(res1
)) {
34858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34860 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34861 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34862 if (!SWIG_IsOK(ecode2
)) {
34863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
34865 arg2
= static_cast< int >(val2
);
34866 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34867 if (!SWIG_IsOK(ecode3
)) {
34868 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
34870 arg3
= static_cast< int >(val3
);
34871 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34872 if (!SWIG_IsOK(ecode4
)) {
34873 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
34875 arg4
= static_cast< wxDragResult
>(val4
);
34877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34878 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
34879 wxPyEndAllowThreads(__tstate
);
34880 if (PyErr_Occurred()) SWIG_fail
;
34882 resultobj
= SWIG_From_int(static_cast< int >(result
));
34889 SWIGINTERN PyObject
*TextDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34891 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34892 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDropTarget
, SWIG_NewClientData(obj
));
34893 return SWIG_Py_Void();
34896 SWIGINTERN PyObject
*TextDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34897 return SWIG_Python_InitShadowInstance(args
);
34900 SWIGINTERN PyObject
*_wrap_new_FileDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34901 PyObject
*resultobj
= 0;
34902 wxPyFileDropTarget
*result
= 0 ;
34904 if (!SWIG_Python_UnpackTuple(args
,"new_FileDropTarget",0,0,0)) SWIG_fail
;
34906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34907 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
34908 wxPyEndAllowThreads(__tstate
);
34909 if (PyErr_Occurred()) SWIG_fail
;
34911 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_NEW
| 0 );
34918 SWIGINTERN PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34919 PyObject
*resultobj
= 0;
34920 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34921 PyObject
*arg2
= (PyObject
*) 0 ;
34922 PyObject
*arg3
= (PyObject
*) 0 ;
34925 PyObject
* obj0
= 0 ;
34926 PyObject
* obj1
= 0 ;
34927 PyObject
* obj2
= 0 ;
34928 char * kwnames
[] = {
34929 (char *) "self",(char *) "self",(char *) "_class", NULL
34932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
34934 if (!SWIG_IsOK(res1
)) {
34935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
34937 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
34941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34942 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34943 wxPyEndAllowThreads(__tstate
);
34944 if (PyErr_Occurred()) SWIG_fail
;
34946 resultobj
= SWIG_Py_Void();
34953 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDropFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34954 PyObject
*resultobj
= 0;
34955 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34958 wxArrayString
*arg4
= 0 ;
34966 bool temp4
= false ;
34967 PyObject
* obj0
= 0 ;
34968 PyObject
* obj1
= 0 ;
34969 PyObject
* obj2
= 0 ;
34970 PyObject
* obj3
= 0 ;
34971 char * kwnames
[] = {
34972 (char *) "self",(char *) "x",(char *) "y",(char *) "filenames", NULL
34975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDropFiles",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
34977 if (!SWIG_IsOK(res1
)) {
34978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
34980 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
34981 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34982 if (!SWIG_IsOK(ecode2
)) {
34983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "2"" of type '" "int""'");
34985 arg2
= static_cast< int >(val2
);
34986 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34987 if (!SWIG_IsOK(ecode3
)) {
34988 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "3"" of type '" "int""'");
34990 arg3
= static_cast< int >(val3
);
34992 if (! PySequence_Check(obj3
)) {
34993 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
34996 arg4
= new wxArrayString
;
34998 int i
, len
=PySequence_Length(obj3
);
34999 for (i
=0; i
<len
; i
++) {
35000 PyObject
* item
= PySequence_GetItem(obj3
, i
);
35001 wxString
* s
= wxString_in_helper(item
);
35002 if (PyErr_Occurred()) SWIG_fail
;
35009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35010 result
= (bool)(arg1
)->OnDropFiles(arg2
,arg3
,(wxArrayString
const &)*arg4
);
35011 wxPyEndAllowThreads(__tstate
);
35012 if (PyErr_Occurred()) SWIG_fail
;
35015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35018 if (temp4
) delete arg4
;
35023 if (temp4
) delete arg4
;
35029 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35030 PyObject
*resultobj
= 0;
35031 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35034 wxDragResult arg4
;
35035 wxDragResult result
;
35044 PyObject
* obj0
= 0 ;
35045 PyObject
* obj1
= 0 ;
35046 PyObject
* obj2
= 0 ;
35047 PyObject
* obj3
= 0 ;
35048 char * kwnames
[] = {
35049 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
35052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35054 if (!SWIG_IsOK(res1
)) {
35055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35057 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35058 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35059 if (!SWIG_IsOK(ecode2
)) {
35060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
35062 arg2
= static_cast< int >(val2
);
35063 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35064 if (!SWIG_IsOK(ecode3
)) {
35065 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
35067 arg3
= static_cast< int >(val3
);
35068 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35069 if (!SWIG_IsOK(ecode4
)) {
35070 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
35072 arg4
= static_cast< wxDragResult
>(val4
);
35074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35075 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
35076 wxPyEndAllowThreads(__tstate
);
35077 if (PyErr_Occurred()) SWIG_fail
;
35079 resultobj
= SWIG_From_int(static_cast< int >(result
));
35086 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35087 PyObject
*resultobj
= 0;
35088 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35091 wxDragResult arg4
;
35092 wxDragResult result
;
35101 PyObject
* obj0
= 0 ;
35102 PyObject
* obj1
= 0 ;
35103 PyObject
* obj2
= 0 ;
35104 PyObject
* obj3
= 0 ;
35105 char * kwnames
[] = {
35106 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
35109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35111 if (!SWIG_IsOK(res1
)) {
35112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35114 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35115 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35116 if (!SWIG_IsOK(ecode2
)) {
35117 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
35119 arg2
= static_cast< int >(val2
);
35120 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35121 if (!SWIG_IsOK(ecode3
)) {
35122 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
35124 arg3
= static_cast< int >(val3
);
35125 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35126 if (!SWIG_IsOK(ecode4
)) {
35127 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
35129 arg4
= static_cast< wxDragResult
>(val4
);
35131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35132 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
35133 wxPyEndAllowThreads(__tstate
);
35134 if (PyErr_Occurred()) SWIG_fail
;
35136 resultobj
= SWIG_From_int(static_cast< int >(result
));
35143 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35144 PyObject
*resultobj
= 0;
35145 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35148 PyObject
*swig_obj
[1] ;
35150 if (!args
) SWIG_fail
;
35151 swig_obj
[0] = args
;
35152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35153 if (!SWIG_IsOK(res1
)) {
35154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35156 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35160 wxPyEndAllowThreads(__tstate
);
35161 if (PyErr_Occurred()) SWIG_fail
;
35163 resultobj
= SWIG_Py_Void();
35170 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35171 PyObject
*resultobj
= 0;
35172 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35182 PyObject
* obj0
= 0 ;
35183 PyObject
* obj1
= 0 ;
35184 PyObject
* obj2
= 0 ;
35185 char * kwnames
[] = {
35186 (char *) "self",(char *) "x",(char *) "y", NULL
35189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35191 if (!SWIG_IsOK(res1
)) {
35192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35194 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35195 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35196 if (!SWIG_IsOK(ecode2
)) {
35197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
35199 arg2
= static_cast< int >(val2
);
35200 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35201 if (!SWIG_IsOK(ecode3
)) {
35202 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
35204 arg3
= static_cast< int >(val3
);
35206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35207 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
35208 wxPyEndAllowThreads(__tstate
);
35209 if (PyErr_Occurred()) SWIG_fail
;
35212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35220 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35221 PyObject
*resultobj
= 0;
35222 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35225 wxDragResult arg4
;
35226 wxDragResult result
;
35235 PyObject
* obj0
= 0 ;
35236 PyObject
* obj1
= 0 ;
35237 PyObject
* obj2
= 0 ;
35238 PyObject
* obj3
= 0 ;
35239 char * kwnames
[] = {
35240 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
35243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35245 if (!SWIG_IsOK(res1
)) {
35246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35248 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35249 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35250 if (!SWIG_IsOK(ecode2
)) {
35251 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
35253 arg2
= static_cast< int >(val2
);
35254 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35255 if (!SWIG_IsOK(ecode3
)) {
35256 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
35258 arg3
= static_cast< int >(val3
);
35259 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35260 if (!SWIG_IsOK(ecode4
)) {
35261 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
35263 arg4
= static_cast< wxDragResult
>(val4
);
35265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35266 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
35267 wxPyEndAllowThreads(__tstate
);
35268 if (PyErr_Occurred()) SWIG_fail
;
35270 resultobj
= SWIG_From_int(static_cast< int >(result
));
35277 SWIGINTERN PyObject
*FileDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35279 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35280 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFileDropTarget
, SWIG_NewClientData(obj
));
35281 return SWIG_Py_Void();
35284 SWIGINTERN PyObject
*FileDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35285 return SWIG_Python_InitShadowInstance(args
);
35288 SWIGINTERN PyObject
*_wrap_new_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35289 PyObject
*resultobj
= 0;
35290 wxClipboard
*result
= 0 ;
35292 if (!SWIG_Python_UnpackTuple(args
,"new_Clipboard",0,0,0)) SWIG_fail
;
35294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35295 result
= (wxClipboard
*)new wxClipboard();
35296 wxPyEndAllowThreads(__tstate
);
35297 if (PyErr_Occurred()) SWIG_fail
;
35299 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, SWIG_POINTER_NEW
| 0 );
35306 SWIGINTERN PyObject
*_wrap_delete_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35307 PyObject
*resultobj
= 0;
35308 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35311 PyObject
*swig_obj
[1] ;
35313 if (!args
) SWIG_fail
;
35314 swig_obj
[0] = args
;
35315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, SWIG_POINTER_DISOWN
| 0 );
35316 if (!SWIG_IsOK(res1
)) {
35317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Clipboard" "', expected argument " "1"" of type '" "wxClipboard *""'");
35319 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35324 wxPyEndAllowThreads(__tstate
);
35325 if (PyErr_Occurred()) SWIG_fail
;
35327 resultobj
= SWIG_Py_Void();
35334 SWIGINTERN PyObject
*_wrap_Clipboard_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35335 PyObject
*resultobj
= 0;
35336 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35340 PyObject
*swig_obj
[1] ;
35342 if (!args
) SWIG_fail
;
35343 swig_obj
[0] = args
;
35344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35345 if (!SWIG_IsOK(res1
)) {
35346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Open" "', expected argument " "1"" of type '" "wxClipboard *""'");
35348 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35351 result
= (bool)(arg1
)->Open();
35352 wxPyEndAllowThreads(__tstate
);
35353 if (PyErr_Occurred()) SWIG_fail
;
35356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35364 SWIGINTERN PyObject
*_wrap_Clipboard_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35365 PyObject
*resultobj
= 0;
35366 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35369 PyObject
*swig_obj
[1] ;
35371 if (!args
) SWIG_fail
;
35372 swig_obj
[0] = args
;
35373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35374 if (!SWIG_IsOK(res1
)) {
35375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Close" "', expected argument " "1"" of type '" "wxClipboard *""'");
35377 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35381 wxPyEndAllowThreads(__tstate
);
35382 if (PyErr_Occurred()) SWIG_fail
;
35384 resultobj
= SWIG_Py_Void();
35391 SWIGINTERN PyObject
*_wrap_Clipboard_IsOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35392 PyObject
*resultobj
= 0;
35393 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35397 PyObject
*swig_obj
[1] ;
35399 if (!args
) SWIG_fail
;
35400 swig_obj
[0] = args
;
35401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35402 if (!SWIG_IsOK(res1
)) {
35403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsOpened" "', expected argument " "1"" of type '" "wxClipboard const *""'");
35405 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35408 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
35409 wxPyEndAllowThreads(__tstate
);
35410 if (PyErr_Occurred()) SWIG_fail
;
35413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35421 SWIGINTERN PyObject
*_wrap_Clipboard_AddData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35422 PyObject
*resultobj
= 0;
35423 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35424 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
35429 PyObject
* obj0
= 0 ;
35430 PyObject
* obj1
= 0 ;
35431 char * kwnames
[] = {
35432 (char *) "self",(char *) "data", NULL
35435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35437 if (!SWIG_IsOK(res1
)) {
35438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_AddData" "', expected argument " "1"" of type '" "wxClipboard *""'");
35440 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35441 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
35442 if (!SWIG_IsOK(res2
)) {
35443 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_AddData" "', expected argument " "2"" of type '" "wxDataObject *""'");
35446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35447 result
= (bool)(arg1
)->AddData(arg2
);
35448 wxPyEndAllowThreads(__tstate
);
35449 if (PyErr_Occurred()) SWIG_fail
;
35452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35460 SWIGINTERN PyObject
*_wrap_Clipboard_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35461 PyObject
*resultobj
= 0;
35462 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35463 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
35468 PyObject
* obj0
= 0 ;
35469 PyObject
* obj1
= 0 ;
35470 char * kwnames
[] = {
35471 (char *) "self",(char *) "data", NULL
35474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35476 if (!SWIG_IsOK(res1
)) {
35477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_SetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
35479 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35480 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
35481 if (!SWIG_IsOK(res2
)) {
35482 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_SetData" "', expected argument " "2"" of type '" "wxDataObject *""'");
35485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35486 result
= (bool)(arg1
)->SetData(arg2
);
35487 wxPyEndAllowThreads(__tstate
);
35488 if (PyErr_Occurred()) SWIG_fail
;
35491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35499 SWIGINTERN PyObject
*_wrap_Clipboard_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35500 PyObject
*resultobj
= 0;
35501 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35502 wxDataFormat
*arg2
= 0 ;
35508 PyObject
* obj0
= 0 ;
35509 PyObject
* obj1
= 0 ;
35510 char * kwnames
[] = {
35511 (char *) "self",(char *) "format", NULL
35514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35516 if (!SWIG_IsOK(res1
)) {
35517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsSupported" "', expected argument " "1"" of type '" "wxClipboard *""'");
35519 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35520 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
35521 if (!SWIG_IsOK(res2
)) {
35522 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
35525 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
35527 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
35529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35530 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
35531 wxPyEndAllowThreads(__tstate
);
35532 if (PyErr_Occurred()) SWIG_fail
;
35535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35543 SWIGINTERN PyObject
*_wrap_Clipboard_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35544 PyObject
*resultobj
= 0;
35545 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35546 wxDataObject
*arg2
= 0 ;
35552 PyObject
* obj0
= 0 ;
35553 PyObject
* obj1
= 0 ;
35554 char * kwnames
[] = {
35555 (char *) "self",(char *) "data", NULL
35558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35560 if (!SWIG_IsOK(res1
)) {
35561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_GetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
35563 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35564 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
35565 if (!SWIG_IsOK(res2
)) {
35566 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
35569 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
35571 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
35573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35574 result
= (bool)(arg1
)->GetData(*arg2
);
35575 wxPyEndAllowThreads(__tstate
);
35576 if (PyErr_Occurred()) SWIG_fail
;
35579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35587 SWIGINTERN PyObject
*_wrap_Clipboard_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35588 PyObject
*resultobj
= 0;
35589 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35592 PyObject
*swig_obj
[1] ;
35594 if (!args
) SWIG_fail
;
35595 swig_obj
[0] = args
;
35596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35597 if (!SWIG_IsOK(res1
)) {
35598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Clear" "', expected argument " "1"" of type '" "wxClipboard *""'");
35600 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35604 wxPyEndAllowThreads(__tstate
);
35605 if (PyErr_Occurred()) SWIG_fail
;
35607 resultobj
= SWIG_Py_Void();
35614 SWIGINTERN PyObject
*_wrap_Clipboard_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35615 PyObject
*resultobj
= 0;
35616 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35620 PyObject
*swig_obj
[1] ;
35622 if (!args
) SWIG_fail
;
35623 swig_obj
[0] = args
;
35624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35625 if (!SWIG_IsOK(res1
)) {
35626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Flush" "', expected argument " "1"" of type '" "wxClipboard *""'");
35628 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35631 result
= (bool)(arg1
)->Flush();
35632 wxPyEndAllowThreads(__tstate
);
35633 if (PyErr_Occurred()) SWIG_fail
;
35636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35644 SWIGINTERN PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35645 PyObject
*resultobj
= 0;
35646 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35647 bool arg2
= (bool) true ;
35652 PyObject
* obj0
= 0 ;
35653 PyObject
* obj1
= 0 ;
35654 char * kwnames
[] = {
35655 (char *) "self",(char *) "primary", NULL
35658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35660 if (!SWIG_IsOK(res1
)) {
35661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "1"" of type '" "wxClipboard *""'");
35663 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35665 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
35666 if (!SWIG_IsOK(ecode2
)) {
35667 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "2"" of type '" "bool""'");
35669 arg2
= static_cast< bool >(val2
);
35672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35673 (arg1
)->UsePrimarySelection(arg2
);
35674 wxPyEndAllowThreads(__tstate
);
35675 if (PyErr_Occurred()) SWIG_fail
;
35677 resultobj
= SWIG_Py_Void();
35684 SWIGINTERN PyObject
*_wrap_Clipboard_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35685 PyObject
*resultobj
= 0;
35686 wxClipboard
*result
= 0 ;
35688 if (!SWIG_Python_UnpackTuple(args
,"Clipboard_Get",0,0,0)) SWIG_fail
;
35690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35691 result
= (wxClipboard
*)wxClipboard::Get();
35692 wxPyEndAllowThreads(__tstate
);
35693 if (PyErr_Occurred()) SWIG_fail
;
35695 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, 0 | 0 );
35702 SWIGINTERN PyObject
*Clipboard_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35704 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35705 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboard
, SWIG_NewClientData(obj
));
35706 return SWIG_Py_Void();
35709 SWIGINTERN PyObject
*Clipboard_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35710 return SWIG_Python_InitShadowInstance(args
);
35713 SWIGINTERN PyObject
*_wrap_new_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35714 PyObject
*resultobj
= 0;
35715 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
35716 wxClipboardLocker
*result
= 0 ;
35719 PyObject
* obj0
= 0 ;
35720 char * kwnames
[] = {
35721 (char *) "clipboard", NULL
35724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) SWIG_fail
;
35726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35727 if (!SWIG_IsOK(res1
)) {
35728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboard *""'");
35730 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35734 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
35735 wxPyEndAllowThreads(__tstate
);
35736 if (PyErr_Occurred()) SWIG_fail
;
35738 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_NEW
| 0 );
35745 SWIGINTERN PyObject
*_wrap_delete_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35746 PyObject
*resultobj
= 0;
35747 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
35750 PyObject
*swig_obj
[1] ;
35752 if (!args
) SWIG_fail
;
35753 swig_obj
[0] = args
;
35754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_DISOWN
| 0 );
35755 if (!SWIG_IsOK(res1
)) {
35756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
35758 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
35760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35763 wxPyEndAllowThreads(__tstate
);
35764 if (PyErr_Occurred()) SWIG_fail
;
35766 resultobj
= SWIG_Py_Void();
35773 SWIGINTERN PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35774 PyObject
*resultobj
= 0;
35775 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
35779 PyObject
*swig_obj
[1] ;
35781 if (!args
) SWIG_fail
;
35782 swig_obj
[0] = args
;
35783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, 0 | 0 );
35784 if (!SWIG_IsOK(res1
)) {
35785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ClipboardLocker___nonzero__" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
35787 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
35789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35790 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
35791 wxPyEndAllowThreads(__tstate
);
35792 if (PyErr_Occurred()) SWIG_fail
;
35795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35803 SWIGINTERN PyObject
*ClipboardLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35805 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35806 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboardLocker
, SWIG_NewClientData(obj
));
35807 return SWIG_Py_Void();
35810 SWIGINTERN PyObject
*ClipboardLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35811 return SWIG_Python_InitShadowInstance(args
);
35814 SWIGINTERN PyObject
*_wrap_new_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35815 PyObject
*resultobj
= 0;
35816 int arg1
= (int) 0 ;
35817 int arg2
= (int) 0 ;
35818 int arg3
= (int) 0 ;
35819 int arg4
= (int) 0 ;
35820 wxVideoMode
*result
= 0 ;
35829 PyObject
* obj0
= 0 ;
35830 PyObject
* obj1
= 0 ;
35831 PyObject
* obj2
= 0 ;
35832 PyObject
* obj3
= 0 ;
35833 char * kwnames
[] = {
35834 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
35837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35839 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
35840 if (!SWIG_IsOK(ecode1
)) {
35841 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_VideoMode" "', expected argument " "1"" of type '" "int""'");
35843 arg1
= static_cast< int >(val1
);
35846 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35847 if (!SWIG_IsOK(ecode2
)) {
35848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VideoMode" "', expected argument " "2"" of type '" "int""'");
35850 arg2
= static_cast< int >(val2
);
35853 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35854 if (!SWIG_IsOK(ecode3
)) {
35855 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_VideoMode" "', expected argument " "3"" of type '" "int""'");
35857 arg3
= static_cast< int >(val3
);
35860 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35861 if (!SWIG_IsOK(ecode4
)) {
35862 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_VideoMode" "', expected argument " "4"" of type '" "int""'");
35864 arg4
= static_cast< int >(val4
);
35867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35868 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
35869 wxPyEndAllowThreads(__tstate
);
35870 if (PyErr_Occurred()) SWIG_fail
;
35872 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_NEW
| 0 );
35879 SWIGINTERN PyObject
*_wrap_delete_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35880 PyObject
*resultobj
= 0;
35881 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35884 PyObject
*swig_obj
[1] ;
35886 if (!args
) SWIG_fail
;
35887 swig_obj
[0] = args
;
35888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_DISOWN
| 0 );
35889 if (!SWIG_IsOK(res1
)) {
35890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_VideoMode" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35892 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35897 wxPyEndAllowThreads(__tstate
);
35898 if (PyErr_Occurred()) SWIG_fail
;
35900 resultobj
= SWIG_Py_Void();
35907 SWIGINTERN PyObject
*_wrap_VideoMode_Matches(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35908 PyObject
*resultobj
= 0;
35909 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35910 wxVideoMode
*arg2
= 0 ;
35916 PyObject
* obj0
= 0 ;
35917 PyObject
* obj1
= 0 ;
35918 char * kwnames
[] = {
35919 (char *) "self",(char *) "other", NULL
35922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35924 if (!SWIG_IsOK(res1
)) {
35925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_Matches" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
35927 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35928 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
35929 if (!SWIG_IsOK(res2
)) {
35930 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35933 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35935 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
35937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35938 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
35939 wxPyEndAllowThreads(__tstate
);
35940 if (PyErr_Occurred()) SWIG_fail
;
35943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35951 SWIGINTERN PyObject
*_wrap_VideoMode_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35952 PyObject
*resultobj
= 0;
35953 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35957 PyObject
*swig_obj
[1] ;
35959 if (!args
) SWIG_fail
;
35960 swig_obj
[0] = args
;
35961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35962 if (!SWIG_IsOK(res1
)) {
35963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetWidth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
35965 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35968 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
35969 wxPyEndAllowThreads(__tstate
);
35970 if (PyErr_Occurred()) SWIG_fail
;
35972 resultobj
= SWIG_From_int(static_cast< int >(result
));
35979 SWIGINTERN PyObject
*_wrap_VideoMode_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35980 PyObject
*resultobj
= 0;
35981 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35985 PyObject
*swig_obj
[1] ;
35987 if (!args
) SWIG_fail
;
35988 swig_obj
[0] = args
;
35989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35990 if (!SWIG_IsOK(res1
)) {
35991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetHeight" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
35993 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35996 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
35997 wxPyEndAllowThreads(__tstate
);
35998 if (PyErr_Occurred()) SWIG_fail
;
36000 resultobj
= SWIG_From_int(static_cast< int >(result
));
36007 SWIGINTERN PyObject
*_wrap_VideoMode_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36008 PyObject
*resultobj
= 0;
36009 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36013 PyObject
*swig_obj
[1] ;
36015 if (!args
) SWIG_fail
;
36016 swig_obj
[0] = args
;
36017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36018 if (!SWIG_IsOK(res1
)) {
36019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetDepth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
36021 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36024 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
36025 wxPyEndAllowThreads(__tstate
);
36026 if (PyErr_Occurred()) SWIG_fail
;
36028 resultobj
= SWIG_From_int(static_cast< int >(result
));
36035 SWIGINTERN PyObject
*_wrap_VideoMode_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36036 PyObject
*resultobj
= 0;
36037 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36041 PyObject
*swig_obj
[1] ;
36043 if (!args
) SWIG_fail
;
36044 swig_obj
[0] = args
;
36045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36046 if (!SWIG_IsOK(res1
)) {
36047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_IsOk" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
36049 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36052 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
36053 wxPyEndAllowThreads(__tstate
);
36054 if (PyErr_Occurred()) SWIG_fail
;
36057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36065 SWIGINTERN PyObject
*_wrap_VideoMode___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36066 PyObject
*resultobj
= 0;
36067 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36068 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
36074 PyObject
* obj0
= 0 ;
36075 PyObject
* obj1
= 0 ;
36076 char * kwnames
[] = {
36077 (char *) "self",(char *) "other", NULL
36080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36082 if (!SWIG_IsOK(res1
)) {
36083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___eq__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36085 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36086 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36087 if (!SWIG_IsOK(res2
)) {
36088 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___eq__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
36090 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36093 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
36094 wxPyEndAllowThreads(__tstate
);
36095 if (PyErr_Occurred()) SWIG_fail
;
36098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36106 SWIGINTERN PyObject
*_wrap_VideoMode___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36107 PyObject
*resultobj
= 0;
36108 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36109 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
36115 PyObject
* obj0
= 0 ;
36116 PyObject
* obj1
= 0 ;
36117 char * kwnames
[] = {
36118 (char *) "self",(char *) "other", NULL
36121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36123 if (!SWIG_IsOK(res1
)) {
36124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___ne__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36126 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36127 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36128 if (!SWIG_IsOK(res2
)) {
36129 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___ne__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
36131 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36134 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
36135 wxPyEndAllowThreads(__tstate
);
36136 if (PyErr_Occurred()) SWIG_fail
;
36139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36147 SWIGINTERN PyObject
*_wrap_VideoMode_w_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36148 PyObject
*resultobj
= 0;
36149 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36155 PyObject
*swig_obj
[2] ;
36157 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_w_set",2,2,swig_obj
)) SWIG_fail
;
36158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36159 if (!SWIG_IsOK(res1
)) {
36160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36162 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36163 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36164 if (!SWIG_IsOK(ecode2
)) {
36165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_w_set" "', expected argument " "2"" of type '" "int""'");
36167 arg2
= static_cast< int >(val2
);
36168 if (arg1
) (arg1
)->w
= arg2
;
36170 resultobj
= SWIG_Py_Void();
36177 SWIGINTERN PyObject
*_wrap_VideoMode_w_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36178 PyObject
*resultobj
= 0;
36179 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36183 PyObject
*swig_obj
[1] ;
36185 if (!args
) SWIG_fail
;
36186 swig_obj
[0] = args
;
36187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36188 if (!SWIG_IsOK(res1
)) {
36189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36191 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36192 result
= (int) ((arg1
)->w
);
36193 resultobj
= SWIG_From_int(static_cast< int >(result
));
36200 SWIGINTERN PyObject
*_wrap_VideoMode_h_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36201 PyObject
*resultobj
= 0;
36202 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36208 PyObject
*swig_obj
[2] ;
36210 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_h_set",2,2,swig_obj
)) SWIG_fail
;
36211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36212 if (!SWIG_IsOK(res1
)) {
36213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36215 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36216 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36217 if (!SWIG_IsOK(ecode2
)) {
36218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_h_set" "', expected argument " "2"" of type '" "int""'");
36220 arg2
= static_cast< int >(val2
);
36221 if (arg1
) (arg1
)->h
= arg2
;
36223 resultobj
= SWIG_Py_Void();
36230 SWIGINTERN PyObject
*_wrap_VideoMode_h_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36231 PyObject
*resultobj
= 0;
36232 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36236 PyObject
*swig_obj
[1] ;
36238 if (!args
) SWIG_fail
;
36239 swig_obj
[0] = args
;
36240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36241 if (!SWIG_IsOK(res1
)) {
36242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36244 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36245 result
= (int) ((arg1
)->h
);
36246 resultobj
= SWIG_From_int(static_cast< int >(result
));
36253 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36254 PyObject
*resultobj
= 0;
36255 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36261 PyObject
*swig_obj
[2] ;
36263 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_bpp_set",2,2,swig_obj
)) SWIG_fail
;
36264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36265 if (!SWIG_IsOK(res1
)) {
36266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36268 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36269 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36270 if (!SWIG_IsOK(ecode2
)) {
36271 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_bpp_set" "', expected argument " "2"" of type '" "int""'");
36273 arg2
= static_cast< int >(val2
);
36274 if (arg1
) (arg1
)->bpp
= arg2
;
36276 resultobj
= SWIG_Py_Void();
36283 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36284 PyObject
*resultobj
= 0;
36285 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36289 PyObject
*swig_obj
[1] ;
36291 if (!args
) SWIG_fail
;
36292 swig_obj
[0] = args
;
36293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36294 if (!SWIG_IsOK(res1
)) {
36295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36297 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36298 result
= (int) ((arg1
)->bpp
);
36299 resultobj
= SWIG_From_int(static_cast< int >(result
));
36306 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36307 PyObject
*resultobj
= 0;
36308 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36314 PyObject
*swig_obj
[2] ;
36316 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_refresh_set",2,2,swig_obj
)) SWIG_fail
;
36317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36318 if (!SWIG_IsOK(res1
)) {
36319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36321 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36322 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36323 if (!SWIG_IsOK(ecode2
)) {
36324 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_refresh_set" "', expected argument " "2"" of type '" "int""'");
36326 arg2
= static_cast< int >(val2
);
36327 if (arg1
) (arg1
)->refresh
= arg2
;
36329 resultobj
= SWIG_Py_Void();
36336 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36337 PyObject
*resultobj
= 0;
36338 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36342 PyObject
*swig_obj
[1] ;
36344 if (!args
) SWIG_fail
;
36345 swig_obj
[0] = args
;
36346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36347 if (!SWIG_IsOK(res1
)) {
36348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36350 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36351 result
= (int) ((arg1
)->refresh
);
36352 resultobj
= SWIG_From_int(static_cast< int >(result
));
36359 SWIGINTERN PyObject
*VideoMode_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36361 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36362 SWIG_TypeNewClientData(SWIGTYPE_p_wxVideoMode
, SWIG_NewClientData(obj
));
36363 return SWIG_Py_Void();
36366 SWIGINTERN PyObject
*VideoMode_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36367 return SWIG_Python_InitShadowInstance(args
);
36370 SWIGINTERN
int DefaultVideoMode_set(PyObject
*) {
36371 SWIG_Error(SWIG_AttributeError
,"Variable DefaultVideoMode is read-only.");
36376 SWIGINTERN PyObject
*DefaultVideoMode_get(void) {
36377 PyObject
*pyobj
= 0;
36379 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0 );
36384 SWIGINTERN PyObject
*_wrap_new_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36385 PyObject
*resultobj
= 0;
36386 unsigned int arg1
= (unsigned int) 0 ;
36387 wxDisplay
*result
= 0 ;
36388 unsigned int val1
;
36390 PyObject
* obj0
= 0 ;
36391 char * kwnames
[] = {
36392 (char *) "index", NULL
36395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) SWIG_fail
;
36397 ecode1
= SWIG_AsVal_unsigned_SS_int(obj0
, &val1
);
36398 if (!SWIG_IsOK(ecode1
)) {
36399 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Display" "', expected argument " "1"" of type '" "unsigned int""'");
36401 arg1
= static_cast< unsigned int >(val1
);
36404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36405 result
= (wxDisplay
*)new wxDisplay(arg1
);
36406 wxPyEndAllowThreads(__tstate
);
36407 if (PyErr_Occurred()) SWIG_fail
;
36409 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDisplay
, SWIG_POINTER_NEW
| 0 );
36416 SWIGINTERN PyObject
*_wrap_delete_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36417 PyObject
*resultobj
= 0;
36418 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36421 PyObject
*swig_obj
[1] ;
36423 if (!args
) SWIG_fail
;
36424 swig_obj
[0] = args
;
36425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, SWIG_POINTER_DISOWN
| 0 );
36426 if (!SWIG_IsOK(res1
)) {
36427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Display" "', expected argument " "1"" of type '" "wxDisplay *""'");
36429 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36434 wxPyEndAllowThreads(__tstate
);
36435 if (PyErr_Occurred()) SWIG_fail
;
36437 resultobj
= SWIG_Py_Void();
36444 SWIGINTERN PyObject
*_wrap_Display_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36445 PyObject
*resultobj
= 0;
36446 unsigned int result
;
36448 if (!SWIG_Python_UnpackTuple(args
,"Display_GetCount",0,0,0)) SWIG_fail
;
36450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36451 result
= (unsigned int)wxDisplay::GetCount();
36452 wxPyEndAllowThreads(__tstate
);
36453 if (PyErr_Occurred()) SWIG_fail
;
36455 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
36462 SWIGINTERN PyObject
*_wrap_Display_GetFromPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36463 PyObject
*resultobj
= 0;
36464 wxPoint
*arg1
= 0 ;
36467 PyObject
* obj0
= 0 ;
36468 char * kwnames
[] = {
36469 (char *) "pt", NULL
36472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) SWIG_fail
;
36475 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
36478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36479 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
36480 wxPyEndAllowThreads(__tstate
);
36481 if (PyErr_Occurred()) SWIG_fail
;
36483 resultobj
= SWIG_From_int(static_cast< int >(result
));
36490 SWIGINTERN PyObject
*_wrap_Display_GetFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36491 PyObject
*resultobj
= 0;
36492 wxWindow
*arg1
= (wxWindow
*) 0 ;
36496 PyObject
* obj0
= 0 ;
36497 char * kwnames
[] = {
36498 (char *) "window", NULL
36501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) SWIG_fail
;
36502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36503 if (!SWIG_IsOK(res1
)) {
36504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetFromWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
36506 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36509 result
= (int)wxDisplay::GetFromWindow(arg1
);
36510 wxPyEndAllowThreads(__tstate
);
36511 if (PyErr_Occurred()) SWIG_fail
;
36513 resultobj
= SWIG_From_int(static_cast< int >(result
));
36520 SWIGINTERN PyObject
*_wrap_Display_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36521 PyObject
*resultobj
= 0;
36522 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36526 PyObject
*swig_obj
[1] ;
36528 if (!args
) SWIG_fail
;
36529 swig_obj
[0] = args
;
36530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36531 if (!SWIG_IsOK(res1
)) {
36532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsOk" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36534 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36537 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
36538 wxPyEndAllowThreads(__tstate
);
36539 if (PyErr_Occurred()) SWIG_fail
;
36542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36550 SWIGINTERN PyObject
*_wrap_Display_GetGeometry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36551 PyObject
*resultobj
= 0;
36552 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36556 PyObject
*swig_obj
[1] ;
36558 if (!args
) SWIG_fail
;
36559 swig_obj
[0] = args
;
36560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36561 if (!SWIG_IsOK(res1
)) {
36562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetGeometry" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36564 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36567 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
36568 wxPyEndAllowThreads(__tstate
);
36569 if (PyErr_Occurred()) SWIG_fail
;
36571 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
36578 SWIGINTERN PyObject
*_wrap_Display_GetClientArea(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36579 PyObject
*resultobj
= 0;
36580 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36584 PyObject
*swig_obj
[1] ;
36586 if (!args
) SWIG_fail
;
36587 swig_obj
[0] = args
;
36588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36589 if (!SWIG_IsOK(res1
)) {
36590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetClientArea" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36592 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36595 result
= ((wxDisplay
const *)arg1
)->GetClientArea();
36596 wxPyEndAllowThreads(__tstate
);
36597 if (PyErr_Occurred()) SWIG_fail
;
36599 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
36606 SWIGINTERN PyObject
*_wrap_Display_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36607 PyObject
*resultobj
= 0;
36608 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36612 PyObject
*swig_obj
[1] ;
36614 if (!args
) SWIG_fail
;
36615 swig_obj
[0] = args
;
36616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36617 if (!SWIG_IsOK(res1
)) {
36618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetName" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36620 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36623 result
= ((wxDisplay
const *)arg1
)->GetName();
36624 wxPyEndAllowThreads(__tstate
);
36625 if (PyErr_Occurred()) SWIG_fail
;
36629 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36631 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36640 SWIGINTERN PyObject
*_wrap_Display_IsPrimary(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36641 PyObject
*resultobj
= 0;
36642 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36646 PyObject
*swig_obj
[1] ;
36648 if (!args
) SWIG_fail
;
36649 swig_obj
[0] = args
;
36650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36651 if (!SWIG_IsOK(res1
)) {
36652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsPrimary" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36654 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36657 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
36658 wxPyEndAllowThreads(__tstate
);
36659 if (PyErr_Occurred()) SWIG_fail
;
36662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36670 SWIGINTERN PyObject
*_wrap_Display_GetModes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36671 PyObject
*resultobj
= 0;
36672 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36673 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
36674 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
36675 PyObject
*result
= 0 ;
36680 PyObject
* obj0
= 0 ;
36681 PyObject
* obj1
= 0 ;
36682 char * kwnames
[] = {
36683 (char *) "self",(char *) "mode", NULL
36686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36688 if (!SWIG_IsOK(res1
)) {
36689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetModes" "', expected argument " "1"" of type '" "wxDisplay *""'");
36691 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36693 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
36694 if (!SWIG_IsOK(res2
)) {
36695 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36698 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36700 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36704 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
36705 wxPyEndAllowThreads(__tstate
);
36706 if (PyErr_Occurred()) SWIG_fail
;
36708 resultobj
= result
;
36715 SWIGINTERN PyObject
*_wrap_Display_GetCurrentMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36716 PyObject
*resultobj
= 0;
36717 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36718 wxVideoMode result
;
36721 PyObject
*swig_obj
[1] ;
36723 if (!args
) SWIG_fail
;
36724 swig_obj
[0] = args
;
36725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36726 if (!SWIG_IsOK(res1
)) {
36727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetCurrentMode" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36729 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36732 result
= wxDisplay_GetCurrentMode((wxDisplay
const *)arg1
);
36733 wxPyEndAllowThreads(__tstate
);
36734 if (PyErr_Occurred()) SWIG_fail
;
36736 resultobj
= SWIG_NewPointerObj((new wxVideoMode(static_cast< const wxVideoMode
& >(result
))), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_OWN
| 0 );
36743 SWIGINTERN PyObject
*_wrap_Display_ChangeMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36744 PyObject
*resultobj
= 0;
36745 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36746 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
36747 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
36753 PyObject
* obj0
= 0 ;
36754 PyObject
* obj1
= 0 ;
36755 char * kwnames
[] = {
36756 (char *) "self",(char *) "mode", NULL
36759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36761 if (!SWIG_IsOK(res1
)) {
36762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ChangeMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
36764 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36766 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
36767 if (!SWIG_IsOK(res2
)) {
36768 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36771 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36773 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36777 result
= (bool)wxDisplay_ChangeMode(arg1
,(wxVideoMode
const &)*arg2
);
36778 wxPyEndAllowThreads(__tstate
);
36779 if (PyErr_Occurred()) SWIG_fail
;
36782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36790 SWIGINTERN PyObject
*_wrap_Display_ResetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36791 PyObject
*resultobj
= 0;
36792 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36795 PyObject
*swig_obj
[1] ;
36797 if (!args
) SWIG_fail
;
36798 swig_obj
[0] = args
;
36799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36800 if (!SWIG_IsOK(res1
)) {
36801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ResetMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
36803 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36806 wxDisplay_ResetMode(arg1
);
36807 wxPyEndAllowThreads(__tstate
);
36808 if (PyErr_Occurred()) SWIG_fail
;
36810 resultobj
= SWIG_Py_Void();
36817 SWIGINTERN PyObject
*Display_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36819 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36820 SWIG_TypeNewClientData(SWIGTYPE_p_wxDisplay
, SWIG_NewClientData(obj
));
36821 return SWIG_Py_Void();
36824 SWIGINTERN PyObject
*Display_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36825 return SWIG_Python_InitShadowInstance(args
);
36828 SWIGINTERN PyObject
*_wrap_StandardPaths_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36829 PyObject
*resultobj
= 0;
36830 wxStandardPaths
*result
= 0 ;
36832 if (!SWIG_Python_UnpackTuple(args
,"StandardPaths_Get",0,0,0)) SWIG_fail
;
36834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36835 result
= (wxStandardPaths
*)wxStandardPaths_Get();
36836 wxPyEndAllowThreads(__tstate
);
36837 if (PyErr_Occurred()) SWIG_fail
;
36839 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36846 SWIGINTERN PyObject
*_wrap_StandardPaths_GetExecutablePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36847 PyObject
*resultobj
= 0;
36848 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36852 PyObject
*swig_obj
[1] ;
36854 if (!args
) SWIG_fail
;
36855 swig_obj
[0] = args
;
36856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36857 if (!SWIG_IsOK(res1
)) {
36858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetExecutablePath" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36860 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36863 result
= ((wxStandardPaths
const *)arg1
)->GetExecutablePath();
36864 wxPyEndAllowThreads(__tstate
);
36865 if (PyErr_Occurred()) SWIG_fail
;
36869 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36871 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36880 SWIGINTERN PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36881 PyObject
*resultobj
= 0;
36882 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36886 PyObject
*swig_obj
[1] ;
36888 if (!args
) SWIG_fail
;
36889 swig_obj
[0] = args
;
36890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36891 if (!SWIG_IsOK(res1
)) {
36892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36894 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36897 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
36898 wxPyEndAllowThreads(__tstate
);
36899 if (PyErr_Occurred()) SWIG_fail
;
36903 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36905 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36914 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36915 PyObject
*resultobj
= 0;
36916 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36920 PyObject
*swig_obj
[1] ;
36922 if (!args
) SWIG_fail
;
36923 swig_obj
[0] = args
;
36924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36925 if (!SWIG_IsOK(res1
)) {
36926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36928 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36931 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
36932 wxPyEndAllowThreads(__tstate
);
36933 if (PyErr_Occurred()) SWIG_fail
;
36937 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36939 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36948 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36949 PyObject
*resultobj
= 0;
36950 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36954 PyObject
*swig_obj
[1] ;
36956 if (!args
) SWIG_fail
;
36957 swig_obj
[0] = args
;
36958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36959 if (!SWIG_IsOK(res1
)) {
36960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36962 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36965 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
36966 wxPyEndAllowThreads(__tstate
);
36967 if (PyErr_Occurred()) SWIG_fail
;
36971 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36973 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36982 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36983 PyObject
*resultobj
= 0;
36984 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36988 PyObject
*swig_obj
[1] ;
36990 if (!args
) SWIG_fail
;
36991 swig_obj
[0] = args
;
36992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36993 if (!SWIG_IsOK(res1
)) {
36994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36996 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36999 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
37000 wxPyEndAllowThreads(__tstate
);
37001 if (PyErr_Occurred()) SWIG_fail
;
37005 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37007 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37016 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37017 PyObject
*resultobj
= 0;
37018 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37022 PyObject
*swig_obj
[1] ;
37024 if (!args
) SWIG_fail
;
37025 swig_obj
[0] = args
;
37026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37027 if (!SWIG_IsOK(res1
)) {
37028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37030 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37033 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
37034 wxPyEndAllowThreads(__tstate
);
37035 if (PyErr_Occurred()) SWIG_fail
;
37039 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37041 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37050 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37051 PyObject
*resultobj
= 0;
37052 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37056 PyObject
*swig_obj
[1] ;
37058 if (!args
) SWIG_fail
;
37059 swig_obj
[0] = args
;
37060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37061 if (!SWIG_IsOK(res1
)) {
37062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37064 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37067 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
37068 wxPyEndAllowThreads(__tstate
);
37069 if (PyErr_Occurred()) SWIG_fail
;
37073 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37075 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37084 SWIGINTERN PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37085 PyObject
*resultobj
= 0;
37086 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37090 PyObject
*swig_obj
[1] ;
37092 if (!args
) SWIG_fail
;
37093 swig_obj
[0] = args
;
37094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37095 if (!SWIG_IsOK(res1
)) {
37096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetPluginsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37098 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37101 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
37102 wxPyEndAllowThreads(__tstate
);
37103 if (PyErr_Occurred()) SWIG_fail
;
37107 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37109 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37118 SWIGINTERN PyObject
*_wrap_StandardPaths_GetResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37119 PyObject
*resultobj
= 0;
37120 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37124 PyObject
*swig_obj
[1] ;
37126 if (!args
) SWIG_fail
;
37127 swig_obj
[0] = args
;
37128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37129 if (!SWIG_IsOK(res1
)) {
37130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37132 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37135 result
= ((wxStandardPaths
const *)arg1
)->GetResourcesDir();
37136 wxPyEndAllowThreads(__tstate
);
37137 if (PyErr_Occurred()) SWIG_fail
;
37141 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37143 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37152 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalizedResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37153 PyObject
*resultobj
= 0;
37154 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37155 wxString
*arg2
= 0 ;
37156 wxStandardPaths::ResourceCat arg3
= (wxStandardPaths::ResourceCat
) wxStandardPaths::ResourceCat_None
;
37160 bool temp2
= false ;
37163 PyObject
* obj0
= 0 ;
37164 PyObject
* obj1
= 0 ;
37165 PyObject
* obj2
= 0 ;
37166 char * kwnames
[] = {
37167 (char *) "self",(char *) "lang",(char *) "category", NULL
37170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StandardPaths_GetLocalizedResourcesDir",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37172 if (!SWIG_IsOK(res1
)) {
37173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37175 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37177 arg2
= wxString_in_helper(obj1
);
37178 if (arg2
== NULL
) SWIG_fail
;
37182 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37183 if (!SWIG_IsOK(ecode3
)) {
37184 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "3"" of type '" "wxStandardPaths::ResourceCat""'");
37186 arg3
= static_cast< wxStandardPaths::ResourceCat
>(val3
);
37189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37190 result
= ((wxStandardPaths
const *)arg1
)->GetLocalizedResourcesDir((wxString
const &)*arg2
,arg3
);
37191 wxPyEndAllowThreads(__tstate
);
37192 if (PyErr_Occurred()) SWIG_fail
;
37196 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37198 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37215 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDocumentsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37216 PyObject
*resultobj
= 0;
37217 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37221 PyObject
*swig_obj
[1] ;
37223 if (!args
) SWIG_fail
;
37224 swig_obj
[0] = args
;
37225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37226 if (!SWIG_IsOK(res1
)) {
37227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDocumentsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37229 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37232 result
= ((wxStandardPaths
const *)arg1
)->GetDocumentsDir();
37233 wxPyEndAllowThreads(__tstate
);
37234 if (PyErr_Occurred()) SWIG_fail
;
37238 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37240 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37249 SWIGINTERN PyObject
*_wrap_StandardPaths_GetTempDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37250 PyObject
*resultobj
= 0;
37251 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37255 PyObject
*swig_obj
[1] ;
37257 if (!args
) SWIG_fail
;
37258 swig_obj
[0] = args
;
37259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37260 if (!SWIG_IsOK(res1
)) {
37261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetTempDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37263 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37266 result
= ((wxStandardPaths
const *)arg1
)->GetTempDir();
37267 wxPyEndAllowThreads(__tstate
);
37268 if (PyErr_Occurred()) SWIG_fail
;
37272 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37274 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37283 SWIGINTERN PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37284 PyObject
*resultobj
= 0;
37285 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37286 wxString
*arg2
= 0 ;
37289 bool temp2
= false ;
37290 PyObject
* obj0
= 0 ;
37291 PyObject
* obj1
= 0 ;
37292 char * kwnames
[] = {
37293 (char *) "self",(char *) "prefix", NULL
37296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37298 if (!SWIG_IsOK(res1
)) {
37299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_SetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths *""'");
37301 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37303 arg2
= wxString_in_helper(obj1
);
37304 if (arg2
== NULL
) SWIG_fail
;
37308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37309 (arg1
)->SetInstallPrefix((wxString
const &)*arg2
);
37310 wxPyEndAllowThreads(__tstate
);
37311 if (PyErr_Occurred()) SWIG_fail
;
37313 resultobj
= SWIG_Py_Void();
37328 SWIGINTERN PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37329 PyObject
*resultobj
= 0;
37330 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37334 PyObject
*swig_obj
[1] ;
37336 if (!args
) SWIG_fail
;
37337 swig_obj
[0] = args
;
37338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37339 if (!SWIG_IsOK(res1
)) {
37340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37342 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37345 result
= ((wxStandardPaths
const *)arg1
)->GetInstallPrefix();
37346 wxPyEndAllowThreads(__tstate
);
37347 if (PyErr_Occurred()) SWIG_fail
;
37351 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37353 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37362 SWIGINTERN PyObject
*StandardPaths_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37364 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37365 SWIG_TypeNewClientData(SWIGTYPE_p_wxStandardPaths
, SWIG_NewClientData(obj
));
37366 return SWIG_Py_Void();
37369 SWIGINTERN PyObject
*_wrap_new_PowerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37370 PyObject
*resultobj
= 0;
37372 wxPowerEvent
*result
= 0 ;
37375 PyObject
* obj0
= 0 ;
37376 char * kwnames
[] = {
37377 (char *) "evtType", NULL
37380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PowerEvent",kwnames
,&obj0
)) SWIG_fail
;
37381 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37382 if (!SWIG_IsOK(ecode1
)) {
37383 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PowerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
37385 arg1
= static_cast< wxEventType
>(val1
);
37387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37388 result
= (wxPowerEvent
*)new wxPowerEvent(arg1
);
37389 wxPyEndAllowThreads(__tstate
);
37390 if (PyErr_Occurred()) SWIG_fail
;
37392 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPowerEvent
, SWIG_POINTER_NEW
| 0 );
37399 SWIGINTERN PyObject
*_wrap_PowerEvent_Veto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37400 PyObject
*resultobj
= 0;
37401 wxPowerEvent
*arg1
= (wxPowerEvent
*) 0 ;
37404 PyObject
*swig_obj
[1] ;
37406 if (!args
) SWIG_fail
;
37407 swig_obj
[0] = args
;
37408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPowerEvent
, 0 | 0 );
37409 if (!SWIG_IsOK(res1
)) {
37410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PowerEvent_Veto" "', expected argument " "1"" of type '" "wxPowerEvent *""'");
37412 arg1
= reinterpret_cast< wxPowerEvent
* >(argp1
);
37414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37416 wxPyEndAllowThreads(__tstate
);
37417 if (PyErr_Occurred()) SWIG_fail
;
37419 resultobj
= SWIG_Py_Void();
37426 SWIGINTERN PyObject
*_wrap_PowerEvent_IsVetoed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37427 PyObject
*resultobj
= 0;
37428 wxPowerEvent
*arg1
= (wxPowerEvent
*) 0 ;
37432 PyObject
*swig_obj
[1] ;
37434 if (!args
) SWIG_fail
;
37435 swig_obj
[0] = args
;
37436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPowerEvent
, 0 | 0 );
37437 if (!SWIG_IsOK(res1
)) {
37438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PowerEvent_IsVetoed" "', expected argument " "1"" of type '" "wxPowerEvent const *""'");
37440 arg1
= reinterpret_cast< wxPowerEvent
* >(argp1
);
37442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37443 result
= (bool)((wxPowerEvent
const *)arg1
)->IsVetoed();
37444 wxPyEndAllowThreads(__tstate
);
37445 if (PyErr_Occurred()) SWIG_fail
;
37448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37456 SWIGINTERN PyObject
*PowerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37458 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37459 SWIG_TypeNewClientData(SWIGTYPE_p_wxPowerEvent
, SWIG_NewClientData(obj
));
37460 return SWIG_Py_Void();
37463 SWIGINTERN PyObject
*PowerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37464 return SWIG_Python_InitShadowInstance(args
);
37467 SWIGINTERN PyObject
*_wrap_GetPowerType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37468 PyObject
*resultobj
= 0;
37469 wxPowerType result
;
37471 if (!SWIG_Python_UnpackTuple(args
,"GetPowerType",0,0,0)) SWIG_fail
;
37473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37474 result
= (wxPowerType
)wxGetPowerType();
37475 wxPyEndAllowThreads(__tstate
);
37476 if (PyErr_Occurred()) SWIG_fail
;
37478 resultobj
= SWIG_From_int(static_cast< int >(result
));
37485 SWIGINTERN PyObject
*_wrap_GetBatteryState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37486 PyObject
*resultobj
= 0;
37487 wxBatteryState result
;
37489 if (!SWIG_Python_UnpackTuple(args
,"GetBatteryState",0,0,0)) SWIG_fail
;
37491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37492 result
= (wxBatteryState
)wxGetBatteryState();
37493 wxPyEndAllowThreads(__tstate
);
37494 if (PyErr_Occurred()) SWIG_fail
;
37496 resultobj
= SWIG_From_int(static_cast< int >(result
));
37503 SWIGINTERN PyObject
*_wrap_new_AboutDialogInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37504 PyObject
*resultobj
= 0;
37505 wxAboutDialogInfo
*result
= 0 ;
37507 if (!SWIG_Python_UnpackTuple(args
,"new_AboutDialogInfo",0,0,0)) SWIG_fail
;
37509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37510 result
= (wxAboutDialogInfo
*)new wxAboutDialogInfo();
37511 wxPyEndAllowThreads(__tstate
);
37512 if (PyErr_Occurred()) SWIG_fail
;
37514 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAboutDialogInfo
, SWIG_POINTER_NEW
| 0 );
37521 SWIGINTERN PyObject
*_wrap_delete_AboutDialogInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37522 PyObject
*resultobj
= 0;
37523 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37526 PyObject
*swig_obj
[1] ;
37528 if (!args
) SWIG_fail
;
37529 swig_obj
[0] = args
;
37530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, SWIG_POINTER_DISOWN
| 0 );
37531 if (!SWIG_IsOK(res1
)) {
37532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AboutDialogInfo" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
37534 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37539 wxPyEndAllowThreads(__tstate
);
37540 if (PyErr_Occurred()) SWIG_fail
;
37542 resultobj
= SWIG_Py_Void();
37549 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37550 PyObject
*resultobj
= 0;
37551 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37552 wxString
*arg2
= 0 ;
37555 bool temp2
= false ;
37556 PyObject
* obj0
= 0 ;
37557 PyObject
* obj1
= 0 ;
37558 char * kwnames
[] = {
37559 (char *) "self",(char *) "name", NULL
37562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37564 if (!SWIG_IsOK(res1
)) {
37565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetName" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
37567 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37569 arg2
= wxString_in_helper(obj1
);
37570 if (arg2
== NULL
) SWIG_fail
;
37574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37575 (arg1
)->SetName((wxString
const &)*arg2
);
37576 wxPyEndAllowThreads(__tstate
);
37577 if (PyErr_Occurred()) SWIG_fail
;
37579 resultobj
= SWIG_Py_Void();
37594 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37595 PyObject
*resultobj
= 0;
37596 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37600 PyObject
*swig_obj
[1] ;
37602 if (!args
) SWIG_fail
;
37603 swig_obj
[0] = args
;
37604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37605 if (!SWIG_IsOK(res1
)) {
37606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetName" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37608 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37611 result
= ((wxAboutDialogInfo
const *)arg1
)->GetName();
37612 wxPyEndAllowThreads(__tstate
);
37613 if (PyErr_Occurred()) SWIG_fail
;
37617 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37619 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37628 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37629 PyObject
*resultobj
= 0;
37630 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37631 wxString
*arg2
= 0 ;
37634 bool temp2
= false ;
37635 PyObject
* obj0
= 0 ;
37636 PyObject
* obj1
= 0 ;
37637 char * kwnames
[] = {
37638 (char *) "self",(char *) "version", NULL
37641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37643 if (!SWIG_IsOK(res1
)) {
37644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetVersion" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
37646 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37648 arg2
= wxString_in_helper(obj1
);
37649 if (arg2
== NULL
) SWIG_fail
;
37653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37654 (arg1
)->SetVersion((wxString
const &)*arg2
);
37655 wxPyEndAllowThreads(__tstate
);
37656 if (PyErr_Occurred()) SWIG_fail
;
37658 resultobj
= SWIG_Py_Void();
37673 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37674 PyObject
*resultobj
= 0;
37675 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37679 PyObject
*swig_obj
[1] ;
37681 if (!args
) SWIG_fail
;
37682 swig_obj
[0] = args
;
37683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37684 if (!SWIG_IsOK(res1
)) {
37685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasVersion" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37687 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37690 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasVersion();
37691 wxPyEndAllowThreads(__tstate
);
37692 if (PyErr_Occurred()) SWIG_fail
;
37695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37703 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37704 PyObject
*resultobj
= 0;
37705 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37709 PyObject
*swig_obj
[1] ;
37711 if (!args
) SWIG_fail
;
37712 swig_obj
[0] = args
;
37713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37714 if (!SWIG_IsOK(res1
)) {
37715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetVersion" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37717 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37720 result
= ((wxAboutDialogInfo
const *)arg1
)->GetVersion();
37721 wxPyEndAllowThreads(__tstate
);
37722 if (PyErr_Occurred()) SWIG_fail
;
37726 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37728 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37737 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37738 PyObject
*resultobj
= 0;
37739 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37740 wxString
*arg2
= 0 ;
37743 bool temp2
= false ;
37744 PyObject
* obj0
= 0 ;
37745 PyObject
* obj1
= 0 ;
37746 char * kwnames
[] = {
37747 (char *) "self",(char *) "desc", NULL
37750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetDescription",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37752 if (!SWIG_IsOK(res1
)) {
37753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetDescription" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
37755 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37757 arg2
= wxString_in_helper(obj1
);
37758 if (arg2
== NULL
) SWIG_fail
;
37762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37763 (arg1
)->SetDescription((wxString
const &)*arg2
);
37764 wxPyEndAllowThreads(__tstate
);
37765 if (PyErr_Occurred()) SWIG_fail
;
37767 resultobj
= SWIG_Py_Void();
37782 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37783 PyObject
*resultobj
= 0;
37784 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37788 PyObject
*swig_obj
[1] ;
37790 if (!args
) SWIG_fail
;
37791 swig_obj
[0] = args
;
37792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37793 if (!SWIG_IsOK(res1
)) {
37794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasDescription" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37796 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37799 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasDescription();
37800 wxPyEndAllowThreads(__tstate
);
37801 if (PyErr_Occurred()) SWIG_fail
;
37804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37812 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37813 PyObject
*resultobj
= 0;
37814 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37818 PyObject
*swig_obj
[1] ;
37820 if (!args
) SWIG_fail
;
37821 swig_obj
[0] = args
;
37822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37823 if (!SWIG_IsOK(res1
)) {
37824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetDescription" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37826 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37829 result
= ((wxAboutDialogInfo
const *)arg1
)->GetDescription();
37830 wxPyEndAllowThreads(__tstate
);
37831 if (PyErr_Occurred()) SWIG_fail
;
37835 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37837 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37846 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetCopyright(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37847 PyObject
*resultobj
= 0;
37848 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37849 wxString
*arg2
= 0 ;
37852 bool temp2
= false ;
37853 PyObject
* obj0
= 0 ;
37854 PyObject
* obj1
= 0 ;
37855 char * kwnames
[] = {
37856 (char *) "self",(char *) "copyright", NULL
37859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetCopyright",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37861 if (!SWIG_IsOK(res1
)) {
37862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetCopyright" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
37864 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37866 arg2
= wxString_in_helper(obj1
);
37867 if (arg2
== NULL
) SWIG_fail
;
37871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37872 (arg1
)->SetCopyright((wxString
const &)*arg2
);
37873 wxPyEndAllowThreads(__tstate
);
37874 if (PyErr_Occurred()) SWIG_fail
;
37876 resultobj
= SWIG_Py_Void();
37891 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasCopyright(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37892 PyObject
*resultobj
= 0;
37893 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37897 PyObject
*swig_obj
[1] ;
37899 if (!args
) SWIG_fail
;
37900 swig_obj
[0] = args
;
37901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37902 if (!SWIG_IsOK(res1
)) {
37903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasCopyright" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37905 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37908 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasCopyright();
37909 wxPyEndAllowThreads(__tstate
);
37910 if (PyErr_Occurred()) SWIG_fail
;
37913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37921 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetCopyright(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37922 PyObject
*resultobj
= 0;
37923 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37927 PyObject
*swig_obj
[1] ;
37929 if (!args
) SWIG_fail
;
37930 swig_obj
[0] = args
;
37931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37932 if (!SWIG_IsOK(res1
)) {
37933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetCopyright" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37935 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37938 result
= ((wxAboutDialogInfo
const *)arg1
)->GetCopyright();
37939 wxPyEndAllowThreads(__tstate
);
37940 if (PyErr_Occurred()) SWIG_fail
;
37944 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37946 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37955 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetLicence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37956 PyObject
*resultobj
= 0;
37957 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37958 wxString
*arg2
= 0 ;
37961 bool temp2
= false ;
37962 PyObject
* obj0
= 0 ;
37963 PyObject
* obj1
= 0 ;
37964 char * kwnames
[] = {
37965 (char *) "self",(char *) "licence", NULL
37968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetLicence",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37970 if (!SWIG_IsOK(res1
)) {
37971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetLicence" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
37973 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37975 arg2
= wxString_in_helper(obj1
);
37976 if (arg2
== NULL
) SWIG_fail
;
37980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37981 (arg1
)->SetLicence((wxString
const &)*arg2
);
37982 wxPyEndAllowThreads(__tstate
);
37983 if (PyErr_Occurred()) SWIG_fail
;
37985 resultobj
= SWIG_Py_Void();
38000 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetLicense(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_SetLicense",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_SetLicense" "', 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
)->SetLicense((wxString
const &)*arg2
);
38027 wxPyEndAllowThreads(__tstate
);
38028 if (PyErr_Occurred()) SWIG_fail
;
38030 resultobj
= SWIG_Py_Void();
38045 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasLicence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38046 PyObject
*resultobj
= 0;
38047 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38051 PyObject
*swig_obj
[1] ;
38053 if (!args
) SWIG_fail
;
38054 swig_obj
[0] = args
;
38055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38056 if (!SWIG_IsOK(res1
)) {
38057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasLicence" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38059 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38062 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasLicence();
38063 wxPyEndAllowThreads(__tstate
);
38064 if (PyErr_Occurred()) SWIG_fail
;
38067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38075 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetLicence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38076 PyObject
*resultobj
= 0;
38077 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38081 PyObject
*swig_obj
[1] ;
38083 if (!args
) SWIG_fail
;
38084 swig_obj
[0] = args
;
38085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38086 if (!SWIG_IsOK(res1
)) {
38087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetLicence" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38089 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38092 result
= ((wxAboutDialogInfo
const *)arg1
)->GetLicence();
38093 wxPyEndAllowThreads(__tstate
);
38094 if (PyErr_Occurred()) SWIG_fail
;
38098 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38100 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38109 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38110 PyObject
*resultobj
= 0;
38111 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38117 PyObject
* obj0
= 0 ;
38118 PyObject
* obj1
= 0 ;
38119 char * kwnames
[] = {
38120 (char *) "self",(char *) "icon", NULL
38123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38125 if (!SWIG_IsOK(res1
)) {
38126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetIcon" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38128 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38129 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
38130 if (!SWIG_IsOK(res2
)) {
38131 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AboutDialogInfo_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
38134 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AboutDialogInfo_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
38136 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
38138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38139 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
38140 wxPyEndAllowThreads(__tstate
);
38141 if (PyErr_Occurred()) SWIG_fail
;
38143 resultobj
= SWIG_Py_Void();
38150 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38151 PyObject
*resultobj
= 0;
38152 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38156 PyObject
*swig_obj
[1] ;
38158 if (!args
) SWIG_fail
;
38159 swig_obj
[0] = args
;
38160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38161 if (!SWIG_IsOK(res1
)) {
38162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasIcon" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38164 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38167 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasIcon();
38168 wxPyEndAllowThreads(__tstate
);
38169 if (PyErr_Occurred()) SWIG_fail
;
38172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38180 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38181 PyObject
*resultobj
= 0;
38182 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38186 PyObject
*swig_obj
[1] ;
38188 if (!args
) SWIG_fail
;
38189 swig_obj
[0] = args
;
38190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38191 if (!SWIG_IsOK(res1
)) {
38192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetIcon" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38194 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38197 result
= ((wxAboutDialogInfo
const *)arg1
)->GetIcon();
38198 wxPyEndAllowThreads(__tstate
);
38199 if (PyErr_Occurred()) SWIG_fail
;
38201 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
38208 SWIGINTERN PyObject
*_wrap_AboutDialogInfo__SetWebSite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38209 PyObject
*resultobj
= 0;
38210 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38211 wxString
*arg2
= 0 ;
38212 wxString
const &arg3_defvalue
= wxEmptyString
;
38213 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
38216 bool temp2
= false ;
38217 bool temp3
= false ;
38218 PyObject
* obj0
= 0 ;
38219 PyObject
* obj1
= 0 ;
38220 PyObject
* obj2
= 0 ;
38221 char * kwnames
[] = {
38222 (char *) "self",(char *) "url",(char *) "desc", NULL
38225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:AboutDialogInfo__SetWebSite",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38227 if (!SWIG_IsOK(res1
)) {
38228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo__SetWebSite" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38230 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38232 arg2
= wxString_in_helper(obj1
);
38233 if (arg2
== NULL
) SWIG_fail
;
38238 arg3
= wxString_in_helper(obj2
);
38239 if (arg3
== NULL
) SWIG_fail
;
38244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38245 (arg1
)->SetWebSite((wxString
const &)*arg2
,(wxString
const &)*arg3
);
38246 wxPyEndAllowThreads(__tstate
);
38247 if (PyErr_Occurred()) SWIG_fail
;
38249 resultobj
= SWIG_Py_Void();
38272 SWIGINTERN PyObject
*_wrap_AboutDialogInfo__GetWebSiteURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38273 PyObject
*resultobj
= 0;
38274 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38278 PyObject
*swig_obj
[1] ;
38280 if (!args
) SWIG_fail
;
38281 swig_obj
[0] = args
;
38282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38283 if (!SWIG_IsOK(res1
)) {
38284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo__GetWebSiteURL" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38286 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38289 result
= ((wxAboutDialogInfo
const *)arg1
)->GetWebSiteURL();
38290 wxPyEndAllowThreads(__tstate
);
38291 if (PyErr_Occurred()) SWIG_fail
;
38295 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38297 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38306 SWIGINTERN PyObject
*_wrap_AboutDialogInfo__GetWebSiteDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38307 PyObject
*resultobj
= 0;
38308 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38312 PyObject
*swig_obj
[1] ;
38314 if (!args
) SWIG_fail
;
38315 swig_obj
[0] = args
;
38316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38317 if (!SWIG_IsOK(res1
)) {
38318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo__GetWebSiteDescription" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38320 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38323 result
= ((wxAboutDialogInfo
const *)arg1
)->GetWebSiteDescription();
38324 wxPyEndAllowThreads(__tstate
);
38325 if (PyErr_Occurred()) SWIG_fail
;
38329 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38331 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38340 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasWebSite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38341 PyObject
*resultobj
= 0;
38342 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38346 PyObject
*swig_obj
[1] ;
38348 if (!args
) SWIG_fail
;
38349 swig_obj
[0] = args
;
38350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38351 if (!SWIG_IsOK(res1
)) {
38352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasWebSite" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38354 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38357 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasWebSite();
38358 wxPyEndAllowThreads(__tstate
);
38359 if (PyErr_Occurred()) SWIG_fail
;
38362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38370 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetDevelopers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38371 PyObject
*resultobj
= 0;
38372 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38373 wxArrayString
*arg2
= 0 ;
38376 bool temp2
= false ;
38377 PyObject
* obj0
= 0 ;
38378 PyObject
* obj1
= 0 ;
38379 char * kwnames
[] = {
38380 (char *) "self",(char *) "developers", NULL
38383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetDevelopers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38385 if (!SWIG_IsOK(res1
)) {
38386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetDevelopers" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38388 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38390 if (! PySequence_Check(obj1
)) {
38391 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
38394 arg2
= new wxArrayString
;
38396 int i
, len
=PySequence_Length(obj1
);
38397 for (i
=0; i
<len
; i
++) {
38398 PyObject
* item
= PySequence_GetItem(obj1
, i
);
38399 wxString
* s
= wxString_in_helper(item
);
38400 if (PyErr_Occurred()) SWIG_fail
;
38407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38408 (arg1
)->SetDevelopers((wxArrayString
const &)*arg2
);
38409 wxPyEndAllowThreads(__tstate
);
38410 if (PyErr_Occurred()) SWIG_fail
;
38412 resultobj
= SWIG_Py_Void();
38414 if (temp2
) delete arg2
;
38419 if (temp2
) delete arg2
;
38425 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_AddDeveloper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38426 PyObject
*resultobj
= 0;
38427 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38428 wxString
*arg2
= 0 ;
38431 bool temp2
= false ;
38432 PyObject
* obj0
= 0 ;
38433 PyObject
* obj1
= 0 ;
38434 char * kwnames
[] = {
38435 (char *) "self",(char *) "developer", NULL
38438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_AddDeveloper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38440 if (!SWIG_IsOK(res1
)) {
38441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_AddDeveloper" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38443 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38445 arg2
= wxString_in_helper(obj1
);
38446 if (arg2
== NULL
) SWIG_fail
;
38450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38451 (arg1
)->AddDeveloper((wxString
const &)*arg2
);
38452 wxPyEndAllowThreads(__tstate
);
38453 if (PyErr_Occurred()) SWIG_fail
;
38455 resultobj
= SWIG_Py_Void();
38470 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasDevelopers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38471 PyObject
*resultobj
= 0;
38472 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38476 PyObject
*swig_obj
[1] ;
38478 if (!args
) SWIG_fail
;
38479 swig_obj
[0] = args
;
38480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38481 if (!SWIG_IsOK(res1
)) {
38482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasDevelopers" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38484 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38487 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasDevelopers();
38488 wxPyEndAllowThreads(__tstate
);
38489 if (PyErr_Occurred()) SWIG_fail
;
38492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38500 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetDevelopers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38501 PyObject
*resultobj
= 0;
38502 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38503 wxArrayString
*result
= 0 ;
38506 PyObject
*swig_obj
[1] ;
38508 if (!args
) SWIG_fail
;
38509 swig_obj
[0] = args
;
38510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38511 if (!SWIG_IsOK(res1
)) {
38512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetDevelopers" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38514 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38518 wxArrayString
const &_result_ref
= ((wxAboutDialogInfo
const *)arg1
)->GetDevelopers();
38519 result
= (wxArrayString
*) &_result_ref
;
38521 wxPyEndAllowThreads(__tstate
);
38522 if (PyErr_Occurred()) SWIG_fail
;
38525 resultobj
= wxArrayString2PyList_helper(*result
);
38533 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetDocWriters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38534 PyObject
*resultobj
= 0;
38535 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38536 wxArrayString
*arg2
= 0 ;
38539 bool temp2
= false ;
38540 PyObject
* obj0
= 0 ;
38541 PyObject
* obj1
= 0 ;
38542 char * kwnames
[] = {
38543 (char *) "self",(char *) "docwriters", NULL
38546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetDocWriters",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38548 if (!SWIG_IsOK(res1
)) {
38549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetDocWriters" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38551 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38553 if (! PySequence_Check(obj1
)) {
38554 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
38557 arg2
= new wxArrayString
;
38559 int i
, len
=PySequence_Length(obj1
);
38560 for (i
=0; i
<len
; i
++) {
38561 PyObject
* item
= PySequence_GetItem(obj1
, i
);
38562 wxString
* s
= wxString_in_helper(item
);
38563 if (PyErr_Occurred()) SWIG_fail
;
38570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38571 (arg1
)->SetDocWriters((wxArrayString
const &)*arg2
);
38572 wxPyEndAllowThreads(__tstate
);
38573 if (PyErr_Occurred()) SWIG_fail
;
38575 resultobj
= SWIG_Py_Void();
38577 if (temp2
) delete arg2
;
38582 if (temp2
) delete arg2
;
38588 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_AddDocWriter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38589 PyObject
*resultobj
= 0;
38590 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38591 wxString
*arg2
= 0 ;
38594 bool temp2
= false ;
38595 PyObject
* obj0
= 0 ;
38596 PyObject
* obj1
= 0 ;
38597 char * kwnames
[] = {
38598 (char *) "self",(char *) "docwriter", NULL
38601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_AddDocWriter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38603 if (!SWIG_IsOK(res1
)) {
38604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_AddDocWriter" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38606 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38608 arg2
= wxString_in_helper(obj1
);
38609 if (arg2
== NULL
) SWIG_fail
;
38613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38614 (arg1
)->AddDocWriter((wxString
const &)*arg2
);
38615 wxPyEndAllowThreads(__tstate
);
38616 if (PyErr_Occurred()) SWIG_fail
;
38618 resultobj
= SWIG_Py_Void();
38633 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasDocWriters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38634 PyObject
*resultobj
= 0;
38635 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38639 PyObject
*swig_obj
[1] ;
38641 if (!args
) SWIG_fail
;
38642 swig_obj
[0] = args
;
38643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38644 if (!SWIG_IsOK(res1
)) {
38645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasDocWriters" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38647 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38650 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasDocWriters();
38651 wxPyEndAllowThreads(__tstate
);
38652 if (PyErr_Occurred()) SWIG_fail
;
38655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38663 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetDocWriters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38664 PyObject
*resultobj
= 0;
38665 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38666 wxArrayString
*result
= 0 ;
38669 PyObject
*swig_obj
[1] ;
38671 if (!args
) SWIG_fail
;
38672 swig_obj
[0] = args
;
38673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38674 if (!SWIG_IsOK(res1
)) {
38675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetDocWriters" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38677 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38681 wxArrayString
const &_result_ref
= ((wxAboutDialogInfo
const *)arg1
)->GetDocWriters();
38682 result
= (wxArrayString
*) &_result_ref
;
38684 wxPyEndAllowThreads(__tstate
);
38685 if (PyErr_Occurred()) SWIG_fail
;
38688 resultobj
= wxArrayString2PyList_helper(*result
);
38696 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetArtists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38697 PyObject
*resultobj
= 0;
38698 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38699 wxArrayString
*arg2
= 0 ;
38702 bool temp2
= false ;
38703 PyObject
* obj0
= 0 ;
38704 PyObject
* obj1
= 0 ;
38705 char * kwnames
[] = {
38706 (char *) "self",(char *) "artists", NULL
38709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetArtists",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38711 if (!SWIG_IsOK(res1
)) {
38712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetArtists" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38714 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38716 if (! PySequence_Check(obj1
)) {
38717 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
38720 arg2
= new wxArrayString
;
38722 int i
, len
=PySequence_Length(obj1
);
38723 for (i
=0; i
<len
; i
++) {
38724 PyObject
* item
= PySequence_GetItem(obj1
, i
);
38725 wxString
* s
= wxString_in_helper(item
);
38726 if (PyErr_Occurred()) SWIG_fail
;
38733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38734 (arg1
)->SetArtists((wxArrayString
const &)*arg2
);
38735 wxPyEndAllowThreads(__tstate
);
38736 if (PyErr_Occurred()) SWIG_fail
;
38738 resultobj
= SWIG_Py_Void();
38740 if (temp2
) delete arg2
;
38745 if (temp2
) delete arg2
;
38751 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_AddArtist(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38752 PyObject
*resultobj
= 0;
38753 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38754 wxString
*arg2
= 0 ;
38757 bool temp2
= false ;
38758 PyObject
* obj0
= 0 ;
38759 PyObject
* obj1
= 0 ;
38760 char * kwnames
[] = {
38761 (char *) "self",(char *) "artist", NULL
38764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_AddArtist",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38766 if (!SWIG_IsOK(res1
)) {
38767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_AddArtist" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38769 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38771 arg2
= wxString_in_helper(obj1
);
38772 if (arg2
== NULL
) SWIG_fail
;
38776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38777 (arg1
)->AddArtist((wxString
const &)*arg2
);
38778 wxPyEndAllowThreads(__tstate
);
38779 if (PyErr_Occurred()) SWIG_fail
;
38781 resultobj
= SWIG_Py_Void();
38796 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasArtists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38797 PyObject
*resultobj
= 0;
38798 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38802 PyObject
*swig_obj
[1] ;
38804 if (!args
) SWIG_fail
;
38805 swig_obj
[0] = args
;
38806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38807 if (!SWIG_IsOK(res1
)) {
38808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasArtists" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38810 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38813 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasArtists();
38814 wxPyEndAllowThreads(__tstate
);
38815 if (PyErr_Occurred()) SWIG_fail
;
38818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38826 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetArtists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38827 PyObject
*resultobj
= 0;
38828 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38829 wxArrayString
*result
= 0 ;
38832 PyObject
*swig_obj
[1] ;
38834 if (!args
) SWIG_fail
;
38835 swig_obj
[0] = args
;
38836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38837 if (!SWIG_IsOK(res1
)) {
38838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetArtists" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38840 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38844 wxArrayString
const &_result_ref
= ((wxAboutDialogInfo
const *)arg1
)->GetArtists();
38845 result
= (wxArrayString
*) &_result_ref
;
38847 wxPyEndAllowThreads(__tstate
);
38848 if (PyErr_Occurred()) SWIG_fail
;
38851 resultobj
= wxArrayString2PyList_helper(*result
);
38859 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetTranslators(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38860 PyObject
*resultobj
= 0;
38861 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38862 wxArrayString
*arg2
= 0 ;
38865 bool temp2
= false ;
38866 PyObject
* obj0
= 0 ;
38867 PyObject
* obj1
= 0 ;
38868 char * kwnames
[] = {
38869 (char *) "self",(char *) "translators", NULL
38872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetTranslators",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38874 if (!SWIG_IsOK(res1
)) {
38875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetTranslators" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38877 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38879 if (! PySequence_Check(obj1
)) {
38880 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
38883 arg2
= new wxArrayString
;
38885 int i
, len
=PySequence_Length(obj1
);
38886 for (i
=0; i
<len
; i
++) {
38887 PyObject
* item
= PySequence_GetItem(obj1
, i
);
38888 wxString
* s
= wxString_in_helper(item
);
38889 if (PyErr_Occurred()) SWIG_fail
;
38896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38897 (arg1
)->SetTranslators((wxArrayString
const &)*arg2
);
38898 wxPyEndAllowThreads(__tstate
);
38899 if (PyErr_Occurred()) SWIG_fail
;
38901 resultobj
= SWIG_Py_Void();
38903 if (temp2
) delete arg2
;
38908 if (temp2
) delete arg2
;
38914 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_AddTranslator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38915 PyObject
*resultobj
= 0;
38916 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38917 wxString
*arg2
= 0 ;
38920 bool temp2
= false ;
38921 PyObject
* obj0
= 0 ;
38922 PyObject
* obj1
= 0 ;
38923 char * kwnames
[] = {
38924 (char *) "self",(char *) "translator", NULL
38927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_AddTranslator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38929 if (!SWIG_IsOK(res1
)) {
38930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_AddTranslator" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38932 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38934 arg2
= wxString_in_helper(obj1
);
38935 if (arg2
== NULL
) SWIG_fail
;
38939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38940 (arg1
)->AddTranslator((wxString
const &)*arg2
);
38941 wxPyEndAllowThreads(__tstate
);
38942 if (PyErr_Occurred()) SWIG_fail
;
38944 resultobj
= SWIG_Py_Void();
38959 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasTranslators(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38960 PyObject
*resultobj
= 0;
38961 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38965 PyObject
*swig_obj
[1] ;
38967 if (!args
) SWIG_fail
;
38968 swig_obj
[0] = args
;
38969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38970 if (!SWIG_IsOK(res1
)) {
38971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasTranslators" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38973 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38976 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasTranslators();
38977 wxPyEndAllowThreads(__tstate
);
38978 if (PyErr_Occurred()) SWIG_fail
;
38981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38989 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetTranslators(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38990 PyObject
*resultobj
= 0;
38991 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38992 wxArrayString
*result
= 0 ;
38995 PyObject
*swig_obj
[1] ;
38997 if (!args
) SWIG_fail
;
38998 swig_obj
[0] = args
;
38999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
39000 if (!SWIG_IsOK(res1
)) {
39001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetTranslators" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
39003 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
39005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39007 wxArrayString
const &_result_ref
= ((wxAboutDialogInfo
const *)arg1
)->GetTranslators();
39008 result
= (wxArrayString
*) &_result_ref
;
39010 wxPyEndAllowThreads(__tstate
);
39011 if (PyErr_Occurred()) SWIG_fail
;
39014 resultobj
= wxArrayString2PyList_helper(*result
);
39022 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_IsSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39023 PyObject
*resultobj
= 0;
39024 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
39028 PyObject
*swig_obj
[1] ;
39030 if (!args
) SWIG_fail
;
39031 swig_obj
[0] = args
;
39032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
39033 if (!SWIG_IsOK(res1
)) {
39034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_IsSimple" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
39036 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
39038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39039 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->IsSimple();
39040 wxPyEndAllowThreads(__tstate
);
39041 if (PyErr_Occurred()) SWIG_fail
;
39044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39052 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetDescriptionAndCredits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39053 PyObject
*resultobj
= 0;
39054 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
39058 PyObject
*swig_obj
[1] ;
39060 if (!args
) SWIG_fail
;
39061 swig_obj
[0] = args
;
39062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
39063 if (!SWIG_IsOK(res1
)) {
39064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetDescriptionAndCredits" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
39066 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
39068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39069 result
= ((wxAboutDialogInfo
const *)arg1
)->GetDescriptionAndCredits();
39070 wxPyEndAllowThreads(__tstate
);
39071 if (PyErr_Occurred()) SWIG_fail
;
39075 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
39077 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
39086 SWIGINTERN PyObject
*AboutDialogInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39088 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39089 SWIG_TypeNewClientData(SWIGTYPE_p_wxAboutDialogInfo
, SWIG_NewClientData(obj
));
39090 return SWIG_Py_Void();
39093 SWIGINTERN PyObject
*AboutDialogInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39094 return SWIG_Python_InitShadowInstance(args
);
39097 SWIGINTERN PyObject
*_wrap_AboutBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39098 PyObject
*resultobj
= 0;
39099 wxAboutDialogInfo
*arg1
= 0 ;
39102 PyObject
* obj0
= 0 ;
39103 char * kwnames
[] = {
39104 (char *) "info", NULL
39107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AboutBox",kwnames
,&obj0
)) SWIG_fail
;
39108 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0);
39109 if (!SWIG_IsOK(res1
)) {
39110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutBox" "', expected argument " "1"" of type '" "wxAboutDialogInfo const &""'");
39113 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AboutBox" "', expected argument " "1"" of type '" "wxAboutDialogInfo const &""'");
39115 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
39117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39118 wxAboutBox((wxAboutDialogInfo
const &)*arg1
);
39119 wxPyEndAllowThreads(__tstate
);
39120 if (PyErr_Occurred()) SWIG_fail
;
39122 resultobj
= SWIG_Py_Void();
39129 static PyMethodDef SwigMethods
[] = {
39130 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39131 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39132 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39133 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39134 { (char *)"SystemSettings_GetScreenType", (PyCFunction
)_wrap_SystemSettings_GetScreenType
, METH_NOARGS
, NULL
},
39135 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39136 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
39137 { (char *)"new_SystemOptions", (PyCFunction
)_wrap_new_SystemOptions
, METH_NOARGS
, NULL
},
39138 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39139 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39140 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39141 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39142 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39143 { (char *)"SystemOptions_IsFalse", (PyCFunction
) _wrap_SystemOptions_IsFalse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39144 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
39145 { (char *)"SystemOptions_swiginit", SystemOptions_swiginit
, METH_VARARGS
, NULL
},
39146 { (char *)"NewId", (PyCFunction
)_wrap_NewId
, METH_NOARGS
, NULL
},
39147 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39148 { (char *)"GetCurrentId", (PyCFunction
)_wrap_GetCurrentId
, METH_NOARGS
, NULL
},
39149 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39150 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39151 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39152 { (char *)"GetStockHelpString", (PyCFunction
) _wrap_GetStockHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39153 { (char *)"Bell", (PyCFunction
)_wrap_Bell
, METH_NOARGS
, NULL
},
39154 { (char *)"EndBusyCursor", (PyCFunction
)_wrap_EndBusyCursor
, METH_NOARGS
, NULL
},
39155 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39156 { (char *)"IsBusy", (PyCFunction
)_wrap_IsBusy
, METH_NOARGS
, NULL
},
39157 { (char *)"Now", (PyCFunction
)_wrap_Now
, METH_NOARGS
, NULL
},
39158 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39159 { (char *)"StartTimer", (PyCFunction
)_wrap_StartTimer
, METH_NOARGS
, NULL
},
39160 { (char *)"GetOsVersion", (PyCFunction
)_wrap_GetOsVersion
, METH_NOARGS
, NULL
},
39161 { (char *)"GetOsDescription", (PyCFunction
)_wrap_GetOsDescription
, METH_NOARGS
, NULL
},
39162 { (char *)"IsPlatformLittleEndian", (PyCFunction
)_wrap_IsPlatformLittleEndian
, METH_NOARGS
, NULL
},
39163 { (char *)"IsPlatform64Bit", (PyCFunction
)_wrap_IsPlatform64Bit
, METH_NOARGS
, NULL
},
39164 { (char *)"GetFreeMemory", (PyCFunction
)_wrap_GetFreeMemory
, METH_NOARGS
, NULL
},
39165 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39166 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39167 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39168 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39169 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39170 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39171 { (char *)"GetEmailAddress", (PyCFunction
)_wrap_GetEmailAddress
, METH_NOARGS
, NULL
},
39172 { (char *)"GetHostName", (PyCFunction
)_wrap_GetHostName
, METH_NOARGS
, NULL
},
39173 { (char *)"GetFullHostName", (PyCFunction
)_wrap_GetFullHostName
, METH_NOARGS
, NULL
},
39174 { (char *)"GetUserId", (PyCFunction
)_wrap_GetUserId
, METH_NOARGS
, NULL
},
39175 { (char *)"GetUserName", (PyCFunction
)_wrap_GetUserName
, METH_NOARGS
, NULL
},
39176 { (char *)"GetHomeDir", (PyCFunction
)_wrap_GetHomeDir
, METH_NOARGS
, NULL
},
39177 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39178 { (char *)"GetProcessId", (PyCFunction
)_wrap_GetProcessId
, METH_NOARGS
, NULL
},
39179 { (char *)"Trap", (PyCFunction
)_wrap_Trap
, METH_NOARGS
, NULL
},
39180 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39181 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39182 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39183 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39184 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39185 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39186 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39187 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39188 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39189 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39190 { (char *)"ColourDisplay", (PyCFunction
)_wrap_ColourDisplay
, METH_NOARGS
, NULL
},
39191 { (char *)"DisplayDepth", (PyCFunction
)_wrap_DisplayDepth
, METH_NOARGS
, NULL
},
39192 { (char *)"GetDisplayDepth", (PyCFunction
)_wrap_GetDisplayDepth
, METH_NOARGS
, NULL
},
39193 { (char *)"DisplaySize", (PyCFunction
)_wrap_DisplaySize
, METH_NOARGS
, NULL
},
39194 { (char *)"GetDisplaySize", (PyCFunction
)_wrap_GetDisplaySize
, METH_NOARGS
, NULL
},
39195 { (char *)"DisplaySizeMM", (PyCFunction
)_wrap_DisplaySizeMM
, METH_NOARGS
, NULL
},
39196 { (char *)"GetDisplaySizeMM", (PyCFunction
)_wrap_GetDisplaySizeMM
, METH_NOARGS
, NULL
},
39197 { (char *)"ClientDisplayRect", (PyCFunction
)_wrap_ClientDisplayRect
, METH_NOARGS
, NULL
},
39198 { (char *)"GetClientDisplayRect", (PyCFunction
)_wrap_GetClientDisplayRect
, METH_NOARGS
, NULL
},
39199 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39200 { (char *)"GetXDisplay", (PyCFunction
)_wrap_GetXDisplay
, METH_NOARGS
, NULL
},
39201 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39202 { (char *)"GetMousePosition", (PyCFunction
)_wrap_GetMousePosition
, METH_NOARGS
, NULL
},
39203 { (char *)"FindWindowAtPointer", (PyCFunction
)_wrap_FindWindowAtPointer
, METH_NOARGS
, NULL
},
39204 { (char *)"GetActiveWindow", (PyCFunction
)_wrap_GetActiveWindow
, METH_NOARGS
, NULL
},
39205 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39206 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39207 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39208 { (char *)"LaunchDefaultBrowser", (PyCFunction
) _wrap_LaunchDefaultBrowser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39209 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39210 { (char *)"new_MouseState", (PyCFunction
)_wrap_new_MouseState
, METH_NOARGS
, NULL
},
39211 { (char *)"delete_MouseState", (PyCFunction
)_wrap_delete_MouseState
, METH_O
, NULL
},
39212 { (char *)"MouseState_GetX", (PyCFunction
)_wrap_MouseState_GetX
, METH_O
, NULL
},
39213 { (char *)"MouseState_GetY", (PyCFunction
)_wrap_MouseState_GetY
, METH_O
, NULL
},
39214 { (char *)"MouseState_LeftDown", (PyCFunction
)_wrap_MouseState_LeftDown
, METH_O
, NULL
},
39215 { (char *)"MouseState_MiddleDown", (PyCFunction
)_wrap_MouseState_MiddleDown
, METH_O
, NULL
},
39216 { (char *)"MouseState_RightDown", (PyCFunction
)_wrap_MouseState_RightDown
, METH_O
, NULL
},
39217 { (char *)"MouseState_ControlDown", (PyCFunction
)_wrap_MouseState_ControlDown
, METH_O
, NULL
},
39218 { (char *)"MouseState_ShiftDown", (PyCFunction
)_wrap_MouseState_ShiftDown
, METH_O
, NULL
},
39219 { (char *)"MouseState_AltDown", (PyCFunction
)_wrap_MouseState_AltDown
, METH_O
, NULL
},
39220 { (char *)"MouseState_MetaDown", (PyCFunction
)_wrap_MouseState_MetaDown
, METH_O
, NULL
},
39221 { (char *)"MouseState_CmdDown", (PyCFunction
)_wrap_MouseState_CmdDown
, METH_O
, NULL
},
39222 { (char *)"MouseState_SetX", (PyCFunction
) _wrap_MouseState_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39223 { (char *)"MouseState_SetY", (PyCFunction
) _wrap_MouseState_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39224 { (char *)"MouseState_SetLeftDown", (PyCFunction
) _wrap_MouseState_SetLeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39225 { (char *)"MouseState_SetMiddleDown", (PyCFunction
) _wrap_MouseState_SetMiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39226 { (char *)"MouseState_SetRightDown", (PyCFunction
) _wrap_MouseState_SetRightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39227 { (char *)"MouseState_SetControlDown", (PyCFunction
) _wrap_MouseState_SetControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39228 { (char *)"MouseState_SetShiftDown", (PyCFunction
) _wrap_MouseState_SetShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39229 { (char *)"MouseState_SetAltDown", (PyCFunction
) _wrap_MouseState_SetAltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39230 { (char *)"MouseState_SetMetaDown", (PyCFunction
) _wrap_MouseState_SetMetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39231 { (char *)"MouseState_swigregister", MouseState_swigregister
, METH_VARARGS
, NULL
},
39232 { (char *)"MouseState_swiginit", MouseState_swiginit
, METH_VARARGS
, NULL
},
39233 { (char *)"GetMouseState", (PyCFunction
)_wrap_GetMouseState
, METH_NOARGS
, NULL
},
39234 { (char *)"WakeUpMainThread", (PyCFunction
)_wrap_WakeUpMainThread
, METH_NOARGS
, NULL
},
39235 { (char *)"MutexGuiEnter", (PyCFunction
)_wrap_MutexGuiEnter
, METH_NOARGS
, NULL
},
39236 { (char *)"MutexGuiLeave", (PyCFunction
)_wrap_MutexGuiLeave
, METH_NOARGS
, NULL
},
39237 { (char *)"new_MutexGuiLocker", (PyCFunction
)_wrap_new_MutexGuiLocker
, METH_NOARGS
, NULL
},
39238 { (char *)"delete_MutexGuiLocker", (PyCFunction
)_wrap_delete_MutexGuiLocker
, METH_O
, NULL
},
39239 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
39240 { (char *)"MutexGuiLocker_swiginit", MutexGuiLocker_swiginit
, METH_VARARGS
, NULL
},
39241 { (char *)"Thread_IsMain", (PyCFunction
)_wrap_Thread_IsMain
, METH_NOARGS
, NULL
},
39242 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39243 { (char *)"delete_ToolTip", (PyCFunction
)_wrap_delete_ToolTip
, METH_O
, NULL
},
39244 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39245 { (char *)"ToolTip_GetTip", (PyCFunction
)_wrap_ToolTip_GetTip
, METH_O
, NULL
},
39246 { (char *)"ToolTip_GetWindow", (PyCFunction
)_wrap_ToolTip_GetWindow
, METH_O
, NULL
},
39247 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39248 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39249 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
39250 { (char *)"ToolTip_swiginit", ToolTip_swiginit
, METH_VARARGS
, NULL
},
39251 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39252 { (char *)"delete_Caret", (PyCFunction
)_wrap_delete_Caret
, METH_O
, NULL
},
39253 { (char *)"Caret_Destroy", (PyCFunction
)_wrap_Caret_Destroy
, METH_O
, NULL
},
39254 { (char *)"Caret_IsOk", (PyCFunction
)_wrap_Caret_IsOk
, METH_O
, NULL
},
39255 { (char *)"Caret_IsVisible", (PyCFunction
)_wrap_Caret_IsVisible
, METH_O
, NULL
},
39256 { (char *)"Caret_GetPosition", (PyCFunction
)_wrap_Caret_GetPosition
, METH_O
, NULL
},
39257 { (char *)"Caret_GetPositionTuple", (PyCFunction
)_wrap_Caret_GetPositionTuple
, METH_O
, NULL
},
39258 { (char *)"Caret_GetSize", (PyCFunction
)_wrap_Caret_GetSize
, METH_O
, NULL
},
39259 { (char *)"Caret_GetSizeTuple", (PyCFunction
)_wrap_Caret_GetSizeTuple
, METH_O
, NULL
},
39260 { (char *)"Caret_GetWindow", (PyCFunction
)_wrap_Caret_GetWindow
, METH_O
, NULL
},
39261 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39262 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39263 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39264 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39265 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39266 { (char *)"Caret_Hide", (PyCFunction
)_wrap_Caret_Hide
, METH_O
, NULL
},
39267 { (char *)"Caret_GetBlinkTime", (PyCFunction
)_wrap_Caret_GetBlinkTime
, METH_NOARGS
, NULL
},
39268 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39269 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
39270 { (char *)"Caret_swiginit", Caret_swiginit
, METH_VARARGS
, NULL
},
39271 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39272 { (char *)"delete_BusyCursor", (PyCFunction
)_wrap_delete_BusyCursor
, METH_O
, NULL
},
39273 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
39274 { (char *)"BusyCursor_swiginit", BusyCursor_swiginit
, METH_VARARGS
, NULL
},
39275 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39276 { (char *)"delete_WindowDisabler", (PyCFunction
)_wrap_delete_WindowDisabler
, METH_O
, NULL
},
39277 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
39278 { (char *)"WindowDisabler_swiginit", WindowDisabler_swiginit
, METH_VARARGS
, NULL
},
39279 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39280 { (char *)"delete_BusyInfo", (PyCFunction
)_wrap_delete_BusyInfo
, METH_O
, NULL
},
39281 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
39282 { (char *)"BusyInfo_swiginit", BusyInfo_swiginit
, METH_VARARGS
, NULL
},
39283 { (char *)"new_StopWatch", (PyCFunction
)_wrap_new_StopWatch
, METH_NOARGS
, NULL
},
39284 { (char *)"delete_StopWatch", (PyCFunction
)_wrap_delete_StopWatch
, METH_O
, NULL
},
39285 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39286 { (char *)"StopWatch_Pause", (PyCFunction
)_wrap_StopWatch_Pause
, METH_O
, NULL
},
39287 { (char *)"StopWatch_Resume", (PyCFunction
)_wrap_StopWatch_Resume
, METH_O
, NULL
},
39288 { (char *)"StopWatch_Time", (PyCFunction
)_wrap_StopWatch_Time
, METH_O
, NULL
},
39289 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
39290 { (char *)"StopWatch_swiginit", StopWatch_swiginit
, METH_VARARGS
, NULL
},
39291 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39292 { (char *)"delete_FileHistory", (PyCFunction
)_wrap_delete_FileHistory
, METH_O
, NULL
},
39293 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39294 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39295 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
)_wrap_FileHistory_GetMaxFiles
, METH_O
, NULL
},
39296 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39297 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39298 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39299 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39300 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
)_wrap_FileHistory_AddFilesToMenu
, METH_O
, NULL
},
39301 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39302 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39303 { (char *)"FileHistory_GetCount", (PyCFunction
)_wrap_FileHistory_GetCount
, METH_O
, NULL
},
39304 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
39305 { (char *)"FileHistory_swiginit", FileHistory_swiginit
, METH_VARARGS
, NULL
},
39306 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39307 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
)_wrap_new_PreSingleInstanceChecker
, METH_NOARGS
, NULL
},
39308 { (char *)"delete_SingleInstanceChecker", (PyCFunction
)_wrap_delete_SingleInstanceChecker
, METH_O
, NULL
},
39309 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39310 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
)_wrap_SingleInstanceChecker_IsAnotherRunning
, METH_O
, NULL
},
39311 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
39312 { (char *)"SingleInstanceChecker_swiginit", SingleInstanceChecker_swiginit
, METH_VARARGS
, NULL
},
39313 { (char *)"new_PlatformInformation", (PyCFunction
)_wrap_new_PlatformInformation
, METH_NOARGS
, NULL
},
39314 { (char *)"PlatformInformation___eq__", (PyCFunction
) _wrap_PlatformInformation___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39315 { (char *)"PlatformInformation___ne__", (PyCFunction
) _wrap_PlatformInformation___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39316 { (char *)"PlatformInformation_GetOSMajorVersion", (PyCFunction
)_wrap_PlatformInformation_GetOSMajorVersion
, METH_O
, NULL
},
39317 { (char *)"PlatformInformation_GetOSMinorVersion", (PyCFunction
)_wrap_PlatformInformation_GetOSMinorVersion
, METH_O
, NULL
},
39318 { (char *)"PlatformInformation_CheckOSVersion", (PyCFunction
) _wrap_PlatformInformation_CheckOSVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39319 { (char *)"PlatformInformation_GetToolkitMajorVersion", (PyCFunction
)_wrap_PlatformInformation_GetToolkitMajorVersion
, METH_O
, NULL
},
39320 { (char *)"PlatformInformation_GetToolkitMinorVersion", (PyCFunction
)_wrap_PlatformInformation_GetToolkitMinorVersion
, METH_O
, NULL
},
39321 { (char *)"PlatformInformation_CheckToolkitVersion", (PyCFunction
) _wrap_PlatformInformation_CheckToolkitVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39322 { (char *)"PlatformInformation_IsUsingUniversalWidgets", (PyCFunction
)_wrap_PlatformInformation_IsUsingUniversalWidgets
, METH_O
, NULL
},
39323 { (char *)"PlatformInformation_GetOperatingSystemId", (PyCFunction
)_wrap_PlatformInformation_GetOperatingSystemId
, METH_O
, NULL
},
39324 { (char *)"PlatformInformation_GetPortId", (PyCFunction
)_wrap_PlatformInformation_GetPortId
, METH_O
, NULL
},
39325 { (char *)"PlatformInformation_GetArchitecture", (PyCFunction
)_wrap_PlatformInformation_GetArchitecture
, METH_O
, NULL
},
39326 { (char *)"PlatformInformation_GetEndianness", (PyCFunction
)_wrap_PlatformInformation_GetEndianness
, METH_O
, NULL
},
39327 { (char *)"PlatformInformation_GetOperatingSystemFamilyName", (PyCFunction
)_wrap_PlatformInformation_GetOperatingSystemFamilyName
, METH_O
, NULL
},
39328 { (char *)"PlatformInformation_GetOperatingSystemIdName", (PyCFunction
)_wrap_PlatformInformation_GetOperatingSystemIdName
, METH_O
, NULL
},
39329 { (char *)"PlatformInformation_GetPortIdName", (PyCFunction
)_wrap_PlatformInformation_GetPortIdName
, METH_O
, NULL
},
39330 { (char *)"PlatformInformation_GetPortIdShortName", (PyCFunction
)_wrap_PlatformInformation_GetPortIdShortName
, METH_O
, NULL
},
39331 { (char *)"PlatformInformation_GetArchName", (PyCFunction
)_wrap_PlatformInformation_GetArchName
, METH_O
, NULL
},
39332 { (char *)"PlatformInformation_GetEndiannessName", (PyCFunction
)_wrap_PlatformInformation_GetEndiannessName
, METH_O
, NULL
},
39333 { (char *)"PlatformInformation_SetOSVersion", (PyCFunction
) _wrap_PlatformInformation_SetOSVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39334 { (char *)"PlatformInformation_SetToolkitVersion", (PyCFunction
) _wrap_PlatformInformation_SetToolkitVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39335 { (char *)"PlatformInformation_SetOperatingSystemId", (PyCFunction
) _wrap_PlatformInformation_SetOperatingSystemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39336 { (char *)"PlatformInformation_SetPortId", (PyCFunction
) _wrap_PlatformInformation_SetPortId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39337 { (char *)"PlatformInformation_SetArchitecture", (PyCFunction
) _wrap_PlatformInformation_SetArchitecture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39338 { (char *)"PlatformInformation_SetEndianness", (PyCFunction
) _wrap_PlatformInformation_SetEndianness
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39339 { (char *)"PlatformInformation_IsOk", (PyCFunction
)_wrap_PlatformInformation_IsOk
, METH_O
, NULL
},
39340 { (char *)"PlatformInformation_swigregister", PlatformInformation_swigregister
, METH_VARARGS
, NULL
},
39341 { (char *)"PlatformInformation_swiginit", PlatformInformation_swiginit
, METH_VARARGS
, NULL
},
39342 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39343 { (char *)"delete_TipProvider", (PyCFunction
)_wrap_delete_TipProvider
, METH_O
, NULL
},
39344 { (char *)"TipProvider_GetTip", (PyCFunction
)_wrap_TipProvider_GetTip
, METH_O
, NULL
},
39345 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
)_wrap_TipProvider_GetCurrentTip
, METH_O
, NULL
},
39346 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39347 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
39348 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39349 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39350 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
39351 { (char *)"PyTipProvider_swiginit", PyTipProvider_swiginit
, METH_VARARGS
, NULL
},
39352 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39353 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39354 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39355 { (char *)"delete_Timer", (PyCFunction
)_wrap_delete_Timer
, METH_O
, NULL
},
39356 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39357 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39358 { (char *)"Timer_GetOwner", (PyCFunction
)_wrap_Timer_GetOwner
, METH_O
, NULL
},
39359 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39360 { (char *)"Timer_Stop", (PyCFunction
)_wrap_Timer_Stop
, METH_O
, NULL
},
39361 { (char *)"Timer_Notify", (PyCFunction
)_wrap_Timer_Notify
, METH_O
, NULL
},
39362 { (char *)"Timer_IsRunning", (PyCFunction
)_wrap_Timer_IsRunning
, METH_O
, NULL
},
39363 { (char *)"Timer_GetInterval", (PyCFunction
)_wrap_Timer_GetInterval
, METH_O
, NULL
},
39364 { (char *)"Timer_GetId", (PyCFunction
)_wrap_Timer_GetId
, METH_O
, NULL
},
39365 { (char *)"Timer_IsOneShot", (PyCFunction
)_wrap_Timer_IsOneShot
, METH_O
, NULL
},
39366 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
39367 { (char *)"Timer_swiginit", Timer_swiginit
, METH_VARARGS
, NULL
},
39368 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39369 { (char *)"TimerEvent_GetInterval", (PyCFunction
)_wrap_TimerEvent_GetInterval
, METH_O
, NULL
},
39370 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
39371 { (char *)"TimerEvent_swiginit", TimerEvent_swiginit
, METH_VARARGS
, NULL
},
39372 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
39373 { (char *)"delete_TimerRunner", (PyCFunction
)_wrap_delete_TimerRunner
, METH_O
, NULL
},
39374 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39375 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
39376 { (char *)"TimerRunner_swiginit", TimerRunner_swiginit
, METH_VARARGS
, NULL
},
39377 { (char *)"new_Log", (PyCFunction
)_wrap_new_Log
, METH_NOARGS
, NULL
},
39378 { (char *)"delete_Log", (PyCFunction
)_wrap_delete_Log
, METH_O
, NULL
},
39379 { (char *)"Log_IsEnabled", (PyCFunction
)_wrap_Log_IsEnabled
, METH_NOARGS
, NULL
},
39380 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39381 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39382 { (char *)"Log_Flush", (PyCFunction
)_wrap_Log_Flush
, METH_O
, NULL
},
39383 { (char *)"Log_FlushActive", (PyCFunction
)_wrap_Log_FlushActive
, METH_NOARGS
, NULL
},
39384 { (char *)"Log_GetActiveTarget", (PyCFunction
)_wrap_Log_GetActiveTarget
, METH_NOARGS
, NULL
},
39385 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39386 { (char *)"Log_Suspend", (PyCFunction
)_wrap_Log_Suspend
, METH_NOARGS
, NULL
},
39387 { (char *)"Log_Resume", (PyCFunction
)_wrap_Log_Resume
, METH_NOARGS
, NULL
},
39388 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39389 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39390 { (char *)"Log_DontCreateOnDemand", (PyCFunction
)_wrap_Log_DontCreateOnDemand
, METH_NOARGS
, NULL
},
39391 { (char *)"Log_SetRepetitionCounting", (PyCFunction
) _wrap_Log_SetRepetitionCounting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39392 { (char *)"Log_GetRepetitionCounting", (PyCFunction
)_wrap_Log_GetRepetitionCounting
, METH_NOARGS
, NULL
},
39393 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39394 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39395 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39396 { (char *)"Log_ClearTraceMasks", (PyCFunction
)_wrap_Log_ClearTraceMasks
, METH_NOARGS
, NULL
},
39397 { (char *)"Log_GetTraceMasks", (PyCFunction
)_wrap_Log_GetTraceMasks
, METH_NOARGS
, NULL
},
39398 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39399 { (char *)"Log_GetVerbose", (PyCFunction
)_wrap_Log_GetVerbose
, METH_NOARGS
, NULL
},
39400 { (char *)"Log_GetTraceMask", (PyCFunction
)_wrap_Log_GetTraceMask
, METH_NOARGS
, NULL
},
39401 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39402 { (char *)"Log_GetLogLevel", (PyCFunction
)_wrap_Log_GetLogLevel
, METH_NOARGS
, NULL
},
39403 { (char *)"Log_GetTimestamp", (PyCFunction
)_wrap_Log_GetTimestamp
, METH_NOARGS
, NULL
},
39404 { (char *)"Log_TimeStamp", (PyCFunction
)_wrap_Log_TimeStamp
, METH_NOARGS
, NULL
},
39405 { (char *)"Log_Destroy", (PyCFunction
)_wrap_Log_Destroy
, METH_O
, NULL
},
39406 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
39407 { (char *)"Log_swiginit", Log_swiginit
, METH_VARARGS
, NULL
},
39408 { (char *)"new_LogStderr", (PyCFunction
)_wrap_new_LogStderr
, METH_NOARGS
, NULL
},
39409 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
39410 { (char *)"LogStderr_swiginit", LogStderr_swiginit
, METH_VARARGS
, NULL
},
39411 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39412 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
39413 { (char *)"LogTextCtrl_swiginit", LogTextCtrl_swiginit
, METH_VARARGS
, NULL
},
39414 { (char *)"new_LogGui", (PyCFunction
)_wrap_new_LogGui
, METH_NOARGS
, NULL
},
39415 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
39416 { (char *)"LogGui_swiginit", LogGui_swiginit
, METH_VARARGS
, NULL
},
39417 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39418 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39419 { (char *)"LogWindow_GetFrame", (PyCFunction
)_wrap_LogWindow_GetFrame
, METH_O
, NULL
},
39420 { (char *)"LogWindow_GetOldLog", (PyCFunction
)_wrap_LogWindow_GetOldLog
, METH_O
, NULL
},
39421 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
)_wrap_LogWindow_IsPassingMessages
, METH_O
, NULL
},
39422 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39423 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
39424 { (char *)"LogWindow_swiginit", LogWindow_swiginit
, METH_VARARGS
, NULL
},
39425 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39426 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39427 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39428 { (char *)"LogChain_IsPassingMessages", (PyCFunction
)_wrap_LogChain_IsPassingMessages
, METH_O
, NULL
},
39429 { (char *)"LogChain_GetOldLog", (PyCFunction
)_wrap_LogChain_GetOldLog
, METH_O
, NULL
},
39430 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
39431 { (char *)"LogChain_swiginit", LogChain_swiginit
, METH_VARARGS
, NULL
},
39432 { (char *)"new_LogBuffer", (PyCFunction
)_wrap_new_LogBuffer
, METH_NOARGS
, NULL
},
39433 { (char *)"LogBuffer_GetBuffer", (PyCFunction
)_wrap_LogBuffer_GetBuffer
, METH_O
, NULL
},
39434 { (char *)"LogBuffer_swigregister", LogBuffer_swigregister
, METH_VARARGS
, NULL
},
39435 { (char *)"LogBuffer_swiginit", LogBuffer_swiginit
, METH_VARARGS
, NULL
},
39436 { (char *)"SysErrorCode", (PyCFunction
)_wrap_SysErrorCode
, METH_NOARGS
, NULL
},
39437 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39438 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39439 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39440 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39441 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39442 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39443 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39444 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39445 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39446 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39447 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39448 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39449 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
39450 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39451 { (char *)"new_LogNull", (PyCFunction
)_wrap_new_LogNull
, METH_NOARGS
, NULL
},
39452 { (char *)"delete_LogNull", (PyCFunction
)_wrap_delete_LogNull
, METH_O
, NULL
},
39453 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
39454 { (char *)"LogNull_swiginit", LogNull_swiginit
, METH_VARARGS
, NULL
},
39455 { (char *)"new_PyLog", (PyCFunction
)_wrap_new_PyLog
, METH_NOARGS
, NULL
},
39456 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39457 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
39458 { (char *)"PyLog_swiginit", PyLog_swiginit
, METH_VARARGS
, NULL
},
39459 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39460 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39461 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39462 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39463 { (char *)"delete_Process", (PyCFunction
)_wrap_delete_Process
, METH_O
, NULL
},
39464 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39465 { (char *)"Process_GetPid", (PyCFunction
)_wrap_Process_GetPid
, METH_O
, NULL
},
39466 { (char *)"Process_OnTerminate", (PyCFunction
) _wrap_Process_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39467 { (char *)"Process_Redirect", (PyCFunction
)_wrap_Process_Redirect
, METH_O
, NULL
},
39468 { (char *)"Process_IsRedirected", (PyCFunction
)_wrap_Process_IsRedirected
, METH_O
, NULL
},
39469 { (char *)"Process_Detach", (PyCFunction
)_wrap_Process_Detach
, METH_O
, NULL
},
39470 { (char *)"Process_GetInputStream", (PyCFunction
)_wrap_Process_GetInputStream
, METH_O
, NULL
},
39471 { (char *)"Process_GetErrorStream", (PyCFunction
)_wrap_Process_GetErrorStream
, METH_O
, NULL
},
39472 { (char *)"Process_GetOutputStream", (PyCFunction
)_wrap_Process_GetOutputStream
, METH_O
, NULL
},
39473 { (char *)"Process_CloseOutput", (PyCFunction
)_wrap_Process_CloseOutput
, METH_O
, NULL
},
39474 { (char *)"Process_IsInputOpened", (PyCFunction
)_wrap_Process_IsInputOpened
, METH_O
, NULL
},
39475 { (char *)"Process_IsInputAvailable", (PyCFunction
)_wrap_Process_IsInputAvailable
, METH_O
, NULL
},
39476 { (char *)"Process_IsErrorAvailable", (PyCFunction
)_wrap_Process_IsErrorAvailable
, METH_O
, NULL
},
39477 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
39478 { (char *)"Process_swiginit", Process_swiginit
, METH_VARARGS
, NULL
},
39479 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39480 { (char *)"ProcessEvent_GetPid", (PyCFunction
)_wrap_ProcessEvent_GetPid
, METH_O
, NULL
},
39481 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
)_wrap_ProcessEvent_GetExitCode
, METH_O
, NULL
},
39482 { (char *)"ProcessEvent_m_pid_set", _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
, NULL
},
39483 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
)_wrap_ProcessEvent_m_pid_get
, METH_O
, NULL
},
39484 { (char *)"ProcessEvent_m_exitcode_set", _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
, NULL
},
39485 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
)_wrap_ProcessEvent_m_exitcode_get
, METH_O
, NULL
},
39486 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
39487 { (char *)"ProcessEvent_swiginit", ProcessEvent_swiginit
, METH_VARARGS
, NULL
},
39488 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39489 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39490 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39491 { (char *)"delete_Joystick", (PyCFunction
)_wrap_delete_Joystick
, METH_O
, NULL
},
39492 { (char *)"Joystick_GetPosition", (PyCFunction
)_wrap_Joystick_GetPosition
, METH_O
, NULL
},
39493 { (char *)"Joystick_GetZPosition", (PyCFunction
)_wrap_Joystick_GetZPosition
, METH_O
, NULL
},
39494 { (char *)"Joystick_GetButtonState", (PyCFunction
)_wrap_Joystick_GetButtonState
, METH_O
, NULL
},
39495 { (char *)"Joystick_GetPOVPosition", (PyCFunction
)_wrap_Joystick_GetPOVPosition
, METH_O
, NULL
},
39496 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
)_wrap_Joystick_GetPOVCTSPosition
, METH_O
, NULL
},
39497 { (char *)"Joystick_GetRudderPosition", (PyCFunction
)_wrap_Joystick_GetRudderPosition
, METH_O
, NULL
},
39498 { (char *)"Joystick_GetUPosition", (PyCFunction
)_wrap_Joystick_GetUPosition
, METH_O
, NULL
},
39499 { (char *)"Joystick_GetVPosition", (PyCFunction
)_wrap_Joystick_GetVPosition
, METH_O
, NULL
},
39500 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
)_wrap_Joystick_GetMovementThreshold
, METH_O
, NULL
},
39501 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39502 { (char *)"Joystick_IsOk", (PyCFunction
)_wrap_Joystick_IsOk
, METH_O
, NULL
},
39503 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
)_wrap_Joystick_GetNumberJoysticks
, METH_O
, NULL
},
39504 { (char *)"Joystick_GetManufacturerId", (PyCFunction
)_wrap_Joystick_GetManufacturerId
, METH_O
, NULL
},
39505 { (char *)"Joystick_GetProductId", (PyCFunction
)_wrap_Joystick_GetProductId
, METH_O
, NULL
},
39506 { (char *)"Joystick_GetProductName", (PyCFunction
)_wrap_Joystick_GetProductName
, METH_O
, NULL
},
39507 { (char *)"Joystick_GetXMin", (PyCFunction
)_wrap_Joystick_GetXMin
, METH_O
, NULL
},
39508 { (char *)"Joystick_GetYMin", (PyCFunction
)_wrap_Joystick_GetYMin
, METH_O
, NULL
},
39509 { (char *)"Joystick_GetZMin", (PyCFunction
)_wrap_Joystick_GetZMin
, METH_O
, NULL
},
39510 { (char *)"Joystick_GetXMax", (PyCFunction
)_wrap_Joystick_GetXMax
, METH_O
, NULL
},
39511 { (char *)"Joystick_GetYMax", (PyCFunction
)_wrap_Joystick_GetYMax
, METH_O
, NULL
},
39512 { (char *)"Joystick_GetZMax", (PyCFunction
)_wrap_Joystick_GetZMax
, METH_O
, NULL
},
39513 { (char *)"Joystick_GetNumberButtons", (PyCFunction
)_wrap_Joystick_GetNumberButtons
, METH_O
, NULL
},
39514 { (char *)"Joystick_GetNumberAxes", (PyCFunction
)_wrap_Joystick_GetNumberAxes
, METH_O
, NULL
},
39515 { (char *)"Joystick_GetMaxButtons", (PyCFunction
)_wrap_Joystick_GetMaxButtons
, METH_O
, NULL
},
39516 { (char *)"Joystick_GetMaxAxes", (PyCFunction
)_wrap_Joystick_GetMaxAxes
, METH_O
, NULL
},
39517 { (char *)"Joystick_GetPollingMin", (PyCFunction
)_wrap_Joystick_GetPollingMin
, METH_O
, NULL
},
39518 { (char *)"Joystick_GetPollingMax", (PyCFunction
)_wrap_Joystick_GetPollingMax
, METH_O
, NULL
},
39519 { (char *)"Joystick_GetRudderMin", (PyCFunction
)_wrap_Joystick_GetRudderMin
, METH_O
, NULL
},
39520 { (char *)"Joystick_GetRudderMax", (PyCFunction
)_wrap_Joystick_GetRudderMax
, METH_O
, NULL
},
39521 { (char *)"Joystick_GetUMin", (PyCFunction
)_wrap_Joystick_GetUMin
, METH_O
, NULL
},
39522 { (char *)"Joystick_GetUMax", (PyCFunction
)_wrap_Joystick_GetUMax
, METH_O
, NULL
},
39523 { (char *)"Joystick_GetVMin", (PyCFunction
)_wrap_Joystick_GetVMin
, METH_O
, NULL
},
39524 { (char *)"Joystick_GetVMax", (PyCFunction
)_wrap_Joystick_GetVMax
, METH_O
, NULL
},
39525 { (char *)"Joystick_HasRudder", (PyCFunction
)_wrap_Joystick_HasRudder
, METH_O
, NULL
},
39526 { (char *)"Joystick_HasZ", (PyCFunction
)_wrap_Joystick_HasZ
, METH_O
, NULL
},
39527 { (char *)"Joystick_HasU", (PyCFunction
)_wrap_Joystick_HasU
, METH_O
, NULL
},
39528 { (char *)"Joystick_HasV", (PyCFunction
)_wrap_Joystick_HasV
, METH_O
, NULL
},
39529 { (char *)"Joystick_HasPOV", (PyCFunction
)_wrap_Joystick_HasPOV
, METH_O
, NULL
},
39530 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
)_wrap_Joystick_HasPOV4Dir
, METH_O
, NULL
},
39531 { (char *)"Joystick_HasPOVCTS", (PyCFunction
)_wrap_Joystick_HasPOVCTS
, METH_O
, NULL
},
39532 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39533 { (char *)"Joystick_ReleaseCapture", (PyCFunction
)_wrap_Joystick_ReleaseCapture
, METH_O
, NULL
},
39534 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
39535 { (char *)"Joystick_swiginit", Joystick_swiginit
, METH_VARARGS
, NULL
},
39536 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39537 { (char *)"JoystickEvent_GetPosition", (PyCFunction
)_wrap_JoystickEvent_GetPosition
, METH_O
, NULL
},
39538 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
)_wrap_JoystickEvent_GetZPosition
, METH_O
, NULL
},
39539 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
)_wrap_JoystickEvent_GetButtonState
, METH_O
, NULL
},
39540 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
)_wrap_JoystickEvent_GetButtonChange
, METH_O
, NULL
},
39541 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
)_wrap_JoystickEvent_GetJoystick
, METH_O
, NULL
},
39542 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39543 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39544 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39545 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39546 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39547 { (char *)"JoystickEvent_IsButton", (PyCFunction
)_wrap_JoystickEvent_IsButton
, METH_O
, NULL
},
39548 { (char *)"JoystickEvent_IsMove", (PyCFunction
)_wrap_JoystickEvent_IsMove
, METH_O
, NULL
},
39549 { (char *)"JoystickEvent_IsZMove", (PyCFunction
)_wrap_JoystickEvent_IsZMove
, METH_O
, NULL
},
39550 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39551 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39552 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39553 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
39554 { (char *)"JoystickEvent_swiginit", JoystickEvent_swiginit
, METH_VARARGS
, NULL
},
39555 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39556 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39557 { (char *)"delete_Sound", (PyCFunction
)_wrap_delete_Sound
, METH_O
, NULL
},
39558 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39559 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39560 { (char *)"Sound_IsOk", (PyCFunction
)_wrap_Sound_IsOk
, METH_O
, NULL
},
39561 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39562 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39563 { (char *)"Sound_Stop", (PyCFunction
)_wrap_Sound_Stop
, METH_NOARGS
, NULL
},
39564 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
39565 { (char *)"Sound_swiginit", Sound_swiginit
, METH_VARARGS
, NULL
},
39566 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39567 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39568 { (char *)"new_NullFileTypeInfo", (PyCFunction
)_wrap_new_NullFileTypeInfo
, METH_NOARGS
, NULL
},
39569 { (char *)"FileTypeInfo_IsValid", (PyCFunction
)_wrap_FileTypeInfo_IsValid
, METH_O
, NULL
},
39570 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39571 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39572 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
)_wrap_FileTypeInfo_GetMimeType
, METH_O
, NULL
},
39573 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
)_wrap_FileTypeInfo_GetOpenCommand
, METH_O
, NULL
},
39574 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
)_wrap_FileTypeInfo_GetPrintCommand
, METH_O
, NULL
},
39575 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
)_wrap_FileTypeInfo_GetShortDesc
, METH_O
, NULL
},
39576 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
)_wrap_FileTypeInfo_GetDescription
, METH_O
, NULL
},
39577 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
)_wrap_FileTypeInfo_GetExtensions
, METH_O
, NULL
},
39578 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
)_wrap_FileTypeInfo_GetExtensionsCount
, METH_O
, NULL
},
39579 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
)_wrap_FileTypeInfo_GetIconFile
, METH_O
, NULL
},
39580 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
)_wrap_FileTypeInfo_GetIconIndex
, METH_O
, NULL
},
39581 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
39582 { (char *)"FileTypeInfo_swiginit", FileTypeInfo_swiginit
, METH_VARARGS
, NULL
},
39583 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39584 { (char *)"delete_FileType", (PyCFunction
)_wrap_delete_FileType
, METH_O
, NULL
},
39585 { (char *)"FileType_GetMimeType", (PyCFunction
)_wrap_FileType_GetMimeType
, METH_O
, NULL
},
39586 { (char *)"FileType_GetMimeTypes", (PyCFunction
)_wrap_FileType_GetMimeTypes
, METH_O
, NULL
},
39587 { (char *)"FileType_GetExtensions", (PyCFunction
)_wrap_FileType_GetExtensions
, METH_O
, NULL
},
39588 { (char *)"FileType_GetIcon", (PyCFunction
)_wrap_FileType_GetIcon
, METH_O
, NULL
},
39589 { (char *)"FileType_GetIconInfo", (PyCFunction
)_wrap_FileType_GetIconInfo
, METH_O
, NULL
},
39590 { (char *)"FileType_GetDescription", (PyCFunction
)_wrap_FileType_GetDescription
, METH_O
, NULL
},
39591 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39592 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39593 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39594 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39595 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39596 { (char *)"FileType_Unassociate", (PyCFunction
)_wrap_FileType_Unassociate
, METH_O
, NULL
},
39597 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39598 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
39599 { (char *)"FileType_swiginit", FileType_swiginit
, METH_VARARGS
, NULL
},
39600 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39601 { (char *)"new_MimeTypesManager", (PyCFunction
)_wrap_new_MimeTypesManager
, METH_NOARGS
, NULL
},
39602 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39603 { (char *)"MimeTypesManager_ClearData", (PyCFunction
)_wrap_MimeTypesManager_ClearData
, METH_O
, NULL
},
39604 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39605 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39606 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39607 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39608 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
)_wrap_MimeTypesManager_EnumAllFileTypes
, METH_O
, NULL
},
39609 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39610 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39611 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39612 { (char *)"delete_MimeTypesManager", (PyCFunction
)_wrap_delete_MimeTypesManager
, METH_O
, NULL
},
39613 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
39614 { (char *)"MimeTypesManager_swiginit", MimeTypesManager_swiginit
, METH_VARARGS
, NULL
},
39615 { (char *)"new_ArtProvider", (PyCFunction
)_wrap_new_ArtProvider
, METH_NOARGS
, NULL
},
39616 { (char *)"delete_ArtProvider", (PyCFunction
)_wrap_delete_ArtProvider
, METH_O
, NULL
},
39617 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39618 { (char *)"ArtProvider_Push", (PyCFunction
) _wrap_ArtProvider_Push
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39619 { (char *)"ArtProvider_Insert", (PyCFunction
) _wrap_ArtProvider_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39620 { (char *)"ArtProvider_Pop", (PyCFunction
)_wrap_ArtProvider_Pop
, METH_NOARGS
, NULL
},
39621 { (char *)"ArtProvider_Delete", (PyCFunction
) _wrap_ArtProvider_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39622 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39623 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39624 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39625 { (char *)"ArtProvider_Destroy", (PyCFunction
)_wrap_ArtProvider_Destroy
, METH_O
, NULL
},
39626 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
39627 { (char *)"ArtProvider_swiginit", ArtProvider_swiginit
, METH_VARARGS
, NULL
},
39628 { (char *)"delete_ConfigBase", (PyCFunction
)_wrap_delete_ConfigBase
, METH_O
, NULL
},
39629 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39630 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39631 { (char *)"ConfigBase_Create", (PyCFunction
)_wrap_ConfigBase_Create
, METH_NOARGS
, NULL
},
39632 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
)_wrap_ConfigBase_DontCreateOnDemand
, METH_NOARGS
, NULL
},
39633 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39634 { (char *)"ConfigBase_GetPath", (PyCFunction
)_wrap_ConfigBase_GetPath
, METH_O
, NULL
},
39635 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
)_wrap_ConfigBase_GetFirstGroup
, METH_O
, NULL
},
39636 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39637 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
)_wrap_ConfigBase_GetFirstEntry
, METH_O
, NULL
},
39638 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39639 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39640 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39641 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39642 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39643 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39644 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39645 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39646 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39647 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39648 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39649 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39650 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39651 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39652 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39653 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39654 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39655 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39656 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39657 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39658 { (char *)"ConfigBase_DeleteAll", (PyCFunction
)_wrap_ConfigBase_DeleteAll
, METH_O
, NULL
},
39659 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39660 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
)_wrap_ConfigBase_IsExpandingEnvVars
, METH_O
, NULL
},
39661 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39662 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
)_wrap_ConfigBase_IsRecordingDefaults
, METH_O
, NULL
},
39663 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39664 { (char *)"ConfigBase_GetAppName", (PyCFunction
)_wrap_ConfigBase_GetAppName
, METH_O
, NULL
},
39665 { (char *)"ConfigBase_GetVendorName", (PyCFunction
)_wrap_ConfigBase_GetVendorName
, METH_O
, NULL
},
39666 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39667 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39668 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39669 { (char *)"ConfigBase_GetStyle", (PyCFunction
)_wrap_ConfigBase_GetStyle
, METH_O
, NULL
},
39670 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
39671 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39672 { (char *)"delete_Config", (PyCFunction
)_wrap_delete_Config
, METH_O
, NULL
},
39673 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
39674 { (char *)"Config_swiginit", Config_swiginit
, METH_VARARGS
, NULL
},
39675 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39676 { (char *)"delete_FileConfig", (PyCFunction
)_wrap_delete_FileConfig
, METH_O
, NULL
},
39677 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
39678 { (char *)"FileConfig_swiginit", FileConfig_swiginit
, METH_VARARGS
, NULL
},
39679 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39680 { (char *)"delete_ConfigPathChanger", (PyCFunction
)_wrap_delete_ConfigPathChanger
, METH_O
, NULL
},
39681 { (char *)"ConfigPathChanger_Name", (PyCFunction
)_wrap_ConfigPathChanger_Name
, METH_O
, NULL
},
39682 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
39683 { (char *)"ConfigPathChanger_swiginit", ConfigPathChanger_swiginit
, METH_VARARGS
, NULL
},
39684 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39685 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39686 { (char *)"DateTime_GetCountry", (PyCFunction
)_wrap_DateTime_GetCountry
, METH_NOARGS
, NULL
},
39687 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39688 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39689 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39690 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39691 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39692 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39693 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39694 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39695 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39696 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39697 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
)_wrap_DateTime_GetAmPmStrings
, METH_NOARGS
, NULL
},
39698 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39699 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39700 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39701 { (char *)"DateTime_Now", (PyCFunction
)_wrap_DateTime_Now
, METH_NOARGS
, NULL
},
39702 { (char *)"DateTime_UNow", (PyCFunction
)_wrap_DateTime_UNow
, METH_NOARGS
, NULL
},
39703 { (char *)"DateTime_Today", (PyCFunction
)_wrap_DateTime_Today
, METH_NOARGS
, NULL
},
39704 { (char *)"new_DateTime", (PyCFunction
)_wrap_new_DateTime
, METH_NOARGS
, NULL
},
39705 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39706 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39707 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39708 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39709 { (char *)"new_DateTimeFromDateTime", (PyCFunction
) _wrap_new_DateTimeFromDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39710 { (char *)"delete_DateTime", (PyCFunction
)_wrap_delete_DateTime
, METH_O
, NULL
},
39711 { (char *)"DateTime_SetToCurrent", (PyCFunction
)_wrap_DateTime_SetToCurrent
, METH_O
, NULL
},
39712 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39713 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39714 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39715 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39716 { (char *)"DateTime_ResetTime", (PyCFunction
)_wrap_DateTime_ResetTime
, METH_O
, NULL
},
39717 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39718 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39719 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39720 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39721 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39722 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39723 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39724 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39725 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39726 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39727 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39728 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39729 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39730 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39731 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39732 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39733 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39734 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39735 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39736 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39737 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39738 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39739 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39740 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetJulianDayNumber
, METH_O
, NULL
},
39741 { (char *)"DateTime_GetJDN", (PyCFunction
)_wrap_DateTime_GetJDN
, METH_O
, NULL
},
39742 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetModifiedJulianDayNumber
, METH_O
, NULL
},
39743 { (char *)"DateTime_GetMJD", (PyCFunction
)_wrap_DateTime_GetMJD
, METH_O
, NULL
},
39744 { (char *)"DateTime_GetRataDie", (PyCFunction
)_wrap_DateTime_GetRataDie
, METH_O
, NULL
},
39745 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39746 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39747 { (char *)"DateTime_FromTimezone", (PyCFunction
) _wrap_DateTime_FromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39748 { (char *)"DateTime_MakeFromTimezone", (PyCFunction
) _wrap_DateTime_MakeFromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39749 { (char *)"DateTime_ToUTC", (PyCFunction
) _wrap_DateTime_ToUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39750 { (char *)"DateTime_MakeUTC", (PyCFunction
) _wrap_DateTime_MakeUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39751 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39752 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39753 { (char *)"DateTime_FromUTC", (PyCFunction
) _wrap_DateTime_FromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39754 { (char *)"DateTime_MakeFromUTC", (PyCFunction
) _wrap_DateTime_MakeFromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39755 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39756 { (char *)"DateTime_IsValid", (PyCFunction
)_wrap_DateTime_IsValid
, METH_O
, NULL
},
39757 { (char *)"DateTime_GetTicks", (PyCFunction
)_wrap_DateTime_GetTicks
, METH_O
, NULL
},
39758 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39759 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39760 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39761 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39762 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39763 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39764 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39765 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39766 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39767 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39768 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39769 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39770 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39771 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39772 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39773 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39774 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39775 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39776 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39777 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39778 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39779 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39780 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39781 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39782 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39783 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
39784 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
39785 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
39786 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
39787 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39788 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39789 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39790 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39791 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39792 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39793 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39794 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39795 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39796 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39797 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39798 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39799 { (char *)"DateTime_FormatDate", (PyCFunction
)_wrap_DateTime_FormatDate
, METH_O
, NULL
},
39800 { (char *)"DateTime_FormatTime", (PyCFunction
)_wrap_DateTime_FormatTime
, METH_O
, NULL
},
39801 { (char *)"DateTime_FormatISODate", (PyCFunction
)_wrap_DateTime_FormatISODate
, METH_O
, NULL
},
39802 { (char *)"DateTime_FormatISOTime", (PyCFunction
)_wrap_DateTime_FormatISOTime
, METH_O
, NULL
},
39803 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
39804 { (char *)"DateTime_swiginit", DateTime_swiginit
, METH_VARARGS
, NULL
},
39805 { (char *)"TimeSpan_Milliseconds", (PyCFunction
) _wrap_TimeSpan_Milliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39806 { (char *)"TimeSpan_Millisecond", (PyCFunction
)_wrap_TimeSpan_Millisecond
, METH_NOARGS
, NULL
},
39807 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39808 { (char *)"TimeSpan_Second", (PyCFunction
)_wrap_TimeSpan_Second
, METH_NOARGS
, NULL
},
39809 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39810 { (char *)"TimeSpan_Minute", (PyCFunction
)_wrap_TimeSpan_Minute
, METH_NOARGS
, NULL
},
39811 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39812 { (char *)"TimeSpan_Hour", (PyCFunction
)_wrap_TimeSpan_Hour
, METH_NOARGS
, NULL
},
39813 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39814 { (char *)"TimeSpan_Day", (PyCFunction
)_wrap_TimeSpan_Day
, METH_NOARGS
, NULL
},
39815 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39816 { (char *)"TimeSpan_Week", (PyCFunction
)_wrap_TimeSpan_Week
, METH_NOARGS
, NULL
},
39817 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39818 { (char *)"delete_TimeSpan", (PyCFunction
)_wrap_delete_TimeSpan
, METH_O
, NULL
},
39819 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39820 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39821 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39822 { (char *)"TimeSpan_Neg", (PyCFunction
)_wrap_TimeSpan_Neg
, METH_O
, NULL
},
39823 { (char *)"TimeSpan_Abs", (PyCFunction
)_wrap_TimeSpan_Abs
, METH_O
, NULL
},
39824 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39825 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39826 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39827 { (char *)"TimeSpan___neg__", (PyCFunction
)_wrap_TimeSpan___neg__
, METH_O
, NULL
},
39828 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39829 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39830 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39831 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39832 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39833 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39834 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39835 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39836 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39837 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39838 { (char *)"TimeSpan_IsNull", (PyCFunction
)_wrap_TimeSpan_IsNull
, METH_O
, NULL
},
39839 { (char *)"TimeSpan_IsPositive", (PyCFunction
)_wrap_TimeSpan_IsPositive
, METH_O
, NULL
},
39840 { (char *)"TimeSpan_IsNegative", (PyCFunction
)_wrap_TimeSpan_IsNegative
, METH_O
, NULL
},
39841 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39842 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39843 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39844 { (char *)"TimeSpan_GetWeeks", (PyCFunction
)_wrap_TimeSpan_GetWeeks
, METH_O
, NULL
},
39845 { (char *)"TimeSpan_GetDays", (PyCFunction
)_wrap_TimeSpan_GetDays
, METH_O
, NULL
},
39846 { (char *)"TimeSpan_GetHours", (PyCFunction
)_wrap_TimeSpan_GetHours
, METH_O
, NULL
},
39847 { (char *)"TimeSpan_GetMinutes", (PyCFunction
)_wrap_TimeSpan_GetMinutes
, METH_O
, NULL
},
39848 { (char *)"TimeSpan_GetSeconds", (PyCFunction
)_wrap_TimeSpan_GetSeconds
, METH_O
, NULL
},
39849 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
)_wrap_TimeSpan_GetMilliseconds
, METH_O
, NULL
},
39850 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39851 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
39852 { (char *)"TimeSpan_swiginit", TimeSpan_swiginit
, METH_VARARGS
, NULL
},
39853 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39854 { (char *)"delete_DateSpan", (PyCFunction
)_wrap_delete_DateSpan
, METH_O
, NULL
},
39855 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39856 { (char *)"DateSpan_Day", (PyCFunction
)_wrap_DateSpan_Day
, METH_NOARGS
, NULL
},
39857 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39858 { (char *)"DateSpan_Week", (PyCFunction
)_wrap_DateSpan_Week
, METH_NOARGS
, NULL
},
39859 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39860 { (char *)"DateSpan_Month", (PyCFunction
)_wrap_DateSpan_Month
, METH_NOARGS
, NULL
},
39861 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39862 { (char *)"DateSpan_Year", (PyCFunction
)_wrap_DateSpan_Year
, METH_NOARGS
, NULL
},
39863 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39864 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39865 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39866 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39867 { (char *)"DateSpan_GetYears", (PyCFunction
)_wrap_DateSpan_GetYears
, METH_O
, NULL
},
39868 { (char *)"DateSpan_GetMonths", (PyCFunction
)_wrap_DateSpan_GetMonths
, METH_O
, NULL
},
39869 { (char *)"DateSpan_GetWeeks", (PyCFunction
)_wrap_DateSpan_GetWeeks
, METH_O
, NULL
},
39870 { (char *)"DateSpan_GetDays", (PyCFunction
)_wrap_DateSpan_GetDays
, METH_O
, NULL
},
39871 { (char *)"DateSpan_GetTotalDays", (PyCFunction
)_wrap_DateSpan_GetTotalDays
, METH_O
, NULL
},
39872 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39873 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39874 { (char *)"DateSpan_Neg", (PyCFunction
)_wrap_DateSpan_Neg
, METH_O
, NULL
},
39875 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39876 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39877 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39878 { (char *)"DateSpan___neg__", (PyCFunction
)_wrap_DateSpan___neg__
, METH_O
, NULL
},
39879 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39880 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39881 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39882 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39883 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39884 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39885 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39886 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
39887 { (char *)"DateSpan_swiginit", DateSpan_swiginit
, METH_VARARGS
, NULL
},
39888 { (char *)"GetLocalTime", (PyCFunction
)_wrap_GetLocalTime
, METH_NOARGS
, NULL
},
39889 { (char *)"GetUTCTime", (PyCFunction
)_wrap_GetUTCTime
, METH_NOARGS
, NULL
},
39890 { (char *)"GetCurrentTime", (PyCFunction
)_wrap_GetCurrentTime
, METH_NOARGS
, NULL
},
39891 { (char *)"GetLocalTimeMillis", (PyCFunction
)_wrap_GetLocalTimeMillis
, METH_NOARGS
, NULL
},
39892 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39893 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39894 { (char *)"delete_DataFormat", (PyCFunction
)_wrap_delete_DataFormat
, METH_O
, NULL
},
39895 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
39896 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
39897 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39898 { (char *)"DataFormat_GetType", (PyCFunction
)_wrap_DataFormat_GetType
, METH_O
, NULL
},
39899 { (char *)"DataFormat_GetId", (PyCFunction
)_wrap_DataFormat_GetId
, METH_O
, NULL
},
39900 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39901 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
39902 { (char *)"DataFormat_swiginit", DataFormat_swiginit
, METH_VARARGS
, NULL
},
39903 { (char *)"delete_DataObject", (PyCFunction
)_wrap_delete_DataObject
, METH_O
, NULL
},
39904 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39905 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39906 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39907 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39908 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39909 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39910 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39911 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
39912 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39913 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
)_wrap_DataObjectSimple_GetFormat
, METH_O
, NULL
},
39914 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39915 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
)_wrap_DataObjectSimple_GetDataSize
, METH_O
, NULL
},
39916 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
)_wrap_DataObjectSimple_GetDataHere
, METH_O
, NULL
},
39917 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39918 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
39919 { (char *)"DataObjectSimple_swiginit", DataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
39920 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39921 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39922 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
39923 { (char *)"PyDataObjectSimple_swiginit", PyDataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
39924 { (char *)"new_DataObjectComposite", (PyCFunction
)_wrap_new_DataObjectComposite
, METH_NOARGS
, NULL
},
39925 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39926 { (char *)"DataObjectComposite_GetReceivedFormat", (PyCFunction
)_wrap_DataObjectComposite_GetReceivedFormat
, METH_O
, NULL
},
39927 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
39928 { (char *)"DataObjectComposite_swiginit", DataObjectComposite_swiginit
, METH_VARARGS
, NULL
},
39929 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39930 { (char *)"TextDataObject_GetTextLength", (PyCFunction
)_wrap_TextDataObject_GetTextLength
, METH_O
, NULL
},
39931 { (char *)"TextDataObject_GetText", (PyCFunction
)_wrap_TextDataObject_GetText
, METH_O
, NULL
},
39932 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39933 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
39934 { (char *)"TextDataObject_swiginit", TextDataObject_swiginit
, METH_VARARGS
, NULL
},
39935 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39936 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39937 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
39938 { (char *)"PyTextDataObject_swiginit", PyTextDataObject_swiginit
, METH_VARARGS
, NULL
},
39939 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39940 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
)_wrap_BitmapDataObject_GetBitmap
, METH_O
, NULL
},
39941 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39942 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
39943 { (char *)"BitmapDataObject_swiginit", BitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
39944 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39945 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39946 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
39947 { (char *)"PyBitmapDataObject_swiginit", PyBitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
39948 { (char *)"new_FileDataObject", (PyCFunction
)_wrap_new_FileDataObject
, METH_NOARGS
, NULL
},
39949 { (char *)"FileDataObject_GetFilenames", (PyCFunction
)_wrap_FileDataObject_GetFilenames
, METH_O
, NULL
},
39950 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39951 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
39952 { (char *)"FileDataObject_swiginit", FileDataObject_swiginit
, METH_VARARGS
, NULL
},
39953 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
39954 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39955 { (char *)"CustomDataObject_GetSize", (PyCFunction
)_wrap_CustomDataObject_GetSize
, METH_O
, NULL
},
39956 { (char *)"CustomDataObject_GetData", (PyCFunction
)_wrap_CustomDataObject_GetData
, METH_O
, NULL
},
39957 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
39958 { (char *)"CustomDataObject_swiginit", CustomDataObject_swiginit
, METH_VARARGS
, NULL
},
39959 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39960 { (char *)"URLDataObject_GetURL", (PyCFunction
)_wrap_URLDataObject_GetURL
, METH_O
, NULL
},
39961 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39962 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
39963 { (char *)"URLDataObject_swiginit", URLDataObject_swiginit
, METH_VARARGS
, NULL
},
39964 { (char *)"new_MetafileDataObject", (PyCFunction
)_wrap_new_MetafileDataObject
, METH_NOARGS
, NULL
},
39965 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
39966 { (char *)"MetafileDataObject_swiginit", MetafileDataObject_swiginit
, METH_VARARGS
, NULL
},
39967 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39968 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39969 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39970 { (char *)"delete_DropSource", (PyCFunction
)_wrap_delete_DropSource
, METH_O
, NULL
},
39971 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39972 { (char *)"DropSource_GetDataObject", (PyCFunction
)_wrap_DropSource_GetDataObject
, METH_O
, NULL
},
39973 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39974 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39975 { (char *)"DropSource_GiveFeedback", (PyCFunction
) _wrap_DropSource_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39976 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
39977 { (char *)"DropSource_swiginit", DropSource_swiginit
, METH_VARARGS
, NULL
},
39978 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39979 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39980 { (char *)"delete_DropTarget", (PyCFunction
)_wrap_delete_DropTarget
, METH_O
, NULL
},
39981 { (char *)"DropTarget_GetDataObject", (PyCFunction
)_wrap_DropTarget_GetDataObject
, METH_O
, NULL
},
39982 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39983 { (char *)"DropTarget_OnEnter", (PyCFunction
) _wrap_DropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39984 { (char *)"DropTarget_OnDragOver", (PyCFunction
) _wrap_DropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39985 { (char *)"DropTarget_OnLeave", (PyCFunction
)_wrap_DropTarget_OnLeave
, METH_O
, NULL
},
39986 { (char *)"DropTarget_OnDrop", (PyCFunction
) _wrap_DropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39987 { (char *)"DropTarget_GetData", (PyCFunction
)_wrap_DropTarget_GetData
, METH_O
, NULL
},
39988 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39989 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
)_wrap_DropTarget_GetDefaultAction
, METH_O
, NULL
},
39990 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
39991 { (char *)"DropTarget_swiginit", DropTarget_swiginit
, METH_VARARGS
, NULL
},
39992 { (char *)"new_TextDropTarget", (PyCFunction
)_wrap_new_TextDropTarget
, METH_NOARGS
, NULL
},
39993 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39994 { (char *)"TextDropTarget_OnDropText", (PyCFunction
) _wrap_TextDropTarget_OnDropText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39995 { (char *)"TextDropTarget_OnEnter", (PyCFunction
) _wrap_TextDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39996 { (char *)"TextDropTarget_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39997 { (char *)"TextDropTarget_OnLeave", (PyCFunction
)_wrap_TextDropTarget_OnLeave
, METH_O
, NULL
},
39998 { (char *)"TextDropTarget_OnDrop", (PyCFunction
) _wrap_TextDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39999 { (char *)"TextDropTarget_OnData", (PyCFunction
) _wrap_TextDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40000 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
40001 { (char *)"TextDropTarget_swiginit", TextDropTarget_swiginit
, METH_VARARGS
, NULL
},
40002 { (char *)"new_FileDropTarget", (PyCFunction
)_wrap_new_FileDropTarget
, METH_NOARGS
, NULL
},
40003 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40004 { (char *)"FileDropTarget_OnDropFiles", (PyCFunction
) _wrap_FileDropTarget_OnDropFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40005 { (char *)"FileDropTarget_OnEnter", (PyCFunction
) _wrap_FileDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40006 { (char *)"FileDropTarget_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40007 { (char *)"FileDropTarget_OnLeave", (PyCFunction
)_wrap_FileDropTarget_OnLeave
, METH_O
, NULL
},
40008 { (char *)"FileDropTarget_OnDrop", (PyCFunction
) _wrap_FileDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40009 { (char *)"FileDropTarget_OnData", (PyCFunction
) _wrap_FileDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40010 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
40011 { (char *)"FileDropTarget_swiginit", FileDropTarget_swiginit
, METH_VARARGS
, NULL
},
40012 { (char *)"new_Clipboard", (PyCFunction
)_wrap_new_Clipboard
, METH_NOARGS
, NULL
},
40013 { (char *)"delete_Clipboard", (PyCFunction
)_wrap_delete_Clipboard
, METH_O
, NULL
},
40014 { (char *)"Clipboard_Open", (PyCFunction
)_wrap_Clipboard_Open
, METH_O
, NULL
},
40015 { (char *)"Clipboard_Close", (PyCFunction
)_wrap_Clipboard_Close
, METH_O
, NULL
},
40016 { (char *)"Clipboard_IsOpened", (PyCFunction
)_wrap_Clipboard_IsOpened
, METH_O
, NULL
},
40017 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40018 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40019 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40020 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40021 { (char *)"Clipboard_Clear", (PyCFunction
)_wrap_Clipboard_Clear
, METH_O
, NULL
},
40022 { (char *)"Clipboard_Flush", (PyCFunction
)_wrap_Clipboard_Flush
, METH_O
, NULL
},
40023 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40024 { (char *)"Clipboard_Get", (PyCFunction
)_wrap_Clipboard_Get
, METH_NOARGS
, NULL
},
40025 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
40026 { (char *)"Clipboard_swiginit", Clipboard_swiginit
, METH_VARARGS
, NULL
},
40027 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40028 { (char *)"delete_ClipboardLocker", (PyCFunction
)_wrap_delete_ClipboardLocker
, METH_O
, NULL
},
40029 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
)_wrap_ClipboardLocker___nonzero__
, METH_O
, NULL
},
40030 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
40031 { (char *)"ClipboardLocker_swiginit", ClipboardLocker_swiginit
, METH_VARARGS
, NULL
},
40032 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40033 { (char *)"delete_VideoMode", (PyCFunction
)_wrap_delete_VideoMode
, METH_O
, NULL
},
40034 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40035 { (char *)"VideoMode_GetWidth", (PyCFunction
)_wrap_VideoMode_GetWidth
, METH_O
, NULL
},
40036 { (char *)"VideoMode_GetHeight", (PyCFunction
)_wrap_VideoMode_GetHeight
, METH_O
, NULL
},
40037 { (char *)"VideoMode_GetDepth", (PyCFunction
)_wrap_VideoMode_GetDepth
, METH_O
, NULL
},
40038 { (char *)"VideoMode_IsOk", (PyCFunction
)_wrap_VideoMode_IsOk
, METH_O
, NULL
},
40039 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40040 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40041 { (char *)"VideoMode_w_set", _wrap_VideoMode_w_set
, METH_VARARGS
, NULL
},
40042 { (char *)"VideoMode_w_get", (PyCFunction
)_wrap_VideoMode_w_get
, METH_O
, NULL
},
40043 { (char *)"VideoMode_h_set", _wrap_VideoMode_h_set
, METH_VARARGS
, NULL
},
40044 { (char *)"VideoMode_h_get", (PyCFunction
)_wrap_VideoMode_h_get
, METH_O
, NULL
},
40045 { (char *)"VideoMode_bpp_set", _wrap_VideoMode_bpp_set
, METH_VARARGS
, NULL
},
40046 { (char *)"VideoMode_bpp_get", (PyCFunction
)_wrap_VideoMode_bpp_get
, METH_O
, NULL
},
40047 { (char *)"VideoMode_refresh_set", _wrap_VideoMode_refresh_set
, METH_VARARGS
, NULL
},
40048 { (char *)"VideoMode_refresh_get", (PyCFunction
)_wrap_VideoMode_refresh_get
, METH_O
, NULL
},
40049 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
40050 { (char *)"VideoMode_swiginit", VideoMode_swiginit
, METH_VARARGS
, NULL
},
40051 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40052 { (char *)"delete_Display", (PyCFunction
)_wrap_delete_Display
, METH_O
, NULL
},
40053 { (char *)"Display_GetCount", (PyCFunction
)_wrap_Display_GetCount
, METH_NOARGS
, NULL
},
40054 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40055 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40056 { (char *)"Display_IsOk", (PyCFunction
)_wrap_Display_IsOk
, METH_O
, NULL
},
40057 { (char *)"Display_GetGeometry", (PyCFunction
)_wrap_Display_GetGeometry
, METH_O
, NULL
},
40058 { (char *)"Display_GetClientArea", (PyCFunction
)_wrap_Display_GetClientArea
, METH_O
, NULL
},
40059 { (char *)"Display_GetName", (PyCFunction
)_wrap_Display_GetName
, METH_O
, NULL
},
40060 { (char *)"Display_IsPrimary", (PyCFunction
)_wrap_Display_IsPrimary
, METH_O
, NULL
},
40061 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40062 { (char *)"Display_GetCurrentMode", (PyCFunction
)_wrap_Display_GetCurrentMode
, METH_O
, NULL
},
40063 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40064 { (char *)"Display_ResetMode", (PyCFunction
)_wrap_Display_ResetMode
, METH_O
, NULL
},
40065 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
40066 { (char *)"Display_swiginit", Display_swiginit
, METH_VARARGS
, NULL
},
40067 { (char *)"StandardPaths_Get", (PyCFunction
)_wrap_StandardPaths_Get
, METH_NOARGS
, NULL
},
40068 { (char *)"StandardPaths_GetExecutablePath", (PyCFunction
)_wrap_StandardPaths_GetExecutablePath
, METH_O
, NULL
},
40069 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
)_wrap_StandardPaths_GetConfigDir
, METH_O
, NULL
},
40070 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
)_wrap_StandardPaths_GetUserConfigDir
, METH_O
, NULL
},
40071 { (char *)"StandardPaths_GetDataDir", (PyCFunction
)_wrap_StandardPaths_GetDataDir
, METH_O
, NULL
},
40072 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetLocalDataDir
, METH_O
, NULL
},
40073 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserDataDir
, METH_O
, NULL
},
40074 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserLocalDataDir
, METH_O
, NULL
},
40075 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
)_wrap_StandardPaths_GetPluginsDir
, METH_O
, NULL
},
40076 { (char *)"StandardPaths_GetResourcesDir", (PyCFunction
)_wrap_StandardPaths_GetResourcesDir
, METH_O
, NULL
},
40077 { (char *)"StandardPaths_GetLocalizedResourcesDir", (PyCFunction
) _wrap_StandardPaths_GetLocalizedResourcesDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40078 { (char *)"StandardPaths_GetDocumentsDir", (PyCFunction
)_wrap_StandardPaths_GetDocumentsDir
, METH_O
, NULL
},
40079 { (char *)"StandardPaths_GetTempDir", (PyCFunction
)_wrap_StandardPaths_GetTempDir
, METH_O
, NULL
},
40080 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40081 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
)_wrap_StandardPaths_GetInstallPrefix
, METH_O
, NULL
},
40082 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
40083 { (char *)"new_PowerEvent", (PyCFunction
) _wrap_new_PowerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40084 { (char *)"PowerEvent_Veto", (PyCFunction
)_wrap_PowerEvent_Veto
, METH_O
, NULL
},
40085 { (char *)"PowerEvent_IsVetoed", (PyCFunction
)_wrap_PowerEvent_IsVetoed
, METH_O
, NULL
},
40086 { (char *)"PowerEvent_swigregister", PowerEvent_swigregister
, METH_VARARGS
, NULL
},
40087 { (char *)"PowerEvent_swiginit", PowerEvent_swiginit
, METH_VARARGS
, NULL
},
40088 { (char *)"GetPowerType", (PyCFunction
)_wrap_GetPowerType
, METH_NOARGS
, NULL
},
40089 { (char *)"GetBatteryState", (PyCFunction
)_wrap_GetBatteryState
, METH_NOARGS
, NULL
},
40090 { (char *)"new_AboutDialogInfo", (PyCFunction
)_wrap_new_AboutDialogInfo
, METH_NOARGS
, NULL
},
40091 { (char *)"delete_AboutDialogInfo", (PyCFunction
)_wrap_delete_AboutDialogInfo
, METH_O
, NULL
},
40092 { (char *)"AboutDialogInfo_SetName", (PyCFunction
) _wrap_AboutDialogInfo_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40093 { (char *)"AboutDialogInfo_GetName", (PyCFunction
)_wrap_AboutDialogInfo_GetName
, METH_O
, NULL
},
40094 { (char *)"AboutDialogInfo_SetVersion", (PyCFunction
) _wrap_AboutDialogInfo_SetVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40095 { (char *)"AboutDialogInfo_HasVersion", (PyCFunction
)_wrap_AboutDialogInfo_HasVersion
, METH_O
, NULL
},
40096 { (char *)"AboutDialogInfo_GetVersion", (PyCFunction
)_wrap_AboutDialogInfo_GetVersion
, METH_O
, NULL
},
40097 { (char *)"AboutDialogInfo_SetDescription", (PyCFunction
) _wrap_AboutDialogInfo_SetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40098 { (char *)"AboutDialogInfo_HasDescription", (PyCFunction
)_wrap_AboutDialogInfo_HasDescription
, METH_O
, NULL
},
40099 { (char *)"AboutDialogInfo_GetDescription", (PyCFunction
)_wrap_AboutDialogInfo_GetDescription
, METH_O
, NULL
},
40100 { (char *)"AboutDialogInfo_SetCopyright", (PyCFunction
) _wrap_AboutDialogInfo_SetCopyright
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40101 { (char *)"AboutDialogInfo_HasCopyright", (PyCFunction
)_wrap_AboutDialogInfo_HasCopyright
, METH_O
, NULL
},
40102 { (char *)"AboutDialogInfo_GetCopyright", (PyCFunction
)_wrap_AboutDialogInfo_GetCopyright
, METH_O
, NULL
},
40103 { (char *)"AboutDialogInfo_SetLicence", (PyCFunction
) _wrap_AboutDialogInfo_SetLicence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40104 { (char *)"AboutDialogInfo_SetLicense", (PyCFunction
) _wrap_AboutDialogInfo_SetLicense
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40105 { (char *)"AboutDialogInfo_HasLicence", (PyCFunction
)_wrap_AboutDialogInfo_HasLicence
, METH_O
, NULL
},
40106 { (char *)"AboutDialogInfo_GetLicence", (PyCFunction
)_wrap_AboutDialogInfo_GetLicence
, METH_O
, NULL
},
40107 { (char *)"AboutDialogInfo_SetIcon", (PyCFunction
) _wrap_AboutDialogInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40108 { (char *)"AboutDialogInfo_HasIcon", (PyCFunction
)_wrap_AboutDialogInfo_HasIcon
, METH_O
, NULL
},
40109 { (char *)"AboutDialogInfo_GetIcon", (PyCFunction
)_wrap_AboutDialogInfo_GetIcon
, METH_O
, NULL
},
40110 { (char *)"AboutDialogInfo__SetWebSite", (PyCFunction
) _wrap_AboutDialogInfo__SetWebSite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40111 { (char *)"AboutDialogInfo__GetWebSiteURL", (PyCFunction
)_wrap_AboutDialogInfo__GetWebSiteURL
, METH_O
, NULL
},
40112 { (char *)"AboutDialogInfo__GetWebSiteDescription", (PyCFunction
)_wrap_AboutDialogInfo__GetWebSiteDescription
, METH_O
, NULL
},
40113 { (char *)"AboutDialogInfo_HasWebSite", (PyCFunction
)_wrap_AboutDialogInfo_HasWebSite
, METH_O
, NULL
},
40114 { (char *)"AboutDialogInfo_SetDevelopers", (PyCFunction
) _wrap_AboutDialogInfo_SetDevelopers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40115 { (char *)"AboutDialogInfo_AddDeveloper", (PyCFunction
) _wrap_AboutDialogInfo_AddDeveloper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40116 { (char *)"AboutDialogInfo_HasDevelopers", (PyCFunction
)_wrap_AboutDialogInfo_HasDevelopers
, METH_O
, NULL
},
40117 { (char *)"AboutDialogInfo_GetDevelopers", (PyCFunction
)_wrap_AboutDialogInfo_GetDevelopers
, METH_O
, NULL
},
40118 { (char *)"AboutDialogInfo_SetDocWriters", (PyCFunction
) _wrap_AboutDialogInfo_SetDocWriters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40119 { (char *)"AboutDialogInfo_AddDocWriter", (PyCFunction
) _wrap_AboutDialogInfo_AddDocWriter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40120 { (char *)"AboutDialogInfo_HasDocWriters", (PyCFunction
)_wrap_AboutDialogInfo_HasDocWriters
, METH_O
, NULL
},
40121 { (char *)"AboutDialogInfo_GetDocWriters", (PyCFunction
)_wrap_AboutDialogInfo_GetDocWriters
, METH_O
, NULL
},
40122 { (char *)"AboutDialogInfo_SetArtists", (PyCFunction
) _wrap_AboutDialogInfo_SetArtists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40123 { (char *)"AboutDialogInfo_AddArtist", (PyCFunction
) _wrap_AboutDialogInfo_AddArtist
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40124 { (char *)"AboutDialogInfo_HasArtists", (PyCFunction
)_wrap_AboutDialogInfo_HasArtists
, METH_O
, NULL
},
40125 { (char *)"AboutDialogInfo_GetArtists", (PyCFunction
)_wrap_AboutDialogInfo_GetArtists
, METH_O
, NULL
},
40126 { (char *)"AboutDialogInfo_SetTranslators", (PyCFunction
) _wrap_AboutDialogInfo_SetTranslators
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40127 { (char *)"AboutDialogInfo_AddTranslator", (PyCFunction
) _wrap_AboutDialogInfo_AddTranslator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40128 { (char *)"AboutDialogInfo_HasTranslators", (PyCFunction
)_wrap_AboutDialogInfo_HasTranslators
, METH_O
, NULL
},
40129 { (char *)"AboutDialogInfo_GetTranslators", (PyCFunction
)_wrap_AboutDialogInfo_GetTranslators
, METH_O
, NULL
},
40130 { (char *)"AboutDialogInfo_IsSimple", (PyCFunction
)_wrap_AboutDialogInfo_IsSimple
, METH_O
, NULL
},
40131 { (char *)"AboutDialogInfo_GetDescriptionAndCredits", (PyCFunction
)_wrap_AboutDialogInfo_GetDescriptionAndCredits
, METH_O
, NULL
},
40132 { (char *)"AboutDialogInfo_swigregister", AboutDialogInfo_swigregister
, METH_VARARGS
, NULL
},
40133 { (char *)"AboutDialogInfo_swiginit", AboutDialogInfo_swiginit
, METH_VARARGS
, NULL
},
40134 { (char *)"AboutBox", (PyCFunction
) _wrap_AboutBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40135 { NULL
, NULL
, 0, NULL
}
40139 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
40141 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
40142 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40144 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
40145 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
40147 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
40148 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
40150 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
40151 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
40153 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
40154 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
40156 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
40157 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
40159 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
40160 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
40162 static void *_p_wxPowerEventTo_p_wxEvent(void *x
) {
40163 return (void *)((wxEvent
*) ((wxPowerEvent
*) x
));
40165 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
40166 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
40168 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
40169 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
40171 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
40172 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40174 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
40175 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
40177 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
40178 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
40180 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
40181 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
40183 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
40184 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
40186 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
40187 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40189 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
40190 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40192 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
40193 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
40195 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
40196 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
40198 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
40199 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
40201 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
40202 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
40204 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
40205 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
40207 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
40208 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
40210 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
40211 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
40213 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
40214 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
40216 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
40217 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
40219 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
40220 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40222 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
40223 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40225 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
40226 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40228 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
40229 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40231 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
40232 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40234 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
40235 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
40237 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
40238 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
40240 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
40241 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40243 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
40244 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
40246 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
40247 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
40249 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
40250 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
40252 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
40253 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40255 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
40256 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40258 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
40259 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40261 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
40262 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
40264 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
40265 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
40267 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
40268 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
40270 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
40271 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
40273 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
40274 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
40276 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
40277 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
40279 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
40280 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
40282 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
40283 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
40285 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
40286 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
40288 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
40289 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
40291 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
40292 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
40294 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
40295 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
40297 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
40298 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
40300 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
40301 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
40303 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
40304 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
40306 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
40307 return (void *)((wxDataObject
*) ((wxURLDataObject
*) x
));
40309 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
40310 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
40312 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
40313 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
40315 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
40316 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
40318 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
40319 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
40321 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
40322 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
40324 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
40325 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
40327 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
40328 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
40330 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
40331 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
40333 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
40334 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
40336 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
40337 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
40339 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
40340 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
40342 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
40343 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40345 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
40346 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
40348 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
40349 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
40351 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
40352 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
40354 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
40355 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
40357 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
40358 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
40360 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
40361 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
40363 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
40364 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
40366 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
40367 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
40369 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
40370 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
40372 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
40373 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
40375 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
40376 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
40378 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
40379 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
40381 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
40382 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
40384 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
40385 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40387 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
40388 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
40390 static void *_p_wxSizerTo_p_wxObject(void *x
) {
40391 return (void *)((wxObject
*) ((wxSizer
*) x
));
40393 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
40394 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40396 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
40397 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
40399 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
40400 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40402 static void *_p_wxEventTo_p_wxObject(void *x
) {
40403 return (void *)((wxObject
*) ((wxEvent
*) x
));
40405 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
40406 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40408 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
40409 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
40411 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
40412 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
40414 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
40415 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
40417 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
40418 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
40420 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
40421 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
40423 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
40424 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40426 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
40427 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40429 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
40430 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40432 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
40433 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40435 static void *_p_wxControlTo_p_wxObject(void *x
) {
40436 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
40438 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
40439 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
40441 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
40442 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
40444 static void *_p_wxPowerEventTo_p_wxObject(void *x
) {
40445 return (void *)((wxObject
*) (wxEvent
*) ((wxPowerEvent
*) x
));
40447 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
40448 return (void *)((wxObject
*) ((wxFSFile
*) x
));
40450 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
40451 return (void *)((wxObject
*) ((wxClipboard
*) x
));
40453 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
40454 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
40456 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
40457 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
40459 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
40460 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40462 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
40463 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
40465 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
40466 return (void *)((wxObject
*) ((wxToolTip
*) x
));
40468 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
40469 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
40471 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
40472 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
40474 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
40475 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
40477 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
40478 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40480 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
40481 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40483 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
40484 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
40486 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
40487 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
40489 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
40490 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
40492 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
40493 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
40495 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
40496 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
40498 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
40499 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
40501 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
40502 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
40504 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
40505 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
40507 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
40508 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
40510 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
40511 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
40513 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
40514 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40516 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
40517 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
40519 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
40520 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
40522 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
40523 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
40525 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
40526 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
40528 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
40529 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
40531 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
40532 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
40534 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
40535 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
40537 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
40538 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
40540 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
40541 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
40543 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
40544 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
40546 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
40547 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
40549 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
40550 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
40552 static void *_p_wxImageTo_p_wxObject(void *x
) {
40553 return (void *)((wxObject
*) ((wxImage
*) x
));
40555 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
40556 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
40558 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
40559 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
40561 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
40562 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
40564 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
40565 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40567 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
40568 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40570 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
40571 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
40573 static void *_p_wxWindowTo_p_wxObject(void *x
) {
40574 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
40576 static void *_p_wxMenuTo_p_wxObject(void *x
) {
40577 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
40579 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
40580 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
40582 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
40583 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
40585 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
40586 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
40588 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
40589 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40591 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
40592 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
40594 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
40595 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
40597 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
40598 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
40600 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
40601 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
40603 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
40604 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
40606 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
40607 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
40609 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
40610 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40612 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
40613 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
40615 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
40616 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
40618 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
40619 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
40621 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
40622 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40624 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
40625 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
40627 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
40628 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40630 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
40631 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
40633 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
40634 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
40636 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
40637 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
40639 static void *_p_wxLogBufferTo_p_wxLog(void *x
) {
40640 return (void *)((wxLog
*) ((wxLogBuffer
*) x
));
40642 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
40643 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
40645 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
40646 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
40648 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
40649 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
40651 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
40652 return (void *)((wxLog
*) ((wxLogChain
*) x
));
40654 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
40655 return (void *)((wxLog
*) ((wxLogGui
*) x
));
40657 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
40658 return (void *)((wxLog
*) ((wxPyLog
*) x
));
40660 static void *_p_wxControlTo_p_wxWindow(void *x
) {
40661 return (void *)((wxWindow
*) ((wxControl
*) x
));
40663 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
40664 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
40666 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
40667 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
40669 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
40670 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
40672 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
40673 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
40675 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
40676 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};
40677 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
40678 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
40679 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
40680 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, (void*)0, 0};
40681 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
40682 static swig_type_info _swigt__p_wxAboutDialogInfo
= {"_p_wxAboutDialogInfo", "wxAboutDialogInfo *", 0, 0, (void*)0, 0};
40683 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
40684 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
40685 static swig_type_info _swigt__p_wxBitmapDataObject
= {"_p_wxBitmapDataObject", "wxBitmapDataObject *", 0, 0, (void*)0, 0};
40686 static swig_type_info _swigt__p_wxBusyCursor
= {"_p_wxBusyCursor", "wxBusyCursor *", 0, 0, (void*)0, 0};
40687 static swig_type_info _swigt__p_wxBusyInfo
= {"_p_wxBusyInfo", "wxBusyInfo *", 0, 0, (void*)0, 0};
40688 static swig_type_info _swigt__p_wxCaret
= {"_p_wxCaret", "wxCaret *", 0, 0, (void*)0, 0};
40689 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
40690 static swig_type_info _swigt__p_wxClipboard
= {"_p_wxClipboard", "wxClipboard *", 0, 0, (void*)0, 0};
40691 static swig_type_info _swigt__p_wxClipboardLocker
= {"_p_wxClipboardLocker", "wxClipboardLocker *", 0, 0, (void*)0, 0};
40692 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
40693 static swig_type_info _swigt__p_wxConfig
= {"_p_wxConfig", "wxConfig *", 0, 0, (void*)0, 0};
40694 static swig_type_info _swigt__p_wxConfigBase
= {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0};
40695 static swig_type_info _swigt__p_wxConfigPathChanger
= {"_p_wxConfigPathChanger", "wxConfigPathChanger *", 0, 0, (void*)0, 0};
40696 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
40697 static swig_type_info _swigt__p_wxCustomDataObject
= {"_p_wxCustomDataObject", "wxCustomDataObject *", 0, 0, (void*)0, 0};
40698 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
40699 static swig_type_info _swigt__p_wxDataFormat
= {"_p_wxDataFormat", "wxDataFormat *", 0, 0, (void*)0, 0};
40700 static swig_type_info _swigt__p_wxDataObject
= {"_p_wxDataObject", "wxDataObject *", 0, 0, (void*)0, 0};
40701 static swig_type_info _swigt__p_wxDataObjectComposite
= {"_p_wxDataObjectComposite", "wxDataObjectComposite *", 0, 0, (void*)0, 0};
40702 static swig_type_info _swigt__p_wxDataObjectSimple
= {"_p_wxDataObjectSimple", "wxDataObjectSimple *", 0, 0, (void*)0, 0};
40703 static swig_type_info _swigt__p_wxDateSpan
= {"_p_wxDateSpan", "wxDateSpan *", 0, 0, (void*)0, 0};
40704 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
40705 static swig_type_info _swigt__p_wxDateTime__TimeZone
= {"_p_wxDateTime__TimeZone", "wxDateTime::TimeZone *", 0, 0, (void*)0, 0};
40706 static swig_type_info _swigt__p_wxDisplay
= {"_p_wxDisplay", "wxDisplay *", 0, 0, (void*)0, 0};
40707 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
40708 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
40709 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
40710 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
40711 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
40712 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
40713 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
40714 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
40715 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
40716 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
40717 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
40718 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
40719 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
40720 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
40721 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
40722 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
40723 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
40724 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
40725 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
40726 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
40727 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
40728 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
40729 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
40730 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
40731 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
40732 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
40733 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
40734 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
40735 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
40736 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
40737 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
40738 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
40739 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
40740 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
40741 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
40742 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
40743 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
40744 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
40745 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
40746 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
40747 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
40748 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
40749 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
40750 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
40751 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
40752 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
40753 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
40754 static swig_type_info _swigt__p_wxFileConfig
= {"_p_wxFileConfig", "wxFileConfig *", 0, 0, (void*)0, 0};
40755 static swig_type_info _swigt__p_wxFileDataObject
= {"_p_wxFileDataObject", "wxFileDataObject *", 0, 0, (void*)0, 0};
40756 static swig_type_info _swigt__p_wxFileHistory
= {"_p_wxFileHistory", "wxFileHistory *", 0, 0, (void*)0, 0};
40757 static swig_type_info _swigt__p_wxFileType
= {"_p_wxFileType", "wxFileType *", 0, 0, (void*)0, 0};
40758 static swig_type_info _swigt__p_wxFileTypeInfo
= {"_p_wxFileTypeInfo", "wxFileTypeInfo *", 0, 0, (void*)0, 0};
40759 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
40760 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
40761 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
40762 static swig_type_info _swigt__p_wxJoystick
= {"_p_wxJoystick", "wxJoystick *", 0, 0, (void*)0, 0};
40763 static swig_type_info _swigt__p_wxJoystickEvent
= {"_p_wxJoystickEvent", "wxJoystickEvent *", 0, 0, (void*)0, 0};
40764 static swig_type_info _swigt__p_wxKillError
= {"_p_wxKillError", "enum wxKillError *|wxKillError *", 0, 0, (void*)0, 0};
40765 static swig_type_info _swigt__p_wxLog
= {"_p_wxLog", "wxLog *", 0, 0, (void*)0, 0};
40766 static swig_type_info _swigt__p_wxLogBuffer
= {"_p_wxLogBuffer", "wxLogBuffer *", 0, 0, (void*)0, 0};
40767 static swig_type_info _swigt__p_wxLogChain
= {"_p_wxLogChain", "wxLogChain *", 0, 0, (void*)0, 0};
40768 static swig_type_info _swigt__p_wxLogGui
= {"_p_wxLogGui", "wxLogGui *", 0, 0, (void*)0, 0};
40769 static swig_type_info _swigt__p_wxLogNull
= {"_p_wxLogNull", "wxLogNull *", 0, 0, (void*)0, 0};
40770 static swig_type_info _swigt__p_wxLogStderr
= {"_p_wxLogStderr", "wxLogStderr *", 0, 0, (void*)0, 0};
40771 static swig_type_info _swigt__p_wxLogTextCtrl
= {"_p_wxLogTextCtrl", "wxLogTextCtrl *", 0, 0, (void*)0, 0};
40772 static swig_type_info _swigt__p_wxLogWindow
= {"_p_wxLogWindow", "wxLogWindow *", 0, 0, (void*)0, 0};
40773 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
40774 static swig_type_info _swigt__p_wxMetafileDataObject
= {"_p_wxMetafileDataObject", "wxMetafileDataObject *", 0, 0, (void*)0, 0};
40775 static swig_type_info _swigt__p_wxMimeTypesManager
= {"_p_wxMimeTypesManager", "wxMimeTypesManager *", 0, 0, (void*)0, 0};
40776 static swig_type_info _swigt__p_wxMouseState
= {"_p_wxMouseState", "wxMouseState *", 0, 0, (void*)0, 0};
40777 static swig_type_info _swigt__p_wxMutexGuiLocker
= {"_p_wxMutexGuiLocker", "wxMutexGuiLocker *", 0, 0, (void*)0, 0};
40778 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
40779 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
40780 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
40781 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
40782 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
40783 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
40784 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
40785 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
40786 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
40787 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
40788 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
40789 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
40790 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
40791 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
40792 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
40793 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
40794 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
40795 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
40796 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
40797 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
40798 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
40799 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
40800 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
40801 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
40802 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
40803 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
40804 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
40805 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
40806 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
40807 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
40808 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
40809 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
40810 static swig_type_info _swigt__p_wxOutputStream
= {"_p_wxOutputStream", "wxOutputStream *", 0, 0, (void*)0, 0};
40811 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
40812 static swig_type_info _swigt__p_wxPlatformInfo
= {"_p_wxPlatformInfo", "wxPlatformInfo *", 0, 0, (void*)0, 0};
40813 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
40814 static swig_type_info _swigt__p_wxPowerEvent
= {"_p_wxPowerEvent", "wxPowerEvent *", 0, 0, (void*)0, 0};
40815 static swig_type_info _swigt__p_wxProcessEvent
= {"_p_wxProcessEvent", "wxProcessEvent *", 0, 0, (void*)0, 0};
40816 static swig_type_info _swigt__p_wxPyArtProvider
= {"_p_wxPyArtProvider", "wxPyArtProvider *", 0, 0, (void*)0, 0};
40817 static swig_type_info _swigt__p_wxPyBitmapDataObject
= {"_p_wxPyBitmapDataObject", "wxPyBitmapDataObject *", 0, 0, (void*)0, 0};
40818 static swig_type_info _swigt__p_wxPyDataObjectSimple
= {"_p_wxPyDataObjectSimple", "wxPyDataObjectSimple *", 0, 0, (void*)0, 0};
40819 static swig_type_info _swigt__p_wxPyDropSource
= {"_p_wxPyDropSource", "wxPyDropSource *", 0, 0, (void*)0, 0};
40820 static swig_type_info _swigt__p_wxPyDropTarget
= {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, (void*)0, 0};
40821 static swig_type_info _swigt__p_wxPyFileDropTarget
= {"_p_wxPyFileDropTarget", "wxPyFileDropTarget *", 0, 0, (void*)0, 0};
40822 static swig_type_info _swigt__p_wxPyLog
= {"_p_wxPyLog", "wxPyLog *", 0, 0, (void*)0, 0};
40823 static swig_type_info _swigt__p_wxPyProcess
= {"_p_wxPyProcess", "wxPyProcess *", 0, 0, (void*)0, 0};
40824 static swig_type_info _swigt__p_wxPyTextDataObject
= {"_p_wxPyTextDataObject", "wxPyTextDataObject *", 0, 0, (void*)0, 0};
40825 static swig_type_info _swigt__p_wxPyTextDropTarget
= {"_p_wxPyTextDropTarget", "wxPyTextDropTarget *", 0, 0, (void*)0, 0};
40826 static swig_type_info _swigt__p_wxPyTimer
= {"_p_wxPyTimer", "wxPyTimer *", 0, 0, (void*)0, 0};
40827 static swig_type_info _swigt__p_wxPyTipProvider
= {"_p_wxPyTipProvider", "wxPyTipProvider *", 0, 0, (void*)0, 0};
40828 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
40829 static swig_type_info _swigt__p_wxSingleInstanceChecker
= {"_p_wxSingleInstanceChecker", "wxSingleInstanceChecker *", 0, 0, (void*)0, 0};
40830 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
40831 static swig_type_info _swigt__p_wxSound
= {"_p_wxSound", "wxSound *", 0, 0, (void*)0, 0};
40832 static swig_type_info _swigt__p_wxStandardPaths
= {"_p_wxStandardPaths", "wxStandardPaths *", 0, 0, (void*)0, 0};
40833 static swig_type_info _swigt__p_wxStopWatch
= {"_p_wxStopWatch", "wxStopWatch *", 0, 0, (void*)0, 0};
40834 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
40835 static swig_type_info _swigt__p_wxSystemOptions
= {"_p_wxSystemOptions", "wxSystemOptions *", 0, 0, (void*)0, 0};
40836 static swig_type_info _swigt__p_wxSystemSettings
= {"_p_wxSystemSettings", "wxSystemSettings *", 0, 0, (void*)0, 0};
40837 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
40838 static swig_type_info _swigt__p_wxTextDataObject
= {"_p_wxTextDataObject", "wxTextDataObject *", 0, 0, (void*)0, 0};
40839 static swig_type_info _swigt__p_wxTimeSpan
= {"_p_wxTimeSpan", "wxTimeSpan *", 0, 0, (void*)0, 0};
40840 static swig_type_info _swigt__p_wxTimer
= {"_p_wxTimer", "wxTimer *", 0, 0, (void*)0, 0};
40841 static swig_type_info _swigt__p_wxTimerEvent
= {"_p_wxTimerEvent", "wxTimerEvent *", 0, 0, (void*)0, 0};
40842 static swig_type_info _swigt__p_wxTimerRunner
= {"_p_wxTimerRunner", "wxTimerRunner *", 0, 0, (void*)0, 0};
40843 static swig_type_info _swigt__p_wxTipProvider
= {"_p_wxTipProvider", "wxTipProvider *", 0, 0, (void*)0, 0};
40844 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", "wxToolTip *", 0, 0, (void*)0, 0};
40845 static swig_type_info _swigt__p_wxURLDataObject
= {"_p_wxURLDataObject", "wxURLDataObject *", 0, 0, (void*)0, 0};
40846 static swig_type_info _swigt__p_wxVideoMode
= {"_p_wxVideoMode", "wxVideoMode *", 0, 0, (void*)0, 0};
40847 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
40848 static swig_type_info _swigt__p_wxWindowDisabler
= {"_p_wxWindowDisabler", "wxWindowDisabler *", 0, 0, (void*)0, 0};
40850 static swig_type_info
*swig_type_initial
[] = {
40852 &_swigt__p_form_ops_t
,
40854 &_swigt__p_unsigned_char
,
40855 &_swigt__p_unsigned_int
,
40856 &_swigt__p_unsigned_long
,
40858 &_swigt__p_wxANIHandler
,
40859 &_swigt__p_wxAboutDialogInfo
,
40860 &_swigt__p_wxAcceleratorTable
,
40861 &_swigt__p_wxActivateEvent
,
40862 &_swigt__p_wxArrayString
,
40863 &_swigt__p_wxBMPHandler
,
40864 &_swigt__p_wxBitmap
,
40865 &_swigt__p_wxBitmapDataObject
,
40866 &_swigt__p_wxBoxSizer
,
40867 &_swigt__p_wxBusyCursor
,
40868 &_swigt__p_wxBusyInfo
,
40869 &_swigt__p_wxCURHandler
,
40870 &_swigt__p_wxCaret
,
40872 &_swigt__p_wxChildFocusEvent
,
40873 &_swigt__p_wxClipboard
,
40874 &_swigt__p_wxClipboardLocker
,
40875 &_swigt__p_wxClipboardTextEvent
,
40876 &_swigt__p_wxCloseEvent
,
40877 &_swigt__p_wxColour
,
40878 &_swigt__p_wxCommandEvent
,
40879 &_swigt__p_wxConfig
,
40880 &_swigt__p_wxConfigBase
,
40881 &_swigt__p_wxConfigPathChanger
,
40882 &_swigt__p_wxContextMenuEvent
,
40883 &_swigt__p_wxControl
,
40884 &_swigt__p_wxControlWithItems
,
40885 &_swigt__p_wxCursor
,
40886 &_swigt__p_wxCustomDataObject
,
40888 &_swigt__p_wxDataFormat
,
40889 &_swigt__p_wxDataObject
,
40890 &_swigt__p_wxDataObjectComposite
,
40891 &_swigt__p_wxDataObjectSimple
,
40892 &_swigt__p_wxDateEvent
,
40893 &_swigt__p_wxDateSpan
,
40894 &_swigt__p_wxDateTime
,
40895 &_swigt__p_wxDateTime__TimeZone
,
40896 &_swigt__p_wxDisplay
,
40897 &_swigt__p_wxDisplayChangedEvent
,
40898 &_swigt__p_wxDropFilesEvent
,
40899 &_swigt__p_wxDuplexMode
,
40900 &_swigt__p_wxEraseEvent
,
40901 &_swigt__p_wxEvent
,
40902 &_swigt__p_wxEvtHandler
,
40903 &_swigt__p_wxFSFile
,
40904 &_swigt__p_wxFileConfig
,
40905 &_swigt__p_wxFileDataObject
,
40906 &_swigt__p_wxFileHistory
,
40907 &_swigt__p_wxFileSystem
,
40908 &_swigt__p_wxFileType
,
40909 &_swigt__p_wxFileTypeInfo
,
40910 &_swigt__p_wxFlexGridSizer
,
40911 &_swigt__p_wxFocusEvent
,
40913 &_swigt__p_wxFrame
,
40914 &_swigt__p_wxGBSizerItem
,
40915 &_swigt__p_wxGIFHandler
,
40916 &_swigt__p_wxGridBagSizer
,
40917 &_swigt__p_wxGridSizer
,
40918 &_swigt__p_wxICOHandler
,
40920 &_swigt__p_wxIconizeEvent
,
40921 &_swigt__p_wxIdleEvent
,
40922 &_swigt__p_wxImage
,
40923 &_swigt__p_wxImageHandler
,
40924 &_swigt__p_wxIndividualLayoutConstraint
,
40925 &_swigt__p_wxInitDialogEvent
,
40926 &_swigt__p_wxJPEGHandler
,
40927 &_swigt__p_wxJoystick
,
40928 &_swigt__p_wxJoystickEvent
,
40929 &_swigt__p_wxKeyEvent
,
40930 &_swigt__p_wxKillError
,
40931 &_swigt__p_wxLayoutConstraints
,
40933 &_swigt__p_wxLogBuffer
,
40934 &_swigt__p_wxLogChain
,
40935 &_swigt__p_wxLogGui
,
40936 &_swigt__p_wxLogNull
,
40937 &_swigt__p_wxLogStderr
,
40938 &_swigt__p_wxLogTextCtrl
,
40939 &_swigt__p_wxLogWindow
,
40940 &_swigt__p_wxMaximizeEvent
,
40942 &_swigt__p_wxMenuBar
,
40943 &_swigt__p_wxMenuEvent
,
40944 &_swigt__p_wxMenuItem
,
40945 &_swigt__p_wxMetafileDataObject
,
40946 &_swigt__p_wxMimeTypesManager
,
40947 &_swigt__p_wxMouseCaptureChangedEvent
,
40948 &_swigt__p_wxMouseCaptureLostEvent
,
40949 &_swigt__p_wxMouseEvent
,
40950 &_swigt__p_wxMouseState
,
40951 &_swigt__p_wxMoveEvent
,
40952 &_swigt__p_wxMutexGuiLocker
,
40953 &_swigt__p_wxNavigationKeyEvent
,
40954 &_swigt__p_wxNcPaintEvent
,
40955 &_swigt__p_wxNotifyEvent
,
40956 &_swigt__p_wxObject
,
40957 &_swigt__p_wxOutputStream
,
40958 &_swigt__p_wxPCXHandler
,
40959 &_swigt__p_wxPNGHandler
,
40960 &_swigt__p_wxPNMHandler
,
40961 &_swigt__p_wxPaintEvent
,
40962 &_swigt__p_wxPaletteChangedEvent
,
40963 &_swigt__p_wxPaperSize
,
40964 &_swigt__p_wxPlatformInfo
,
40965 &_swigt__p_wxPoint
,
40966 &_swigt__p_wxPowerEvent
,
40967 &_swigt__p_wxProcessEvent
,
40968 &_swigt__p_wxPyApp
,
40969 &_swigt__p_wxPyArtProvider
,
40970 &_swigt__p_wxPyBitmapDataObject
,
40971 &_swigt__p_wxPyCommandEvent
,
40972 &_swigt__p_wxPyDataObjectSimple
,
40973 &_swigt__p_wxPyDropSource
,
40974 &_swigt__p_wxPyDropTarget
,
40975 &_swigt__p_wxPyEvent
,
40976 &_swigt__p_wxPyFileDropTarget
,
40977 &_swigt__p_wxPyImageHandler
,
40978 &_swigt__p_wxPyLog
,
40979 &_swigt__p_wxPyProcess
,
40980 &_swigt__p_wxPySizer
,
40981 &_swigt__p_wxPyTextDataObject
,
40982 &_swigt__p_wxPyTextDropTarget
,
40983 &_swigt__p_wxPyTimer
,
40984 &_swigt__p_wxPyTipProvider
,
40985 &_swigt__p_wxPyValidator
,
40986 &_swigt__p_wxQueryNewPaletteEvent
,
40988 &_swigt__p_wxScrollEvent
,
40989 &_swigt__p_wxScrollWinEvent
,
40990 &_swigt__p_wxSetCursorEvent
,
40991 &_swigt__p_wxShowEvent
,
40992 &_swigt__p_wxSingleInstanceChecker
,
40994 &_swigt__p_wxSizeEvent
,
40995 &_swigt__p_wxSizer
,
40996 &_swigt__p_wxSizerItem
,
40997 &_swigt__p_wxSound
,
40998 &_swigt__p_wxStandardPaths
,
40999 &_swigt__p_wxStaticBoxSizer
,
41000 &_swigt__p_wxStdDialogButtonSizer
,
41001 &_swigt__p_wxStopWatch
,
41002 &_swigt__p_wxString
,
41003 &_swigt__p_wxSysColourChangedEvent
,
41004 &_swigt__p_wxSystemOptions
,
41005 &_swigt__p_wxSystemSettings
,
41006 &_swigt__p_wxTGAHandler
,
41007 &_swigt__p_wxTIFFHandler
,
41008 &_swigt__p_wxTextCtrl
,
41009 &_swigt__p_wxTextDataObject
,
41010 &_swigt__p_wxTimeSpan
,
41011 &_swigt__p_wxTimer
,
41012 &_swigt__p_wxTimerEvent
,
41013 &_swigt__p_wxTimerRunner
,
41014 &_swigt__p_wxTipProvider
,
41015 &_swigt__p_wxToolTip
,
41016 &_swigt__p_wxURLDataObject
,
41017 &_swigt__p_wxUpdateUIEvent
,
41018 &_swigt__p_wxValidator
,
41019 &_swigt__p_wxVideoMode
,
41020 &_swigt__p_wxWindow
,
41021 &_swigt__p_wxWindowCreateEvent
,
41022 &_swigt__p_wxWindowDestroyEvent
,
41023 &_swigt__p_wxWindowDisabler
,
41024 &_swigt__p_wxXPMHandler
,
41027 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
41028 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
41029 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
41030 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
41031 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
41032 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
41033 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
41034 static swig_cast_info _swigc__p_wxAboutDialogInfo
[] = { {&_swigt__p_wxAboutDialogInfo
, 0, 0, 0},{0, 0, 0, 0}};
41035 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
41036 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
41037 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}};
41038 static swig_cast_info _swigc__p_wxBusyCursor
[] = { {&_swigt__p_wxBusyCursor
, 0, 0, 0},{0, 0, 0, 0}};
41039 static swig_cast_info _swigc__p_wxBusyInfo
[] = { {&_swigt__p_wxBusyInfo
, 0, 0, 0},{0, 0, 0, 0}};
41040 static swig_cast_info _swigc__p_wxCaret
[] = { {&_swigt__p_wxCaret
, 0, 0, 0},{0, 0, 0, 0}};
41041 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
41042 static swig_cast_info _swigc__p_wxClipboard
[] = { {&_swigt__p_wxClipboard
, 0, 0, 0},{0, 0, 0, 0}};
41043 static swig_cast_info _swigc__p_wxClipboardLocker
[] = { {&_swigt__p_wxClipboardLocker
, 0, 0, 0},{0, 0, 0, 0}};
41044 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
41045 static swig_cast_info _swigc__p_wxConfig
[] = { {&_swigt__p_wxConfig
, 0, 0, 0},{0, 0, 0, 0}};
41046 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}};
41047 static swig_cast_info _swigc__p_wxConfigPathChanger
[] = { {&_swigt__p_wxConfigPathChanger
, 0, 0, 0},{0, 0, 0, 0}};
41048 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
41049 static swig_cast_info _swigc__p_wxCustomDataObject
[] = { {&_swigt__p_wxCustomDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41050 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
41051 static swig_cast_info _swigc__p_wxDataFormat
[] = { {&_swigt__p_wxDataFormat
, 0, 0, 0},{0, 0, 0, 0}};
41052 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}};
41053 static swig_cast_info _swigc__p_wxDataObjectComposite
[] = { {&_swigt__p_wxDataObjectComposite
, 0, 0, 0},{0, 0, 0, 0}};
41054 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}};
41055 static swig_cast_info _swigc__p_wxDateSpan
[] = { {&_swigt__p_wxDateSpan
, 0, 0, 0},{0, 0, 0, 0}};
41056 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
41057 static swig_cast_info _swigc__p_wxDateTime__TimeZone
[] = { {&_swigt__p_wxDateTime__TimeZone
, 0, 0, 0},{0, 0, 0, 0}};
41058 static swig_cast_info _swigc__p_wxDisplay
[] = { {&_swigt__p_wxDisplay
, 0, 0, 0},{0, 0, 0, 0}};
41059 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
41060 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
41061 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
41062 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41063 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41064 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41065 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
41066 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
41067 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
41068 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41069 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41070 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
41071 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
41072 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41073 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
41074 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41075 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41076 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41077 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41078 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
41079 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41080 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
41081 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
41082 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
41083 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
41084 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41085 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41086 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41087 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41088 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
41089 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
41090 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
41091 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
41092 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
41093 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
41094 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41095 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41096 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41097 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
41098 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}};
41099 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
41100 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
41101 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
41102 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
41103 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
41104 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
41105 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}};
41106 static swig_cast_info _swigc__p_wxFileConfig
[] = { {&_swigt__p_wxFileConfig
, 0, 0, 0},{0, 0, 0, 0}};
41107 static swig_cast_info _swigc__p_wxFileDataObject
[] = { {&_swigt__p_wxFileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41108 static swig_cast_info _swigc__p_wxFileHistory
[] = { {&_swigt__p_wxFileHistory
, 0, 0, 0},{0, 0, 0, 0}};
41109 static swig_cast_info _swigc__p_wxFileType
[] = { {&_swigt__p_wxFileType
, 0, 0, 0},{0, 0, 0, 0}};
41110 static swig_cast_info _swigc__p_wxFileTypeInfo
[] = { {&_swigt__p_wxFileTypeInfo
, 0, 0, 0},{0, 0, 0, 0}};
41111 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
41112 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
41113 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
41114 static swig_cast_info _swigc__p_wxJoystick
[] = { {&_swigt__p_wxJoystick
, 0, 0, 0},{0, 0, 0, 0}};
41115 static swig_cast_info _swigc__p_wxJoystickEvent
[] = { {&_swigt__p_wxJoystickEvent
, 0, 0, 0},{0, 0, 0, 0}};
41116 static swig_cast_info _swigc__p_wxKillError
[] = { {&_swigt__p_wxKillError
, 0, 0, 0},{0, 0, 0, 0}};
41117 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}};
41118 static swig_cast_info _swigc__p_wxLogBuffer
[] = { {&_swigt__p_wxLogBuffer
, 0, 0, 0},{0, 0, 0, 0}};
41119 static swig_cast_info _swigc__p_wxLogChain
[] = { {&_swigt__p_wxLogChain
, 0, 0, 0},{0, 0, 0, 0}};
41120 static swig_cast_info _swigc__p_wxLogGui
[] = { {&_swigt__p_wxLogGui
, 0, 0, 0},{0, 0, 0, 0}};
41121 static swig_cast_info _swigc__p_wxLogNull
[] = { {&_swigt__p_wxLogNull
, 0, 0, 0},{0, 0, 0, 0}};
41122 static swig_cast_info _swigc__p_wxLogStderr
[] = { {&_swigt__p_wxLogStderr
, 0, 0, 0},{0, 0, 0, 0}};
41123 static swig_cast_info _swigc__p_wxLogTextCtrl
[] = { {&_swigt__p_wxLogTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
41124 static swig_cast_info _swigc__p_wxLogWindow
[] = { {&_swigt__p_wxLogWindow
, 0, 0, 0},{0, 0, 0, 0}};
41125 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
41126 static swig_cast_info _swigc__p_wxMetafileDataObject
[] = { {&_swigt__p_wxMetafileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41127 static swig_cast_info _swigc__p_wxMimeTypesManager
[] = { {&_swigt__p_wxMimeTypesManager
, 0, 0, 0},{0, 0, 0, 0}};
41128 static swig_cast_info _swigc__p_wxMouseState
[] = { {&_swigt__p_wxMouseState
, 0, 0, 0},{0, 0, 0, 0}};
41129 static swig_cast_info _swigc__p_wxMutexGuiLocker
[] = { {&_swigt__p_wxMutexGuiLocker
, 0, 0, 0},{0, 0, 0, 0}};
41130 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
41131 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
41132 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
41133 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
41134 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41135 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41136 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41137 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
41138 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
41139 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
41140 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
41141 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
41142 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
41143 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
41144 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
41145 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
41146 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
41147 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
41148 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
41149 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
41150 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
41151 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
41152 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
41153 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
41154 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
41155 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
41156 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
41157 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
41158 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
41159 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
41160 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
41161 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}};
41162 static swig_cast_info _swigc__p_wxOutputStream
[] = { {&_swigt__p_wxOutputStream
, 0, 0, 0},{0, 0, 0, 0}};
41163 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
41164 static swig_cast_info _swigc__p_wxPlatformInfo
[] = { {&_swigt__p_wxPlatformInfo
, 0, 0, 0},{0, 0, 0, 0}};
41165 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
41166 static swig_cast_info _swigc__p_wxPowerEvent
[] = { {&_swigt__p_wxPowerEvent
, 0, 0, 0},{0, 0, 0, 0}};
41167 static swig_cast_info _swigc__p_wxProcessEvent
[] = { {&_swigt__p_wxProcessEvent
, 0, 0, 0},{0, 0, 0, 0}};
41168 static swig_cast_info _swigc__p_wxPyArtProvider
[] = { {&_swigt__p_wxPyArtProvider
, 0, 0, 0},{0, 0, 0, 0}};
41169 static swig_cast_info _swigc__p_wxPyBitmapDataObject
[] = { {&_swigt__p_wxPyBitmapDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41170 static swig_cast_info _swigc__p_wxPyDataObjectSimple
[] = { {&_swigt__p_wxPyDataObjectSimple
, 0, 0, 0},{0, 0, 0, 0}};
41171 static swig_cast_info _swigc__p_wxPyDropSource
[] = { {&_swigt__p_wxPyDropSource
, 0, 0, 0},{0, 0, 0, 0}};
41172 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}};
41173 static swig_cast_info _swigc__p_wxPyFileDropTarget
[] = { {&_swigt__p_wxPyFileDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
41174 static swig_cast_info _swigc__p_wxPyLog
[] = { {&_swigt__p_wxPyLog
, 0, 0, 0},{0, 0, 0, 0}};
41175 static swig_cast_info _swigc__p_wxPyProcess
[] = { {&_swigt__p_wxPyProcess
, 0, 0, 0},{0, 0, 0, 0}};
41176 static swig_cast_info _swigc__p_wxPyTextDataObject
[] = { {&_swigt__p_wxPyTextDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41177 static swig_cast_info _swigc__p_wxPyTextDropTarget
[] = { {&_swigt__p_wxPyTextDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
41178 static swig_cast_info _swigc__p_wxPyTimer
[] = { {&_swigt__p_wxPyTimer
, 0, 0, 0},{0, 0, 0, 0}};
41179 static swig_cast_info _swigc__p_wxPyTipProvider
[] = { {&_swigt__p_wxPyTipProvider
, 0, 0, 0},{0, 0, 0, 0}};
41180 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
41181 static swig_cast_info _swigc__p_wxSingleInstanceChecker
[] = { {&_swigt__p_wxSingleInstanceChecker
, 0, 0, 0},{0, 0, 0, 0}};
41182 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
41183 static swig_cast_info _swigc__p_wxSound
[] = { {&_swigt__p_wxSound
, 0, 0, 0},{0, 0, 0, 0}};
41184 static swig_cast_info _swigc__p_wxStandardPaths
[] = { {&_swigt__p_wxStandardPaths
, 0, 0, 0},{0, 0, 0, 0}};
41185 static swig_cast_info _swigc__p_wxStopWatch
[] = { {&_swigt__p_wxStopWatch
, 0, 0, 0},{0, 0, 0, 0}};
41186 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
41187 static swig_cast_info _swigc__p_wxSystemOptions
[] = { {&_swigt__p_wxSystemOptions
, 0, 0, 0},{0, 0, 0, 0}};
41188 static swig_cast_info _swigc__p_wxSystemSettings
[] = { {&_swigt__p_wxSystemSettings
, 0, 0, 0},{0, 0, 0, 0}};
41189 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
41190 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}};
41191 static swig_cast_info _swigc__p_wxTimeSpan
[] = { {&_swigt__p_wxTimeSpan
, 0, 0, 0},{0, 0, 0, 0}};
41192 static swig_cast_info _swigc__p_wxTimer
[] = { {&_swigt__p_wxTimer
, 0, 0, 0},{0, 0, 0, 0}};
41193 static swig_cast_info _swigc__p_wxTimerEvent
[] = { {&_swigt__p_wxTimerEvent
, 0, 0, 0},{0, 0, 0, 0}};
41194 static swig_cast_info _swigc__p_wxTimerRunner
[] = { {&_swigt__p_wxTimerRunner
, 0, 0, 0},{0, 0, 0, 0}};
41195 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}};
41196 static swig_cast_info _swigc__p_wxToolTip
[] = { {&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
41197 static swig_cast_info _swigc__p_wxURLDataObject
[] = { {&_swigt__p_wxURLDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41198 static swig_cast_info _swigc__p_wxVideoMode
[] = { {&_swigt__p_wxVideoMode
, 0, 0, 0},{0, 0, 0, 0}};
41199 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}};
41200 static swig_cast_info _swigc__p_wxWindowDisabler
[] = { {&_swigt__p_wxWindowDisabler
, 0, 0, 0},{0, 0, 0, 0}};
41202 static swig_cast_info
*swig_cast_initial
[] = {
41204 _swigc__p_form_ops_t
,
41206 _swigc__p_unsigned_char
,
41207 _swigc__p_unsigned_int
,
41208 _swigc__p_unsigned_long
,
41210 _swigc__p_wxANIHandler
,
41211 _swigc__p_wxAboutDialogInfo
,
41212 _swigc__p_wxAcceleratorTable
,
41213 _swigc__p_wxActivateEvent
,
41214 _swigc__p_wxArrayString
,
41215 _swigc__p_wxBMPHandler
,
41216 _swigc__p_wxBitmap
,
41217 _swigc__p_wxBitmapDataObject
,
41218 _swigc__p_wxBoxSizer
,
41219 _swigc__p_wxBusyCursor
,
41220 _swigc__p_wxBusyInfo
,
41221 _swigc__p_wxCURHandler
,
41224 _swigc__p_wxChildFocusEvent
,
41225 _swigc__p_wxClipboard
,
41226 _swigc__p_wxClipboardLocker
,
41227 _swigc__p_wxClipboardTextEvent
,
41228 _swigc__p_wxCloseEvent
,
41229 _swigc__p_wxColour
,
41230 _swigc__p_wxCommandEvent
,
41231 _swigc__p_wxConfig
,
41232 _swigc__p_wxConfigBase
,
41233 _swigc__p_wxConfigPathChanger
,
41234 _swigc__p_wxContextMenuEvent
,
41235 _swigc__p_wxControl
,
41236 _swigc__p_wxControlWithItems
,
41237 _swigc__p_wxCursor
,
41238 _swigc__p_wxCustomDataObject
,
41240 _swigc__p_wxDataFormat
,
41241 _swigc__p_wxDataObject
,
41242 _swigc__p_wxDataObjectComposite
,
41243 _swigc__p_wxDataObjectSimple
,
41244 _swigc__p_wxDateEvent
,
41245 _swigc__p_wxDateSpan
,
41246 _swigc__p_wxDateTime
,
41247 _swigc__p_wxDateTime__TimeZone
,
41248 _swigc__p_wxDisplay
,
41249 _swigc__p_wxDisplayChangedEvent
,
41250 _swigc__p_wxDropFilesEvent
,
41251 _swigc__p_wxDuplexMode
,
41252 _swigc__p_wxEraseEvent
,
41254 _swigc__p_wxEvtHandler
,
41255 _swigc__p_wxFSFile
,
41256 _swigc__p_wxFileConfig
,
41257 _swigc__p_wxFileDataObject
,
41258 _swigc__p_wxFileHistory
,
41259 _swigc__p_wxFileSystem
,
41260 _swigc__p_wxFileType
,
41261 _swigc__p_wxFileTypeInfo
,
41262 _swigc__p_wxFlexGridSizer
,
41263 _swigc__p_wxFocusEvent
,
41266 _swigc__p_wxGBSizerItem
,
41267 _swigc__p_wxGIFHandler
,
41268 _swigc__p_wxGridBagSizer
,
41269 _swigc__p_wxGridSizer
,
41270 _swigc__p_wxICOHandler
,
41272 _swigc__p_wxIconizeEvent
,
41273 _swigc__p_wxIdleEvent
,
41275 _swigc__p_wxImageHandler
,
41276 _swigc__p_wxIndividualLayoutConstraint
,
41277 _swigc__p_wxInitDialogEvent
,
41278 _swigc__p_wxJPEGHandler
,
41279 _swigc__p_wxJoystick
,
41280 _swigc__p_wxJoystickEvent
,
41281 _swigc__p_wxKeyEvent
,
41282 _swigc__p_wxKillError
,
41283 _swigc__p_wxLayoutConstraints
,
41285 _swigc__p_wxLogBuffer
,
41286 _swigc__p_wxLogChain
,
41287 _swigc__p_wxLogGui
,
41288 _swigc__p_wxLogNull
,
41289 _swigc__p_wxLogStderr
,
41290 _swigc__p_wxLogTextCtrl
,
41291 _swigc__p_wxLogWindow
,
41292 _swigc__p_wxMaximizeEvent
,
41294 _swigc__p_wxMenuBar
,
41295 _swigc__p_wxMenuEvent
,
41296 _swigc__p_wxMenuItem
,
41297 _swigc__p_wxMetafileDataObject
,
41298 _swigc__p_wxMimeTypesManager
,
41299 _swigc__p_wxMouseCaptureChangedEvent
,
41300 _swigc__p_wxMouseCaptureLostEvent
,
41301 _swigc__p_wxMouseEvent
,
41302 _swigc__p_wxMouseState
,
41303 _swigc__p_wxMoveEvent
,
41304 _swigc__p_wxMutexGuiLocker
,
41305 _swigc__p_wxNavigationKeyEvent
,
41306 _swigc__p_wxNcPaintEvent
,
41307 _swigc__p_wxNotifyEvent
,
41308 _swigc__p_wxObject
,
41309 _swigc__p_wxOutputStream
,
41310 _swigc__p_wxPCXHandler
,
41311 _swigc__p_wxPNGHandler
,
41312 _swigc__p_wxPNMHandler
,
41313 _swigc__p_wxPaintEvent
,
41314 _swigc__p_wxPaletteChangedEvent
,
41315 _swigc__p_wxPaperSize
,
41316 _swigc__p_wxPlatformInfo
,
41318 _swigc__p_wxPowerEvent
,
41319 _swigc__p_wxProcessEvent
,
41321 _swigc__p_wxPyArtProvider
,
41322 _swigc__p_wxPyBitmapDataObject
,
41323 _swigc__p_wxPyCommandEvent
,
41324 _swigc__p_wxPyDataObjectSimple
,
41325 _swigc__p_wxPyDropSource
,
41326 _swigc__p_wxPyDropTarget
,
41327 _swigc__p_wxPyEvent
,
41328 _swigc__p_wxPyFileDropTarget
,
41329 _swigc__p_wxPyImageHandler
,
41331 _swigc__p_wxPyProcess
,
41332 _swigc__p_wxPySizer
,
41333 _swigc__p_wxPyTextDataObject
,
41334 _swigc__p_wxPyTextDropTarget
,
41335 _swigc__p_wxPyTimer
,
41336 _swigc__p_wxPyTipProvider
,
41337 _swigc__p_wxPyValidator
,
41338 _swigc__p_wxQueryNewPaletteEvent
,
41340 _swigc__p_wxScrollEvent
,
41341 _swigc__p_wxScrollWinEvent
,
41342 _swigc__p_wxSetCursorEvent
,
41343 _swigc__p_wxShowEvent
,
41344 _swigc__p_wxSingleInstanceChecker
,
41346 _swigc__p_wxSizeEvent
,
41348 _swigc__p_wxSizerItem
,
41350 _swigc__p_wxStandardPaths
,
41351 _swigc__p_wxStaticBoxSizer
,
41352 _swigc__p_wxStdDialogButtonSizer
,
41353 _swigc__p_wxStopWatch
,
41354 _swigc__p_wxString
,
41355 _swigc__p_wxSysColourChangedEvent
,
41356 _swigc__p_wxSystemOptions
,
41357 _swigc__p_wxSystemSettings
,
41358 _swigc__p_wxTGAHandler
,
41359 _swigc__p_wxTIFFHandler
,
41360 _swigc__p_wxTextCtrl
,
41361 _swigc__p_wxTextDataObject
,
41362 _swigc__p_wxTimeSpan
,
41364 _swigc__p_wxTimerEvent
,
41365 _swigc__p_wxTimerRunner
,
41366 _swigc__p_wxTipProvider
,
41367 _swigc__p_wxToolTip
,
41368 _swigc__p_wxURLDataObject
,
41369 _swigc__p_wxUpdateUIEvent
,
41370 _swigc__p_wxValidator
,
41371 _swigc__p_wxVideoMode
,
41372 _swigc__p_wxWindow
,
41373 _swigc__p_wxWindowCreateEvent
,
41374 _swigc__p_wxWindowDestroyEvent
,
41375 _swigc__p_wxWindowDisabler
,
41376 _swigc__p_wxXPMHandler
,
41380 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
41382 static swig_const_info swig_const_table
[] = {
41383 {0, 0, 0, 0.0, 0, 0}};
41388 /* -----------------------------------------------------------------------------
41389 * Type initialization:
41390 * This problem is tough by the requirement that no dynamic
41391 * memory is used. Also, since swig_type_info structures store pointers to
41392 * swig_cast_info structures and swig_cast_info structures store pointers back
41393 * to swig_type_info structures, we need some lookup code at initialization.
41394 * The idea is that swig generates all the structures that are needed.
41395 * The runtime then collects these partially filled structures.
41396 * The SWIG_InitializeModule function takes these initial arrays out of
41397 * swig_module, and does all the lookup, filling in the swig_module.types
41398 * array with the correct data and linking the correct swig_cast_info
41399 * structures together.
41401 * The generated swig_type_info structures are assigned staticly to an initial
41402 * array. We just loop though that array, and handle each type individually.
41403 * First we lookup if this type has been already loaded, and if so, use the
41404 * loaded structure instead of the generated one. Then we have to fill in the
41405 * cast linked list. The cast data is initially stored in something like a
41406 * two-dimensional array. Each row corresponds to a type (there are the same
41407 * number of rows as there are in the swig_type_initial array). Each entry in
41408 * a column is one of the swig_cast_info structures for that type.
41409 * The cast_initial array is actually an array of arrays, because each row has
41410 * a variable number of columns. So to actually build the cast linked list,
41411 * we find the array of casts associated with the type, and loop through it
41412 * adding the casts to the list. The one last trick we need to do is making
41413 * sure the type pointer in the swig_cast_info struct is correct.
41415 * First off, we lookup the cast->type name to see if it is already loaded.
41416 * There are three cases to handle:
41417 * 1) If the cast->type has already been loaded AND the type we are adding
41418 * casting info to has not been loaded (it is in this module), THEN we
41419 * replace the cast->type pointer with the type pointer that has already
41421 * 2) If BOTH types (the one we are adding casting info to, and the
41422 * cast->type) are loaded, THEN the cast info has already been loaded by
41423 * the previous module so we just ignore it.
41424 * 3) Finally, if cast->type has not already been loaded, then we add that
41425 * swig_cast_info to the linked list (because the cast->type) pointer will
41427 * ----------------------------------------------------------------------------- */
41437 #define SWIGRUNTIME_DEBUG
41441 SWIG_InitializeModule(void *clientdata
) {
41443 swig_module_info
*module_head
;
41444 static int init_run
= 0;
41446 clientdata
= clientdata
;
41448 if (init_run
) return;
41451 /* Initialize the swig_module */
41452 swig_module
.type_initial
= swig_type_initial
;
41453 swig_module
.cast_initial
= swig_cast_initial
;
41455 /* Try and load any already created modules */
41456 module_head
= SWIG_GetModule(clientdata
);
41458 swig_module
.next
= module_head
->next
;
41459 module_head
->next
= &swig_module
;
41461 /* This is the first module loaded */
41462 swig_module
.next
= &swig_module
;
41463 SWIG_SetModule(clientdata
, &swig_module
);
41466 /* Now work on filling in swig_module.types */
41467 #ifdef SWIGRUNTIME_DEBUG
41468 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
41470 for (i
= 0; i
< swig_module
.size
; ++i
) {
41471 swig_type_info
*type
= 0;
41472 swig_type_info
*ret
;
41473 swig_cast_info
*cast
;
41475 #ifdef SWIGRUNTIME_DEBUG
41476 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41479 /* if there is another module already loaded */
41480 if (swig_module
.next
!= &swig_module
) {
41481 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
41484 /* Overwrite clientdata field */
41485 #ifdef SWIGRUNTIME_DEBUG
41486 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
41488 if (swig_module
.type_initial
[i
]->clientdata
) {
41489 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
41490 #ifdef SWIGRUNTIME_DEBUG
41491 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
41495 type
= swig_module
.type_initial
[i
];
41498 /* Insert casting types */
41499 cast
= swig_module
.cast_initial
[i
];
41500 while (cast
->type
) {
41501 /* Don't need to add information already in the list */
41503 #ifdef SWIGRUNTIME_DEBUG
41504 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
41506 if (swig_module
.next
!= &swig_module
) {
41507 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
41508 #ifdef SWIGRUNTIME_DEBUG
41509 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
41513 if (type
== swig_module
.type_initial
[i
]) {
41514 #ifdef SWIGRUNTIME_DEBUG
41515 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
41520 /* Check for casting already in the list */
41521 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
41522 #ifdef SWIGRUNTIME_DEBUG
41523 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
41525 if (!ocast
) ret
= 0;
41530 #ifdef SWIGRUNTIME_DEBUG
41531 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
41534 type
->cast
->prev
= cast
;
41535 cast
->next
= type
->cast
;
41541 /* Set entry in modules->types array equal to the type */
41542 swig_module
.types
[i
] = type
;
41544 swig_module
.types
[i
] = 0;
41546 #ifdef SWIGRUNTIME_DEBUG
41547 printf("**** SWIG_InitializeModule: Cast List ******\n");
41548 for (i
= 0; i
< swig_module
.size
; ++i
) {
41550 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
41551 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41552 while (cast
->type
) {
41553 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
41557 printf("---- Total casts: %d\n",j
);
41559 printf("**** SWIG_InitializeModule: Cast List ******\n");
41563 /* This function will propagate the clientdata field of type to
41564 * any new swig_type_info structures that have been added into the list
41565 * of equivalent types. It is like calling
41566 * SWIG_TypeClientData(type, clientdata) a second time.
41569 SWIG_PropagateClientData(void) {
41571 swig_cast_info
*equiv
;
41572 static int init_run
= 0;
41574 if (init_run
) return;
41577 for (i
= 0; i
< swig_module
.size
; i
++) {
41578 if (swig_module
.types
[i
]->clientdata
) {
41579 equiv
= swig_module
.types
[i
]->cast
;
41581 if (!equiv
->converter
) {
41582 if (equiv
->type
&& !equiv
->type
->clientdata
)
41583 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
41585 equiv
= equiv
->next
;
41605 /* Python-specific SWIG API */
41606 #define SWIG_newvarlink() SWIG_Python_newvarlink()
41607 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
41608 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
41610 /* -----------------------------------------------------------------------------
41611 * global variable support code.
41612 * ----------------------------------------------------------------------------- */
41614 typedef struct swig_globalvar
{
41615 char *name
; /* Name of global variable */
41616 PyObject
*(*get_attr
)(void); /* Return the current value */
41617 int (*set_attr
)(PyObject
*); /* Set the value */
41618 struct swig_globalvar
*next
;
41621 typedef struct swig_varlinkobject
{
41623 swig_globalvar
*vars
;
41624 } swig_varlinkobject
;
41626 SWIGINTERN PyObject
*
41627 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
41628 return PyString_FromString("<Swig global variables>");
41631 SWIGINTERN PyObject
*
41632 swig_varlink_str(swig_varlinkobject
*v
) {
41633 PyObject
*str
= PyString_FromString("(");
41634 swig_globalvar
*var
;
41635 for (var
= v
->vars
; var
; var
=var
->next
) {
41636 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
41637 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
41639 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
41644 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
41645 PyObject
*str
= swig_varlink_str(v
);
41646 fprintf(fp
,"Swig global variables ");
41647 fprintf(fp
,"%s\n", PyString_AsString(str
));
41653 swig_varlink_dealloc(swig_varlinkobject
*v
) {
41654 swig_globalvar
*var
= v
->vars
;
41656 swig_globalvar
*n
= var
->next
;
41663 SWIGINTERN PyObject
*
41664 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
41665 PyObject
*res
= NULL
;
41666 swig_globalvar
*var
= v
->vars
;
41668 if (strcmp(var
->name
,n
) == 0) {
41669 res
= (*var
->get_attr
)();
41674 if (res
== NULL
&& !PyErr_Occurred()) {
41675 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41681 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
41683 swig_globalvar
*var
= v
->vars
;
41685 if (strcmp(var
->name
,n
) == 0) {
41686 res
= (*var
->set_attr
)(p
);
41691 if (res
== 1 && !PyErr_Occurred()) {
41692 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41697 SWIGINTERN PyTypeObject
*
41698 swig_varlink_type(void) {
41699 static char varlink__doc__
[] = "Swig var link object";
41700 static PyTypeObject varlink_type
;
41701 static int type_init
= 0;
41703 const PyTypeObject tmp
41705 PyObject_HEAD_INIT(NULL
)
41706 0, /* Number of items in variable part (ob_size) */
41707 (char *)"swigvarlink", /* Type name (tp_name) */
41708 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
41709 0, /* Itemsize (tp_itemsize) */
41710 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
41711 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
41712 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
41713 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
41714 0, /* tp_compare */
41715 (reprfunc
) swig_varlink_repr
, /* tp_repr */
41716 0, /* tp_as_number */
41717 0, /* tp_as_sequence */
41718 0, /* tp_as_mapping */
41721 (reprfunc
)swig_varlink_str
, /* tp_str */
41722 0, /* tp_getattro */
41723 0, /* tp_setattro */
41724 0, /* tp_as_buffer */
41726 varlink__doc__
, /* tp_doc */
41727 0, /* tp_traverse */
41729 0, /* tp_richcompare */
41730 0, /* tp_weaklistoffset */
41731 #if PY_VERSION_HEX >= 0x02020000
41732 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
41734 #if PY_VERSION_HEX >= 0x02030000
41737 #ifdef COUNT_ALLOCS
41738 0,0,0,0 /* tp_alloc -> tp_next */
41741 varlink_type
= tmp
;
41742 varlink_type
.ob_type
= &PyType_Type
;
41745 return &varlink_type
;
41748 /* Create a variable linking object for use later */
41749 SWIGINTERN PyObject
*
41750 SWIG_Python_newvarlink(void) {
41751 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
41755 return ((PyObject
*) result
);
41759 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
41760 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
41761 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
41763 size_t size
= strlen(name
)+1;
41764 gv
->name
= (char *)malloc(size
);
41766 strncpy(gv
->name
,name
,size
);
41767 gv
->get_attr
= get_attr
;
41768 gv
->set_attr
= set_attr
;
41769 gv
->next
= v
->vars
;
41775 SWIGINTERN PyObject
*
41777 static PyObject
*_SWIG_globals
= 0;
41778 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
41779 return _SWIG_globals
;
41782 /* -----------------------------------------------------------------------------
41783 * constants/methods manipulation
41784 * ----------------------------------------------------------------------------- */
41786 /* Install Constants */
41788 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
41791 for (i
= 0; constants
[i
].type
; ++i
) {
41792 switch(constants
[i
].type
) {
41793 case SWIG_PY_POINTER
:
41794 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
41796 case SWIG_PY_BINARY
:
41797 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
41804 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
41810 /* -----------------------------------------------------------------------------*/
41811 /* Fix SwigMethods to carry the callback ptrs when needed */
41812 /* -----------------------------------------------------------------------------*/
41815 SWIG_Python_FixMethods(PyMethodDef
*methods
,
41816 swig_const_info
*const_table
,
41817 swig_type_info
**types
,
41818 swig_type_info
**types_initial
) {
41820 for (i
= 0; methods
[i
].ml_name
; ++i
) {
41821 const char *c
= methods
[i
].ml_doc
;
41822 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
41824 swig_const_info
*ci
= 0;
41825 const char *name
= c
+ 10;
41826 for (j
= 0; const_table
[j
].type
; ++j
) {
41827 if (strncmp(const_table
[j
].name
, name
,
41828 strlen(const_table
[j
].name
)) == 0) {
41829 ci
= &(const_table
[j
]);
41834 size_t shift
= (ci
->ptype
) - types
;
41835 swig_type_info
*ty
= types_initial
[shift
];
41836 size_t ldoc
= (c
- methods
[i
].ml_doc
);
41837 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
41838 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
41841 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
41843 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
41845 strncpy(buff
, "swig_ptr: ", 10);
41847 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
41848 methods
[i
].ml_doc
= ndoc
;
41860 /* -----------------------------------------------------------------------------*
41861 * Partial Init method
41862 * -----------------------------------------------------------------------------*/
41867 SWIGEXPORT
void SWIG_init(void) {
41870 /* Fix SwigMethods to carry the callback ptrs when needed */
41871 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
41873 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
41874 d
= PyModule_GetDict(m
);
41876 SWIG_InitializeModule(0);
41877 SWIG_InstallConstants(d
,swig_const_table
);
41880 SWIG_Python_SetConstant(d
, "SYS_OEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_OEM_FIXED_FONT
)));
41881 SWIG_Python_SetConstant(d
, "SYS_ANSI_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_FIXED_FONT
)));
41882 SWIG_Python_SetConstant(d
, "SYS_ANSI_VAR_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_VAR_FONT
)));
41883 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FONT
)));
41884 SWIG_Python_SetConstant(d
, "SYS_DEVICE_DEFAULT_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEVICE_DEFAULT_FONT
)));
41885 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_PALETTE",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_PALETTE
)));
41886 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FIXED_FONT
)));
41887 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_GUI_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_GUI_FONT
)));
41888 SWIG_Python_SetConstant(d
, "SYS_ICONTITLE_FONT",SWIG_From_int(static_cast< int >(wxSYS_ICONTITLE_FONT
)));
41889 SWIG_Python_SetConstant(d
, "SYS_COLOUR_SCROLLBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_SCROLLBAR
)));
41890 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BACKGROUND",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BACKGROUND
)));
41891 SWIG_Python_SetConstant(d
, "SYS_COLOUR_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_DESKTOP
)));
41892 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVECAPTION
)));
41893 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTION
)));
41894 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENU",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENU
)));
41895 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOW
)));
41896 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWFRAME",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWFRAME
)));
41897 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUTEXT
)));
41898 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWTEXT
)));
41899 SWIG_Python_SetConstant(d
, "SYS_COLOUR_CAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_CAPTIONTEXT
)));
41900 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVEBORDER
)));
41901 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVEBORDER
)));
41902 SWIG_Python_SetConstant(d
, "SYS_COLOUR_APPWORKSPACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_APPWORKSPACE
)));
41903 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHT
)));
41904 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHTTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
41905 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNFACE
)));
41906 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DFACE
)));
41907 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNSHADOW
)));
41908 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DSHADOW
)));
41909 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRAYTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRAYTEXT
)));
41910 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNTEXT
)));
41911 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
41912 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHIGHLIGHT
)));
41913 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHILIGHT
)));
41914 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHIGHLIGHT
)));
41915 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHILIGHT
)));
41916 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DDKSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DDKSHADOW
)));
41917 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DLIGHT
)));
41918 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOTEXT
)));
41919 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOBK",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOBK
)));
41920 SWIG_Python_SetConstant(d
, "SYS_COLOUR_LISTBOX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_LISTBOX
)));
41921 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HOTLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HOTLIGHT
)));
41922 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
41923 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTINACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
41924 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUHILIGHT
)));
41925 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUBAR
)));
41926 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MAX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MAX
)));
41927 SWIG_Python_SetConstant(d
, "SYS_MOUSE_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_MOUSE_BUTTONS
)));
41928 SWIG_Python_SetConstant(d
, "SYS_BORDER_X",SWIG_From_int(static_cast< int >(wxSYS_BORDER_X
)));
41929 SWIG_Python_SetConstant(d
, "SYS_BORDER_Y",SWIG_From_int(static_cast< int >(wxSYS_BORDER_Y
)));
41930 SWIG_Python_SetConstant(d
, "SYS_CURSOR_X",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_X
)));
41931 SWIG_Python_SetConstant(d
, "SYS_CURSOR_Y",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_Y
)));
41932 SWIG_Python_SetConstant(d
, "SYS_DCLICK_X",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_X
)));
41933 SWIG_Python_SetConstant(d
, "SYS_DCLICK_Y",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_Y
)));
41934 SWIG_Python_SetConstant(d
, "SYS_DRAG_X",SWIG_From_int(static_cast< int >(wxSYS_DRAG_X
)));
41935 SWIG_Python_SetConstant(d
, "SYS_DRAG_Y",SWIG_From_int(static_cast< int >(wxSYS_DRAG_Y
)));
41936 SWIG_Python_SetConstant(d
, "SYS_EDGE_X",SWIG_From_int(static_cast< int >(wxSYS_EDGE_X
)));
41937 SWIG_Python_SetConstant(d
, "SYS_EDGE_Y",SWIG_From_int(static_cast< int >(wxSYS_EDGE_Y
)));
41938 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_X
)));
41939 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_Y
)));
41940 SWIG_Python_SetConstant(d
, "SYS_HTHUMB_X",SWIG_From_int(static_cast< int >(wxSYS_HTHUMB_X
)));
41941 SWIG_Python_SetConstant(d
, "SYS_ICON_X",SWIG_From_int(static_cast< int >(wxSYS_ICON_X
)));
41942 SWIG_Python_SetConstant(d
, "SYS_ICON_Y",SWIG_From_int(static_cast< int >(wxSYS_ICON_Y
)));
41943 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_X",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_X
)));
41944 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_Y",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_Y
)));
41945 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_X",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_X
)));
41946 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_Y",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_Y
)));
41947 SWIG_Python_SetConstant(d
, "SYS_SCREEN_X",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_X
)));
41948 SWIG_Python_SetConstant(d
, "SYS_SCREEN_Y",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_Y
)));
41949 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_X",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_X
)));
41950 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_Y",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_Y
)));
41951 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_X",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_X
)));
41952 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_Y",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_Y
)));
41953 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_Y
)));
41954 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_X
)));
41955 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_X
)));
41956 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_Y
)));
41957 SWIG_Python_SetConstant(d
, "SYS_VTHUMB_Y",SWIG_From_int(static_cast< int >(wxSYS_VTHUMB_Y
)));
41958 SWIG_Python_SetConstant(d
, "SYS_CAPTION_Y",SWIG_From_int(static_cast< int >(wxSYS_CAPTION_Y
)));
41959 SWIG_Python_SetConstant(d
, "SYS_MENU_Y",SWIG_From_int(static_cast< int >(wxSYS_MENU_Y
)));
41960 SWIG_Python_SetConstant(d
, "SYS_NETWORK_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_NETWORK_PRESENT
)));
41961 SWIG_Python_SetConstant(d
, "SYS_PENWINDOWS_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_PENWINDOWS_PRESENT
)));
41962 SWIG_Python_SetConstant(d
, "SYS_SHOW_SOUNDS",SWIG_From_int(static_cast< int >(wxSYS_SHOW_SOUNDS
)));
41963 SWIG_Python_SetConstant(d
, "SYS_SWAP_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_SWAP_BUTTONS
)));
41964 SWIG_Python_SetConstant(d
, "SYS_CAN_DRAW_FRAME_DECORATIONS",SWIG_From_int(static_cast< int >(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
41965 SWIG_Python_SetConstant(d
, "SYS_CAN_ICONIZE_FRAME",SWIG_From_int(static_cast< int >(wxSYS_CAN_ICONIZE_FRAME
)));
41966 SWIG_Python_SetConstant(d
, "SYS_TABLET_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_TABLET_PRESENT
)));
41967 SWIG_Python_SetConstant(d
, "SYS_SCREEN_NONE",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_NONE
)));
41968 SWIG_Python_SetConstant(d
, "SYS_SCREEN_TINY",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_TINY
)));
41969 SWIG_Python_SetConstant(d
, "SYS_SCREEN_PDA",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_PDA
)));
41970 SWIG_Python_SetConstant(d
, "SYS_SCREEN_SMALL",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_SMALL
)));
41971 SWIG_Python_SetConstant(d
, "SYS_SCREEN_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_DESKTOP
)));
41972 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
41973 SWIG_addvarlink(SWIG_globals(),(char*)"WINDOW_DEFAULT_VARIANT",WINDOW_DEFAULT_VARIANT_get
, WINDOW_DEFAULT_VARIANT_set
);
41974 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
41975 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
41976 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
41977 SWIG_Python_SetConstant(d
, "STOCK_NOFLAGS",SWIG_From_int(static_cast< int >(wxSTOCK_NOFLAGS
)));
41978 SWIG_Python_SetConstant(d
, "STOCK_WITH_MNEMONIC",SWIG_From_int(static_cast< int >(wxSTOCK_WITH_MNEMONIC
)));
41979 SWIG_Python_SetConstant(d
, "STOCK_WITH_ACCELERATOR",SWIG_From_int(static_cast< int >(wxSTOCK_WITH_ACCELERATOR
)));
41980 SWIG_Python_SetConstant(d
, "STOCK_MENU",SWIG_From_int(static_cast< int >(wxSTOCK_MENU
)));
41981 SWIG_Python_SetConstant(d
, "SHUTDOWN_POWEROFF",SWIG_From_int(static_cast< int >(wxSHUTDOWN_POWEROFF
)));
41982 SWIG_Python_SetConstant(d
, "SHUTDOWN_REBOOT",SWIG_From_int(static_cast< int >(wxSHUTDOWN_REBOOT
)));
41983 SWIG_Python_SetConstant(d
, "OS_UNKNOWN",SWIG_From_int(static_cast< int >(wxOS_UNKNOWN
)));
41984 SWIG_Python_SetConstant(d
, "OS_MAC_OS",SWIG_From_int(static_cast< int >(wxOS_MAC_OS
)));
41985 SWIG_Python_SetConstant(d
, "OS_MAC_OSX_DARWIN",SWIG_From_int(static_cast< int >(wxOS_MAC_OSX_DARWIN
)));
41986 SWIG_Python_SetConstant(d
, "OS_MAC",SWIG_From_int(static_cast< int >(wxOS_MAC
)));
41987 SWIG_Python_SetConstant(d
, "OS_WINDOWS_9X",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_9X
)));
41988 SWIG_Python_SetConstant(d
, "OS_WINDOWS_NT",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_NT
)));
41989 SWIG_Python_SetConstant(d
, "OS_WINDOWS_MICRO",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_MICRO
)));
41990 SWIG_Python_SetConstant(d
, "OS_WINDOWS_CE",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_CE
)));
41991 SWIG_Python_SetConstant(d
, "OS_WINDOWS",SWIG_From_int(static_cast< int >(wxOS_WINDOWS
)));
41992 SWIG_Python_SetConstant(d
, "OS_UNIX_LINUX",SWIG_From_int(static_cast< int >(wxOS_UNIX_LINUX
)));
41993 SWIG_Python_SetConstant(d
, "OS_UNIX_FREEBSD",SWIG_From_int(static_cast< int >(wxOS_UNIX_FREEBSD
)));
41994 SWIG_Python_SetConstant(d
, "OS_UNIX_OPENBSD",SWIG_From_int(static_cast< int >(wxOS_UNIX_OPENBSD
)));
41995 SWIG_Python_SetConstant(d
, "OS_UNIX_NETBSD",SWIG_From_int(static_cast< int >(wxOS_UNIX_NETBSD
)));
41996 SWIG_Python_SetConstant(d
, "OS_UNIX_SOLARIS",SWIG_From_int(static_cast< int >(wxOS_UNIX_SOLARIS
)));
41997 SWIG_Python_SetConstant(d
, "OS_UNIX_AIX",SWIG_From_int(static_cast< int >(wxOS_UNIX_AIX
)));
41998 SWIG_Python_SetConstant(d
, "OS_UNIX_HPUX",SWIG_From_int(static_cast< int >(wxOS_UNIX_HPUX
)));
41999 SWIG_Python_SetConstant(d
, "OS_UNIX",SWIG_From_int(static_cast< int >(wxOS_UNIX
)));
42000 SWIG_Python_SetConstant(d
, "OS_DOS",SWIG_From_int(static_cast< int >(wxOS_DOS
)));
42001 SWIG_Python_SetConstant(d
, "OS_OS2",SWIG_From_int(static_cast< int >(wxOS_OS2
)));
42002 SWIG_Python_SetConstant(d
, "PORT_UNKNOWN",SWIG_From_int(static_cast< int >(wxPORT_UNKNOWN
)));
42003 SWIG_Python_SetConstant(d
, "PORT_BASE",SWIG_From_int(static_cast< int >(wxPORT_BASE
)));
42004 SWIG_Python_SetConstant(d
, "PORT_MSW",SWIG_From_int(static_cast< int >(wxPORT_MSW
)));
42005 SWIG_Python_SetConstant(d
, "PORT_MOTIF",SWIG_From_int(static_cast< int >(wxPORT_MOTIF
)));
42006 SWIG_Python_SetConstant(d
, "PORT_GTK",SWIG_From_int(static_cast< int >(wxPORT_GTK
)));
42007 SWIG_Python_SetConstant(d
, "PORT_MGL",SWIG_From_int(static_cast< int >(wxPORT_MGL
)));
42008 SWIG_Python_SetConstant(d
, "PORT_X11",SWIG_From_int(static_cast< int >(wxPORT_X11
)));
42009 SWIG_Python_SetConstant(d
, "PORT_PM",SWIG_From_int(static_cast< int >(wxPORT_PM
)));
42010 SWIG_Python_SetConstant(d
, "PORT_OS2",SWIG_From_int(static_cast< int >(wxPORT_OS2
)));
42011 SWIG_Python_SetConstant(d
, "PORT_MAC",SWIG_From_int(static_cast< int >(wxPORT_MAC
)));
42012 SWIG_Python_SetConstant(d
, "PORT_COCOA",SWIG_From_int(static_cast< int >(wxPORT_COCOA
)));
42013 SWIG_Python_SetConstant(d
, "PORT_WINCE",SWIG_From_int(static_cast< int >(wxPORT_WINCE
)));
42014 SWIG_Python_SetConstant(d
, "PORT_PALMOS",SWIG_From_int(static_cast< int >(wxPORT_PALMOS
)));
42015 SWIG_Python_SetConstant(d
, "PORT_DFB",SWIG_From_int(static_cast< int >(wxPORT_DFB
)));
42016 SWIG_Python_SetConstant(d
, "ARCH_INVALID",SWIG_From_int(static_cast< int >(wxARCH_INVALID
)));
42017 SWIG_Python_SetConstant(d
, "ARCH_32",SWIG_From_int(static_cast< int >(wxARCH_32
)));
42018 SWIG_Python_SetConstant(d
, "ARCH_64",SWIG_From_int(static_cast< int >(wxARCH_64
)));
42019 SWIG_Python_SetConstant(d
, "ARCH_MAX",SWIG_From_int(static_cast< int >(wxARCH_MAX
)));
42020 SWIG_Python_SetConstant(d
, "ENDIAN_INVALID",SWIG_From_int(static_cast< int >(wxENDIAN_INVALID
)));
42021 SWIG_Python_SetConstant(d
, "ENDIAN_BIG",SWIG_From_int(static_cast< int >(wxENDIAN_BIG
)));
42022 SWIG_Python_SetConstant(d
, "ENDIAN_LITTLE",SWIG_From_int(static_cast< int >(wxENDIAN_LITTLE
)));
42023 SWIG_Python_SetConstant(d
, "ENDIAN_PDP",SWIG_From_int(static_cast< int >(wxENDIAN_PDP
)));
42024 SWIG_Python_SetConstant(d
, "ENDIAN_MAX",SWIG_From_int(static_cast< int >(wxENDIAN_MAX
)));
42025 SWIG_Python_SetConstant(d
, "TIMER_CONTINUOUS",SWIG_From_int(static_cast< int >(wxTIMER_CONTINUOUS
)));
42026 SWIG_Python_SetConstant(d
, "TIMER_ONE_SHOT",SWIG_From_int(static_cast< int >(wxTIMER_ONE_SHOT
)));
42027 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
42029 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
42031 SWIG_Python_SetConstant(d
, "LOG_FatalError",SWIG_From_int(static_cast< int >(wxLOG_FatalError
)));
42032 SWIG_Python_SetConstant(d
, "LOG_Error",SWIG_From_int(static_cast< int >(wxLOG_Error
)));
42033 SWIG_Python_SetConstant(d
, "LOG_Warning",SWIG_From_int(static_cast< int >(wxLOG_Warning
)));
42034 SWIG_Python_SetConstant(d
, "LOG_Message",SWIG_From_int(static_cast< int >(wxLOG_Message
)));
42035 SWIG_Python_SetConstant(d
, "LOG_Status",SWIG_From_int(static_cast< int >(wxLOG_Status
)));
42036 SWIG_Python_SetConstant(d
, "LOG_Info",SWIG_From_int(static_cast< int >(wxLOG_Info
)));
42037 SWIG_Python_SetConstant(d
, "LOG_Debug",SWIG_From_int(static_cast< int >(wxLOG_Debug
)));
42038 SWIG_Python_SetConstant(d
, "LOG_Trace",SWIG_From_int(static_cast< int >(wxLOG_Trace
)));
42039 SWIG_Python_SetConstant(d
, "LOG_Progress",SWIG_From_int(static_cast< int >(wxLOG_Progress
)));
42040 SWIG_Python_SetConstant(d
, "LOG_User",SWIG_From_int(static_cast< int >(wxLOG_User
)));
42041 SWIG_Python_SetConstant(d
, "LOG_Max",SWIG_From_int(static_cast< int >(wxLOG_Max
)));
42042 SWIG_Python_SetConstant(d
, "TRACE_MemAlloc",SWIG_FromCharPtr("memalloc"));
42043 SWIG_Python_SetConstant(d
, "TRACE_Messages",SWIG_FromCharPtr("messages"));
42044 SWIG_Python_SetConstant(d
, "TRACE_ResAlloc",SWIG_FromCharPtr("resalloc"));
42045 SWIG_Python_SetConstant(d
, "TRACE_RefCount",SWIG_FromCharPtr("refcount"));
42046 SWIG_Python_SetConstant(d
, "TRACE_OleCalls",SWIG_FromCharPtr("ole"));
42047 SWIG_Python_SetConstant(d
, "TraceMemAlloc",SWIG_From_int(static_cast< int >(0x0001)));
42048 SWIG_Python_SetConstant(d
, "TraceMessages",SWIG_From_int(static_cast< int >(0x0002)));
42049 SWIG_Python_SetConstant(d
, "TraceResAlloc",SWIG_From_int(static_cast< int >(0x0004)));
42050 SWIG_Python_SetConstant(d
, "TraceRefCount",SWIG_From_int(static_cast< int >(0x0008)));
42051 SWIG_Python_SetConstant(d
, "TraceOleCalls",SWIG_From_int(static_cast< int >(0x0100)));
42052 SWIG_Python_SetConstant(d
, "PROCESS_DEFAULT",SWIG_From_int(static_cast< int >(wxPROCESS_DEFAULT
)));
42053 SWIG_Python_SetConstant(d
, "PROCESS_REDIRECT",SWIG_From_int(static_cast< int >(wxPROCESS_REDIRECT
)));
42054 SWIG_Python_SetConstant(d
, "KILL_OK",SWIG_From_int(static_cast< int >(wxKILL_OK
)));
42055 SWIG_Python_SetConstant(d
, "KILL_BAD_SIGNAL",SWIG_From_int(static_cast< int >(wxKILL_BAD_SIGNAL
)));
42056 SWIG_Python_SetConstant(d
, "KILL_ACCESS_DENIED",SWIG_From_int(static_cast< int >(wxKILL_ACCESS_DENIED
)));
42057 SWIG_Python_SetConstant(d
, "KILL_NO_PROCESS",SWIG_From_int(static_cast< int >(wxKILL_NO_PROCESS
)));
42058 SWIG_Python_SetConstant(d
, "KILL_ERROR",SWIG_From_int(static_cast< int >(wxKILL_ERROR
)));
42059 SWIG_Python_SetConstant(d
, "KILL_NOCHILDREN",SWIG_From_int(static_cast< int >(wxKILL_NOCHILDREN
)));
42060 SWIG_Python_SetConstant(d
, "KILL_CHILDREN",SWIG_From_int(static_cast< int >(wxKILL_CHILDREN
)));
42061 SWIG_Python_SetConstant(d
, "SIGNONE",SWIG_From_int(static_cast< int >(wxSIGNONE
)));
42062 SWIG_Python_SetConstant(d
, "SIGHUP",SWIG_From_int(static_cast< int >(wxSIGHUP
)));
42063 SWIG_Python_SetConstant(d
, "SIGINT",SWIG_From_int(static_cast< int >(wxSIGINT
)));
42064 SWIG_Python_SetConstant(d
, "SIGQUIT",SWIG_From_int(static_cast< int >(wxSIGQUIT
)));
42065 SWIG_Python_SetConstant(d
, "SIGILL",SWIG_From_int(static_cast< int >(wxSIGILL
)));
42066 SWIG_Python_SetConstant(d
, "SIGTRAP",SWIG_From_int(static_cast< int >(wxSIGTRAP
)));
42067 SWIG_Python_SetConstant(d
, "SIGABRT",SWIG_From_int(static_cast< int >(wxSIGABRT
)));
42068 SWIG_Python_SetConstant(d
, "SIGIOT",SWIG_From_int(static_cast< int >(wxSIGIOT
)));
42069 SWIG_Python_SetConstant(d
, "SIGEMT",SWIG_From_int(static_cast< int >(wxSIGEMT
)));
42070 SWIG_Python_SetConstant(d
, "SIGFPE",SWIG_From_int(static_cast< int >(wxSIGFPE
)));
42071 SWIG_Python_SetConstant(d
, "SIGKILL",SWIG_From_int(static_cast< int >(wxSIGKILL
)));
42072 SWIG_Python_SetConstant(d
, "SIGBUS",SWIG_From_int(static_cast< int >(wxSIGBUS
)));
42073 SWIG_Python_SetConstant(d
, "SIGSEGV",SWIG_From_int(static_cast< int >(wxSIGSEGV
)));
42074 SWIG_Python_SetConstant(d
, "SIGSYS",SWIG_From_int(static_cast< int >(wxSIGSYS
)));
42075 SWIG_Python_SetConstant(d
, "SIGPIPE",SWIG_From_int(static_cast< int >(wxSIGPIPE
)));
42076 SWIG_Python_SetConstant(d
, "SIGALRM",SWIG_From_int(static_cast< int >(wxSIGALRM
)));
42077 SWIG_Python_SetConstant(d
, "SIGTERM",SWIG_From_int(static_cast< int >(wxSIGTERM
)));
42078 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
42079 SWIG_Python_SetConstant(d
, "EXEC_ASYNC",SWIG_From_int(static_cast< int >(wxEXEC_ASYNC
)));
42080 SWIG_Python_SetConstant(d
, "EXEC_SYNC",SWIG_From_int(static_cast< int >(wxEXEC_SYNC
)));
42081 SWIG_Python_SetConstant(d
, "EXEC_NOHIDE",SWIG_From_int(static_cast< int >(wxEXEC_NOHIDE
)));
42082 SWIG_Python_SetConstant(d
, "EXEC_MAKE_GROUP_LEADER",SWIG_From_int(static_cast< int >(wxEXEC_MAKE_GROUP_LEADER
)));
42083 SWIG_Python_SetConstant(d
, "EXEC_NODISABLE",SWIG_From_int(static_cast< int >(wxEXEC_NODISABLE
)));
42085 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
42087 SWIG_Python_SetConstant(d
, "JOYSTICK1",SWIG_From_int(static_cast< int >(wxJOYSTICK1
)));
42088 SWIG_Python_SetConstant(d
, "JOYSTICK2",SWIG_From_int(static_cast< int >(wxJOYSTICK2
)));
42089 SWIG_Python_SetConstant(d
, "JOY_BUTTON_ANY",SWIG_From_int(static_cast< int >(wxJOY_BUTTON_ANY
)));
42090 SWIG_Python_SetConstant(d
, "JOY_BUTTON1",SWIG_From_int(static_cast< int >(wxJOY_BUTTON1
)));
42091 SWIG_Python_SetConstant(d
, "JOY_BUTTON2",SWIG_From_int(static_cast< int >(wxJOY_BUTTON2
)));
42092 SWIG_Python_SetConstant(d
, "JOY_BUTTON3",SWIG_From_int(static_cast< int >(wxJOY_BUTTON3
)));
42093 SWIG_Python_SetConstant(d
, "JOY_BUTTON4",SWIG_From_int(static_cast< int >(wxJOY_BUTTON4
)));
42094 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
42095 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
42096 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
42097 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
42098 SWIG_Python_SetConstant(d
, "SOUND_SYNC",SWIG_From_int(static_cast< int >(wxSOUND_SYNC
)));
42099 SWIG_Python_SetConstant(d
, "SOUND_ASYNC",SWIG_From_int(static_cast< int >(wxSOUND_ASYNC
)));
42100 SWIG_Python_SetConstant(d
, "SOUND_LOOP",SWIG_From_int(static_cast< int >(wxSOUND_LOOP
)));
42101 SWIG_Python_SetConstant(d
, "MAILCAP_STANDARD",SWIG_From_int(static_cast< int >(wxMAILCAP_STANDARD
)));
42102 SWIG_Python_SetConstant(d
, "MAILCAP_NETSCAPE",SWIG_From_int(static_cast< int >(wxMAILCAP_NETSCAPE
)));
42103 SWIG_Python_SetConstant(d
, "MAILCAP_KDE",SWIG_From_int(static_cast< int >(wxMAILCAP_KDE
)));
42104 SWIG_Python_SetConstant(d
, "MAILCAP_GNOME",SWIG_From_int(static_cast< int >(wxMAILCAP_GNOME
)));
42105 SWIG_Python_SetConstant(d
, "MAILCAP_ALL",SWIG_From_int(static_cast< int >(wxMAILCAP_ALL
)));
42106 SWIG_addvarlink(SWIG_globals(),(char*)"TheMimeTypesManager",TheMimeTypesManager_get
, TheMimeTypesManager_set
);
42107 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TOOLBAR",ART_TOOLBAR_get
, ART_TOOLBAR_set
);
42108 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MENU",ART_MENU_get
, ART_MENU_set
);
42109 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FRAME_ICON",ART_FRAME_ICON_get
, ART_FRAME_ICON_set
);
42110 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CMN_DIALOG",ART_CMN_DIALOG_get
, ART_CMN_DIALOG_set
);
42111 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BROWSER",ART_HELP_BROWSER_get
, ART_HELP_BROWSER_set
);
42112 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MESSAGE_BOX",ART_MESSAGE_BOX_get
, ART_MESSAGE_BOX_set
);
42113 SWIG_addvarlink(SWIG_globals(),(char*)"ART_BUTTON",ART_BUTTON_get
, ART_BUTTON_set
);
42114 SWIG_addvarlink(SWIG_globals(),(char*)"ART_OTHER",ART_OTHER_get
, ART_OTHER_set
);
42115 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ADD_BOOKMARK",ART_ADD_BOOKMARK_get
, ART_ADD_BOOKMARK_set
);
42116 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DEL_BOOKMARK",ART_DEL_BOOKMARK_get
, ART_DEL_BOOKMARK_set
);
42117 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SIDE_PANEL",ART_HELP_SIDE_PANEL_get
, ART_HELP_SIDE_PANEL_set
);
42118 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SETTINGS",ART_HELP_SETTINGS_get
, ART_HELP_SETTINGS_set
);
42119 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BOOK",ART_HELP_BOOK_get
, ART_HELP_BOOK_set
);
42120 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_FOLDER",ART_HELP_FOLDER_get
, ART_HELP_FOLDER_set
);
42121 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_PAGE",ART_HELP_PAGE_get
, ART_HELP_PAGE_set
);
42122 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_BACK",ART_GO_BACK_get
, ART_GO_BACK_set
);
42123 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_FORWARD",ART_GO_FORWARD_get
, ART_GO_FORWARD_set
);
42124 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_UP",ART_GO_UP_get
, ART_GO_UP_set
);
42125 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DOWN",ART_GO_DOWN_get
, ART_GO_DOWN_set
);
42126 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_TO_PARENT",ART_GO_TO_PARENT_get
, ART_GO_TO_PARENT_set
);
42127 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_HOME",ART_GO_HOME_get
, ART_GO_HOME_set
);
42128 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_OPEN",ART_FILE_OPEN_get
, ART_FILE_OPEN_set
);
42129 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE",ART_FILE_SAVE_get
, ART_FILE_SAVE_set
);
42130 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE_AS",ART_FILE_SAVE_AS_get
, ART_FILE_SAVE_AS_set
);
42131 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PRINT",ART_PRINT_get
, ART_PRINT_set
);
42132 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP",ART_HELP_get
, ART_HELP_set
);
42133 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TIP",ART_TIP_get
, ART_TIP_set
);
42134 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REPORT_VIEW",ART_REPORT_VIEW_get
, ART_REPORT_VIEW_set
);
42135 SWIG_addvarlink(SWIG_globals(),(char*)"ART_LIST_VIEW",ART_LIST_VIEW_get
, ART_LIST_VIEW_set
);
42136 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW_DIR",ART_NEW_DIR_get
, ART_NEW_DIR_set
);
42137 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HARDDISK",ART_HARDDISK_get
, ART_HARDDISK_set
);
42138 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FLOPPY",ART_FLOPPY_get
, ART_FLOPPY_set
);
42139 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CDROM",ART_CDROM_get
, ART_CDROM_set
);
42140 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REMOVABLE",ART_REMOVABLE_get
, ART_REMOVABLE_set
);
42141 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER",ART_FOLDER_get
, ART_FOLDER_set
);
42142 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER_OPEN",ART_FOLDER_OPEN_get
, ART_FOLDER_OPEN_set
);
42143 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DIR_UP",ART_GO_DIR_UP_get
, ART_GO_DIR_UP_set
);
42144 SWIG_addvarlink(SWIG_globals(),(char*)"ART_EXECUTABLE_FILE",ART_EXECUTABLE_FILE_get
, ART_EXECUTABLE_FILE_set
);
42145 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NORMAL_FILE",ART_NORMAL_FILE_get
, ART_NORMAL_FILE_set
);
42146 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TICK_MARK",ART_TICK_MARK_get
, ART_TICK_MARK_set
);
42147 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CROSS_MARK",ART_CROSS_MARK_get
, ART_CROSS_MARK_set
);
42148 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ERROR",ART_ERROR_get
, ART_ERROR_set
);
42149 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUESTION",ART_QUESTION_get
, ART_QUESTION_set
);
42150 SWIG_addvarlink(SWIG_globals(),(char*)"ART_WARNING",ART_WARNING_get
, ART_WARNING_set
);
42151 SWIG_addvarlink(SWIG_globals(),(char*)"ART_INFORMATION",ART_INFORMATION_get
, ART_INFORMATION_set
);
42152 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MISSING_IMAGE",ART_MISSING_IMAGE_get
, ART_MISSING_IMAGE_set
);
42153 SWIG_addvarlink(SWIG_globals(),(char*)"ART_COPY",ART_COPY_get
, ART_COPY_set
);
42154 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CUT",ART_CUT_get
, ART_CUT_set
);
42155 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PASTE",ART_PASTE_get
, ART_PASTE_set
);
42156 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DELETE",ART_DELETE_get
, ART_DELETE_set
);
42157 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW",ART_NEW_get
, ART_NEW_set
);
42158 SWIG_addvarlink(SWIG_globals(),(char*)"ART_UNDO",ART_UNDO_get
, ART_UNDO_set
);
42159 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REDO",ART_REDO_get
, ART_REDO_set
);
42160 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUIT",ART_QUIT_get
, ART_QUIT_set
);
42161 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND",ART_FIND_get
, ART_FIND_set
);
42162 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND_AND_REPLACE",ART_FIND_AND_REPLACE_get
, ART_FIND_AND_REPLACE_set
);
42164 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
42166 SWIG_Python_SetConstant(d
, "CONFIG_USE_LOCAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_LOCAL_FILE
)));
42167 SWIG_Python_SetConstant(d
, "CONFIG_USE_GLOBAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_GLOBAL_FILE
)));
42168 SWIG_Python_SetConstant(d
, "CONFIG_USE_RELATIVE_PATH",SWIG_From_int(static_cast< int >(wxCONFIG_USE_RELATIVE_PATH
)));
42169 SWIG_Python_SetConstant(d
, "CONFIG_USE_NO_ESCAPE_CHARACTERS",SWIG_From_int(static_cast< int >(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
42170 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Unknown",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Unknown
)));
42171 SWIG_Python_SetConstant(d
, "ConfigBase_Type_String",SWIG_From_int(static_cast< int >(wxConfigBase::Type_String
)));
42172 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Boolean",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Boolean
)));
42173 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Integer",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Integer
)));
42174 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Float",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Float
)));
42175 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTimeFormat",DefaultDateTimeFormat_get
, DefaultDateTimeFormat_set
);
42176 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultTimeSpanFormat",DefaultTimeSpanFormat_get
, DefaultTimeSpanFormat_set
);
42177 SWIG_Python_SetConstant(d
, "DateTime_Local",SWIG_From_int(static_cast< int >(wxDateTime::Local
)));
42178 SWIG_Python_SetConstant(d
, "DateTime_GMT_12",SWIG_From_int(static_cast< int >(wxDateTime::GMT_12
)));
42179 SWIG_Python_SetConstant(d
, "DateTime_GMT_11",SWIG_From_int(static_cast< int >(wxDateTime::GMT_11
)));
42180 SWIG_Python_SetConstant(d
, "DateTime_GMT_10",SWIG_From_int(static_cast< int >(wxDateTime::GMT_10
)));
42181 SWIG_Python_SetConstant(d
, "DateTime_GMT_9",SWIG_From_int(static_cast< int >(wxDateTime::GMT_9
)));
42182 SWIG_Python_SetConstant(d
, "DateTime_GMT_8",SWIG_From_int(static_cast< int >(wxDateTime::GMT_8
)));
42183 SWIG_Python_SetConstant(d
, "DateTime_GMT_7",SWIG_From_int(static_cast< int >(wxDateTime::GMT_7
)));
42184 SWIG_Python_SetConstant(d
, "DateTime_GMT_6",SWIG_From_int(static_cast< int >(wxDateTime::GMT_6
)));
42185 SWIG_Python_SetConstant(d
, "DateTime_GMT_5",SWIG_From_int(static_cast< int >(wxDateTime::GMT_5
)));
42186 SWIG_Python_SetConstant(d
, "DateTime_GMT_4",SWIG_From_int(static_cast< int >(wxDateTime::GMT_4
)));
42187 SWIG_Python_SetConstant(d
, "DateTime_GMT_3",SWIG_From_int(static_cast< int >(wxDateTime::GMT_3
)));
42188 SWIG_Python_SetConstant(d
, "DateTime_GMT_2",SWIG_From_int(static_cast< int >(wxDateTime::GMT_2
)));
42189 SWIG_Python_SetConstant(d
, "DateTime_GMT_1",SWIG_From_int(static_cast< int >(wxDateTime::GMT_1
)));
42190 SWIG_Python_SetConstant(d
, "DateTime_GMT0",SWIG_From_int(static_cast< int >(wxDateTime::GMT0
)));
42191 SWIG_Python_SetConstant(d
, "DateTime_GMT1",SWIG_From_int(static_cast< int >(wxDateTime::GMT1
)));
42192 SWIG_Python_SetConstant(d
, "DateTime_GMT2",SWIG_From_int(static_cast< int >(wxDateTime::GMT2
)));
42193 SWIG_Python_SetConstant(d
, "DateTime_GMT3",SWIG_From_int(static_cast< int >(wxDateTime::GMT3
)));
42194 SWIG_Python_SetConstant(d
, "DateTime_GMT4",SWIG_From_int(static_cast< int >(wxDateTime::GMT4
)));
42195 SWIG_Python_SetConstant(d
, "DateTime_GMT5",SWIG_From_int(static_cast< int >(wxDateTime::GMT5
)));
42196 SWIG_Python_SetConstant(d
, "DateTime_GMT6",SWIG_From_int(static_cast< int >(wxDateTime::GMT6
)));
42197 SWIG_Python_SetConstant(d
, "DateTime_GMT7",SWIG_From_int(static_cast< int >(wxDateTime::GMT7
)));
42198 SWIG_Python_SetConstant(d
, "DateTime_GMT8",SWIG_From_int(static_cast< int >(wxDateTime::GMT8
)));
42199 SWIG_Python_SetConstant(d
, "DateTime_GMT9",SWIG_From_int(static_cast< int >(wxDateTime::GMT9
)));
42200 SWIG_Python_SetConstant(d
, "DateTime_GMT10",SWIG_From_int(static_cast< int >(wxDateTime::GMT10
)));
42201 SWIG_Python_SetConstant(d
, "DateTime_GMT11",SWIG_From_int(static_cast< int >(wxDateTime::GMT11
)));
42202 SWIG_Python_SetConstant(d
, "DateTime_GMT12",SWIG_From_int(static_cast< int >(wxDateTime::GMT12
)));
42203 SWIG_Python_SetConstant(d
, "DateTime_GMT13",SWIG_From_int(static_cast< int >(wxDateTime::GMT13
)));
42204 SWIG_Python_SetConstant(d
, "DateTime_WET",SWIG_From_int(static_cast< int >(wxDateTime::WET
)));
42205 SWIG_Python_SetConstant(d
, "DateTime_WEST",SWIG_From_int(static_cast< int >(wxDateTime::WEST
)));
42206 SWIG_Python_SetConstant(d
, "DateTime_CET",SWIG_From_int(static_cast< int >(wxDateTime::CET
)));
42207 SWIG_Python_SetConstant(d
, "DateTime_CEST",SWIG_From_int(static_cast< int >(wxDateTime::CEST
)));
42208 SWIG_Python_SetConstant(d
, "DateTime_EET",SWIG_From_int(static_cast< int >(wxDateTime::EET
)));
42209 SWIG_Python_SetConstant(d
, "DateTime_EEST",SWIG_From_int(static_cast< int >(wxDateTime::EEST
)));
42210 SWIG_Python_SetConstant(d
, "DateTime_MSK",SWIG_From_int(static_cast< int >(wxDateTime::MSK
)));
42211 SWIG_Python_SetConstant(d
, "DateTime_MSD",SWIG_From_int(static_cast< int >(wxDateTime::MSD
)));
42212 SWIG_Python_SetConstant(d
, "DateTime_AST",SWIG_From_int(static_cast< int >(wxDateTime::AST
)));
42213 SWIG_Python_SetConstant(d
, "DateTime_ADT",SWIG_From_int(static_cast< int >(wxDateTime::ADT
)));
42214 SWIG_Python_SetConstant(d
, "DateTime_EST",SWIG_From_int(static_cast< int >(wxDateTime::EST
)));
42215 SWIG_Python_SetConstant(d
, "DateTime_EDT",SWIG_From_int(static_cast< int >(wxDateTime::EDT
)));
42216 SWIG_Python_SetConstant(d
, "DateTime_CST",SWIG_From_int(static_cast< int >(wxDateTime::CST
)));
42217 SWIG_Python_SetConstant(d
, "DateTime_CDT",SWIG_From_int(static_cast< int >(wxDateTime::CDT
)));
42218 SWIG_Python_SetConstant(d
, "DateTime_MST",SWIG_From_int(static_cast< int >(wxDateTime::MST
)));
42219 SWIG_Python_SetConstant(d
, "DateTime_MDT",SWIG_From_int(static_cast< int >(wxDateTime::MDT
)));
42220 SWIG_Python_SetConstant(d
, "DateTime_PST",SWIG_From_int(static_cast< int >(wxDateTime::PST
)));
42221 SWIG_Python_SetConstant(d
, "DateTime_PDT",SWIG_From_int(static_cast< int >(wxDateTime::PDT
)));
42222 SWIG_Python_SetConstant(d
, "DateTime_HST",SWIG_From_int(static_cast< int >(wxDateTime::HST
)));
42223 SWIG_Python_SetConstant(d
, "DateTime_AKST",SWIG_From_int(static_cast< int >(wxDateTime::AKST
)));
42224 SWIG_Python_SetConstant(d
, "DateTime_AKDT",SWIG_From_int(static_cast< int >(wxDateTime::AKDT
)));
42225 SWIG_Python_SetConstant(d
, "DateTime_A_WST",SWIG_From_int(static_cast< int >(wxDateTime::A_WST
)));
42226 SWIG_Python_SetConstant(d
, "DateTime_A_CST",SWIG_From_int(static_cast< int >(wxDateTime::A_CST
)));
42227 SWIG_Python_SetConstant(d
, "DateTime_A_EST",SWIG_From_int(static_cast< int >(wxDateTime::A_EST
)));
42228 SWIG_Python_SetConstant(d
, "DateTime_A_ESST",SWIG_From_int(static_cast< int >(wxDateTime::A_ESST
)));
42229 SWIG_Python_SetConstant(d
, "DateTime_NZST",SWIG_From_int(static_cast< int >(wxDateTime::NZST
)));
42230 SWIG_Python_SetConstant(d
, "DateTime_NZDT",SWIG_From_int(static_cast< int >(wxDateTime::NZDT
)));
42231 SWIG_Python_SetConstant(d
, "DateTime_UTC",SWIG_From_int(static_cast< int >(wxDateTime::UTC
)));
42232 SWIG_Python_SetConstant(d
, "DateTime_Gregorian",SWIG_From_int(static_cast< int >(wxDateTime::Gregorian
)));
42233 SWIG_Python_SetConstant(d
, "DateTime_Julian",SWIG_From_int(static_cast< int >(wxDateTime::Julian
)));
42234 SWIG_Python_SetConstant(d
, "DateTime_Gr_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Unknown
)));
42235 SWIG_Python_SetConstant(d
, "DateTime_Gr_Standard",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Standard
)));
42236 SWIG_Python_SetConstant(d
, "DateTime_Gr_Alaska",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Alaska
)));
42237 SWIG_Python_SetConstant(d
, "DateTime_Gr_Albania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Albania
)));
42238 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria
)));
42239 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Brixen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Brixen
)));
42240 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Salzburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Salzburg
)));
42241 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Tyrol",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Tyrol
)));
42242 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Carinthia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Carinthia
)));
42243 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Styria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Styria
)));
42244 SWIG_Python_SetConstant(d
, "DateTime_Gr_Belgium",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Belgium
)));
42245 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria
)));
42246 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_1
)));
42247 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_2
)));
42248 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_3
)));
42249 SWIG_Python_SetConstant(d
, "DateTime_Gr_Canada",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Canada
)));
42250 SWIG_Python_SetConstant(d
, "DateTime_Gr_China",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China
)));
42251 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_1
)));
42252 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_2
)));
42253 SWIG_Python_SetConstant(d
, "DateTime_Gr_Czechoslovakia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Czechoslovakia
)));
42254 SWIG_Python_SetConstant(d
, "DateTime_Gr_Denmark",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Denmark
)));
42255 SWIG_Python_SetConstant(d
, "DateTime_Gr_Egypt",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Egypt
)));
42256 SWIG_Python_SetConstant(d
, "DateTime_Gr_Estonia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Estonia
)));
42257 SWIG_Python_SetConstant(d
, "DateTime_Gr_Finland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Finland
)));
42258 SWIG_Python_SetConstant(d
, "DateTime_Gr_France",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France
)));
42259 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Alsace",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Alsace
)));
42260 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Lorraine",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Lorraine
)));
42261 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Strasbourg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Strasbourg
)));
42262 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany
)));
42263 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Catholic
)));
42264 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Prussia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Prussia
)));
42265 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Protestant
)));
42266 SWIG_Python_SetConstant(d
, "DateTime_Gr_GreatBritain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_GreatBritain
)));
42267 SWIG_Python_SetConstant(d
, "DateTime_Gr_Greece",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Greece
)));
42268 SWIG_Python_SetConstant(d
, "DateTime_Gr_Hungary",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Hungary
)));
42269 SWIG_Python_SetConstant(d
, "DateTime_Gr_Ireland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Ireland
)));
42270 SWIG_Python_SetConstant(d
, "DateTime_Gr_Italy",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Italy
)));
42271 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan
)));
42272 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_1
)));
42273 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_2
)));
42274 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_3
)));
42275 SWIG_Python_SetConstant(d
, "DateTime_Gr_Latvia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Latvia
)));
42276 SWIG_Python_SetConstant(d
, "DateTime_Gr_Lithuania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Lithuania
)));
42277 SWIG_Python_SetConstant(d
, "DateTime_Gr_Luxemburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Luxemburg
)));
42278 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands
)));
42279 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Groningen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Groningen
)));
42280 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Gelderland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Gelderland
)));
42281 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Utrecht",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Utrecht
)));
42282 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Friesland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Friesland
)));
42283 SWIG_Python_SetConstant(d
, "DateTime_Gr_Norway",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Norway
)));
42284 SWIG_Python_SetConstant(d
, "DateTime_Gr_Poland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Poland
)));
42285 SWIG_Python_SetConstant(d
, "DateTime_Gr_Portugal",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Portugal
)));
42286 SWIG_Python_SetConstant(d
, "DateTime_Gr_Romania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Romania
)));
42287 SWIG_Python_SetConstant(d
, "DateTime_Gr_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Russia
)));
42288 SWIG_Python_SetConstant(d
, "DateTime_Gr_Scotland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Scotland
)));
42289 SWIG_Python_SetConstant(d
, "DateTime_Gr_Spain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Spain
)));
42290 SWIG_Python_SetConstant(d
, "DateTime_Gr_Sweden",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Sweden
)));
42291 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland
)));
42292 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Catholic
)));
42293 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Protestant
)));
42294 SWIG_Python_SetConstant(d
, "DateTime_Gr_Turkey",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Turkey
)));
42295 SWIG_Python_SetConstant(d
, "DateTime_Gr_USA",SWIG_From_int(static_cast< int >(wxDateTime::Gr_USA
)));
42296 SWIG_Python_SetConstant(d
, "DateTime_Gr_Wales",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Wales
)));
42297 SWIG_Python_SetConstant(d
, "DateTime_Gr_Yugoslavia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Yugoslavia
)));
42298 SWIG_Python_SetConstant(d
, "DateTime_Country_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Country_Unknown
)));
42299 SWIG_Python_SetConstant(d
, "DateTime_Country_Default",SWIG_From_int(static_cast< int >(wxDateTime::Country_Default
)));
42300 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_Start",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_Start
)));
42301 SWIG_Python_SetConstant(d
, "DateTime_Country_EEC",SWIG_From_int(static_cast< int >(wxDateTime::Country_EEC
)));
42302 SWIG_Python_SetConstant(d
, "DateTime_France",SWIG_From_int(static_cast< int >(wxDateTime::France
)));
42303 SWIG_Python_SetConstant(d
, "DateTime_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Germany
)));
42304 SWIG_Python_SetConstant(d
, "DateTime_UK",SWIG_From_int(static_cast< int >(wxDateTime::UK
)));
42305 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_End",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_End
)));
42306 SWIG_Python_SetConstant(d
, "DateTime_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Russia
)));
42307 SWIG_Python_SetConstant(d
, "DateTime_USA",SWIG_From_int(static_cast< int >(wxDateTime::USA
)));
42308 SWIG_Python_SetConstant(d
, "DateTime_Jan",SWIG_From_int(static_cast< int >(wxDateTime::Jan
)));
42309 SWIG_Python_SetConstant(d
, "DateTime_Feb",SWIG_From_int(static_cast< int >(wxDateTime::Feb
)));
42310 SWIG_Python_SetConstant(d
, "DateTime_Mar",SWIG_From_int(static_cast< int >(wxDateTime::Mar
)));
42311 SWIG_Python_SetConstant(d
, "DateTime_Apr",SWIG_From_int(static_cast< int >(wxDateTime::Apr
)));
42312 SWIG_Python_SetConstant(d
, "DateTime_May",SWIG_From_int(static_cast< int >(wxDateTime::May
)));
42313 SWIG_Python_SetConstant(d
, "DateTime_Jun",SWIG_From_int(static_cast< int >(wxDateTime::Jun
)));
42314 SWIG_Python_SetConstant(d
, "DateTime_Jul",SWIG_From_int(static_cast< int >(wxDateTime::Jul
)));
42315 SWIG_Python_SetConstant(d
, "DateTime_Aug",SWIG_From_int(static_cast< int >(wxDateTime::Aug
)));
42316 SWIG_Python_SetConstant(d
, "DateTime_Sep",SWIG_From_int(static_cast< int >(wxDateTime::Sep
)));
42317 SWIG_Python_SetConstant(d
, "DateTime_Oct",SWIG_From_int(static_cast< int >(wxDateTime::Oct
)));
42318 SWIG_Python_SetConstant(d
, "DateTime_Nov",SWIG_From_int(static_cast< int >(wxDateTime::Nov
)));
42319 SWIG_Python_SetConstant(d
, "DateTime_Dec",SWIG_From_int(static_cast< int >(wxDateTime::Dec
)));
42320 SWIG_Python_SetConstant(d
, "DateTime_Inv_Month",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Month
)));
42321 SWIG_Python_SetConstant(d
, "DateTime_Sun",SWIG_From_int(static_cast< int >(wxDateTime::Sun
)));
42322 SWIG_Python_SetConstant(d
, "DateTime_Mon",SWIG_From_int(static_cast< int >(wxDateTime::Mon
)));
42323 SWIG_Python_SetConstant(d
, "DateTime_Tue",SWIG_From_int(static_cast< int >(wxDateTime::Tue
)));
42324 SWIG_Python_SetConstant(d
, "DateTime_Wed",SWIG_From_int(static_cast< int >(wxDateTime::Wed
)));
42325 SWIG_Python_SetConstant(d
, "DateTime_Thu",SWIG_From_int(static_cast< int >(wxDateTime::Thu
)));
42326 SWIG_Python_SetConstant(d
, "DateTime_Fri",SWIG_From_int(static_cast< int >(wxDateTime::Fri
)));
42327 SWIG_Python_SetConstant(d
, "DateTime_Sat",SWIG_From_int(static_cast< int >(wxDateTime::Sat
)));
42328 SWIG_Python_SetConstant(d
, "DateTime_Inv_WeekDay",SWIG_From_int(static_cast< int >(wxDateTime::Inv_WeekDay
)));
42329 SWIG_Python_SetConstant(d
, "DateTime_Inv_Year",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Year
)));
42330 SWIG_Python_SetConstant(d
, "DateTime_Name_Full",SWIG_From_int(static_cast< int >(wxDateTime::Name_Full
)));
42331 SWIG_Python_SetConstant(d
, "DateTime_Name_Abbr",SWIG_From_int(static_cast< int >(wxDateTime::Name_Abbr
)));
42332 SWIG_Python_SetConstant(d
, "DateTime_Default_First",SWIG_From_int(static_cast< int >(wxDateTime::Default_First
)));
42333 SWIG_Python_SetConstant(d
, "DateTime_Monday_First",SWIG_From_int(static_cast< int >(wxDateTime::Monday_First
)));
42334 SWIG_Python_SetConstant(d
, "DateTime_Sunday_First",SWIG_From_int(static_cast< int >(wxDateTime::Sunday_First
)));
42335 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTime",DefaultDateTime_get
, DefaultDateTime_set
);
42336 SWIG_Python_SetConstant(d
, "DF_INVALID",SWIG_From_int(static_cast< int >(wxDF_INVALID
)));
42337 SWIG_Python_SetConstant(d
, "DF_TEXT",SWIG_From_int(static_cast< int >(wxDF_TEXT
)));
42338 SWIG_Python_SetConstant(d
, "DF_BITMAP",SWIG_From_int(static_cast< int >(wxDF_BITMAP
)));
42339 SWIG_Python_SetConstant(d
, "DF_METAFILE",SWIG_From_int(static_cast< int >(wxDF_METAFILE
)));
42340 SWIG_Python_SetConstant(d
, "DF_SYLK",SWIG_From_int(static_cast< int >(wxDF_SYLK
)));
42341 SWIG_Python_SetConstant(d
, "DF_DIF",SWIG_From_int(static_cast< int >(wxDF_DIF
)));
42342 SWIG_Python_SetConstant(d
, "DF_TIFF",SWIG_From_int(static_cast< int >(wxDF_TIFF
)));
42343 SWIG_Python_SetConstant(d
, "DF_OEMTEXT",SWIG_From_int(static_cast< int >(wxDF_OEMTEXT
)));
42344 SWIG_Python_SetConstant(d
, "DF_DIB",SWIG_From_int(static_cast< int >(wxDF_DIB
)));
42345 SWIG_Python_SetConstant(d
, "DF_PALETTE",SWIG_From_int(static_cast< int >(wxDF_PALETTE
)));
42346 SWIG_Python_SetConstant(d
, "DF_PENDATA",SWIG_From_int(static_cast< int >(wxDF_PENDATA
)));
42347 SWIG_Python_SetConstant(d
, "DF_RIFF",SWIG_From_int(static_cast< int >(wxDF_RIFF
)));
42348 SWIG_Python_SetConstant(d
, "DF_WAVE",SWIG_From_int(static_cast< int >(wxDF_WAVE
)));
42349 SWIG_Python_SetConstant(d
, "DF_UNICODETEXT",SWIG_From_int(static_cast< int >(wxDF_UNICODETEXT
)));
42350 SWIG_Python_SetConstant(d
, "DF_ENHMETAFILE",SWIG_From_int(static_cast< int >(wxDF_ENHMETAFILE
)));
42351 SWIG_Python_SetConstant(d
, "DF_FILENAME",SWIG_From_int(static_cast< int >(wxDF_FILENAME
)));
42352 SWIG_Python_SetConstant(d
, "DF_LOCALE",SWIG_From_int(static_cast< int >(wxDF_LOCALE
)));
42353 SWIG_Python_SetConstant(d
, "DF_PRIVATE",SWIG_From_int(static_cast< int >(wxDF_PRIVATE
)));
42354 SWIG_Python_SetConstant(d
, "DF_HTML",SWIG_From_int(static_cast< int >(wxDF_HTML
)));
42355 SWIG_Python_SetConstant(d
, "DF_MAX",SWIG_From_int(static_cast< int >(wxDF_MAX
)));
42356 SWIG_addvarlink(SWIG_globals(),(char*)"FormatInvalid",FormatInvalid_get
, FormatInvalid_set
);
42357 SWIG_Python_SetConstant(d
, "DataObject_Get",SWIG_From_int(static_cast< int >(wxDataObject::Get
)));
42358 SWIG_Python_SetConstant(d
, "DataObject_Set",SWIG_From_int(static_cast< int >(wxDataObject::Set
)));
42359 SWIG_Python_SetConstant(d
, "DataObject_Both",SWIG_From_int(static_cast< int >(wxDataObject::Both
)));
42360 SWIG_Python_SetConstant(d
, "Drag_CopyOnly",SWIG_From_int(static_cast< int >(wxDrag_CopyOnly
)));
42361 SWIG_Python_SetConstant(d
, "Drag_AllowMove",SWIG_From_int(static_cast< int >(wxDrag_AllowMove
)));
42362 SWIG_Python_SetConstant(d
, "Drag_DefaultMove",SWIG_From_int(static_cast< int >(wxDrag_DefaultMove
)));
42363 SWIG_Python_SetConstant(d
, "DragError",SWIG_From_int(static_cast< int >(wxDragError
)));
42364 SWIG_Python_SetConstant(d
, "DragNone",SWIG_From_int(static_cast< int >(wxDragNone
)));
42365 SWIG_Python_SetConstant(d
, "DragCopy",SWIG_From_int(static_cast< int >(wxDragCopy
)));
42366 SWIG_Python_SetConstant(d
, "DragMove",SWIG_From_int(static_cast< int >(wxDragMove
)));
42367 SWIG_Python_SetConstant(d
, "DragLink",SWIG_From_int(static_cast< int >(wxDragLink
)));
42368 SWIG_Python_SetConstant(d
, "DragCancel",SWIG_From_int(static_cast< int >(wxDragCancel
)));
42370 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
42371 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
42372 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
42373 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
42375 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultVideoMode",DefaultVideoMode_get
, DefaultVideoMode_set
);
42376 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_None",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_None
)));
42377 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Messages",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Messages
)));
42378 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Max",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Max
)));
42379 SWIG_Python_SetConstant(d
, "POWER_SOCKET",SWIG_From_int(static_cast< int >(wxPOWER_SOCKET
)));
42380 SWIG_Python_SetConstant(d
, "POWER_BATTERY",SWIG_From_int(static_cast< int >(wxPOWER_BATTERY
)));
42381 SWIG_Python_SetConstant(d
, "POWER_UNKNOWN",SWIG_From_int(static_cast< int >(wxPOWER_UNKNOWN
)));
42382 SWIG_Python_SetConstant(d
, "BATTERY_NORMAL_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_NORMAL_STATE
)));
42383 SWIG_Python_SetConstant(d
, "BATTERY_LOW_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_LOW_STATE
)));
42384 SWIG_Python_SetConstant(d
, "BATTERY_CRITICAL_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_CRITICAL_STATE
)));
42385 SWIG_Python_SetConstant(d
, "BATTERY_SHUTDOWN_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_SHUTDOWN_STATE
)));
42386 SWIG_Python_SetConstant(d
, "BATTERY_UNKNOWN_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_UNKNOWN_STATE
)));
42387 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPENDING", PyInt_FromLong(wxEVT_POWER_SUSPENDING
));
42388 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPENDED", PyInt_FromLong(wxEVT_POWER_SUSPENDED
));
42389 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPEND_CANCEL", PyInt_FromLong(wxEVT_POWER_SUSPEND_CANCEL
));
42390 PyDict_SetItemString(d
, "wxEVT_POWER_RESUME", PyInt_FromLong(wxEVT_POWER_RESUME
));