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_wxMetafile swig_types[94]
2561 #define SWIGTYPE_p_wxMetafileDataObject swig_types[95]
2562 #define SWIGTYPE_p_wxMimeTypesManager swig_types[96]
2563 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[97]
2564 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[98]
2565 #define SWIGTYPE_p_wxMouseEvent swig_types[99]
2566 #define SWIGTYPE_p_wxMouseState swig_types[100]
2567 #define SWIGTYPE_p_wxMoveEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[102]
2569 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[103]
2570 #define SWIGTYPE_p_wxNcPaintEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNotifyEvent swig_types[105]
2572 #define SWIGTYPE_p_wxObject swig_types[106]
2573 #define SWIGTYPE_p_wxOutputStream swig_types[107]
2574 #define SWIGTYPE_p_wxPCXHandler swig_types[108]
2575 #define SWIGTYPE_p_wxPNGHandler swig_types[109]
2576 #define SWIGTYPE_p_wxPNMHandler swig_types[110]
2577 #define SWIGTYPE_p_wxPaintEvent swig_types[111]
2578 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[112]
2579 #define SWIGTYPE_p_wxPaperSize swig_types[113]
2580 #define SWIGTYPE_p_wxPlatformInfo swig_types[114]
2581 #define SWIGTYPE_p_wxPoint swig_types[115]
2582 #define SWIGTYPE_p_wxPowerEvent swig_types[116]
2583 #define SWIGTYPE_p_wxProcessEvent swig_types[117]
2584 #define SWIGTYPE_p_wxPyApp swig_types[118]
2585 #define SWIGTYPE_p_wxPyArtProvider swig_types[119]
2586 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[120]
2587 #define SWIGTYPE_p_wxPyCommandEvent swig_types[121]
2588 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[122]
2589 #define SWIGTYPE_p_wxPyDropSource swig_types[123]
2590 #define SWIGTYPE_p_wxPyDropTarget swig_types[124]
2591 #define SWIGTYPE_p_wxPyEvent swig_types[125]
2592 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[126]
2593 #define SWIGTYPE_p_wxPyImageHandler swig_types[127]
2594 #define SWIGTYPE_p_wxPyLog swig_types[128]
2595 #define SWIGTYPE_p_wxPyProcess swig_types[129]
2596 #define SWIGTYPE_p_wxPySizer swig_types[130]
2597 #define SWIGTYPE_p_wxPyTextDataObject swig_types[131]
2598 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[132]
2599 #define SWIGTYPE_p_wxPyTimer swig_types[133]
2600 #define SWIGTYPE_p_wxPyTipProvider swig_types[134]
2601 #define SWIGTYPE_p_wxPyValidator swig_types[135]
2602 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[136]
2603 #define SWIGTYPE_p_wxRect swig_types[137]
2604 #define SWIGTYPE_p_wxScrollEvent swig_types[138]
2605 #define SWIGTYPE_p_wxScrollWinEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSetCursorEvent swig_types[140]
2607 #define SWIGTYPE_p_wxShowEvent swig_types[141]
2608 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[142]
2609 #define SWIGTYPE_p_wxSize swig_types[143]
2610 #define SWIGTYPE_p_wxSizeEvent swig_types[144]
2611 #define SWIGTYPE_p_wxSizer swig_types[145]
2612 #define SWIGTYPE_p_wxSizerItem swig_types[146]
2613 #define SWIGTYPE_p_wxSound swig_types[147]
2614 #define SWIGTYPE_p_wxStandardPaths swig_types[148]
2615 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[149]
2616 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[150]
2617 #define SWIGTYPE_p_wxStopWatch swig_types[151]
2618 #define SWIGTYPE_p_wxString swig_types[152]
2619 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[153]
2620 #define SWIGTYPE_p_wxSystemOptions swig_types[154]
2621 #define SWIGTYPE_p_wxSystemSettings swig_types[155]
2622 #define SWIGTYPE_p_wxTGAHandler swig_types[156]
2623 #define SWIGTYPE_p_wxTIFFHandler swig_types[157]
2624 #define SWIGTYPE_p_wxTextCtrl swig_types[158]
2625 #define SWIGTYPE_p_wxTextDataObject swig_types[159]
2626 #define SWIGTYPE_p_wxTimeSpan swig_types[160]
2627 #define SWIGTYPE_p_wxTimer swig_types[161]
2628 #define SWIGTYPE_p_wxTimerEvent swig_types[162]
2629 #define SWIGTYPE_p_wxTimerRunner swig_types[163]
2630 #define SWIGTYPE_p_wxTipProvider swig_types[164]
2631 #define SWIGTYPE_p_wxToolTip swig_types[165]
2632 #define SWIGTYPE_p_wxURLDataObject swig_types[166]
2633 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[167]
2634 #define SWIGTYPE_p_wxValidator swig_types[168]
2635 #define SWIGTYPE_p_wxVideoMode swig_types[169]
2636 #define SWIGTYPE_p_wxWindow swig_types[170]
2637 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[171]
2638 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[172]
2639 #define SWIGTYPE_p_wxWindowDisabler swig_types[173]
2640 #define SWIGTYPE_p_wxXPMHandler swig_types[174]
2641 static swig_type_info
*swig_types
[176];
2642 static swig_module_info swig_module
= {swig_types
, 175, 0, 0, 0, 0};
2643 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2644 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2646 /* -------- TYPES TABLE (END) -------- */
2648 #if (PY_VERSION_HEX <= 0x02000000)
2649 # if !defined(SWIG_PYTHON_CLASSIC)
2650 # error "This python version requires to use swig with the '-classic' option"
2653 #if (PY_VERSION_HEX <= 0x02020000)
2654 # error "This python version requires to use swig with the '-nomodern' option"
2656 #if (PY_VERSION_HEX <= 0x02020000)
2657 # error "This python version requires to use swig with the '-nomodernargs' option"
2660 # error "This python version requires to use swig with the '-nofastunpack' option"
2663 /*-----------------------------------------------
2664 @(target):= _misc_.so
2665 ------------------------------------------------*/
2666 #define SWIG_init init_misc_
2668 #define SWIG_name "_misc_"
2670 #define SWIGVERSION 0x010329
2673 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2674 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2677 #include <stdexcept>
2681 class PyObject_ptr
{
2686 PyObject_ptr() :_obj(0)
2690 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2695 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2697 if (initial_ref
) Py_XINCREF(_obj
);
2700 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2702 Py_XINCREF(item
._obj
);
2713 operator PyObject
*() const
2718 PyObject
*operator->() const
2727 struct PyObject_var
: PyObject_ptr
{
2728 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2730 PyObject_var
& operator = (PyObject
* obj
)
2740 #include "wx/wxPython/wxPython.h"
2741 #include "wx/wxPython/pyclasses.h"
2742 #include "wx/wxPython/pyistream.h"
2744 static const wxString
wxPyEmptyString(wxEmptyString
);
2748 #define SWIG_From_long PyInt_FromLong
2751 SWIGINTERNINLINE PyObject
*
2752 SWIG_From_int (int value
)
2754 return SWIG_From_long (value
);
2760 # define LLONG_MIN LONG_LONG_MIN
2763 # define LLONG_MAX LONG_LONG_MAX
2766 # define ULLONG_MAX ULONG_LONG_MAX
2771 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2773 if (PyNumber_Check(obj
)) {
2774 if (val
) *val
= PyInt_AsLong(obj
);
2777 return SWIG_TypeError
;
2782 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2785 int res
= SWIG_AsVal_long (obj
, &v
);
2786 if (SWIG_IsOK(res
)) {
2787 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2788 return SWIG_OverflowError
;
2790 if (val
) *val
= static_cast< int >(v
);
2796 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
2798 #include <wx/stockitem.h>
2800 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
2801 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
2802 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
2805 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2807 if (obj
== Py_True
) {
2808 if (val
) *val
= true;
2810 } else if (obj
== Py_False
) {
2811 if (val
) *val
= false;
2815 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2816 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2823 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2826 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2827 return SWIG_TypeError
;
2830 *val
= (unsigned long)v
;
2835 SWIGINTERNINLINE PyObject
*
2836 SWIG_From_unsigned_SS_long (unsigned long value
)
2838 return (value
> LONG_MAX
) ?
2839 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2843 void* wxGetXDisplay()
2846 return wxGetDisplay();
2853 wxWindow
* FindWindowAtPointer() {
2855 return wxFindWindowAtPointer(unused
);
2859 bool wxThread_IsMain() {
2860 #ifdef WXP_WITH_THREAD
2861 return wxThread::IsMain();
2867 SWIGINTERN
void wxCaret_Destroy(wxCaret
*self
){
2871 #include <wx/snglinst.h>
2875 #include <wx/msw/private.h>
2876 #include <wx/dynload.h>
2881 bool wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
2892 // This one only partially works. Appears to be an undocumented
2893 // "standard" convention that not all widgets adhear to. For
2894 // example, for some widgets backgrounds or non-client areas may
2896 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
2901 // This one works much better, nearly all widgets and their
2902 // children are captured correctly[**]. Prior to the big
2903 // background erase changes that Vadim did in 2004-2005 this
2904 // method failed badly on XP with Themes activated, most native
2905 // widgets draw only partially, if at all. Without themes it
2906 // worked just like on Win2k. After those changes this method
2909 // ** For example the radio buttons in a wxRadioBox are not its
2910 // children by default, but you can capture it via the panel
2911 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
2912 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
2913 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
2914 PRF_ERASEBKGND
| PRF_OWNED
);
2920 // This one is only defined in the latest SDK and is only
2921 // available on XP. MSDN says it is similar to sending WM_PRINT
2922 // so I expect that it will work similar to the above. Since it
2923 // is avaialble only on XP, it can't be compiled like this and
2924 // will have to be loaded dynamically.
2925 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
2930 // Use PrintWindow if available, or fallback to WM_PRINT
2931 // otherwise. Unfortunately using PrintWindow is even worse than
2932 // WM_PRINT. For most native widgets nothing is drawn to the dc
2933 // at all, with or without Themes.
2934 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
2935 static bool s_triedToLoad
= false;
2936 static PrintWindow_t pfnPrintWindow
= NULL
;
2937 if ( !s_triedToLoad
)
2940 s_triedToLoad
= true;
2941 wxDynamicLibrary
dllUser32(_T("user32.dll"));
2942 if ( dllUser32
.IsLoaded() )
2944 wxLogNull nolog
; // Don't report errors here
2945 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
2950 //printf("Using PrintWindow\n");
2951 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
2955 //printf("Using WM_PRINT\n");
2956 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
2957 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
2958 PRF_ERASEBKGND
| PRF_OWNED
);
2969 #include <wx/tipdlg.h>
2972 SWIGINTERNINLINE PyObject
*
2973 SWIG_From_size_t (size_t value
)
2975 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2979 class wxPyTipProvider
: public wxTipProvider
{
2981 wxPyTipProvider(size_t currentTip
)
2982 : wxTipProvider(currentTip
) {}
2984 DEC_PYCALLBACK_STRING__pure(GetTip
);
2985 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
2989 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
2990 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
2993 SWIGINTERNINLINE
int
2994 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2997 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2998 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3003 IMP_PYCALLBACK__(wxPyTimer
, wxTimer
, Notify
);
3005 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
3007 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
3008 : wxTimer(owner
, id
)
3015 SWIGINTERN swig_type_info
*
3016 SWIG_pchar_descriptor()
3018 static int init
= 0;
3019 static swig_type_info
* info
= 0;
3021 info
= SWIG_TypeQuery("_p_char");
3028 SWIGINTERNINLINE PyObject
*
3029 SWIG_FromCharPtrAndSize(const char* carray
, size_t size
)
3032 if (size
> INT_MAX
) {
3033 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3034 return pchar_descriptor
?
3035 SWIG_NewPointerObj(const_cast< char * >(carray
), pchar_descriptor
, 0) : SWIG_Py_Void();
3037 return PyString_FromStringAndSize(carray
, static_cast< int >(size
));
3040 return SWIG_Py_Void();
3045 SWIGINTERNINLINE PyObject
*
3046 SWIG_FromCharPtr(const char *cptr
)
3048 return SWIG_FromCharPtrAndSize(cptr
, (cptr
? strlen(cptr
) : 0));
3053 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
3056 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
3057 if (SWIG_IsOK(res
)) {
3058 if ((v
> UINT_MAX
)) {
3059 return SWIG_OverflowError
;
3061 if (val
) *val
= static_cast< unsigned int >(v
);
3067 SWIGINTERN wxString
wxLog_TimeStamp(){
3069 wxLog::TimeStamp(&msg
);
3072 SWIGINTERN
void wxLog_Destroy(wxLog
*self
){ delete self
; }
3073 // Make some wrappers that double any % signs so they are 'escaped'
3074 void wxPyLogFatalError(const wxString
& msg
)
3077 m
.Replace(wxT("%"), wxT("%%"));
3081 void wxPyLogError(const wxString
& msg
)
3084 m
.Replace(wxT("%"), wxT("%%"));
3088 void wxPyLogWarning(const wxString
& msg
)
3091 m
.Replace(wxT("%"), wxT("%%"));
3095 void wxPyLogMessage(const wxString
& msg
)
3098 m
.Replace(wxT("%"), wxT("%%"));
3102 void wxPyLogInfo(const wxString
& msg
)
3105 m
.Replace(wxT("%"), wxT("%%"));
3109 void wxPyLogDebug(const wxString
& msg
)
3112 m
.Replace(wxT("%"), wxT("%%"));
3116 void wxPyLogVerbose(const wxString
& msg
)
3119 m
.Replace(wxT("%"), wxT("%%"));
3123 void wxPyLogStatus(const wxString
& msg
)
3126 m
.Replace(wxT("%"), wxT("%%"));
3130 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
3133 m
.Replace(wxT("%"), wxT("%%"));
3134 wxLogStatus(pFrame
, m
);
3137 void wxPyLogSysError(const wxString
& msg
)
3140 m
.Replace(wxT("%"), wxT("%%"));
3144 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
3147 m
.Replace(wxT("%"), wxT("%%"));
3148 wxLogGeneric(level
, m
);
3151 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
3154 m
.Replace(wxT("%"), wxT("%%"));
3155 wxLogTrace(mask
, m
);
3158 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
3161 m
.Replace(wxT("%"), wxT("%%"));
3162 wxLogTrace(mask
, m
);
3167 // A wxLog class that can be derived from in wxPython
3168 class wxPyLog
: public wxLog
{
3170 wxPyLog() : wxLog() {}
3172 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
3174 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3175 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
3176 PyObject
* s
= wx2PyString(szString
);
3177 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
3180 wxPyEndBlockThreads(blocked
);
3182 wxLog::DoLog(level
, szString
, t
);
3185 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
3187 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3188 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
3189 PyObject
* s
= wx2PyString(szString
);
3190 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
3193 wxPyEndBlockThreads(blocked
);
3195 wxLog::DoLogString(szString
, t
);
3198 DEC_PYCALLBACK_VOID_(Flush
);
3201 IMP_PYCALLBACK_VOID_(wxPyLog
, wxLog
, Flush
);
3206 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
3209 #include <wx/joystick.h>
3212 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
3213 // A C++ stub class for wxJoystick for platforms that don't have it.
3214 class wxJoystick
: public wxObject
{
3216 wxJoystick(int joystick
= wxJOYSTICK1
) {
3217 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3218 PyErr_SetString(PyExc_NotImplementedError
,
3219 "wxJoystick is not available on this platform.");
3220 wxPyEndBlockThreads(blocked
);
3222 wxPoint
GetPosition() { return wxPoint(-1,-1); }
3223 int GetZPosition() { return -1; }
3224 int GetButtonState() { return -1; }
3225 int GetPOVPosition() { return -1; }
3226 int GetPOVCTSPosition() { return -1; }
3227 int GetRudderPosition() { return -1; }
3228 int GetUPosition() { return -1; }
3229 int GetVPosition() { return -1; }
3230 int GetMovementThreshold() { return -1; }
3231 void SetMovementThreshold(int threshold
) {}
3233 bool IsOk(void) { return false; }
3234 int GetNumberJoysticks() { return -1; }
3235 int GetManufacturerId() { return -1; }
3236 int GetProductId() { return -1; }
3237 wxString
GetProductName() { return wxEmptyString
; }
3238 int GetXMin() { return -1; }
3239 int GetYMin() { return -1; }
3240 int GetZMin() { return -1; }
3241 int GetXMax() { return -1; }
3242 int GetYMax() { return -1; }
3243 int GetZMax() { return -1; }
3244 int GetNumberButtons() { return -1; }
3245 int GetNumberAxes() { return -1; }
3246 int GetMaxButtons() { return -1; }
3247 int GetMaxAxes() { return -1; }
3248 int GetPollingMin() { return -1; }
3249 int GetPollingMax() { return -1; }
3250 int GetRudderMin() { return -1; }
3251 int GetRudderMax() { return -1; }
3252 int GetUMin() { return -1; }
3253 int GetUMax() { return -1; }
3254 int GetVMin() { return -1; }
3255 int GetVMax() { return -1; }
3257 bool HasRudder() { return false; }
3258 bool HasZ() { return false; }
3259 bool HasU() { return false; }
3260 bool HasV() { return false; }
3261 bool HasPOV() { return false; }
3262 bool HasPOV4Dir() { return false; }
3263 bool HasPOVCTS() { return false; }
3265 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
3266 bool ReleaseCapture() { return false; }
3271 #include <wx/sound.h>
3275 // A C++ stub class for wxWave for platforms that don't have it.
3276 class wxSound
: public wxObject
3280 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3281 PyErr_SetString(PyExc_NotImplementedError
,
3282 "wxSound is not available on this platform.");
3283 wxPyEndBlockThreads(blocked
);
3285 wxSound(const wxString
&/*, bool*/) {
3286 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3287 PyErr_SetString(PyExc_NotImplementedError
,
3288 "wxSound is not available on this platform.");
3289 wxPyEndBlockThreads(blocked
);
3291 wxSound(int, const wxByte
*) {
3292 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3293 PyErr_SetString(PyExc_NotImplementedError
,
3294 "wxSound is not available on this platform.");
3295 wxPyEndBlockThreads(blocked
);
3300 bool Create(const wxString
&/*, bool*/) { return false; }
3301 bool Create(int, const wxByte
*) { return false; };
3302 bool IsOk() { return false; };
3303 bool Play(unsigned) const { return false; }
3304 static bool Play(const wxString
&, unsigned) { return false; }
3305 static void Stop() {}
3310 SWIGINTERN wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
3311 if (fileName
.Length() == 0)
3314 return new wxSound(fileName
);
3316 SWIGINTERN wxSound
*new_wxSound(PyObject
*data
){
3317 unsigned char* buffer
; int size
;
3318 wxSound
*sound
= NULL
;
3320 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3321 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
3323 sound
= new wxSound(size
, buffer
);
3325 wxPyEndBlockThreads(blocked
);
3328 SWIGINTERN
bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
3330 unsigned char* buffer
;
3334 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3335 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
3337 rv
= self
->Create(size
, buffer
);
3339 wxPyEndBlockThreads(blocked
);
3342 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3343 PyErr_SetString(PyExc_NotImplementedError
,
3344 "Create from data is not available on this platform.");
3345 wxPyEndBlockThreads(blocked
);
3350 #include <wx/mimetype.h>
3352 SWIGINTERN PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
3354 if (self
->GetMimeType(&str
))
3355 return wx2PyString(str
);
3359 SWIGINTERN PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
3361 if (self
->GetMimeTypes(arr
))
3362 return wxArrayString2PyList_helper(arr
);
3366 SWIGINTERN PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
3368 if (self
->GetExtensions(arr
))
3369 return wxArrayString2PyList_helper(arr
);
3373 SWIGINTERN wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
3375 if (self
->GetIcon(&loc
))
3376 return new wxIcon(loc
);
3380 SWIGINTERN PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
3382 if (self
->GetIcon(&loc
)) {
3383 wxString iconFile
= loc
.GetFileName();
3388 // Make a tuple and put the values in it
3389 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3390 PyObject
* tuple
= PyTuple_New(3);
3391 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
3392 wxT("wxIcon"), true));
3393 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
3394 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
3395 wxPyEndBlockThreads(blocked
);
3401 SWIGINTERN PyObject
*wxFileType_GetDescription(wxFileType
*self
){
3403 if (self
->GetDescription(&str
))
3404 return wx2PyString(str
);
3408 SWIGINTERN PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3410 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
3411 return wx2PyString(str
);
3415 SWIGINTERN PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3417 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
3418 return wx2PyString(str
);
3422 SWIGINTERN PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3423 wxArrayString verbs
;
3424 wxArrayString commands
;
3425 if (self
->GetAllCommands(&verbs
, &commands
,
3426 wxFileType::MessageParameters(filename
, mimetype
))) {
3427 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3428 PyObject
* tuple
= PyTuple_New(2);
3429 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
3430 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
3431 wxPyEndBlockThreads(blocked
);
3437 SWIGINTERN wxString
wxFileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3438 return wxFileType::ExpandCommand(command
,
3439 wxFileType::MessageParameters(filename
, mimetype
));
3441 SWIGINTERN PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
3443 self
->EnumAllFileTypes(arr
);
3444 return wxArrayString2PyList_helper(arr
);
3447 #include <wx/artprov.h>
3449 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
3450 static const wxString
wxPyART_MENU(wxART_MENU
);
3451 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
3452 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
3453 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
3454 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
3455 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
3456 static const wxString
wxPyART_OTHER(wxART_OTHER
);
3457 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
3458 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
3459 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
3460 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
3461 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
3462 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
3463 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
3464 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
3465 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
3466 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
3467 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
3468 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
3469 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
3470 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
3471 static const wxString
wxPyART_FILE_SAVE(wxART_FILE_SAVE
);
3472 static const wxString
wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS
);
3473 static const wxString
wxPyART_PRINT(wxART_PRINT
);
3474 static const wxString
wxPyART_HELP(wxART_HELP
);
3475 static const wxString
wxPyART_TIP(wxART_TIP
);
3476 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
3477 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
3478 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
3479 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
3480 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
3481 static const wxString
wxPyART_CDROM(wxART_CDROM
);
3482 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
3483 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
3484 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
3485 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
3486 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
3487 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
3488 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
3489 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
3490 static const wxString
wxPyART_ERROR(wxART_ERROR
);
3491 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
3492 static const wxString
wxPyART_WARNING(wxART_WARNING
);
3493 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
3494 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
3495 static const wxString
wxPyART_COPY(wxART_COPY
);
3496 static const wxString
wxPyART_CUT(wxART_CUT
);
3497 static const wxString
wxPyART_PASTE(wxART_PASTE
);
3498 static const wxString
wxPyART_DELETE(wxART_DELETE
);
3499 static const wxString
wxPyART_NEW(wxART_NEW
);
3500 static const wxString
wxPyART_UNDO(wxART_UNDO
);
3501 static const wxString
wxPyART_REDO(wxART_REDO
);
3502 static const wxString
wxPyART_QUIT(wxART_QUIT
);
3503 static const wxString
wxPyART_FIND(wxART_FIND
);
3504 static const wxString
wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE
);
3505 // Python aware wxArtProvider
3506 class wxPyArtProvider
: public wxArtProvider
{
3509 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
3510 const wxArtClient
& client
,
3511 const wxSize
& size
) {
3512 wxBitmap rval
= wxNullBitmap
;
3513 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3514 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
3515 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
3519 s1
= wx2PyString(id
);
3520 s2
= wx2PyString(client
);
3521 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
3526 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
3531 wxPyEndBlockThreads(blocked
);
3538 SWIGINTERN
void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
3542 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
3543 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3544 PyObject
* ret
= PyTuple_New(3);
3546 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
3547 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
3548 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
3550 wxPyEndBlockThreads(blocked
);
3554 SWIGINTERN PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
3559 cont
= self
->GetFirstGroup(value
, index
);
3560 return __EnumerationHelper(cont
, value
, index
);
3562 SWIGINTERN PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
3566 cont
= self
->GetNextGroup(value
, index
);
3567 return __EnumerationHelper(cont
, value
, index
);
3569 SWIGINTERN PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
3574 cont
= self
->GetFirstEntry(value
, index
);
3575 return __EnumerationHelper(cont
, value
, index
);
3577 SWIGINTERN PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
3581 cont
= self
->GetNextEntry(value
, index
);
3582 return __EnumerationHelper(cont
, value
, index
);
3584 SWIGINTERN
long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
3586 self
->Read(key
, &rv
, defaultVal
);
3591 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3593 if (PyNumber_Check(obj
)) {
3594 if (val
) *val
= PyFloat_AsDouble(obj
);
3597 return SWIG_TypeError
;
3600 SWIGINTERN
double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
3602 self
->Read(key
, &rv
, defaultVal
);
3606 #define SWIG_From_double PyFloat_FromDouble
3608 SWIGINTERN
bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
3610 self
->Read(key
, &rv
, defaultVal
);
3614 #include <wx/datetime.h>
3616 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
3617 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
3619 #define LOCAL_TZ wxDateTime::Local
3621 SWIGINTERN PyObject
*wxDateTime_GetAmPmStrings(){
3624 wxDateTime::GetAmPmStrings(&am
, &pm
);
3625 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3626 PyObject
* tup
= PyTuple_New(2);
3627 PyTuple_SET_ITEM(tup
, 0, wx2PyString(am
));
3628 PyTuple_SET_ITEM(tup
, 1, wx2PyString(pm
));
3629 wxPyEndBlockThreads(blocked
);
3633 SWIGINTERNINLINE PyObject
*
3634 SWIG_From_unsigned_SS_int (unsigned int value
)
3636 return SWIG_From_unsigned_SS_long (value
);
3639 SWIGINTERN wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
3640 SWIGINTERN wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
3641 SWIGINTERN wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
3642 SWIGINTERN wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
3643 SWIGINTERN wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
3644 SWIGINTERN
bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
3645 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
3646 return (*self
< *other
);
3648 SWIGINTERN
bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
3649 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
3650 return (*self
<= *other
);
3652 SWIGINTERN
bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
3653 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
3654 return (*self
> *other
);
3656 SWIGINTERN
bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
3657 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
3658 return (*self
>= *other
);
3660 SWIGINTERN
bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
3661 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
3662 return (*self
== *other
);
3664 SWIGINTERN
bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
3665 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
3666 return (*self
!= *other
);
3668 SWIGINTERN
int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
3670 const wxChar
* _date
= date
;
3671 rv
= self
->ParseRfc822Date(_date
);
3672 if (rv
== NULL
) return -1;
3675 SWIGINTERN
int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
3677 const wxChar
* _date
= date
;
3678 rv
= self
->ParseFormat(_date
, format
, dateDef
);
3679 if (rv
== NULL
) return -1;
3682 SWIGINTERN
int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
3684 const wxChar
* _datetime
= datetime
;
3685 rv
= self
->ParseDateTime(_datetime
);
3686 if (rv
== NULL
) return -1;
3687 return rv
- _datetime
;
3689 SWIGINTERN
int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
3691 const wxChar
* _date
= date
;
3692 rv
= self
->ParseDate(_date
);
3693 if (rv
== NULL
) return -1;
3696 SWIGINTERN
int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
3698 const wxChar
* _time
= time
;
3699 rv
= self
->ParseTime(_time
);
3700 if (rv
== NULL
) return -1;
3703 SWIGINTERN wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
3704 SWIGINTERN wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
3705 SWIGINTERN wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
3706 SWIGINTERN wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
3707 SWIGINTERN
bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
3708 SWIGINTERN
bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
3709 SWIGINTERN
bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
3710 SWIGINTERN
bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
3711 SWIGINTERN
bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
3712 SWIGINTERN
bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
3713 SWIGINTERN wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
3714 SWIGINTERN wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
3715 SWIGINTERN wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
3716 SWIGINTERN wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
3717 SWIGINTERN
bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
3718 SWIGINTERN
bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
3720 #include <wx/dataobj.h>
3722 SWIGINTERN PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
3723 size_t count
= self
->GetFormatCount(dir
);
3724 wxDataFormat
* formats
= new wxDataFormat
[count
];
3725 self
->GetAllFormats(formats
, dir
);
3727 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3728 PyObject
* list
= PyList_New(count
);
3729 for (size_t i
=0; i
<count
; i
++) {
3730 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
3731 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
3732 PyList_SET_ITEM(list
, i
, obj
); // PyList_SET_ITEM steals a reference
3734 wxPyEndBlockThreads(blocked
);
3738 SWIGINTERN PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
3739 PyObject
* rval
= NULL
;
3740 size_t size
= self
->GetDataSize(format
);
3741 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3743 char* buf
= new char[size
];
3744 if (self
->GetDataHere(format
, buf
))
3745 rval
= PyString_FromStringAndSize(buf
, size
);
3752 wxPyEndBlockThreads(blocked
);
3755 SWIGINTERN
bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
3757 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3758 if (PyString_Check(data
)) {
3759 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
3762 // raise a TypeError if not a string
3763 PyErr_SetString(PyExc_TypeError
, "String expected.");
3766 wxPyEndBlockThreads(blocked
);
3769 SWIGINTERN PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
3770 PyObject
* rval
= NULL
;
3771 size_t size
= self
->GetDataSize();
3772 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3774 char* buf
= new char[size
];
3775 if (self
->GetDataHere(buf
))
3776 rval
= PyString_FromStringAndSize(buf
, size
);
3783 wxPyEndBlockThreads(blocked
);
3786 SWIGINTERN
bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
3788 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3789 if (PyString_Check(data
)) {
3790 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3793 // raise a TypeError if not a string
3794 PyErr_SetString(PyExc_TypeError
, "String expected.");
3797 wxPyEndBlockThreads(blocked
);
3800 // Create a new class for wxPython to use
3801 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
3803 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
3804 : wxDataObjectSimple(format
) {}
3806 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
3807 bool GetDataHere(void *buf
) const;
3808 bool SetData(size_t len
, const void *buf
);
3812 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
3814 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
3815 // We need to get the data for this object and write it to buf. I think
3816 // the best way to do this for wxPython is to have the Python method
3817 // return either a string or None and then act appropriately with the
3821 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3822 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
3824 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3826 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
3828 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
3832 wxPyEndBlockThreads(blocked
);
3836 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) {
3837 // For this one we simply need to make a string from buf and len
3838 // and send it to the Python method.
3840 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3841 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
3842 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
3843 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
3846 wxPyEndBlockThreads(blocked
);
3850 // Create a new class for wxPython to use
3851 class wxPyTextDataObject
: public wxTextDataObject
{
3853 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
3854 : wxTextDataObject(text
) {}
3856 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
3857 DEC_PYCALLBACK_STRING__const(GetText
);
3858 DEC_PYCALLBACK__STRING(SetText
);
3862 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
3863 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
3864 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
3867 // Create a new class for wxPython to use
3868 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
3870 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
3871 : wxBitmapDataObject(bitmap
) {}
3873 wxBitmap
GetBitmap() const;
3874 void SetBitmap(const wxBitmap
& bitmap
);
3878 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
3879 wxBitmap
* rval
= &wxNullBitmap
;
3880 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3881 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
3884 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3886 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
3891 wxPyEndBlockThreads(blocked
);
3895 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
3896 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3897 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
3898 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
3899 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
3902 wxPyEndBlockThreads(blocked
);
3905 SWIGINTERN wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
3906 return new wxCustomDataObject(wxDataFormat(formatName
));
3908 SWIGINTERN
bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
3910 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3911 if (PyString_Check(data
)) {
3912 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3915 // raise a TypeError if not a string
3916 PyErr_SetString(PyExc_TypeError
, "String expected.");
3919 wxPyEndBlockThreads(blocked
);
3922 SWIGINTERN PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
3924 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3925 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
3926 wxPyEndBlockThreads(blocked
);
3930 #include <wx/metafile.h>
3933 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
3936 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
3937 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
3938 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
3939 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
3940 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
3943 class wxPyTextDropTarget
: public wxTextDropTarget
{
3945 wxPyTextDropTarget() {}
3947 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
3949 DEC_PYCALLBACK__(OnLeave
);
3950 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3951 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3952 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3953 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3958 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
3959 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
3960 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
3961 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
3962 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
3963 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
3967 class wxPyFileDropTarget
: public wxFileDropTarget
{
3969 wxPyFileDropTarget() {}
3971 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
3973 DEC_PYCALLBACK__(OnLeave
);
3974 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3975 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3976 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3977 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3982 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
3983 const wxArrayString
& filenames
) {
3985 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3986 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
3987 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
3988 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
3991 wxPyEndBlockThreads(blocked
);
3997 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
3998 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
3999 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
4000 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
4001 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
4006 SWIGINTERN
bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
4008 #include <wx/display.h>
4010 SWIGINTERN
bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
4011 SWIGINTERN
bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
4014 const wxVideoMode wxDefaultVideoMode
;
4017 SWIGINTERN PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
4019 PyObject
* pyList
= NULL
;
4020 wxArrayVideoModes arr
= self
->GetModes(mode
);
4021 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4022 pyList
= PyList_New(0);
4023 for (size_t i
=0; i
< arr
.GetCount(); i
++)
4025 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
4026 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
4027 PyList_Append(pyList
, pyObj
);
4030 wxPyEndBlockThreads(blocked
);
4033 wxPyRaiseNotImplemented();
4037 SWIGINTERN wxVideoMode
wxDisplay_GetCurrentMode(wxDisplay
const *self
){
4039 return self
->GetCurrentMode();
4041 wxPyRaiseNotImplemented();
4042 return wxDefaultVideoMode
;
4045 SWIGINTERN
bool wxDisplay_ChangeMode(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
4047 return self
->ChangeMode(mode
);
4049 wxPyRaiseNotImplemented();
4053 SWIGINTERN
void wxDisplay_ResetMode(wxDisplay
*self
){
4057 wxPyRaiseNotImplemented();
4061 #include <wx/stdpaths.h>
4063 SWIGINTERN wxStandardPaths
*wxStandardPaths_Get(){
4064 return (wxStandardPaths
*) &wxStandardPaths::Get();
4066 SWIGINTERN
void wxStandardPaths_SetInstallPrefix(wxStandardPaths
*self
,wxString
const &prefix
){}
4067 SWIGINTERN wxString
wxStandardPaths_GetInstallPrefix(wxStandardPaths
*self
){ return wxEmptyString
; }
4069 #ifndef wxHAS_POWER_EVENTS
4070 // Dummy class and other definitions for platforms that don't have them
4072 // See wxPython_int.h for wxPowerEvent
4075 wxEVT_POWER_SUSPENDING
,
4076 wxEVT_POWER_SUSPENDED
,
4077 wxEVT_POWER_SUSPEND_CANCEL
,
4081 wxPowerType
wxGetPowerType() { return wxPOWER_UNKNOWN
; }
4082 wxBatteryState
wxGetBatteryState() { return wxBATTERY_UNKNOWN_STATE
; }
4087 #include <wx/aboutdlg.h>
4092 SWIGINTERN PyObject
*_wrap_SystemSettings_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4093 PyObject
*resultobj
= 0;
4094 wxSystemColour arg1
;
4098 PyObject
* obj0
= 0 ;
4099 char * kwnames
[] = {
4100 (char *) "index", NULL
4103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) SWIG_fail
;
4104 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4105 if (!SWIG_IsOK(ecode1
)) {
4106 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetColour" "', expected argument " "1"" of type '" "wxSystemColour""'");
4108 arg1
= static_cast< wxSystemColour
>(val1
);
4110 if (!wxPyCheckForApp()) SWIG_fail
;
4111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4112 result
= wxSystemSettings::GetColour(arg1
);
4113 wxPyEndAllowThreads(__tstate
);
4114 if (PyErr_Occurred()) SWIG_fail
;
4116 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4123 SWIGINTERN PyObject
*_wrap_SystemSettings_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4124 PyObject
*resultobj
= 0;
4129 PyObject
* obj0
= 0 ;
4130 char * kwnames
[] = {
4131 (char *) "index", NULL
4134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) SWIG_fail
;
4135 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4136 if (!SWIG_IsOK(ecode1
)) {
4137 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetFont" "', expected argument " "1"" of type '" "wxSystemFont""'");
4139 arg1
= static_cast< wxSystemFont
>(val1
);
4141 if (!wxPyCheckForApp()) SWIG_fail
;
4142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4143 result
= wxSystemSettings::GetFont(arg1
);
4144 wxPyEndAllowThreads(__tstate
);
4145 if (PyErr_Occurred()) SWIG_fail
;
4147 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
4154 SWIGINTERN PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4155 PyObject
*resultobj
= 0;
4156 wxSystemMetric arg1
;
4157 wxWindow
*arg2
= (wxWindow
*) NULL
;
4163 PyObject
* obj0
= 0 ;
4164 PyObject
* obj1
= 0 ;
4165 char * kwnames
[] = {
4166 (char *) "index",(char *) "win", NULL
4169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SystemSettings_GetMetric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4170 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4171 if (!SWIG_IsOK(ecode1
)) {
4172 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetMetric" "', expected argument " "1"" of type '" "wxSystemMetric""'");
4174 arg1
= static_cast< wxSystemMetric
>(val1
);
4176 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4177 if (!SWIG_IsOK(res2
)) {
4178 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SystemSettings_GetMetric" "', expected argument " "2"" of type '" "wxWindow *""'");
4180 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4183 if (!wxPyCheckForApp()) SWIG_fail
;
4184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4185 result
= (int)wxSystemSettings::GetMetric(arg1
,arg2
);
4186 wxPyEndAllowThreads(__tstate
);
4187 if (PyErr_Occurred()) SWIG_fail
;
4189 resultobj
= SWIG_From_int(static_cast< int >(result
));
4196 SWIGINTERN PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4197 PyObject
*resultobj
= 0;
4198 wxSystemFeature arg1
;
4202 PyObject
* obj0
= 0 ;
4203 char * kwnames
[] = {
4204 (char *) "index", NULL
4207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) SWIG_fail
;
4208 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4209 if (!SWIG_IsOK(ecode1
)) {
4210 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_HasFeature" "', expected argument " "1"" of type '" "wxSystemFeature""'");
4212 arg1
= static_cast< wxSystemFeature
>(val1
);
4214 if (!wxPyCheckForApp()) SWIG_fail
;
4215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4216 result
= (bool)wxSystemSettings::HasFeature(arg1
);
4217 wxPyEndAllowThreads(__tstate
);
4218 if (PyErr_Occurred()) SWIG_fail
;
4221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4229 SWIGINTERN PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4230 PyObject
*resultobj
= 0;
4231 wxSystemScreenType result
;
4233 if (!SWIG_Python_UnpackTuple(args
,"SystemSettings_GetScreenType",0,0,0)) SWIG_fail
;
4235 if (!wxPyCheckForApp()) SWIG_fail
;
4236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4237 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
4238 wxPyEndAllowThreads(__tstate
);
4239 if (PyErr_Occurred()) SWIG_fail
;
4241 resultobj
= SWIG_From_int(static_cast< int >(result
));
4248 SWIGINTERN PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4249 PyObject
*resultobj
= 0;
4250 wxSystemScreenType arg1
;
4253 PyObject
* obj0
= 0 ;
4254 char * kwnames
[] = {
4255 (char *) "screen", NULL
4258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) SWIG_fail
;
4259 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4260 if (!SWIG_IsOK(ecode1
)) {
4261 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_SetScreenType" "', expected argument " "1"" of type '" "wxSystemScreenType""'");
4263 arg1
= static_cast< wxSystemScreenType
>(val1
);
4265 if (!wxPyCheckForApp()) SWIG_fail
;
4266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4267 wxSystemSettings::SetScreenType(arg1
);
4268 wxPyEndAllowThreads(__tstate
);
4269 if (PyErr_Occurred()) SWIG_fail
;
4271 resultobj
= SWIG_Py_Void();
4278 SWIGINTERN PyObject
*SystemSettings_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4280 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4281 SWIG_TypeNewClientData(SWIGTYPE_p_wxSystemSettings
, SWIG_NewClientData(obj
));
4282 return SWIG_Py_Void();
4285 SWIGINTERN
int WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
4286 SWIG_Error(SWIG_AttributeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
4291 SWIGINTERN PyObject
*WINDOW_DEFAULT_VARIANT_get(void) {
4292 PyObject
*pyobj
= 0;
4296 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
4298 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
4305 SWIGINTERN PyObject
*_wrap_new_SystemOptions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4306 PyObject
*resultobj
= 0;
4307 wxSystemOptions
*result
= 0 ;
4309 if (!SWIG_Python_UnpackTuple(args
,"new_SystemOptions",0,0,0)) SWIG_fail
;
4311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4312 result
= (wxSystemOptions
*)new wxSystemOptions();
4313 wxPyEndAllowThreads(__tstate
);
4314 if (PyErr_Occurred()) SWIG_fail
;
4316 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSystemOptions
, SWIG_POINTER_NEW
| 0 );
4323 SWIGINTERN PyObject
*_wrap_SystemOptions_SetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4324 PyObject
*resultobj
= 0;
4325 wxString
*arg1
= 0 ;
4326 wxString
*arg2
= 0 ;
4327 bool temp1
= false ;
4328 bool temp2
= false ;
4329 PyObject
* obj0
= 0 ;
4330 PyObject
* obj1
= 0 ;
4331 char * kwnames
[] = {
4332 (char *) "name",(char *) "value", NULL
4335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4337 arg1
= wxString_in_helper(obj0
);
4338 if (arg1
== NULL
) SWIG_fail
;
4342 arg2
= wxString_in_helper(obj1
);
4343 if (arg2
== NULL
) SWIG_fail
;
4347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4348 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
4349 wxPyEndAllowThreads(__tstate
);
4350 if (PyErr_Occurred()) SWIG_fail
;
4352 resultobj
= SWIG_Py_Void();
4375 SWIGINTERN PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4376 PyObject
*resultobj
= 0;
4377 wxString
*arg1
= 0 ;
4379 bool temp1
= false ;
4382 PyObject
* obj0
= 0 ;
4383 PyObject
* obj1
= 0 ;
4384 char * kwnames
[] = {
4385 (char *) "name",(char *) "value", NULL
4388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4390 arg1
= wxString_in_helper(obj0
);
4391 if (arg1
== NULL
) SWIG_fail
;
4394 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4395 if (!SWIG_IsOK(ecode2
)) {
4396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SystemOptions_SetOptionInt" "', expected argument " "2"" of type '" "int""'");
4398 arg2
= static_cast< int >(val2
);
4400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4401 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
4402 wxPyEndAllowThreads(__tstate
);
4403 if (PyErr_Occurred()) SWIG_fail
;
4405 resultobj
= SWIG_Py_Void();
4420 SWIGINTERN PyObject
*_wrap_SystemOptions_GetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4421 PyObject
*resultobj
= 0;
4422 wxString
*arg1
= 0 ;
4424 bool temp1
= false ;
4425 PyObject
* obj0
= 0 ;
4426 char * kwnames
[] = {
4427 (char *) "name", NULL
4430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) SWIG_fail
;
4432 arg1
= wxString_in_helper(obj0
);
4433 if (arg1
== NULL
) SWIG_fail
;
4437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4438 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
4439 wxPyEndAllowThreads(__tstate
);
4440 if (PyErr_Occurred()) SWIG_fail
;
4444 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4446 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4463 SWIGINTERN PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4464 PyObject
*resultobj
= 0;
4465 wxString
*arg1
= 0 ;
4467 bool temp1
= false ;
4468 PyObject
* obj0
= 0 ;
4469 char * kwnames
[] = {
4470 (char *) "name", NULL
4473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) SWIG_fail
;
4475 arg1
= wxString_in_helper(obj0
);
4476 if (arg1
== NULL
) SWIG_fail
;
4480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4481 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
4482 wxPyEndAllowThreads(__tstate
);
4483 if (PyErr_Occurred()) SWIG_fail
;
4485 resultobj
= SWIG_From_int(static_cast< int >(result
));
4500 SWIGINTERN PyObject
*_wrap_SystemOptions_HasOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4501 PyObject
*resultobj
= 0;
4502 wxString
*arg1
= 0 ;
4504 bool temp1
= false ;
4505 PyObject
* obj0
= 0 ;
4506 char * kwnames
[] = {
4507 (char *) "name", NULL
4510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) SWIG_fail
;
4512 arg1
= wxString_in_helper(obj0
);
4513 if (arg1
== NULL
) SWIG_fail
;
4517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4518 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
4519 wxPyEndAllowThreads(__tstate
);
4520 if (PyErr_Occurred()) SWIG_fail
;
4523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4539 SWIGINTERN PyObject
*_wrap_SystemOptions_IsFalse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4540 PyObject
*resultobj
= 0;
4541 wxString
*arg1
= 0 ;
4543 bool temp1
= false ;
4544 PyObject
* obj0
= 0 ;
4545 char * kwnames
[] = {
4546 (char *) "name", NULL
4549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_IsFalse",kwnames
,&obj0
)) SWIG_fail
;
4551 arg1
= wxString_in_helper(obj0
);
4552 if (arg1
== NULL
) SWIG_fail
;
4556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4557 result
= (bool)wxSystemOptions::IsFalse((wxString
const &)*arg1
);
4558 wxPyEndAllowThreads(__tstate
);
4559 if (PyErr_Occurred()) SWIG_fail
;
4562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4578 SWIGINTERN PyObject
*SystemOptions_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4580 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4581 SWIG_TypeNewClientData(SWIGTYPE_p_wxSystemOptions
, SWIG_NewClientData(obj
));
4582 return SWIG_Py_Void();
4585 SWIGINTERN PyObject
*SystemOptions_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4586 return SWIG_Python_InitShadowInstance(args
);
4589 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
4590 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
4595 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
4596 PyObject
*pyobj
= 0;
4600 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
4602 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
4609 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
4610 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
4615 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
4616 PyObject
*pyobj
= 0;
4620 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
4622 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
4629 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
4630 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
4635 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
4636 PyObject
*pyobj
= 0;
4640 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
4642 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
4649 SWIGINTERN PyObject
*_wrap_NewId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4650 PyObject
*resultobj
= 0;
4653 if (!SWIG_Python_UnpackTuple(args
,"NewId",0,0,0)) SWIG_fail
;
4655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4656 result
= (long)wxNewId();
4657 wxPyEndAllowThreads(__tstate
);
4658 if (PyErr_Occurred()) SWIG_fail
;
4660 resultobj
= SWIG_From_long(static_cast< long >(result
));
4667 SWIGINTERN PyObject
*_wrap_RegisterId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4668 PyObject
*resultobj
= 0;
4672 PyObject
* obj0
= 0 ;
4673 char * kwnames
[] = {
4677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) SWIG_fail
;
4678 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
4679 if (!SWIG_IsOK(ecode1
)) {
4680 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RegisterId" "', expected argument " "1"" of type '" "long""'");
4682 arg1
= static_cast< long >(val1
);
4684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4686 wxPyEndAllowThreads(__tstate
);
4687 if (PyErr_Occurred()) SWIG_fail
;
4689 resultobj
= SWIG_Py_Void();
4696 SWIGINTERN PyObject
*_wrap_GetCurrentId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4697 PyObject
*resultobj
= 0;
4700 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentId",0,0,0)) SWIG_fail
;
4702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4703 result
= (long)wxGetCurrentId();
4704 wxPyEndAllowThreads(__tstate
);
4705 if (PyErr_Occurred()) SWIG_fail
;
4707 resultobj
= SWIG_From_long(static_cast< long >(result
));
4714 SWIGINTERN PyObject
*_wrap_IsStockID(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4715 PyObject
*resultobj
= 0;
4720 PyObject
* obj0
= 0 ;
4721 char * kwnames
[] = {
4725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) SWIG_fail
;
4726 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4727 if (!SWIG_IsOK(ecode1
)) {
4728 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsStockID" "', expected argument " "1"" of type '" "int""'");
4730 arg1
= static_cast< int >(val1
);
4732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4733 result
= (bool)wxIsStockID(arg1
);
4734 wxPyEndAllowThreads(__tstate
);
4735 if (PyErr_Occurred()) SWIG_fail
;
4738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4746 SWIGINTERN PyObject
*_wrap_IsStockLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4747 PyObject
*resultobj
= 0;
4749 wxString
*arg2
= 0 ;
4753 bool temp2
= false ;
4754 PyObject
* obj0
= 0 ;
4755 PyObject
* obj1
= 0 ;
4756 char * kwnames
[] = {
4757 (char *) "id",(char *) "label", NULL
4760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4761 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4762 if (!SWIG_IsOK(ecode1
)) {
4763 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsStockLabel" "', expected argument " "1"" of type '" "int""'");
4765 arg1
= static_cast< int >(val1
);
4767 arg2
= wxString_in_helper(obj1
);
4768 if (arg2
== NULL
) SWIG_fail
;
4772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4773 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
4774 wxPyEndAllowThreads(__tstate
);
4775 if (PyErr_Occurred()) SWIG_fail
;
4778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4794 SWIGINTERN PyObject
*_wrap_GetStockLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4795 PyObject
*resultobj
= 0;
4797 long arg2
= (long) wxSTOCK_WITH_MNEMONIC
;
4803 PyObject
* obj0
= 0 ;
4804 PyObject
* obj1
= 0 ;
4805 char * kwnames
[] = {
4806 (char *) "id",(char *) "flags", NULL
4809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GetStockLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4810 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4811 if (!SWIG_IsOK(ecode1
)) {
4812 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetStockLabel" "', expected argument " "1"" of type '" "int""'");
4814 arg1
= static_cast< int >(val1
);
4816 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4817 if (!SWIG_IsOK(ecode2
)) {
4818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GetStockLabel" "', expected argument " "2"" of type '" "long""'");
4820 arg2
= static_cast< long >(val2
);
4823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4824 result
= wxGetStockLabel(arg1
,arg2
);
4825 wxPyEndAllowThreads(__tstate
);
4826 if (PyErr_Occurred()) SWIG_fail
;
4830 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4832 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4841 SWIGINTERN PyObject
*_wrap_GetStockHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4842 PyObject
*resultobj
= 0;
4844 wxStockHelpStringClient arg2
= (wxStockHelpStringClient
) wxSTOCK_MENU
;
4850 PyObject
* obj0
= 0 ;
4851 PyObject
* obj1
= 0 ;
4852 char * kwnames
[] = {
4853 (char *) "id",(char *) "client", NULL
4856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GetStockHelpString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4857 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4858 if (!SWIG_IsOK(ecode1
)) {
4859 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetStockHelpString" "', expected argument " "1"" of type '" "int""'");
4861 arg1
= static_cast< int >(val1
);
4863 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4864 if (!SWIG_IsOK(ecode2
)) {
4865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GetStockHelpString" "', expected argument " "2"" of type '" "wxStockHelpStringClient""'");
4867 arg2
= static_cast< wxStockHelpStringClient
>(val2
);
4870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4871 result
= wxGetStockHelpString(arg1
,arg2
);
4872 wxPyEndAllowThreads(__tstate
);
4873 if (PyErr_Occurred()) SWIG_fail
;
4877 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4879 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4888 SWIGINTERN PyObject
*_wrap_Bell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4889 PyObject
*resultobj
= 0;
4891 if (!SWIG_Python_UnpackTuple(args
,"Bell",0,0,0)) SWIG_fail
;
4893 if (!wxPyCheckForApp()) SWIG_fail
;
4894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4896 wxPyEndAllowThreads(__tstate
);
4897 if (PyErr_Occurred()) SWIG_fail
;
4899 resultobj
= SWIG_Py_Void();
4906 SWIGINTERN PyObject
*_wrap_EndBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4907 PyObject
*resultobj
= 0;
4909 if (!SWIG_Python_UnpackTuple(args
,"EndBusyCursor",0,0,0)) SWIG_fail
;
4911 if (!wxPyCheckForApp()) SWIG_fail
;
4912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4914 wxPyEndAllowThreads(__tstate
);
4915 if (PyErr_Occurred()) SWIG_fail
;
4917 resultobj
= SWIG_Py_Void();
4924 SWIGINTERN PyObject
*_wrap_GetElapsedTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4925 PyObject
*resultobj
= 0;
4926 bool arg1
= (bool) true ;
4930 PyObject
* obj0
= 0 ;
4931 char * kwnames
[] = {
4932 (char *) "resetTimer", NULL
4935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) SWIG_fail
;
4937 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
4938 if (!SWIG_IsOK(ecode1
)) {
4939 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetElapsedTime" "', expected argument " "1"" of type '" "bool""'");
4941 arg1
= static_cast< bool >(val1
);
4944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4945 result
= (long)wxGetElapsedTime(arg1
);
4946 wxPyEndAllowThreads(__tstate
);
4947 if (PyErr_Occurred()) SWIG_fail
;
4949 resultobj
= SWIG_From_long(static_cast< long >(result
));
4956 SWIGINTERN PyObject
*_wrap_IsBusy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4957 PyObject
*resultobj
= 0;
4960 if (!SWIG_Python_UnpackTuple(args
,"IsBusy",0,0,0)) SWIG_fail
;
4962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4963 result
= (bool)wxIsBusy();
4964 wxPyEndAllowThreads(__tstate
);
4965 if (PyErr_Occurred()) SWIG_fail
;
4968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4976 SWIGINTERN PyObject
*_wrap_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4977 PyObject
*resultobj
= 0;
4980 if (!SWIG_Python_UnpackTuple(args
,"Now",0,0,0)) SWIG_fail
;
4982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4984 wxPyEndAllowThreads(__tstate
);
4985 if (PyErr_Occurred()) SWIG_fail
;
4989 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4991 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5000 SWIGINTERN PyObject
*_wrap_Shell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5001 PyObject
*resultobj
= 0;
5002 wxString
const &arg1_defvalue
= wxPyEmptyString
;
5003 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5005 bool temp1
= false ;
5006 PyObject
* obj0
= 0 ;
5007 char * kwnames
[] = {
5008 (char *) "command", NULL
5011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) SWIG_fail
;
5014 arg1
= wxString_in_helper(obj0
);
5015 if (arg1
== NULL
) SWIG_fail
;
5020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5021 result
= (bool)wxShell((wxString
const &)*arg1
);
5022 wxPyEndAllowThreads(__tstate
);
5023 if (PyErr_Occurred()) SWIG_fail
;
5026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5042 SWIGINTERN PyObject
*_wrap_StartTimer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5043 PyObject
*resultobj
= 0;
5045 if (!SWIG_Python_UnpackTuple(args
,"StartTimer",0,0,0)) SWIG_fail
;
5047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5049 wxPyEndAllowThreads(__tstate
);
5050 if (PyErr_Occurred()) SWIG_fail
;
5052 resultobj
= SWIG_Py_Void();
5059 SWIGINTERN PyObject
*_wrap_GetOsVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5060 PyObject
*resultobj
= 0;
5061 int *arg1
= (int *) 0 ;
5062 int *arg2
= (int *) 0 ;
5065 int res1
= SWIG_TMPOBJ
;
5067 int res2
= SWIG_TMPOBJ
;
5071 if (!SWIG_Python_UnpackTuple(args
,"GetOsVersion",0,0,0)) SWIG_fail
;
5073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5074 result
= (int)wxGetOsVersion(arg1
,arg2
);
5075 wxPyEndAllowThreads(__tstate
);
5076 if (PyErr_Occurred()) SWIG_fail
;
5078 resultobj
= SWIG_From_int(static_cast< int >(result
));
5079 if (SWIG_IsTmpObj(res1
)) {
5080 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
5082 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5083 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
5085 if (SWIG_IsTmpObj(res2
)) {
5086 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
5088 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5089 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
5097 SWIGINTERN PyObject
*_wrap_GetOsDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5098 PyObject
*resultobj
= 0;
5101 if (!SWIG_Python_UnpackTuple(args
,"GetOsDescription",0,0,0)) SWIG_fail
;
5103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5104 result
= wxGetOsDescription();
5105 wxPyEndAllowThreads(__tstate
);
5106 if (PyErr_Occurred()) SWIG_fail
;
5110 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5112 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5121 SWIGINTERN PyObject
*_wrap_IsPlatformLittleEndian(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5122 PyObject
*resultobj
= 0;
5125 if (!SWIG_Python_UnpackTuple(args
,"IsPlatformLittleEndian",0,0,0)) SWIG_fail
;
5127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5128 result
= (bool)wxIsPlatformLittleEndian();
5129 wxPyEndAllowThreads(__tstate
);
5130 if (PyErr_Occurred()) SWIG_fail
;
5133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5141 SWIGINTERN PyObject
*_wrap_IsPlatform64Bit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5142 PyObject
*resultobj
= 0;
5145 if (!SWIG_Python_UnpackTuple(args
,"IsPlatform64Bit",0,0,0)) SWIG_fail
;
5147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5148 result
= (bool)wxIsPlatform64Bit();
5149 wxPyEndAllowThreads(__tstate
);
5150 if (PyErr_Occurred()) SWIG_fail
;
5153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5161 SWIGINTERN PyObject
*_wrap_GetFreeMemory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5162 PyObject
*resultobj
= 0;
5163 wxMemorySize result
;
5165 if (!SWIG_Python_UnpackTuple(args
,"GetFreeMemory",0,0,0)) SWIG_fail
;
5167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5168 result
= wxGetFreeMemory();
5169 wxPyEndAllowThreads(__tstate
);
5170 if (PyErr_Occurred()) SWIG_fail
;
5174 resultobj
= PyLong_FromLongLong((&result
)->GetValue());
5176 resultobj
= PyInt_FromLong(result
);
5185 SWIGINTERN PyObject
*_wrap_Shutdown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5186 PyObject
*resultobj
= 0;
5187 wxShutdownFlags arg1
;
5191 PyObject
* obj0
= 0 ;
5192 char * kwnames
[] = {
5193 (char *) "wFlags", NULL
5196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) SWIG_fail
;
5197 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5198 if (!SWIG_IsOK(ecode1
)) {
5199 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Shutdown" "', expected argument " "1"" of type '" "wxShutdownFlags""'");
5201 arg1
= static_cast< wxShutdownFlags
>(val1
);
5203 if (!wxPyCheckForApp()) SWIG_fail
;
5204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5205 result
= (bool)wxShutdown(arg1
);
5206 wxPyEndAllowThreads(__tstate
);
5207 if (PyErr_Occurred()) SWIG_fail
;
5210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5218 SWIGINTERN PyObject
*_wrap_Sleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5219 PyObject
*resultobj
= 0;
5223 PyObject
* obj0
= 0 ;
5224 char * kwnames
[] = {
5225 (char *) "secs", NULL
5228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) SWIG_fail
;
5229 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5230 if (!SWIG_IsOK(ecode1
)) {
5231 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Sleep" "', expected argument " "1"" of type '" "int""'");
5233 arg1
= static_cast< int >(val1
);
5235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5237 wxPyEndAllowThreads(__tstate
);
5238 if (PyErr_Occurred()) SWIG_fail
;
5240 resultobj
= SWIG_Py_Void();
5247 SWIGINTERN PyObject
*_wrap_MilliSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5248 PyObject
*resultobj
= 0;
5249 unsigned long arg1
;
5250 unsigned long val1
;
5252 PyObject
* obj0
= 0 ;
5253 char * kwnames
[] = {
5254 (char *) "milliseconds", NULL
5257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) SWIG_fail
;
5258 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5259 if (!SWIG_IsOK(ecode1
)) {
5260 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MilliSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5262 arg1
= static_cast< unsigned long >(val1
);
5264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5266 wxPyEndAllowThreads(__tstate
);
5267 if (PyErr_Occurred()) SWIG_fail
;
5269 resultobj
= SWIG_Py_Void();
5276 SWIGINTERN PyObject
*_wrap_MicroSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5277 PyObject
*resultobj
= 0;
5278 unsigned long arg1
;
5279 unsigned long val1
;
5281 PyObject
* obj0
= 0 ;
5282 char * kwnames
[] = {
5283 (char *) "microseconds", NULL
5286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) SWIG_fail
;
5287 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5288 if (!SWIG_IsOK(ecode1
)) {
5289 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MicroSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5291 arg1
= static_cast< unsigned long >(val1
);
5293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5295 wxPyEndAllowThreads(__tstate
);
5296 if (PyErr_Occurred()) SWIG_fail
;
5298 resultobj
= SWIG_Py_Void();
5305 SWIGINTERN PyObject
*_wrap_EnableTopLevelWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5306 PyObject
*resultobj
= 0;
5310 PyObject
* obj0
= 0 ;
5311 char * kwnames
[] = {
5312 (char *) "enable", NULL
5315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) SWIG_fail
;
5316 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
5317 if (!SWIG_IsOK(ecode1
)) {
5318 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EnableTopLevelWindows" "', expected argument " "1"" of type '" "bool""'");
5320 arg1
= static_cast< bool >(val1
);
5322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5323 wxEnableTopLevelWindows(arg1
);
5324 wxPyEndAllowThreads(__tstate
);
5325 if (PyErr_Occurred()) SWIG_fail
;
5327 resultobj
= SWIG_Py_Void();
5334 SWIGINTERN PyObject
*_wrap_StripMenuCodes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5335 PyObject
*resultobj
= 0;
5336 wxString
*arg1
= 0 ;
5338 bool temp1
= false ;
5339 PyObject
* obj0
= 0 ;
5340 char * kwnames
[] = {
5344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) SWIG_fail
;
5346 arg1
= wxString_in_helper(obj0
);
5347 if (arg1
== NULL
) SWIG_fail
;
5351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5352 result
= wxStripMenuCodes((wxString
const &)*arg1
);
5353 wxPyEndAllowThreads(__tstate
);
5354 if (PyErr_Occurred()) SWIG_fail
;
5358 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5360 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5377 SWIGINTERN PyObject
*_wrap_GetEmailAddress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5378 PyObject
*resultobj
= 0;
5381 if (!SWIG_Python_UnpackTuple(args
,"GetEmailAddress",0,0,0)) SWIG_fail
;
5383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5384 result
= wxGetEmailAddress();
5385 wxPyEndAllowThreads(__tstate
);
5386 if (PyErr_Occurred()) SWIG_fail
;
5390 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5392 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5401 SWIGINTERN PyObject
*_wrap_GetHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5402 PyObject
*resultobj
= 0;
5405 if (!SWIG_Python_UnpackTuple(args
,"GetHostName",0,0,0)) SWIG_fail
;
5407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5408 result
= wxGetHostName();
5409 wxPyEndAllowThreads(__tstate
);
5410 if (PyErr_Occurred()) SWIG_fail
;
5414 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5416 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5425 SWIGINTERN PyObject
*_wrap_GetFullHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5426 PyObject
*resultobj
= 0;
5429 if (!SWIG_Python_UnpackTuple(args
,"GetFullHostName",0,0,0)) SWIG_fail
;
5431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5432 result
= wxGetFullHostName();
5433 wxPyEndAllowThreads(__tstate
);
5434 if (PyErr_Occurred()) SWIG_fail
;
5438 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5440 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5449 SWIGINTERN PyObject
*_wrap_GetUserId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5450 PyObject
*resultobj
= 0;
5453 if (!SWIG_Python_UnpackTuple(args
,"GetUserId",0,0,0)) SWIG_fail
;
5455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5456 result
= wxGetUserId();
5457 wxPyEndAllowThreads(__tstate
);
5458 if (PyErr_Occurred()) SWIG_fail
;
5462 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5464 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5473 SWIGINTERN PyObject
*_wrap_GetUserName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5474 PyObject
*resultobj
= 0;
5477 if (!SWIG_Python_UnpackTuple(args
,"GetUserName",0,0,0)) SWIG_fail
;
5479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5480 result
= wxGetUserName();
5481 wxPyEndAllowThreads(__tstate
);
5482 if (PyErr_Occurred()) SWIG_fail
;
5486 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5488 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5497 SWIGINTERN PyObject
*_wrap_GetHomeDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5498 PyObject
*resultobj
= 0;
5501 if (!SWIG_Python_UnpackTuple(args
,"GetHomeDir",0,0,0)) SWIG_fail
;
5503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5504 result
= wxGetHomeDir();
5505 wxPyEndAllowThreads(__tstate
);
5506 if (PyErr_Occurred()) SWIG_fail
;
5510 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5512 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5521 SWIGINTERN PyObject
*_wrap_GetUserHome(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5522 PyObject
*resultobj
= 0;
5523 wxString
const &arg1_defvalue
= wxPyEmptyString
;
5524 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5526 bool temp1
= false ;
5527 PyObject
* obj0
= 0 ;
5528 char * kwnames
[] = {
5529 (char *) "user", NULL
5532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) SWIG_fail
;
5535 arg1
= wxString_in_helper(obj0
);
5536 if (arg1
== NULL
) SWIG_fail
;
5541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5542 result
= wxGetUserHome((wxString
const &)*arg1
);
5543 wxPyEndAllowThreads(__tstate
);
5544 if (PyErr_Occurred()) SWIG_fail
;
5548 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5550 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5567 SWIGINTERN PyObject
*_wrap_GetProcessId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5568 PyObject
*resultobj
= 0;
5569 unsigned long result
;
5571 if (!SWIG_Python_UnpackTuple(args
,"GetProcessId",0,0,0)) SWIG_fail
;
5573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5574 result
= (unsigned long)wxGetProcessId();
5575 wxPyEndAllowThreads(__tstate
);
5576 if (PyErr_Occurred()) SWIG_fail
;
5578 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
5585 SWIGINTERN PyObject
*_wrap_Trap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5586 PyObject
*resultobj
= 0;
5588 if (!SWIG_Python_UnpackTuple(args
,"Trap",0,0,0)) SWIG_fail
;
5590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5592 wxPyEndAllowThreads(__tstate
);
5593 if (PyErr_Occurred()) SWIG_fail
;
5595 resultobj
= SWIG_Py_Void();
5602 SWIGINTERN PyObject
*_wrap_FileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5603 PyObject
*resultobj
= 0;
5604 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
5605 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5606 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5607 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5608 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5609 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5610 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5611 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5612 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
5613 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5614 int arg6
= (int) 0 ;
5615 wxWindow
*arg7
= (wxWindow
*) NULL
;
5616 int arg8
= (int) -1 ;
5617 int arg9
= (int) -1 ;
5619 bool temp1
= false ;
5620 bool temp2
= false ;
5621 bool temp3
= false ;
5622 bool temp4
= false ;
5623 bool temp5
= false ;
5632 PyObject
* obj0
= 0 ;
5633 PyObject
* obj1
= 0 ;
5634 PyObject
* obj2
= 0 ;
5635 PyObject
* obj3
= 0 ;
5636 PyObject
* obj4
= 0 ;
5637 PyObject
* obj5
= 0 ;
5638 PyObject
* obj6
= 0 ;
5639 PyObject
* obj7
= 0 ;
5640 PyObject
* obj8
= 0 ;
5641 char * kwnames
[] = {
5642 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
5645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5648 arg1
= wxString_in_helper(obj0
);
5649 if (arg1
== NULL
) SWIG_fail
;
5655 arg2
= wxString_in_helper(obj1
);
5656 if (arg2
== NULL
) SWIG_fail
;
5662 arg3
= wxString_in_helper(obj2
);
5663 if (arg3
== NULL
) SWIG_fail
;
5669 arg4
= wxString_in_helper(obj3
);
5670 if (arg4
== NULL
) SWIG_fail
;
5676 arg5
= wxString_in_helper(obj4
);
5677 if (arg5
== NULL
) SWIG_fail
;
5682 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
5683 if (!SWIG_IsOK(ecode6
)) {
5684 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FileSelector" "', expected argument " "6"" of type '" "int""'");
5686 arg6
= static_cast< int >(val6
);
5689 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5690 if (!SWIG_IsOK(res7
)) {
5691 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "FileSelector" "', expected argument " "7"" of type '" "wxWindow *""'");
5693 arg7
= reinterpret_cast< wxWindow
* >(argp7
);
5696 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
5697 if (!SWIG_IsOK(ecode8
)) {
5698 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FileSelector" "', expected argument " "8"" of type '" "int""'");
5700 arg8
= static_cast< int >(val8
);
5703 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
5704 if (!SWIG_IsOK(ecode9
)) {
5705 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FileSelector" "', expected argument " "9"" of type '" "int""'");
5707 arg9
= static_cast< int >(val9
);
5710 if (!wxPyCheckForApp()) SWIG_fail
;
5711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5712 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
5713 wxPyEndAllowThreads(__tstate
);
5714 if (PyErr_Occurred()) SWIG_fail
;
5718 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5720 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5769 SWIGINTERN PyObject
*_wrap_LoadFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5770 PyObject
*resultobj
= 0;
5771 wxString
*arg1
= 0 ;
5772 wxString
*arg2
= 0 ;
5773 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5774 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5775 wxWindow
*arg4
= (wxWindow
*) NULL
;
5777 bool temp1
= false ;
5778 bool temp2
= false ;
5779 bool temp3
= false ;
5782 PyObject
* obj0
= 0 ;
5783 PyObject
* obj1
= 0 ;
5784 PyObject
* obj2
= 0 ;
5785 PyObject
* obj3
= 0 ;
5786 char * kwnames
[] = {
5787 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5792 arg1
= wxString_in_helper(obj0
);
5793 if (arg1
== NULL
) SWIG_fail
;
5797 arg2
= wxString_in_helper(obj1
);
5798 if (arg2
== NULL
) SWIG_fail
;
5803 arg3
= wxString_in_helper(obj2
);
5804 if (arg3
== NULL
) SWIG_fail
;
5809 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5810 if (!SWIG_IsOK(res4
)) {
5811 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "LoadFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5813 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5816 if (!wxPyCheckForApp()) SWIG_fail
;
5817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5818 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5819 wxPyEndAllowThreads(__tstate
);
5820 if (PyErr_Occurred()) SWIG_fail
;
5824 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5826 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5859 SWIGINTERN PyObject
*_wrap_SaveFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5860 PyObject
*resultobj
= 0;
5861 wxString
*arg1
= 0 ;
5862 wxString
*arg2
= 0 ;
5863 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5864 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5865 wxWindow
*arg4
= (wxWindow
*) NULL
;
5867 bool temp1
= false ;
5868 bool temp2
= false ;
5869 bool temp3
= false ;
5872 PyObject
* obj0
= 0 ;
5873 PyObject
* obj1
= 0 ;
5874 PyObject
* obj2
= 0 ;
5875 PyObject
* obj3
= 0 ;
5876 char * kwnames
[] = {
5877 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5882 arg1
= wxString_in_helper(obj0
);
5883 if (arg1
== NULL
) SWIG_fail
;
5887 arg2
= wxString_in_helper(obj1
);
5888 if (arg2
== NULL
) SWIG_fail
;
5893 arg3
= wxString_in_helper(obj2
);
5894 if (arg3
== NULL
) SWIG_fail
;
5899 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5900 if (!SWIG_IsOK(res4
)) {
5901 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "SaveFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5903 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5906 if (!wxPyCheckForApp()) SWIG_fail
;
5907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5908 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5909 wxPyEndAllowThreads(__tstate
);
5910 if (PyErr_Occurred()) SWIG_fail
;
5914 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5916 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5949 SWIGINTERN PyObject
*_wrap_DirSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5950 PyObject
*resultobj
= 0;
5951 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
5952 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5953 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5954 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5955 long arg3
= (long) wxDD_DEFAULT_STYLE
;
5956 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5957 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5958 wxWindow
*arg5
= (wxWindow
*) NULL
;
5960 bool temp1
= false ;
5961 bool temp2
= false ;
5967 PyObject
* obj0
= 0 ;
5968 PyObject
* obj1
= 0 ;
5969 PyObject
* obj2
= 0 ;
5970 PyObject
* obj3
= 0 ;
5971 PyObject
* obj4
= 0 ;
5972 char * kwnames
[] = {
5973 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
5976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
5979 arg1
= wxString_in_helper(obj0
);
5980 if (arg1
== NULL
) SWIG_fail
;
5986 arg2
= wxString_in_helper(obj1
);
5987 if (arg2
== NULL
) SWIG_fail
;
5992 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5993 if (!SWIG_IsOK(ecode3
)) {
5994 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirSelector" "', expected argument " "3"" of type '" "long""'");
5996 arg3
= static_cast< long >(val3
);
6001 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6005 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6006 if (!SWIG_IsOK(res5
)) {
6007 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DirSelector" "', expected argument " "5"" of type '" "wxWindow *""'");
6009 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6012 if (!wxPyCheckForApp()) SWIG_fail
;
6013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6014 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
6015 wxPyEndAllowThreads(__tstate
);
6016 if (PyErr_Occurred()) SWIG_fail
;
6020 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6022 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6047 SWIGINTERN PyObject
*_wrap_GetTextFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6048 PyObject
*resultobj
= 0;
6049 wxString
*arg1
= 0 ;
6050 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6051 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6052 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6053 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6054 wxWindow
*arg4
= (wxWindow
*) NULL
;
6055 int arg5
= (int) -1 ;
6056 int arg6
= (int) -1 ;
6057 bool arg7
= (bool) true ;
6059 bool temp1
= false ;
6060 bool temp2
= false ;
6061 bool temp3
= false ;
6070 PyObject
* obj0
= 0 ;
6071 PyObject
* obj1
= 0 ;
6072 PyObject
* obj2
= 0 ;
6073 PyObject
* obj3
= 0 ;
6074 PyObject
* obj4
= 0 ;
6075 PyObject
* obj5
= 0 ;
6076 PyObject
* obj6
= 0 ;
6077 char * kwnames
[] = {
6078 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
6081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6083 arg1
= wxString_in_helper(obj0
);
6084 if (arg1
== NULL
) SWIG_fail
;
6089 arg2
= wxString_in_helper(obj1
);
6090 if (arg2
== NULL
) SWIG_fail
;
6096 arg3
= wxString_in_helper(obj2
);
6097 if (arg3
== NULL
) SWIG_fail
;
6102 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6103 if (!SWIG_IsOK(res4
)) {
6104 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetTextFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
6106 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6109 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6110 if (!SWIG_IsOK(ecode5
)) {
6111 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GetTextFromUser" "', expected argument " "5"" of type '" "int""'");
6113 arg5
= static_cast< int >(val5
);
6116 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6117 if (!SWIG_IsOK(ecode6
)) {
6118 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetTextFromUser" "', expected argument " "6"" of type '" "int""'");
6120 arg6
= static_cast< int >(val6
);
6123 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
6124 if (!SWIG_IsOK(ecode7
)) {
6125 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetTextFromUser" "', expected argument " "7"" of type '" "bool""'");
6127 arg7
= static_cast< bool >(val7
);
6130 if (!wxPyCheckForApp()) SWIG_fail
;
6131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6132 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
6133 wxPyEndAllowThreads(__tstate
);
6134 if (PyErr_Occurred()) SWIG_fail
;
6138 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6140 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6173 SWIGINTERN PyObject
*_wrap_GetPasswordFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6174 PyObject
*resultobj
= 0;
6175 wxString
*arg1
= 0 ;
6176 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6177 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6178 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6179 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6180 wxWindow
*arg4
= (wxWindow
*) NULL
;
6182 bool temp1
= false ;
6183 bool temp2
= false ;
6184 bool temp3
= false ;
6187 PyObject
* obj0
= 0 ;
6188 PyObject
* obj1
= 0 ;
6189 PyObject
* obj2
= 0 ;
6190 PyObject
* obj3
= 0 ;
6191 char * kwnames
[] = {
6192 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
6195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6197 arg1
= wxString_in_helper(obj0
);
6198 if (arg1
== NULL
) SWIG_fail
;
6203 arg2
= wxString_in_helper(obj1
);
6204 if (arg2
== NULL
) SWIG_fail
;
6210 arg3
= wxString_in_helper(obj2
);
6211 if (arg3
== NULL
) SWIG_fail
;
6216 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6217 if (!SWIG_IsOK(res4
)) {
6218 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetPasswordFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
6220 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6223 if (!wxPyCheckForApp()) SWIG_fail
;
6224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6225 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
6226 wxPyEndAllowThreads(__tstate
);
6227 if (PyErr_Occurred()) SWIG_fail
;
6231 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6233 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6266 SWIGINTERN PyObject
*_wrap_GetSingleChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6267 PyObject
*resultobj
= 0;
6268 wxString
*arg1
= 0 ;
6269 wxString
*arg2
= 0 ;
6271 wxString
*arg4
= (wxString
*) 0 ;
6272 wxWindow
*arg5
= (wxWindow
*) NULL
;
6273 int arg6
= (int) -1 ;
6274 int arg7
= (int) -1 ;
6275 bool arg8
= (bool) true ;
6276 int arg9
= (int) 150 ;
6277 int arg10
= (int) 200 ;
6279 bool temp1
= false ;
6280 bool temp2
= false ;
6293 PyObject
* obj0
= 0 ;
6294 PyObject
* obj1
= 0 ;
6295 PyObject
* obj2
= 0 ;
6296 PyObject
* obj3
= 0 ;
6297 PyObject
* obj4
= 0 ;
6298 PyObject
* obj5
= 0 ;
6299 PyObject
* obj6
= 0 ;
6300 PyObject
* obj7
= 0 ;
6301 PyObject
* obj8
= 0 ;
6302 char * kwnames
[] = {
6303 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6308 arg1
= wxString_in_helper(obj0
);
6309 if (arg1
== NULL
) SWIG_fail
;
6313 arg2
= wxString_in_helper(obj1
);
6314 if (arg2
== NULL
) SWIG_fail
;
6318 arg3
= PyList_Size(obj2
);
6319 arg4
= wxString_LIST_helper(obj2
);
6320 if (arg4
== NULL
) SWIG_fail
;
6323 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6324 if (!SWIG_IsOK(res5
)) {
6325 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoice" "', expected argument " "5"" of type '" "wxWindow *""'");
6327 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6330 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6331 if (!SWIG_IsOK(ecode6
)) {
6332 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoice" "', expected argument " "6"" of type '" "int""'");
6334 arg6
= static_cast< int >(val6
);
6337 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6338 if (!SWIG_IsOK(ecode7
)) {
6339 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoice" "', expected argument " "7"" of type '" "int""'");
6341 arg7
= static_cast< int >(val7
);
6344 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6345 if (!SWIG_IsOK(ecode8
)) {
6346 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoice" "', expected argument " "8"" of type '" "bool""'");
6348 arg8
= static_cast< bool >(val8
);
6351 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6352 if (!SWIG_IsOK(ecode9
)) {
6353 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoice" "', expected argument " "9"" of type '" "int""'");
6355 arg9
= static_cast< int >(val9
);
6358 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6359 if (!SWIG_IsOK(ecode10
)) {
6360 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoice" "', expected argument " "10"" of type '" "int""'");
6362 arg10
= static_cast< int >(val10
);
6365 if (!wxPyCheckForApp()) SWIG_fail
;
6366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6367 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6368 wxPyEndAllowThreads(__tstate
);
6369 if (PyErr_Occurred()) SWIG_fail
;
6373 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6375 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6387 if (arg4
) delete [] arg4
;
6400 if (arg4
) delete [] arg4
;
6406 SWIGINTERN PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6407 PyObject
*resultobj
= 0;
6408 wxString
*arg1
= 0 ;
6409 wxString
*arg2
= 0 ;
6411 wxString
*arg4
= (wxString
*) 0 ;
6412 wxWindow
*arg5
= (wxWindow
*) NULL
;
6413 int arg6
= (int) -1 ;
6414 int arg7
= (int) -1 ;
6415 bool arg8
= (bool) true ;
6416 int arg9
= (int) 150 ;
6417 int arg10
= (int) 200 ;
6419 bool temp1
= false ;
6420 bool temp2
= false ;
6433 PyObject
* obj0
= 0 ;
6434 PyObject
* obj1
= 0 ;
6435 PyObject
* obj2
= 0 ;
6436 PyObject
* obj3
= 0 ;
6437 PyObject
* obj4
= 0 ;
6438 PyObject
* obj5
= 0 ;
6439 PyObject
* obj6
= 0 ;
6440 PyObject
* obj7
= 0 ;
6441 PyObject
* obj8
= 0 ;
6442 char * kwnames
[] = {
6443 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6448 arg1
= wxString_in_helper(obj0
);
6449 if (arg1
== NULL
) SWIG_fail
;
6453 arg2
= wxString_in_helper(obj1
);
6454 if (arg2
== NULL
) SWIG_fail
;
6458 arg3
= PyList_Size(obj2
);
6459 arg4
= wxString_LIST_helper(obj2
);
6460 if (arg4
== NULL
) SWIG_fail
;
6463 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6464 if (!SWIG_IsOK(res5
)) {
6465 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoiceIndex" "', expected argument " "5"" of type '" "wxWindow *""'");
6467 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6470 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6471 if (!SWIG_IsOK(ecode6
)) {
6472 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoiceIndex" "', expected argument " "6"" of type '" "int""'");
6474 arg6
= static_cast< int >(val6
);
6477 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6478 if (!SWIG_IsOK(ecode7
)) {
6479 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoiceIndex" "', expected argument " "7"" of type '" "int""'");
6481 arg7
= static_cast< int >(val7
);
6484 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6485 if (!SWIG_IsOK(ecode8
)) {
6486 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoiceIndex" "', expected argument " "8"" of type '" "bool""'");
6488 arg8
= static_cast< bool >(val8
);
6491 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6492 if (!SWIG_IsOK(ecode9
)) {
6493 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoiceIndex" "', expected argument " "9"" of type '" "int""'");
6495 arg9
= static_cast< int >(val9
);
6498 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6499 if (!SWIG_IsOK(ecode10
)) {
6500 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoiceIndex" "', expected argument " "10"" of type '" "int""'");
6502 arg10
= static_cast< int >(val10
);
6505 if (!wxPyCheckForApp()) SWIG_fail
;
6506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6507 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6508 wxPyEndAllowThreads(__tstate
);
6509 if (PyErr_Occurred()) SWIG_fail
;
6511 resultobj
= SWIG_From_int(static_cast< int >(result
));
6521 if (arg4
) delete [] arg4
;
6534 if (arg4
) delete [] arg4
;
6540 SWIGINTERN PyObject
*_wrap_MessageBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6541 PyObject
*resultobj
= 0;
6542 wxString
*arg1
= 0 ;
6543 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6544 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6545 int arg3
= (int) wxOK
|wxCENTRE
;
6546 wxWindow
*arg4
= (wxWindow
*) NULL
;
6547 int arg5
= (int) -1 ;
6548 int arg6
= (int) -1 ;
6550 bool temp1
= false ;
6551 bool temp2
= false ;
6560 PyObject
* obj0
= 0 ;
6561 PyObject
* obj1
= 0 ;
6562 PyObject
* obj2
= 0 ;
6563 PyObject
* obj3
= 0 ;
6564 PyObject
* obj4
= 0 ;
6565 PyObject
* obj5
= 0 ;
6566 char * kwnames
[] = {
6567 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
6570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
6572 arg1
= wxString_in_helper(obj0
);
6573 if (arg1
== NULL
) SWIG_fail
;
6578 arg2
= wxString_in_helper(obj1
);
6579 if (arg2
== NULL
) SWIG_fail
;
6584 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6585 if (!SWIG_IsOK(ecode3
)) {
6586 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MessageBox" "', expected argument " "3"" of type '" "int""'");
6588 arg3
= static_cast< int >(val3
);
6591 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6592 if (!SWIG_IsOK(res4
)) {
6593 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "MessageBox" "', expected argument " "4"" of type '" "wxWindow *""'");
6595 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6598 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6599 if (!SWIG_IsOK(ecode5
)) {
6600 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "MessageBox" "', expected argument " "5"" of type '" "int""'");
6602 arg5
= static_cast< int >(val5
);
6605 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6606 if (!SWIG_IsOK(ecode6
)) {
6607 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "MessageBox" "', expected argument " "6"" of type '" "int""'");
6609 arg6
= static_cast< int >(val6
);
6612 if (!wxPyCheckForApp()) SWIG_fail
;
6613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6614 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
6615 wxPyEndAllowThreads(__tstate
);
6616 if (PyErr_Occurred()) SWIG_fail
;
6618 resultobj
= SWIG_From_int(static_cast< int >(result
));
6641 SWIGINTERN PyObject
*_wrap_GetNumberFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6642 PyObject
*resultobj
= 0;
6643 wxString
*arg1
= 0 ;
6644 wxString
*arg2
= 0 ;
6645 wxString
*arg3
= 0 ;
6647 long arg5
= (long) 0 ;
6648 long arg6
= (long) 100 ;
6649 wxWindow
*arg7
= (wxWindow
*) NULL
;
6650 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
6651 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
6653 bool temp1
= false ;
6654 bool temp2
= false ;
6655 bool temp3
= false ;
6665 PyObject
* obj0
= 0 ;
6666 PyObject
* obj1
= 0 ;
6667 PyObject
* obj2
= 0 ;
6668 PyObject
* obj3
= 0 ;
6669 PyObject
* obj4
= 0 ;
6670 PyObject
* obj5
= 0 ;
6671 PyObject
* obj6
= 0 ;
6672 PyObject
* obj7
= 0 ;
6673 char * kwnames
[] = {
6674 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
6677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6679 arg1
= wxString_in_helper(obj0
);
6680 if (arg1
== NULL
) SWIG_fail
;
6684 arg2
= wxString_in_helper(obj1
);
6685 if (arg2
== NULL
) SWIG_fail
;
6689 arg3
= wxString_in_helper(obj2
);
6690 if (arg3
== NULL
) SWIG_fail
;
6693 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
6694 if (!SWIG_IsOK(ecode4
)) {
6695 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GetNumberFromUser" "', expected argument " "4"" of type '" "long""'");
6697 arg4
= static_cast< long >(val4
);
6699 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
6700 if (!SWIG_IsOK(ecode5
)) {
6701 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GetNumberFromUser" "', expected argument " "5"" of type '" "long""'");
6703 arg5
= static_cast< long >(val5
);
6706 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6707 if (!SWIG_IsOK(ecode6
)) {
6708 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetNumberFromUser" "', expected argument " "6"" of type '" "long""'");
6710 arg6
= static_cast< long >(val6
);
6713 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6714 if (!SWIG_IsOK(res7
)) {
6715 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "GetNumberFromUser" "', expected argument " "7"" of type '" "wxWindow *""'");
6717 arg7
= reinterpret_cast< wxWindow
* >(argp7
);
6722 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
6726 if (!wxPyCheckForApp()) SWIG_fail
;
6727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6728 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
6729 wxPyEndAllowThreads(__tstate
);
6730 if (PyErr_Occurred()) SWIG_fail
;
6732 resultobj
= SWIG_From_long(static_cast< long >(result
));
6763 SWIGINTERN PyObject
*_wrap_ColourDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6764 PyObject
*resultobj
= 0;
6767 if (!SWIG_Python_UnpackTuple(args
,"ColourDisplay",0,0,0)) SWIG_fail
;
6769 if (!wxPyCheckForApp()) SWIG_fail
;
6770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6771 result
= (bool)wxColourDisplay();
6772 wxPyEndAllowThreads(__tstate
);
6773 if (PyErr_Occurred()) SWIG_fail
;
6776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6784 SWIGINTERN PyObject
*_wrap_DisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6785 PyObject
*resultobj
= 0;
6788 if (!SWIG_Python_UnpackTuple(args
,"DisplayDepth",0,0,0)) SWIG_fail
;
6790 if (!wxPyCheckForApp()) SWIG_fail
;
6791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6792 result
= (int)wxDisplayDepth();
6793 wxPyEndAllowThreads(__tstate
);
6794 if (PyErr_Occurred()) SWIG_fail
;
6796 resultobj
= SWIG_From_int(static_cast< int >(result
));
6803 SWIGINTERN PyObject
*_wrap_GetDisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6804 PyObject
*resultobj
= 0;
6807 if (!SWIG_Python_UnpackTuple(args
,"GetDisplayDepth",0,0,0)) SWIG_fail
;
6809 if (!wxPyCheckForApp()) SWIG_fail
;
6810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6811 result
= (int)wxGetDisplayDepth();
6812 wxPyEndAllowThreads(__tstate
);
6813 if (PyErr_Occurred()) SWIG_fail
;
6815 resultobj
= SWIG_From_int(static_cast< int >(result
));
6822 SWIGINTERN PyObject
*_wrap_DisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6823 PyObject
*resultobj
= 0;
6824 int *arg1
= (int *) 0 ;
6825 int *arg2
= (int *) 0 ;
6827 int res1
= SWIG_TMPOBJ
;
6829 int res2
= SWIG_TMPOBJ
;
6833 if (!SWIG_Python_UnpackTuple(args
,"DisplaySize",0,0,0)) SWIG_fail
;
6835 if (!wxPyCheckForApp()) SWIG_fail
;
6836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6837 wxDisplaySize(arg1
,arg2
);
6838 wxPyEndAllowThreads(__tstate
);
6839 if (PyErr_Occurred()) SWIG_fail
;
6841 resultobj
= SWIG_Py_Void();
6842 if (SWIG_IsTmpObj(res1
)) {
6843 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6845 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6846 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6848 if (SWIG_IsTmpObj(res2
)) {
6849 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6851 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6852 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6860 SWIGINTERN PyObject
*_wrap_GetDisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6861 PyObject
*resultobj
= 0;
6864 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySize",0,0,0)) SWIG_fail
;
6866 if (!wxPyCheckForApp()) SWIG_fail
;
6867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6868 result
= wxGetDisplaySize();
6869 wxPyEndAllowThreads(__tstate
);
6870 if (PyErr_Occurred()) SWIG_fail
;
6872 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6879 SWIGINTERN PyObject
*_wrap_DisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6880 PyObject
*resultobj
= 0;
6881 int *arg1
= (int *) 0 ;
6882 int *arg2
= (int *) 0 ;
6884 int res1
= SWIG_TMPOBJ
;
6886 int res2
= SWIG_TMPOBJ
;
6890 if (!SWIG_Python_UnpackTuple(args
,"DisplaySizeMM",0,0,0)) SWIG_fail
;
6892 if (!wxPyCheckForApp()) SWIG_fail
;
6893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6894 wxDisplaySizeMM(arg1
,arg2
);
6895 wxPyEndAllowThreads(__tstate
);
6896 if (PyErr_Occurred()) SWIG_fail
;
6898 resultobj
= SWIG_Py_Void();
6899 if (SWIG_IsTmpObj(res1
)) {
6900 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6902 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6903 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6905 if (SWIG_IsTmpObj(res2
)) {
6906 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6908 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6909 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6917 SWIGINTERN PyObject
*_wrap_GetDisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6918 PyObject
*resultobj
= 0;
6921 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySizeMM",0,0,0)) SWIG_fail
;
6923 if (!wxPyCheckForApp()) SWIG_fail
;
6924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6925 result
= wxGetDisplaySizeMM();
6926 wxPyEndAllowThreads(__tstate
);
6927 if (PyErr_Occurred()) SWIG_fail
;
6929 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6936 SWIGINTERN PyObject
*_wrap_ClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6937 PyObject
*resultobj
= 0;
6938 int *arg1
= (int *) 0 ;
6939 int *arg2
= (int *) 0 ;
6940 int *arg3
= (int *) 0 ;
6941 int *arg4
= (int *) 0 ;
6943 int res1
= SWIG_TMPOBJ
;
6945 int res2
= SWIG_TMPOBJ
;
6947 int res3
= SWIG_TMPOBJ
;
6949 int res4
= SWIG_TMPOBJ
;
6955 if (!SWIG_Python_UnpackTuple(args
,"ClientDisplayRect",0,0,0)) SWIG_fail
;
6957 if (!wxPyCheckForApp()) SWIG_fail
;
6958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6959 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
6960 wxPyEndAllowThreads(__tstate
);
6961 if (PyErr_Occurred()) SWIG_fail
;
6963 resultobj
= SWIG_Py_Void();
6964 if (SWIG_IsTmpObj(res1
)) {
6965 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6967 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6968 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6970 if (SWIG_IsTmpObj(res2
)) {
6971 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6973 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6974 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6976 if (SWIG_IsTmpObj(res3
)) {
6977 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
6979 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6980 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
6982 if (SWIG_IsTmpObj(res4
)) {
6983 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
6985 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6986 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
6994 SWIGINTERN PyObject
*_wrap_GetClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6995 PyObject
*resultobj
= 0;
6998 if (!SWIG_Python_UnpackTuple(args
,"GetClientDisplayRect",0,0,0)) SWIG_fail
;
7000 if (!wxPyCheckForApp()) SWIG_fail
;
7001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7002 result
= wxGetClientDisplayRect();
7003 wxPyEndAllowThreads(__tstate
);
7004 if (PyErr_Occurred()) SWIG_fail
;
7006 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7013 SWIGINTERN PyObject
*_wrap_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7014 PyObject
*resultobj
= 0;
7015 wxCursor
*arg1
= 0 ;
7018 PyObject
* obj0
= 0 ;
7019 char * kwnames
[] = {
7020 (char *) "cursor", NULL
7023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) SWIG_fail
;
7024 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxCursor
, 0 );
7025 if (!SWIG_IsOK(res1
)) {
7026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
7029 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
7031 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7033 if (!wxPyCheckForApp()) SWIG_fail
;
7034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7036 wxPyEndAllowThreads(__tstate
);
7037 if (PyErr_Occurred()) SWIG_fail
;
7039 resultobj
= SWIG_Py_Void();
7046 SWIGINTERN PyObject
*_wrap_GetXDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7047 PyObject
*resultobj
= 0;
7050 if (!SWIG_Python_UnpackTuple(args
,"GetXDisplay",0,0,0)) SWIG_fail
;
7052 if (!wxPyCheckForApp()) SWIG_fail
;
7053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7054 result
= (void *)wxGetXDisplay();
7055 wxPyEndAllowThreads(__tstate
);
7056 if (PyErr_Occurred()) SWIG_fail
;
7058 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
7065 SWIGINTERN PyObject
*_wrap_BeginBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7066 PyObject
*resultobj
= 0;
7067 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
7070 PyObject
* obj0
= 0 ;
7071 char * kwnames
[] = {
7072 (char *) "cursor", NULL
7075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) SWIG_fail
;
7077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
7078 if (!SWIG_IsOK(res1
)) {
7079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BeginBusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
7081 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7084 if (!wxPyCheckForApp()) SWIG_fail
;
7085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7086 wxBeginBusyCursor(arg1
);
7087 wxPyEndAllowThreads(__tstate
);
7088 if (PyErr_Occurred()) SWIG_fail
;
7090 resultobj
= SWIG_Py_Void();
7097 SWIGINTERN PyObject
*_wrap_GetMousePosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7098 PyObject
*resultobj
= 0;
7101 if (!SWIG_Python_UnpackTuple(args
,"GetMousePosition",0,0,0)) SWIG_fail
;
7103 if (!wxPyCheckForApp()) SWIG_fail
;
7104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7105 result
= wxGetMousePosition();
7106 wxPyEndAllowThreads(__tstate
);
7107 if (PyErr_Occurred()) SWIG_fail
;
7109 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7116 SWIGINTERN PyObject
*_wrap_FindWindowAtPointer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7117 PyObject
*resultobj
= 0;
7118 wxWindow
*result
= 0 ;
7120 if (!SWIG_Python_UnpackTuple(args
,"FindWindowAtPointer",0,0,0)) SWIG_fail
;
7122 if (!wxPyCheckForApp()) SWIG_fail
;
7123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7124 result
= (wxWindow
*)FindWindowAtPointer();
7125 wxPyEndAllowThreads(__tstate
);
7126 if (PyErr_Occurred()) SWIG_fail
;
7129 resultobj
= wxPyMake_wxObject(result
, 0);
7137 SWIGINTERN PyObject
*_wrap_GetActiveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7138 PyObject
*resultobj
= 0;
7139 wxWindow
*result
= 0 ;
7141 if (!SWIG_Python_UnpackTuple(args
,"GetActiveWindow",0,0,0)) SWIG_fail
;
7143 if (!wxPyCheckForApp()) SWIG_fail
;
7144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7145 result
= (wxWindow
*)wxGetActiveWindow();
7146 wxPyEndAllowThreads(__tstate
);
7147 if (PyErr_Occurred()) SWIG_fail
;
7150 resultobj
= wxPyMake_wxObject(result
, 0);
7158 SWIGINTERN PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7159 PyObject
*resultobj
= 0;
7161 wxWindow
*result
= 0 ;
7163 PyObject
* obj0
= 0 ;
7164 char * kwnames
[] = {
7168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
7171 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
7174 if (!wxPyCheckForApp()) SWIG_fail
;
7175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7176 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
7177 wxPyEndAllowThreads(__tstate
);
7178 if (PyErr_Occurred()) SWIG_fail
;
7181 resultobj
= wxPyMake_wxObject(result
, 0);
7189 SWIGINTERN PyObject
*_wrap_FindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7190 PyObject
*resultobj
= 0;
7192 wxWindow
*result
= 0 ;
7194 PyObject
* obj0
= 0 ;
7195 char * kwnames
[] = {
7199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
7202 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
7205 if (!wxPyCheckForApp()) SWIG_fail
;
7206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7207 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
7208 wxPyEndAllowThreads(__tstate
);
7209 if (PyErr_Occurred()) SWIG_fail
;
7212 resultobj
= wxPyMake_wxObject(result
, 0);
7220 SWIGINTERN PyObject
*_wrap_GetTopLevelParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7221 PyObject
*resultobj
= 0;
7222 wxWindow
*arg1
= (wxWindow
*) 0 ;
7223 wxWindow
*result
= 0 ;
7226 PyObject
* obj0
= 0 ;
7227 char * kwnames
[] = {
7228 (char *) "win", NULL
7231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) SWIG_fail
;
7232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7233 if (!SWIG_IsOK(res1
)) {
7234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetTopLevelParent" "', expected argument " "1"" of type '" "wxWindow *""'");
7236 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7238 if (!wxPyCheckForApp()) SWIG_fail
;
7239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7240 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
7241 wxPyEndAllowThreads(__tstate
);
7242 if (PyErr_Occurred()) SWIG_fail
;
7245 resultobj
= wxPyMake_wxObject(result
, 0);
7253 SWIGINTERN PyObject
*_wrap_LaunchDefaultBrowser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7254 PyObject
*resultobj
= 0;
7255 wxString
*arg1
= 0 ;
7257 bool temp1
= false ;
7258 PyObject
* obj0
= 0 ;
7259 char * kwnames
[] = {
7260 (char *) "url", NULL
7263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LaunchDefaultBrowser",kwnames
,&obj0
)) SWIG_fail
;
7265 arg1
= wxString_in_helper(obj0
);
7266 if (arg1
== NULL
) SWIG_fail
;
7270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7271 result
= (bool)wxLaunchDefaultBrowser((wxString
const &)*arg1
);
7272 wxPyEndAllowThreads(__tstate
);
7273 if (PyErr_Occurred()) SWIG_fail
;
7276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7292 SWIGINTERN PyObject
*_wrap_GetKeyState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7293 PyObject
*resultobj
= 0;
7298 PyObject
* obj0
= 0 ;
7299 char * kwnames
[] = {
7300 (char *) "key", NULL
7303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) SWIG_fail
;
7304 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7305 if (!SWIG_IsOK(ecode1
)) {
7306 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetKeyState" "', expected argument " "1"" of type '" "wxKeyCode""'");
7308 arg1
= static_cast< wxKeyCode
>(val1
);
7310 if (!wxPyCheckForApp()) SWIG_fail
;
7311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7312 result
= (bool)wxGetKeyState(arg1
);
7313 wxPyEndAllowThreads(__tstate
);
7314 if (PyErr_Occurred()) SWIG_fail
;
7317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7325 SWIGINTERN PyObject
*_wrap_new_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7326 PyObject
*resultobj
= 0;
7327 wxMouseState
*result
= 0 ;
7329 if (!SWIG_Python_UnpackTuple(args
,"new_MouseState",0,0,0)) SWIG_fail
;
7331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7332 result
= (wxMouseState
*)new wxMouseState();
7333 wxPyEndAllowThreads(__tstate
);
7334 if (PyErr_Occurred()) SWIG_fail
;
7336 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_NEW
| 0 );
7343 SWIGINTERN PyObject
*_wrap_delete_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7344 PyObject
*resultobj
= 0;
7345 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7348 PyObject
*swig_obj
[1] ;
7350 if (!args
) SWIG_fail
;
7352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, SWIG_POINTER_DISOWN
| 0 );
7353 if (!SWIG_IsOK(res1
)) {
7354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MouseState" "', expected argument " "1"" of type '" "wxMouseState *""'");
7356 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7361 wxPyEndAllowThreads(__tstate
);
7362 if (PyErr_Occurred()) SWIG_fail
;
7364 resultobj
= SWIG_Py_Void();
7371 SWIGINTERN PyObject
*_wrap_MouseState_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7372 PyObject
*resultobj
= 0;
7373 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7377 PyObject
*swig_obj
[1] ;
7379 if (!args
) SWIG_fail
;
7381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7382 if (!SWIG_IsOK(res1
)) {
7383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7385 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7388 result
= (int)(arg1
)->GetX();
7389 wxPyEndAllowThreads(__tstate
);
7390 if (PyErr_Occurred()) SWIG_fail
;
7392 resultobj
= SWIG_From_int(static_cast< int >(result
));
7399 SWIGINTERN PyObject
*_wrap_MouseState_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7400 PyObject
*resultobj
= 0;
7401 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7405 PyObject
*swig_obj
[1] ;
7407 if (!args
) SWIG_fail
;
7409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7410 if (!SWIG_IsOK(res1
)) {
7411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7413 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7416 result
= (int)(arg1
)->GetY();
7417 wxPyEndAllowThreads(__tstate
);
7418 if (PyErr_Occurred()) SWIG_fail
;
7420 resultobj
= SWIG_From_int(static_cast< int >(result
));
7427 SWIGINTERN PyObject
*_wrap_MouseState_LeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7428 PyObject
*resultobj
= 0;
7429 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7433 PyObject
*swig_obj
[1] ;
7435 if (!args
) SWIG_fail
;
7437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7438 if (!SWIG_IsOK(res1
)) {
7439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_LeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7441 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7444 result
= (bool)(arg1
)->LeftDown();
7445 wxPyEndAllowThreads(__tstate
);
7446 if (PyErr_Occurred()) SWIG_fail
;
7449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7457 SWIGINTERN PyObject
*_wrap_MouseState_MiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7458 PyObject
*resultobj
= 0;
7459 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7463 PyObject
*swig_obj
[1] ;
7465 if (!args
) SWIG_fail
;
7467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7468 if (!SWIG_IsOK(res1
)) {
7469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7471 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7474 result
= (bool)(arg1
)->MiddleDown();
7475 wxPyEndAllowThreads(__tstate
);
7476 if (PyErr_Occurred()) SWIG_fail
;
7479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7487 SWIGINTERN PyObject
*_wrap_MouseState_RightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7488 PyObject
*resultobj
= 0;
7489 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7493 PyObject
*swig_obj
[1] ;
7495 if (!args
) SWIG_fail
;
7497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7498 if (!SWIG_IsOK(res1
)) {
7499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_RightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7501 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7504 result
= (bool)(arg1
)->RightDown();
7505 wxPyEndAllowThreads(__tstate
);
7506 if (PyErr_Occurred()) SWIG_fail
;
7509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7517 SWIGINTERN PyObject
*_wrap_MouseState_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7518 PyObject
*resultobj
= 0;
7519 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7523 PyObject
*swig_obj
[1] ;
7525 if (!args
) SWIG_fail
;
7527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7528 if (!SWIG_IsOK(res1
)) {
7529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7531 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7534 result
= (bool)(arg1
)->ControlDown();
7535 wxPyEndAllowThreads(__tstate
);
7536 if (PyErr_Occurred()) SWIG_fail
;
7539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7547 SWIGINTERN PyObject
*_wrap_MouseState_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7548 PyObject
*resultobj
= 0;
7549 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7553 PyObject
*swig_obj
[1] ;
7555 if (!args
) SWIG_fail
;
7557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7558 if (!SWIG_IsOK(res1
)) {
7559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7561 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7564 result
= (bool)(arg1
)->ShiftDown();
7565 wxPyEndAllowThreads(__tstate
);
7566 if (PyErr_Occurred()) SWIG_fail
;
7569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7577 SWIGINTERN PyObject
*_wrap_MouseState_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7578 PyObject
*resultobj
= 0;
7579 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7583 PyObject
*swig_obj
[1] ;
7585 if (!args
) SWIG_fail
;
7587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7588 if (!SWIG_IsOK(res1
)) {
7589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_AltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7591 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7594 result
= (bool)(arg1
)->AltDown();
7595 wxPyEndAllowThreads(__tstate
);
7596 if (PyErr_Occurred()) SWIG_fail
;
7599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7607 SWIGINTERN PyObject
*_wrap_MouseState_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7608 PyObject
*resultobj
= 0;
7609 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7613 PyObject
*swig_obj
[1] ;
7615 if (!args
) SWIG_fail
;
7617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7618 if (!SWIG_IsOK(res1
)) {
7619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7621 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7624 result
= (bool)(arg1
)->MetaDown();
7625 wxPyEndAllowThreads(__tstate
);
7626 if (PyErr_Occurred()) SWIG_fail
;
7629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7637 SWIGINTERN PyObject
*_wrap_MouseState_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7638 PyObject
*resultobj
= 0;
7639 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7643 PyObject
*swig_obj
[1] ;
7645 if (!args
) SWIG_fail
;
7647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7648 if (!SWIG_IsOK(res1
)) {
7649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_CmdDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7651 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7654 result
= (bool)(arg1
)->CmdDown();
7655 wxPyEndAllowThreads(__tstate
);
7656 if (PyErr_Occurred()) SWIG_fail
;
7659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7667 SWIGINTERN PyObject
*_wrap_MouseState_SetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7668 PyObject
*resultobj
= 0;
7669 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7675 PyObject
* obj0
= 0 ;
7676 PyObject
* obj1
= 0 ;
7677 char * kwnames
[] = {
7678 (char *) "self",(char *) "x", NULL
7681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7683 if (!SWIG_IsOK(res1
)) {
7684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7686 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7687 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7688 if (!SWIG_IsOK(ecode2
)) {
7689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetX" "', expected argument " "2"" of type '" "int""'");
7691 arg2
= static_cast< int >(val2
);
7693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7695 wxPyEndAllowThreads(__tstate
);
7696 if (PyErr_Occurred()) SWIG_fail
;
7698 resultobj
= SWIG_Py_Void();
7705 SWIGINTERN PyObject
*_wrap_MouseState_SetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7706 PyObject
*resultobj
= 0;
7707 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7713 PyObject
* obj0
= 0 ;
7714 PyObject
* obj1
= 0 ;
7715 char * kwnames
[] = {
7716 (char *) "self",(char *) "y", NULL
7719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7721 if (!SWIG_IsOK(res1
)) {
7722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7724 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7725 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7726 if (!SWIG_IsOK(ecode2
)) {
7727 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetY" "', expected argument " "2"" of type '" "int""'");
7729 arg2
= static_cast< int >(val2
);
7731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7733 wxPyEndAllowThreads(__tstate
);
7734 if (PyErr_Occurred()) SWIG_fail
;
7736 resultobj
= SWIG_Py_Void();
7743 SWIGINTERN PyObject
*_wrap_MouseState_SetLeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7744 PyObject
*resultobj
= 0;
7745 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7751 PyObject
* obj0
= 0 ;
7752 PyObject
* obj1
= 0 ;
7753 char * kwnames
[] = {
7754 (char *) "self",(char *) "down", NULL
7757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetLeftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7759 if (!SWIG_IsOK(res1
)) {
7760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetLeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7762 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7763 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7764 if (!SWIG_IsOK(ecode2
)) {
7765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetLeftDown" "', expected argument " "2"" of type '" "bool""'");
7767 arg2
= static_cast< bool >(val2
);
7769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7770 (arg1
)->SetLeftDown(arg2
);
7771 wxPyEndAllowThreads(__tstate
);
7772 if (PyErr_Occurred()) SWIG_fail
;
7774 resultobj
= SWIG_Py_Void();
7781 SWIGINTERN PyObject
*_wrap_MouseState_SetMiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7782 PyObject
*resultobj
= 0;
7783 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7789 PyObject
* obj0
= 0 ;
7790 PyObject
* obj1
= 0 ;
7791 char * kwnames
[] = {
7792 (char *) "self",(char *) "down", NULL
7795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMiddleDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7797 if (!SWIG_IsOK(res1
)) {
7798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7800 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7801 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7802 if (!SWIG_IsOK(ecode2
)) {
7803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "2"" of type '" "bool""'");
7805 arg2
= static_cast< bool >(val2
);
7807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7808 (arg1
)->SetMiddleDown(arg2
);
7809 wxPyEndAllowThreads(__tstate
);
7810 if (PyErr_Occurred()) SWIG_fail
;
7812 resultobj
= SWIG_Py_Void();
7819 SWIGINTERN PyObject
*_wrap_MouseState_SetRightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7820 PyObject
*resultobj
= 0;
7821 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7827 PyObject
* obj0
= 0 ;
7828 PyObject
* obj1
= 0 ;
7829 char * kwnames
[] = {
7830 (char *) "self",(char *) "down", NULL
7833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetRightDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7835 if (!SWIG_IsOK(res1
)) {
7836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetRightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7838 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7839 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7840 if (!SWIG_IsOK(ecode2
)) {
7841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetRightDown" "', expected argument " "2"" of type '" "bool""'");
7843 arg2
= static_cast< bool >(val2
);
7845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7846 (arg1
)->SetRightDown(arg2
);
7847 wxPyEndAllowThreads(__tstate
);
7848 if (PyErr_Occurred()) SWIG_fail
;
7850 resultobj
= SWIG_Py_Void();
7857 SWIGINTERN PyObject
*_wrap_MouseState_SetControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7858 PyObject
*resultobj
= 0;
7859 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7865 PyObject
* obj0
= 0 ;
7866 PyObject
* obj1
= 0 ;
7867 char * kwnames
[] = {
7868 (char *) "self",(char *) "down", NULL
7871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetControlDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7873 if (!SWIG_IsOK(res1
)) {
7874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7876 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7877 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7878 if (!SWIG_IsOK(ecode2
)) {
7879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetControlDown" "', expected argument " "2"" of type '" "bool""'");
7881 arg2
= static_cast< bool >(val2
);
7883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7884 (arg1
)->SetControlDown(arg2
);
7885 wxPyEndAllowThreads(__tstate
);
7886 if (PyErr_Occurred()) SWIG_fail
;
7888 resultobj
= SWIG_Py_Void();
7895 SWIGINTERN PyObject
*_wrap_MouseState_SetShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7896 PyObject
*resultobj
= 0;
7897 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7903 PyObject
* obj0
= 0 ;
7904 PyObject
* obj1
= 0 ;
7905 char * kwnames
[] = {
7906 (char *) "self",(char *) "down", NULL
7909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetShiftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7911 if (!SWIG_IsOK(res1
)) {
7912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7914 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7915 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7916 if (!SWIG_IsOK(ecode2
)) {
7917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetShiftDown" "', expected argument " "2"" of type '" "bool""'");
7919 arg2
= static_cast< bool >(val2
);
7921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7922 (arg1
)->SetShiftDown(arg2
);
7923 wxPyEndAllowThreads(__tstate
);
7924 if (PyErr_Occurred()) SWIG_fail
;
7926 resultobj
= SWIG_Py_Void();
7933 SWIGINTERN PyObject
*_wrap_MouseState_SetAltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7934 PyObject
*resultobj
= 0;
7935 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7941 PyObject
* obj0
= 0 ;
7942 PyObject
* obj1
= 0 ;
7943 char * kwnames
[] = {
7944 (char *) "self",(char *) "down", NULL
7947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetAltDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7949 if (!SWIG_IsOK(res1
)) {
7950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetAltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7952 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7953 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7954 if (!SWIG_IsOK(ecode2
)) {
7955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetAltDown" "', expected argument " "2"" of type '" "bool""'");
7957 arg2
= static_cast< bool >(val2
);
7959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7960 (arg1
)->SetAltDown(arg2
);
7961 wxPyEndAllowThreads(__tstate
);
7962 if (PyErr_Occurred()) SWIG_fail
;
7964 resultobj
= SWIG_Py_Void();
7971 SWIGINTERN PyObject
*_wrap_MouseState_SetMetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7972 PyObject
*resultobj
= 0;
7973 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7979 PyObject
* obj0
= 0 ;
7980 PyObject
* obj1
= 0 ;
7981 char * kwnames
[] = {
7982 (char *) "self",(char *) "down", NULL
7985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMetaDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7987 if (!SWIG_IsOK(res1
)) {
7988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7990 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7991 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7992 if (!SWIG_IsOK(ecode2
)) {
7993 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMetaDown" "', expected argument " "2"" of type '" "bool""'");
7995 arg2
= static_cast< bool >(val2
);
7997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7998 (arg1
)->SetMetaDown(arg2
);
7999 wxPyEndAllowThreads(__tstate
);
8000 if (PyErr_Occurred()) SWIG_fail
;
8002 resultobj
= SWIG_Py_Void();
8009 SWIGINTERN PyObject
*MouseState_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8011 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8012 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseState
, SWIG_NewClientData(obj
));
8013 return SWIG_Py_Void();
8016 SWIGINTERN PyObject
*MouseState_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8017 return SWIG_Python_InitShadowInstance(args
);
8020 SWIGINTERN PyObject
*_wrap_GetMouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8021 PyObject
*resultobj
= 0;
8022 wxMouseState result
;
8024 if (!SWIG_Python_UnpackTuple(args
,"GetMouseState",0,0,0)) SWIG_fail
;
8026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8027 result
= wxGetMouseState();
8028 wxPyEndAllowThreads(__tstate
);
8029 if (PyErr_Occurred()) SWIG_fail
;
8031 resultobj
= SWIG_NewPointerObj((new wxMouseState(static_cast< const wxMouseState
& >(result
))), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_OWN
| 0 );
8038 SWIGINTERN PyObject
*_wrap_WakeUpMainThread(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8039 PyObject
*resultobj
= 0;
8041 if (!SWIG_Python_UnpackTuple(args
,"WakeUpMainThread",0,0,0)) SWIG_fail
;
8043 if (!wxPyCheckForApp()) SWIG_fail
;
8044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8045 wxWakeUpMainThread();
8046 wxPyEndAllowThreads(__tstate
);
8047 if (PyErr_Occurred()) SWIG_fail
;
8049 resultobj
= SWIG_Py_Void();
8056 SWIGINTERN PyObject
*_wrap_MutexGuiEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8057 PyObject
*resultobj
= 0;
8059 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiEnter",0,0,0)) SWIG_fail
;
8061 if (!wxPyCheckForApp()) SWIG_fail
;
8062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8064 wxPyEndAllowThreads(__tstate
);
8065 if (PyErr_Occurred()) SWIG_fail
;
8067 resultobj
= SWIG_Py_Void();
8074 SWIGINTERN PyObject
*_wrap_MutexGuiLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8075 PyObject
*resultobj
= 0;
8077 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiLeave",0,0,0)) SWIG_fail
;
8079 if (!wxPyCheckForApp()) SWIG_fail
;
8080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8082 wxPyEndAllowThreads(__tstate
);
8083 if (PyErr_Occurred()) SWIG_fail
;
8085 resultobj
= SWIG_Py_Void();
8092 SWIGINTERN PyObject
*_wrap_new_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8093 PyObject
*resultobj
= 0;
8094 wxMutexGuiLocker
*result
= 0 ;
8096 if (!SWIG_Python_UnpackTuple(args
,"new_MutexGuiLocker",0,0,0)) SWIG_fail
;
8098 if (!wxPyCheckForApp()) SWIG_fail
;
8099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8100 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
8101 wxPyEndAllowThreads(__tstate
);
8102 if (PyErr_Occurred()) SWIG_fail
;
8104 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_NEW
| 0 );
8111 SWIGINTERN PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8112 PyObject
*resultobj
= 0;
8113 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
8116 PyObject
*swig_obj
[1] ;
8118 if (!args
) SWIG_fail
;
8120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_DISOWN
| 0 );
8121 if (!SWIG_IsOK(res1
)) {
8122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MutexGuiLocker" "', expected argument " "1"" of type '" "wxMutexGuiLocker *""'");
8124 arg1
= reinterpret_cast< wxMutexGuiLocker
* >(argp1
);
8126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8129 wxPyEndAllowThreads(__tstate
);
8130 if (PyErr_Occurred()) SWIG_fail
;
8132 resultobj
= SWIG_Py_Void();
8139 SWIGINTERN PyObject
*MutexGuiLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8141 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8142 SWIG_TypeNewClientData(SWIGTYPE_p_wxMutexGuiLocker
, SWIG_NewClientData(obj
));
8143 return SWIG_Py_Void();
8146 SWIGINTERN PyObject
*MutexGuiLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8147 return SWIG_Python_InitShadowInstance(args
);
8150 SWIGINTERN PyObject
*_wrap_Thread_IsMain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8151 PyObject
*resultobj
= 0;
8154 if (!SWIG_Python_UnpackTuple(args
,"Thread_IsMain",0,0,0)) SWIG_fail
;
8156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8157 result
= (bool)wxThread_IsMain();
8158 wxPyEndAllowThreads(__tstate
);
8159 if (PyErr_Occurred()) SWIG_fail
;
8162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8170 SWIGINTERN PyObject
*_wrap_new_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8171 PyObject
*resultobj
= 0;
8172 wxString
*arg1
= 0 ;
8173 wxToolTip
*result
= 0 ;
8174 bool temp1
= false ;
8175 PyObject
* obj0
= 0 ;
8176 char * kwnames
[] = {
8177 (char *) "tip", NULL
8180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) SWIG_fail
;
8182 arg1
= wxString_in_helper(obj0
);
8183 if (arg1
== NULL
) SWIG_fail
;
8187 if (!wxPyCheckForApp()) SWIG_fail
;
8188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8189 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
8190 wxPyEndAllowThreads(__tstate
);
8191 if (PyErr_Occurred()) SWIG_fail
;
8193 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolTip
, SWIG_POINTER_NEW
| 0 );
8208 SWIGINTERN PyObject
*_wrap_delete_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8209 PyObject
*resultobj
= 0;
8210 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8213 PyObject
*swig_obj
[1] ;
8215 if (!args
) SWIG_fail
;
8217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, SWIG_POINTER_DISOWN
| 0 );
8218 if (!SWIG_IsOK(res1
)) {
8219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ToolTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8221 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8226 wxPyEndAllowThreads(__tstate
);
8227 if (PyErr_Occurred()) SWIG_fail
;
8229 resultobj
= SWIG_Py_Void();
8236 SWIGINTERN PyObject
*_wrap_ToolTip_SetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8237 PyObject
*resultobj
= 0;
8238 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8239 wxString
*arg2
= 0 ;
8242 bool temp2
= false ;
8243 PyObject
* obj0
= 0 ;
8244 PyObject
* obj1
= 0 ;
8245 char * kwnames
[] = {
8246 (char *) "self",(char *) "tip", NULL
8249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8251 if (!SWIG_IsOK(res1
)) {
8252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_SetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8254 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8256 arg2
= wxString_in_helper(obj1
);
8257 if (arg2
== NULL
) SWIG_fail
;
8261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8262 (arg1
)->SetTip((wxString
const &)*arg2
);
8263 wxPyEndAllowThreads(__tstate
);
8264 if (PyErr_Occurred()) SWIG_fail
;
8266 resultobj
= SWIG_Py_Void();
8281 SWIGINTERN PyObject
*_wrap_ToolTip_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8282 PyObject
*resultobj
= 0;
8283 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8287 PyObject
*swig_obj
[1] ;
8289 if (!args
) SWIG_fail
;
8291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8292 if (!SWIG_IsOK(res1
)) {
8293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8295 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8298 result
= (arg1
)->GetTip();
8299 wxPyEndAllowThreads(__tstate
);
8300 if (PyErr_Occurred()) SWIG_fail
;
8304 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8306 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8315 SWIGINTERN PyObject
*_wrap_ToolTip_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8316 PyObject
*resultobj
= 0;
8317 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8318 wxWindow
*result
= 0 ;
8321 PyObject
*swig_obj
[1] ;
8323 if (!args
) SWIG_fail
;
8325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8326 if (!SWIG_IsOK(res1
)) {
8327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetWindow" "', expected argument " "1"" of type '" "wxToolTip *""'");
8329 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8332 result
= (wxWindow
*)(arg1
)->GetWindow();
8333 wxPyEndAllowThreads(__tstate
);
8334 if (PyErr_Occurred()) SWIG_fail
;
8337 resultobj
= wxPyMake_wxObject(result
, 0);
8345 SWIGINTERN PyObject
*_wrap_ToolTip_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8346 PyObject
*resultobj
= 0;
8350 PyObject
* obj0
= 0 ;
8351 char * kwnames
[] = {
8352 (char *) "flag", NULL
8355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) SWIG_fail
;
8356 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
8357 if (!SWIG_IsOK(ecode1
)) {
8358 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_Enable" "', expected argument " "1"" of type '" "bool""'");
8360 arg1
= static_cast< bool >(val1
);
8362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8363 wxToolTip::Enable(arg1
);
8364 wxPyEndAllowThreads(__tstate
);
8365 if (PyErr_Occurred()) SWIG_fail
;
8367 resultobj
= SWIG_Py_Void();
8374 SWIGINTERN PyObject
*_wrap_ToolTip_SetDelay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8375 PyObject
*resultobj
= 0;
8379 PyObject
* obj0
= 0 ;
8380 char * kwnames
[] = {
8381 (char *) "milliseconds", NULL
8384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) SWIG_fail
;
8385 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
8386 if (!SWIG_IsOK(ecode1
)) {
8387 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_SetDelay" "', expected argument " "1"" of type '" "long""'");
8389 arg1
= static_cast< long >(val1
);
8391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8392 wxToolTip::SetDelay(arg1
);
8393 wxPyEndAllowThreads(__tstate
);
8394 if (PyErr_Occurred()) SWIG_fail
;
8396 resultobj
= SWIG_Py_Void();
8403 SWIGINTERN PyObject
*ToolTip_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8405 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8406 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolTip
, SWIG_NewClientData(obj
));
8407 return SWIG_Py_Void();
8410 SWIGINTERN PyObject
*ToolTip_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8411 return SWIG_Python_InitShadowInstance(args
);
8414 SWIGINTERN PyObject
*_wrap_new_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8415 PyObject
*resultobj
= 0;
8416 wxWindow
*arg1
= (wxWindow
*) 0 ;
8418 wxCaret
*result
= 0 ;
8422 PyObject
* obj0
= 0 ;
8423 PyObject
* obj1
= 0 ;
8424 char * kwnames
[] = {
8425 (char *) "window",(char *) "size", NULL
8428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8430 if (!SWIG_IsOK(res1
)) {
8431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Caret" "', expected argument " "1"" of type '" "wxWindow *""'");
8433 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8436 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8439 if (!wxPyCheckForApp()) SWIG_fail
;
8440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8441 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
8442 wxPyEndAllowThreads(__tstate
);
8443 if (PyErr_Occurred()) SWIG_fail
;
8445 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCaret
, SWIG_POINTER_NEW
| 0 );
8452 SWIGINTERN PyObject
*_wrap_delete_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8453 PyObject
*resultobj
= 0;
8454 wxCaret
*arg1
= (wxCaret
*) 0 ;
8457 PyObject
*swig_obj
[1] ;
8459 if (!args
) SWIG_fail
;
8461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, SWIG_POINTER_DISOWN
| 0 );
8462 if (!SWIG_IsOK(res1
)) {
8463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Caret" "', expected argument " "1"" of type '" "wxCaret *""'");
8465 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8470 wxPyEndAllowThreads(__tstate
);
8471 if (PyErr_Occurred()) SWIG_fail
;
8473 resultobj
= SWIG_Py_Void();
8480 SWIGINTERN PyObject
*_wrap_Caret_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8481 PyObject
*resultobj
= 0;
8482 wxCaret
*arg1
= (wxCaret
*) 0 ;
8485 PyObject
*swig_obj
[1] ;
8487 if (!args
) SWIG_fail
;
8489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8490 if (!SWIG_IsOK(res1
)) {
8491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Destroy" "', expected argument " "1"" of type '" "wxCaret *""'");
8493 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8496 wxCaret_Destroy(arg1
);
8497 wxPyEndAllowThreads(__tstate
);
8498 if (PyErr_Occurred()) SWIG_fail
;
8500 resultobj
= SWIG_Py_Void();
8507 SWIGINTERN PyObject
*_wrap_Caret_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8508 PyObject
*resultobj
= 0;
8509 wxCaret
*arg1
= (wxCaret
*) 0 ;
8513 PyObject
*swig_obj
[1] ;
8515 if (!args
) SWIG_fail
;
8517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8518 if (!SWIG_IsOK(res1
)) {
8519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsOk" "', expected argument " "1"" of type '" "wxCaret *""'");
8521 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8524 result
= (bool)(arg1
)->IsOk();
8525 wxPyEndAllowThreads(__tstate
);
8526 if (PyErr_Occurred()) SWIG_fail
;
8529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8537 SWIGINTERN PyObject
*_wrap_Caret_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8538 PyObject
*resultobj
= 0;
8539 wxCaret
*arg1
= (wxCaret
*) 0 ;
8543 PyObject
*swig_obj
[1] ;
8545 if (!args
) SWIG_fail
;
8547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8548 if (!SWIG_IsOK(res1
)) {
8549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsVisible" "', expected argument " "1"" of type '" "wxCaret *""'");
8551 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8554 result
= (bool)(arg1
)->IsVisible();
8555 wxPyEndAllowThreads(__tstate
);
8556 if (PyErr_Occurred()) SWIG_fail
;
8559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8567 SWIGINTERN PyObject
*_wrap_Caret_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8568 PyObject
*resultobj
= 0;
8569 wxCaret
*arg1
= (wxCaret
*) 0 ;
8573 PyObject
*swig_obj
[1] ;
8575 if (!args
) SWIG_fail
;
8577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8578 if (!SWIG_IsOK(res1
)) {
8579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPosition" "', expected argument " "1"" of type '" "wxCaret *""'");
8581 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8584 result
= (arg1
)->GetPosition();
8585 wxPyEndAllowThreads(__tstate
);
8586 if (PyErr_Occurred()) SWIG_fail
;
8588 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
8595 SWIGINTERN PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8596 PyObject
*resultobj
= 0;
8597 wxCaret
*arg1
= (wxCaret
*) 0 ;
8598 int *arg2
= (int *) 0 ;
8599 int *arg3
= (int *) 0 ;
8603 int res2
= SWIG_TMPOBJ
;
8605 int res3
= SWIG_TMPOBJ
;
8606 PyObject
*swig_obj
[1] ;
8610 if (!args
) SWIG_fail
;
8612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8613 if (!SWIG_IsOK(res1
)) {
8614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPositionTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8616 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8619 (arg1
)->GetPosition(arg2
,arg3
);
8620 wxPyEndAllowThreads(__tstate
);
8621 if (PyErr_Occurred()) SWIG_fail
;
8623 resultobj
= SWIG_Py_Void();
8624 if (SWIG_IsTmpObj(res2
)) {
8625 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8627 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8628 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8630 if (SWIG_IsTmpObj(res3
)) {
8631 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8633 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8634 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8642 SWIGINTERN PyObject
*_wrap_Caret_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8643 PyObject
*resultobj
= 0;
8644 wxCaret
*arg1
= (wxCaret
*) 0 ;
8648 PyObject
*swig_obj
[1] ;
8650 if (!args
) SWIG_fail
;
8652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8653 if (!SWIG_IsOK(res1
)) {
8654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8656 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8659 result
= (arg1
)->GetSize();
8660 wxPyEndAllowThreads(__tstate
);
8661 if (PyErr_Occurred()) SWIG_fail
;
8663 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
8670 SWIGINTERN PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8671 PyObject
*resultobj
= 0;
8672 wxCaret
*arg1
= (wxCaret
*) 0 ;
8673 int *arg2
= (int *) 0 ;
8674 int *arg3
= (int *) 0 ;
8678 int res2
= SWIG_TMPOBJ
;
8680 int res3
= SWIG_TMPOBJ
;
8681 PyObject
*swig_obj
[1] ;
8685 if (!args
) SWIG_fail
;
8687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8688 if (!SWIG_IsOK(res1
)) {
8689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSizeTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8691 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8694 (arg1
)->GetSize(arg2
,arg3
);
8695 wxPyEndAllowThreads(__tstate
);
8696 if (PyErr_Occurred()) SWIG_fail
;
8698 resultobj
= SWIG_Py_Void();
8699 if (SWIG_IsTmpObj(res2
)) {
8700 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8702 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8703 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8705 if (SWIG_IsTmpObj(res3
)) {
8706 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8708 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8709 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8717 SWIGINTERN PyObject
*_wrap_Caret_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8718 PyObject
*resultobj
= 0;
8719 wxCaret
*arg1
= (wxCaret
*) 0 ;
8720 wxWindow
*result
= 0 ;
8723 PyObject
*swig_obj
[1] ;
8725 if (!args
) SWIG_fail
;
8727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8728 if (!SWIG_IsOK(res1
)) {
8729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetWindow" "', expected argument " "1"" of type '" "wxCaret *""'");
8731 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8734 result
= (wxWindow
*)(arg1
)->GetWindow();
8735 wxPyEndAllowThreads(__tstate
);
8736 if (PyErr_Occurred()) SWIG_fail
;
8739 resultobj
= wxPyMake_wxObject(result
, 0);
8747 SWIGINTERN PyObject
*_wrap_Caret_MoveXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8748 PyObject
*resultobj
= 0;
8749 wxCaret
*arg1
= (wxCaret
*) 0 ;
8758 PyObject
* obj0
= 0 ;
8759 PyObject
* obj1
= 0 ;
8760 PyObject
* obj2
= 0 ;
8761 char * kwnames
[] = {
8762 (char *) "self",(char *) "x",(char *) "y", NULL
8765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8767 if (!SWIG_IsOK(res1
)) {
8768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_MoveXY" "', expected argument " "1"" of type '" "wxCaret *""'");
8770 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8771 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8772 if (!SWIG_IsOK(ecode2
)) {
8773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_MoveXY" "', expected argument " "2"" of type '" "int""'");
8775 arg2
= static_cast< int >(val2
);
8776 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8777 if (!SWIG_IsOK(ecode3
)) {
8778 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_MoveXY" "', expected argument " "3"" of type '" "int""'");
8780 arg3
= static_cast< int >(val3
);
8782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8783 (arg1
)->Move(arg2
,arg3
);
8784 wxPyEndAllowThreads(__tstate
);
8785 if (PyErr_Occurred()) SWIG_fail
;
8787 resultobj
= SWIG_Py_Void();
8794 SWIGINTERN PyObject
*_wrap_Caret_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8795 PyObject
*resultobj
= 0;
8796 wxCaret
*arg1
= (wxCaret
*) 0 ;
8801 PyObject
* obj0
= 0 ;
8802 PyObject
* obj1
= 0 ;
8803 char * kwnames
[] = {
8804 (char *) "self",(char *) "pt", NULL
8807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8809 if (!SWIG_IsOK(res1
)) {
8810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Move" "', expected argument " "1"" of type '" "wxCaret *""'");
8812 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8815 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8819 (arg1
)->Move((wxPoint
const &)*arg2
);
8820 wxPyEndAllowThreads(__tstate
);
8821 if (PyErr_Occurred()) SWIG_fail
;
8823 resultobj
= SWIG_Py_Void();
8830 SWIGINTERN PyObject
*_wrap_Caret_SetSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8831 PyObject
*resultobj
= 0;
8832 wxCaret
*arg1
= (wxCaret
*) 0 ;
8841 PyObject
* obj0
= 0 ;
8842 PyObject
* obj1
= 0 ;
8843 PyObject
* obj2
= 0 ;
8844 char * kwnames
[] = {
8845 (char *) "self",(char *) "width",(char *) "height", NULL
8848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8850 if (!SWIG_IsOK(res1
)) {
8851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSizeWH" "', expected argument " "1"" of type '" "wxCaret *""'");
8853 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8854 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8855 if (!SWIG_IsOK(ecode2
)) {
8856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_SetSizeWH" "', expected argument " "2"" of type '" "int""'");
8858 arg2
= static_cast< int >(val2
);
8859 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8860 if (!SWIG_IsOK(ecode3
)) {
8861 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_SetSizeWH" "', expected argument " "3"" of type '" "int""'");
8863 arg3
= static_cast< int >(val3
);
8865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8866 (arg1
)->SetSize(arg2
,arg3
);
8867 wxPyEndAllowThreads(__tstate
);
8868 if (PyErr_Occurred()) SWIG_fail
;
8870 resultobj
= SWIG_Py_Void();
8877 SWIGINTERN PyObject
*_wrap_Caret_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8878 PyObject
*resultobj
= 0;
8879 wxCaret
*arg1
= (wxCaret
*) 0 ;
8884 PyObject
* obj0
= 0 ;
8885 PyObject
* obj1
= 0 ;
8886 char * kwnames
[] = {
8887 (char *) "self",(char *) "size", NULL
8890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8892 if (!SWIG_IsOK(res1
)) {
8893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8895 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8898 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8902 (arg1
)->SetSize((wxSize
const &)*arg2
);
8903 wxPyEndAllowThreads(__tstate
);
8904 if (PyErr_Occurred()) SWIG_fail
;
8906 resultobj
= SWIG_Py_Void();
8913 SWIGINTERN PyObject
*_wrap_Caret_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8914 PyObject
*resultobj
= 0;
8915 wxCaret
*arg1
= (wxCaret
*) 0 ;
8916 int arg2
= (int) true ;
8921 PyObject
* obj0
= 0 ;
8922 PyObject
* obj1
= 0 ;
8923 char * kwnames
[] = {
8924 (char *) "self",(char *) "show", NULL
8927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8929 if (!SWIG_IsOK(res1
)) {
8930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Show" "', expected argument " "1"" of type '" "wxCaret *""'");
8932 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8934 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8935 if (!SWIG_IsOK(ecode2
)) {
8936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_Show" "', expected argument " "2"" of type '" "int""'");
8938 arg2
= static_cast< int >(val2
);
8941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8943 wxPyEndAllowThreads(__tstate
);
8944 if (PyErr_Occurred()) SWIG_fail
;
8946 resultobj
= SWIG_Py_Void();
8953 SWIGINTERN PyObject
*_wrap_Caret_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8954 PyObject
*resultobj
= 0;
8955 wxCaret
*arg1
= (wxCaret
*) 0 ;
8958 PyObject
*swig_obj
[1] ;
8960 if (!args
) SWIG_fail
;
8962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8963 if (!SWIG_IsOK(res1
)) {
8964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Hide" "', expected argument " "1"" of type '" "wxCaret *""'");
8966 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8970 wxPyEndAllowThreads(__tstate
);
8971 if (PyErr_Occurred()) SWIG_fail
;
8973 resultobj
= SWIG_Py_Void();
8980 SWIGINTERN PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8981 PyObject
*resultobj
= 0;
8984 if (!SWIG_Python_UnpackTuple(args
,"Caret_GetBlinkTime",0,0,0)) SWIG_fail
;
8986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8987 result
= (int)wxCaret::GetBlinkTime();
8988 wxPyEndAllowThreads(__tstate
);
8989 if (PyErr_Occurred()) SWIG_fail
;
8991 resultobj
= SWIG_From_int(static_cast< int >(result
));
8998 SWIGINTERN PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8999 PyObject
*resultobj
= 0;
9003 PyObject
* obj0
= 0 ;
9004 char * kwnames
[] = {
9005 (char *) "milliseconds", NULL
9008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) SWIG_fail
;
9009 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9010 if (!SWIG_IsOK(ecode1
)) {
9011 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Caret_SetBlinkTime" "', expected argument " "1"" of type '" "int""'");
9013 arg1
= static_cast< int >(val1
);
9015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9016 wxCaret::SetBlinkTime(arg1
);
9017 wxPyEndAllowThreads(__tstate
);
9018 if (PyErr_Occurred()) SWIG_fail
;
9020 resultobj
= SWIG_Py_Void();
9027 SWIGINTERN PyObject
*Caret_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9029 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9030 SWIG_TypeNewClientData(SWIGTYPE_p_wxCaret
, SWIG_NewClientData(obj
));
9031 return SWIG_Py_Void();
9034 SWIGINTERN PyObject
*Caret_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9035 return SWIG_Python_InitShadowInstance(args
);
9038 SWIGINTERN PyObject
*_wrap_new_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9039 PyObject
*resultobj
= 0;
9040 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
9041 wxBusyCursor
*result
= 0 ;
9044 PyObject
* obj0
= 0 ;
9045 char * kwnames
[] = {
9046 (char *) "cursor", NULL
9049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) SWIG_fail
;
9051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
9052 if (!SWIG_IsOK(res1
)) {
9053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
9055 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9058 if (!wxPyCheckForApp()) SWIG_fail
;
9059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9060 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
9061 wxPyEndAllowThreads(__tstate
);
9062 if (PyErr_Occurred()) SWIG_fail
;
9064 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_NEW
| 0 );
9071 SWIGINTERN PyObject
*_wrap_delete_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9072 PyObject
*resultobj
= 0;
9073 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
9076 PyObject
*swig_obj
[1] ;
9078 if (!args
) SWIG_fail
;
9080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_DISOWN
| 0 );
9081 if (!SWIG_IsOK(res1
)) {
9082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyCursor" "', expected argument " "1"" of type '" "wxBusyCursor *""'");
9084 arg1
= reinterpret_cast< wxBusyCursor
* >(argp1
);
9086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9089 wxPyEndAllowThreads(__tstate
);
9090 if (PyErr_Occurred()) SWIG_fail
;
9092 resultobj
= SWIG_Py_Void();
9099 SWIGINTERN PyObject
*BusyCursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9101 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9102 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyCursor
, SWIG_NewClientData(obj
));
9103 return SWIG_Py_Void();
9106 SWIGINTERN PyObject
*BusyCursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9107 return SWIG_Python_InitShadowInstance(args
);
9110 SWIGINTERN PyObject
*_wrap_new_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9111 PyObject
*resultobj
= 0;
9112 wxWindow
*arg1
= (wxWindow
*) NULL
;
9113 wxWindowDisabler
*result
= 0 ;
9116 PyObject
* obj0
= 0 ;
9117 char * kwnames
[] = {
9118 (char *) "winToSkip", NULL
9121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) SWIG_fail
;
9123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9124 if (!SWIG_IsOK(res1
)) {
9125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDisabler" "', expected argument " "1"" of type '" "wxWindow *""'");
9127 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9130 if (!wxPyCheckForApp()) SWIG_fail
;
9131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9132 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
9133 wxPyEndAllowThreads(__tstate
);
9134 if (PyErr_Occurred()) SWIG_fail
;
9136 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_NEW
| 0 );
9143 SWIGINTERN PyObject
*_wrap_delete_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9144 PyObject
*resultobj
= 0;
9145 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
9148 PyObject
*swig_obj
[1] ;
9150 if (!args
) SWIG_fail
;
9152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_DISOWN
| 0 );
9153 if (!SWIG_IsOK(res1
)) {
9154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_WindowDisabler" "', expected argument " "1"" of type '" "wxWindowDisabler *""'");
9156 arg1
= reinterpret_cast< wxWindowDisabler
* >(argp1
);
9158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9161 wxPyEndAllowThreads(__tstate
);
9162 if (PyErr_Occurred()) SWIG_fail
;
9164 resultobj
= SWIG_Py_Void();
9171 SWIGINTERN PyObject
*WindowDisabler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9173 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9174 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDisabler
, SWIG_NewClientData(obj
));
9175 return SWIG_Py_Void();
9178 SWIGINTERN PyObject
*WindowDisabler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9179 return SWIG_Python_InitShadowInstance(args
);
9182 SWIGINTERN PyObject
*_wrap_new_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9183 PyObject
*resultobj
= 0;
9184 wxString
*arg1
= 0 ;
9185 wxBusyInfo
*result
= 0 ;
9186 bool temp1
= false ;
9187 PyObject
* obj0
= 0 ;
9188 char * kwnames
[] = {
9189 (char *) "message", NULL
9192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) SWIG_fail
;
9194 arg1
= wxString_in_helper(obj0
);
9195 if (arg1
== NULL
) SWIG_fail
;
9199 if (!wxPyCheckForApp()) SWIG_fail
;
9200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9201 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
9202 wxPyEndAllowThreads(__tstate
);
9203 if (PyErr_Occurred()) SWIG_fail
;
9205 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_NEW
| 0 );
9220 SWIGINTERN PyObject
*_wrap_delete_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9221 PyObject
*resultobj
= 0;
9222 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
9225 PyObject
*swig_obj
[1] ;
9227 if (!args
) SWIG_fail
;
9229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_DISOWN
| 0 );
9230 if (!SWIG_IsOK(res1
)) {
9231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyInfo" "', expected argument " "1"" of type '" "wxBusyInfo *""'");
9233 arg1
= reinterpret_cast< wxBusyInfo
* >(argp1
);
9235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9238 wxPyEndAllowThreads(__tstate
);
9239 if (PyErr_Occurred()) SWIG_fail
;
9241 resultobj
= SWIG_Py_Void();
9248 SWIGINTERN PyObject
*BusyInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9250 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9251 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyInfo
, SWIG_NewClientData(obj
));
9252 return SWIG_Py_Void();
9255 SWIGINTERN PyObject
*BusyInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9256 return SWIG_Python_InitShadowInstance(args
);
9259 SWIGINTERN PyObject
*_wrap_new_StopWatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9260 PyObject
*resultobj
= 0;
9261 wxStopWatch
*result
= 0 ;
9263 if (!SWIG_Python_UnpackTuple(args
,"new_StopWatch",0,0,0)) SWIG_fail
;
9265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9266 result
= (wxStopWatch
*)new wxStopWatch();
9267 wxPyEndAllowThreads(__tstate
);
9268 if (PyErr_Occurred()) SWIG_fail
;
9270 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_NEW
| 0 );
9277 SWIGINTERN PyObject
*_wrap_delete_StopWatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9278 PyObject
*resultobj
= 0;
9279 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9282 PyObject
*swig_obj
[1] ;
9284 if (!args
) SWIG_fail
;
9286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_DISOWN
| 0 );
9287 if (!SWIG_IsOK(res1
)) {
9288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StopWatch" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9290 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9295 wxPyEndAllowThreads(__tstate
);
9296 if (PyErr_Occurred()) SWIG_fail
;
9298 resultobj
= SWIG_Py_Void();
9305 SWIGINTERN PyObject
*_wrap_StopWatch_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9306 PyObject
*resultobj
= 0;
9307 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9308 long arg2
= (long) 0 ;
9313 PyObject
* obj0
= 0 ;
9314 PyObject
* obj1
= 0 ;
9315 char * kwnames
[] = {
9316 (char *) "self",(char *) "t0", NULL
9319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9321 if (!SWIG_IsOK(res1
)) {
9322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Start" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9324 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9326 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9327 if (!SWIG_IsOK(ecode2
)) {
9328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StopWatch_Start" "', expected argument " "2"" of type '" "long""'");
9330 arg2
= static_cast< long >(val2
);
9333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9334 (arg1
)->Start(arg2
);
9335 wxPyEndAllowThreads(__tstate
);
9336 if (PyErr_Occurred()) SWIG_fail
;
9338 resultobj
= SWIG_Py_Void();
9345 SWIGINTERN PyObject
*_wrap_StopWatch_Pause(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9346 PyObject
*resultobj
= 0;
9347 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9350 PyObject
*swig_obj
[1] ;
9352 if (!args
) SWIG_fail
;
9354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9355 if (!SWIG_IsOK(res1
)) {
9356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Pause" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9358 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9362 wxPyEndAllowThreads(__tstate
);
9363 if (PyErr_Occurred()) SWIG_fail
;
9365 resultobj
= SWIG_Py_Void();
9372 SWIGINTERN PyObject
*_wrap_StopWatch_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9373 PyObject
*resultobj
= 0;
9374 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9377 PyObject
*swig_obj
[1] ;
9379 if (!args
) SWIG_fail
;
9381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9382 if (!SWIG_IsOK(res1
)) {
9383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Resume" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9385 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9389 wxPyEndAllowThreads(__tstate
);
9390 if (PyErr_Occurred()) SWIG_fail
;
9392 resultobj
= SWIG_Py_Void();
9399 SWIGINTERN PyObject
*_wrap_StopWatch_Time(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9400 PyObject
*resultobj
= 0;
9401 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9405 PyObject
*swig_obj
[1] ;
9407 if (!args
) SWIG_fail
;
9409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9410 if (!SWIG_IsOK(res1
)) {
9411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Time" "', expected argument " "1"" of type '" "wxStopWatch const *""'");
9413 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9416 result
= (long)((wxStopWatch
const *)arg1
)->Time();
9417 wxPyEndAllowThreads(__tstate
);
9418 if (PyErr_Occurred()) SWIG_fail
;
9420 resultobj
= SWIG_From_long(static_cast< long >(result
));
9427 SWIGINTERN PyObject
*StopWatch_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9429 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9430 SWIG_TypeNewClientData(SWIGTYPE_p_wxStopWatch
, SWIG_NewClientData(obj
));
9431 return SWIG_Py_Void();
9434 SWIGINTERN PyObject
*StopWatch_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9435 return SWIG_Python_InitShadowInstance(args
);
9438 SWIGINTERN PyObject
*_wrap_new_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9439 PyObject
*resultobj
= 0;
9440 int arg1
= (int) 9 ;
9441 int arg2
= (int) wxID_FILE1
;
9442 wxFileHistory
*result
= 0 ;
9447 PyObject
* obj0
= 0 ;
9448 PyObject
* obj1
= 0 ;
9449 char * kwnames
[] = {
9450 (char *) "maxFiles",(char *) "idBase", NULL
9453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9455 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9456 if (!SWIG_IsOK(ecode1
)) {
9457 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileHistory" "', expected argument " "1"" of type '" "int""'");
9459 arg1
= static_cast< int >(val1
);
9462 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9463 if (!SWIG_IsOK(ecode2
)) {
9464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FileHistory" "', expected argument " "2"" of type '" "int""'");
9466 arg2
= static_cast< int >(val2
);
9469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9470 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
9471 wxPyEndAllowThreads(__tstate
);
9472 if (PyErr_Occurred()) SWIG_fail
;
9474 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_NEW
| 0 );
9481 SWIGINTERN PyObject
*_wrap_delete_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9482 PyObject
*resultobj
= 0;
9483 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9486 PyObject
*swig_obj
[1] ;
9488 if (!args
) SWIG_fail
;
9490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_DISOWN
| 0 );
9491 if (!SWIG_IsOK(res1
)) {
9492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9494 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9499 wxPyEndAllowThreads(__tstate
);
9500 if (PyErr_Occurred()) SWIG_fail
;
9502 resultobj
= SWIG_Py_Void();
9509 SWIGINTERN PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9510 PyObject
*resultobj
= 0;
9511 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9512 wxString
*arg2
= 0 ;
9515 bool temp2
= false ;
9516 PyObject
* obj0
= 0 ;
9517 PyObject
* obj1
= 0 ;
9518 char * kwnames
[] = {
9519 (char *) "self",(char *) "file", NULL
9522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9524 if (!SWIG_IsOK(res1
)) {
9525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFileToHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9527 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9529 arg2
= wxString_in_helper(obj1
);
9530 if (arg2
== NULL
) SWIG_fail
;
9534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9535 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
9536 wxPyEndAllowThreads(__tstate
);
9537 if (PyErr_Occurred()) SWIG_fail
;
9539 resultobj
= SWIG_Py_Void();
9554 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9555 PyObject
*resultobj
= 0;
9556 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9562 PyObject
* obj0
= 0 ;
9563 PyObject
* obj1
= 0 ;
9564 char * kwnames
[] = {
9565 (char *) "self",(char *) "i", NULL
9568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9570 if (!SWIG_IsOK(res1
)) {
9571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9573 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9574 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9575 if (!SWIG_IsOK(ecode2
)) {
9576 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "2"" of type '" "int""'");
9578 arg2
= static_cast< int >(val2
);
9580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9581 (arg1
)->RemoveFileFromHistory(arg2
);
9582 wxPyEndAllowThreads(__tstate
);
9583 if (PyErr_Occurred()) SWIG_fail
;
9585 resultobj
= SWIG_Py_Void();
9592 SWIGINTERN PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9593 PyObject
*resultobj
= 0;
9594 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9598 PyObject
*swig_obj
[1] ;
9600 if (!args
) SWIG_fail
;
9602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9603 if (!SWIG_IsOK(res1
)) {
9604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetMaxFiles" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9606 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9609 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
9610 wxPyEndAllowThreads(__tstate
);
9611 if (PyErr_Occurred()) SWIG_fail
;
9613 resultobj
= SWIG_From_int(static_cast< int >(result
));
9620 SWIGINTERN PyObject
*_wrap_FileHistory_UseMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9621 PyObject
*resultobj
= 0;
9622 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9623 wxMenu
*arg2
= (wxMenu
*) 0 ;
9628 PyObject
* obj0
= 0 ;
9629 PyObject
* obj1
= 0 ;
9630 char * kwnames
[] = {
9631 (char *) "self",(char *) "menu", NULL
9634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9636 if (!SWIG_IsOK(res1
)) {
9637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_UseMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9639 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9640 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9641 if (!SWIG_IsOK(res2
)) {
9642 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_UseMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9644 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9647 (arg1
)->UseMenu(arg2
);
9648 wxPyEndAllowThreads(__tstate
);
9649 if (PyErr_Occurred()) SWIG_fail
;
9651 resultobj
= SWIG_Py_Void();
9658 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9659 PyObject
*resultobj
= 0;
9660 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9661 wxMenu
*arg2
= (wxMenu
*) 0 ;
9666 PyObject
* obj0
= 0 ;
9667 PyObject
* obj1
= 0 ;
9668 char * kwnames
[] = {
9669 (char *) "self",(char *) "menu", NULL
9672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9674 if (!SWIG_IsOK(res1
)) {
9675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9677 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9678 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9679 if (!SWIG_IsOK(res2
)) {
9680 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9682 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9685 (arg1
)->RemoveMenu(arg2
);
9686 wxPyEndAllowThreads(__tstate
);
9687 if (PyErr_Occurred()) SWIG_fail
;
9689 resultobj
= SWIG_Py_Void();
9696 SWIGINTERN PyObject
*_wrap_FileHistory_Load(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9697 PyObject
*resultobj
= 0;
9698 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9699 wxConfigBase
*arg2
= 0 ;
9704 PyObject
* obj0
= 0 ;
9705 PyObject
* obj1
= 0 ;
9706 char * kwnames
[] = {
9707 (char *) "self",(char *) "config", NULL
9710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9712 if (!SWIG_IsOK(res1
)) {
9713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Load" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9715 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9716 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9717 if (!SWIG_IsOK(res2
)) {
9718 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9721 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9723 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9726 (arg1
)->Load(*arg2
);
9727 wxPyEndAllowThreads(__tstate
);
9728 if (PyErr_Occurred()) SWIG_fail
;
9730 resultobj
= SWIG_Py_Void();
9737 SWIGINTERN PyObject
*_wrap_FileHistory_Save(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9738 PyObject
*resultobj
= 0;
9739 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9740 wxConfigBase
*arg2
= 0 ;
9745 PyObject
* obj0
= 0 ;
9746 PyObject
* obj1
= 0 ;
9747 char * kwnames
[] = {
9748 (char *) "self",(char *) "config", NULL
9751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9753 if (!SWIG_IsOK(res1
)) {
9754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Save" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9756 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9757 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9758 if (!SWIG_IsOK(res2
)) {
9759 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9762 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9764 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9767 (arg1
)->Save(*arg2
);
9768 wxPyEndAllowThreads(__tstate
);
9769 if (PyErr_Occurred()) SWIG_fail
;
9771 resultobj
= SWIG_Py_Void();
9778 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9779 PyObject
*resultobj
= 0;
9780 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9783 PyObject
*swig_obj
[1] ;
9785 if (!args
) SWIG_fail
;
9787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9788 if (!SWIG_IsOK(res1
)) {
9789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9791 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9794 (arg1
)->AddFilesToMenu();
9795 wxPyEndAllowThreads(__tstate
);
9796 if (PyErr_Occurred()) SWIG_fail
;
9798 resultobj
= SWIG_Py_Void();
9805 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9806 PyObject
*resultobj
= 0;
9807 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9808 wxMenu
*arg2
= (wxMenu
*) 0 ;
9813 PyObject
* obj0
= 0 ;
9814 PyObject
* obj1
= 0 ;
9815 char * kwnames
[] = {
9816 (char *) "self",(char *) "menu", NULL
9819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9821 if (!SWIG_IsOK(res1
)) {
9822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9824 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9825 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9826 if (!SWIG_IsOK(res2
)) {
9827 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9829 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9832 (arg1
)->AddFilesToMenu(arg2
);
9833 wxPyEndAllowThreads(__tstate
);
9834 if (PyErr_Occurred()) SWIG_fail
;
9836 resultobj
= SWIG_Py_Void();
9843 SWIGINTERN PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9844 PyObject
*resultobj
= 0;
9845 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9852 PyObject
* obj0
= 0 ;
9853 PyObject
* obj1
= 0 ;
9854 char * kwnames
[] = {
9855 (char *) "self",(char *) "i", NULL
9858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9860 if (!SWIG_IsOK(res1
)) {
9861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9863 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9864 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9865 if (!SWIG_IsOK(ecode2
)) {
9866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "2"" of type '" "int""'");
9868 arg2
= static_cast< int >(val2
);
9870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9871 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
9872 wxPyEndAllowThreads(__tstate
);
9873 if (PyErr_Occurred()) SWIG_fail
;
9877 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9879 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9888 SWIGINTERN PyObject
*_wrap_FileHistory_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9889 PyObject
*resultobj
= 0;
9890 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9894 PyObject
*swig_obj
[1] ;
9896 if (!args
) SWIG_fail
;
9898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9899 if (!SWIG_IsOK(res1
)) {
9900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetCount" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9902 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9905 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
9906 wxPyEndAllowThreads(__tstate
);
9907 if (PyErr_Occurred()) SWIG_fail
;
9909 resultobj
= SWIG_From_int(static_cast< int >(result
));
9916 SWIGINTERN PyObject
*FileHistory_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9918 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9919 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileHistory
, SWIG_NewClientData(obj
));
9920 return SWIG_Py_Void();
9923 SWIGINTERN PyObject
*FileHistory_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9924 return SWIG_Python_InitShadowInstance(args
);
9927 SWIGINTERN PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9928 PyObject
*resultobj
= 0;
9929 wxString
*arg1
= 0 ;
9930 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9931 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9932 wxSingleInstanceChecker
*result
= 0 ;
9933 bool temp1
= false ;
9934 bool temp2
= false ;
9935 PyObject
* obj0
= 0 ;
9936 PyObject
* obj1
= 0 ;
9937 char * kwnames
[] = {
9938 (char *) "name",(char *) "path", NULL
9941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9943 arg1
= wxString_in_helper(obj0
);
9944 if (arg1
== NULL
) SWIG_fail
;
9949 arg2
= wxString_in_helper(obj1
);
9950 if (arg2
== NULL
) SWIG_fail
;
9955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9956 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
9957 wxPyEndAllowThreads(__tstate
);
9958 if (PyErr_Occurred()) SWIG_fail
;
9960 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_NEW
| 0 );
9983 SWIGINTERN PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9984 PyObject
*resultobj
= 0;
9985 wxSingleInstanceChecker
*result
= 0 ;
9987 if (!SWIG_Python_UnpackTuple(args
,"new_PreSingleInstanceChecker",0,0,0)) SWIG_fail
;
9989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9990 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
9991 wxPyEndAllowThreads(__tstate
);
9992 if (PyErr_Occurred()) SWIG_fail
;
9994 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_OWN
| 0 );
10001 SWIGINTERN PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10002 PyObject
*resultobj
= 0;
10003 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
10006 PyObject
*swig_obj
[1] ;
10008 if (!args
) SWIG_fail
;
10009 swig_obj
[0] = args
;
10010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_DISOWN
| 0 );
10011 if (!SWIG_IsOK(res1
)) {
10012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SingleInstanceChecker" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
10014 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
10016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10019 wxPyEndAllowThreads(__tstate
);
10020 if (PyErr_Occurred()) SWIG_fail
;
10022 resultobj
= SWIG_Py_Void();
10029 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10030 PyObject
*resultobj
= 0;
10031 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
10032 wxString
*arg2
= 0 ;
10033 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10034 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10038 bool temp2
= false ;
10039 bool temp3
= false ;
10040 PyObject
* obj0
= 0 ;
10041 PyObject
* obj1
= 0 ;
10042 PyObject
* obj2
= 0 ;
10043 char * kwnames
[] = {
10044 (char *) "self",(char *) "name",(char *) "path", NULL
10047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
10049 if (!SWIG_IsOK(res1
)) {
10050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_Create" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
10052 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
10054 arg2
= wxString_in_helper(obj1
);
10055 if (arg2
== NULL
) SWIG_fail
;
10060 arg3
= wxString_in_helper(obj2
);
10061 if (arg3
== NULL
) SWIG_fail
;
10066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10067 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10068 wxPyEndAllowThreads(__tstate
);
10069 if (PyErr_Occurred()) SWIG_fail
;
10072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10096 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10097 PyObject
*resultobj
= 0;
10098 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
10102 PyObject
*swig_obj
[1] ;
10104 if (!args
) SWIG_fail
;
10105 swig_obj
[0] = args
;
10106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
10107 if (!SWIG_IsOK(res1
)) {
10108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_IsAnotherRunning" "', expected argument " "1"" of type '" "wxSingleInstanceChecker const *""'");
10110 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
10112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10113 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
10114 wxPyEndAllowThreads(__tstate
);
10115 if (PyErr_Occurred()) SWIG_fail
;
10118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10126 SWIGINTERN PyObject
*SingleInstanceChecker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10128 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10129 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_NewClientData(obj
));
10130 return SWIG_Py_Void();
10133 SWIGINTERN PyObject
*SingleInstanceChecker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10134 return SWIG_Python_InitShadowInstance(args
);
10137 SWIGINTERN PyObject
*_wrap_new_PlatformInformation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10138 PyObject
*resultobj
= 0;
10139 wxPlatformInfo
*result
= 0 ;
10141 if (!SWIG_Python_UnpackTuple(args
,"new_PlatformInformation",0,0,0)) SWIG_fail
;
10143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10144 result
= (wxPlatformInfo
*)new wxPlatformInfo();
10145 wxPyEndAllowThreads(__tstate
);
10146 if (PyErr_Occurred()) SWIG_fail
;
10148 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPlatformInfo
, SWIG_POINTER_NEW
| 0 );
10155 SWIGINTERN PyObject
*_wrap_PlatformInformation___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10156 PyObject
*resultobj
= 0;
10157 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10158 wxPlatformInfo
*arg2
= 0 ;
10164 PyObject
* obj0
= 0 ;
10165 PyObject
* obj1
= 0 ;
10166 char * kwnames
[] = {
10167 (char *) "self",(char *) "t", NULL
10170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10172 if (!SWIG_IsOK(res1
)) {
10173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation___eq__" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10175 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10176 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPlatformInfo
, 0 | 0);
10177 if (!SWIG_IsOK(res2
)) {
10178 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PlatformInformation___eq__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10181 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PlatformInformation___eq__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10183 arg2
= reinterpret_cast< wxPlatformInfo
* >(argp2
);
10185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10186 result
= (bool)((wxPlatformInfo
const *)arg1
)->operator ==((wxPlatformInfo
const &)*arg2
);
10187 wxPyEndAllowThreads(__tstate
);
10188 if (PyErr_Occurred()) SWIG_fail
;
10191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10199 SWIGINTERN PyObject
*_wrap_PlatformInformation___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10200 PyObject
*resultobj
= 0;
10201 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10202 wxPlatformInfo
*arg2
= 0 ;
10208 PyObject
* obj0
= 0 ;
10209 PyObject
* obj1
= 0 ;
10210 char * kwnames
[] = {
10211 (char *) "self",(char *) "t", NULL
10214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10216 if (!SWIG_IsOK(res1
)) {
10217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation___ne__" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10219 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10220 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPlatformInfo
, 0 | 0);
10221 if (!SWIG_IsOK(res2
)) {
10222 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PlatformInformation___ne__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10225 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PlatformInformation___ne__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10227 arg2
= reinterpret_cast< wxPlatformInfo
* >(argp2
);
10229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10230 result
= (bool)((wxPlatformInfo
const *)arg1
)->operator !=((wxPlatformInfo
const &)*arg2
);
10231 wxPyEndAllowThreads(__tstate
);
10232 if (PyErr_Occurred()) SWIG_fail
;
10235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10243 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOSMajorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10244 PyObject
*resultobj
= 0;
10245 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10249 PyObject
*swig_obj
[1] ;
10251 if (!args
) SWIG_fail
;
10252 swig_obj
[0] = args
;
10253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10254 if (!SWIG_IsOK(res1
)) {
10255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOSMajorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10257 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10260 result
= (int)((wxPlatformInfo
const *)arg1
)->GetOSMajorVersion();
10261 wxPyEndAllowThreads(__tstate
);
10262 if (PyErr_Occurred()) SWIG_fail
;
10264 resultobj
= SWIG_From_int(static_cast< int >(result
));
10271 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOSMinorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10272 PyObject
*resultobj
= 0;
10273 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10277 PyObject
*swig_obj
[1] ;
10279 if (!args
) SWIG_fail
;
10280 swig_obj
[0] = args
;
10281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10282 if (!SWIG_IsOK(res1
)) {
10283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOSMinorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10285 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10288 result
= (int)((wxPlatformInfo
const *)arg1
)->GetOSMinorVersion();
10289 wxPyEndAllowThreads(__tstate
);
10290 if (PyErr_Occurred()) SWIG_fail
;
10292 resultobj
= SWIG_From_int(static_cast< int >(result
));
10299 SWIGINTERN PyObject
*_wrap_PlatformInformation_CheckOSVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10300 PyObject
*resultobj
= 0;
10301 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10311 PyObject
* obj0
= 0 ;
10312 PyObject
* obj1
= 0 ;
10313 PyObject
* obj2
= 0 ;
10314 char * kwnames
[] = {
10315 (char *) "self",(char *) "major",(char *) "minor", NULL
10318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PlatformInformation_CheckOSVersion",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10320 if (!SWIG_IsOK(res1
)) {
10321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_CheckOSVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10323 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10324 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10325 if (!SWIG_IsOK(ecode2
)) {
10326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_CheckOSVersion" "', expected argument " "2"" of type '" "int""'");
10328 arg2
= static_cast< int >(val2
);
10329 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10330 if (!SWIG_IsOK(ecode3
)) {
10331 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PlatformInformation_CheckOSVersion" "', expected argument " "3"" of type '" "int""'");
10333 arg3
= static_cast< int >(val3
);
10335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10336 result
= (bool)((wxPlatformInfo
const *)arg1
)->CheckOSVersion(arg2
,arg3
);
10337 wxPyEndAllowThreads(__tstate
);
10338 if (PyErr_Occurred()) SWIG_fail
;
10341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10349 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetToolkitMajorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10350 PyObject
*resultobj
= 0;
10351 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10355 PyObject
*swig_obj
[1] ;
10357 if (!args
) SWIG_fail
;
10358 swig_obj
[0] = args
;
10359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10360 if (!SWIG_IsOK(res1
)) {
10361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetToolkitMajorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10363 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10366 result
= (int)((wxPlatformInfo
const *)arg1
)->GetToolkitMajorVersion();
10367 wxPyEndAllowThreads(__tstate
);
10368 if (PyErr_Occurred()) SWIG_fail
;
10370 resultobj
= SWIG_From_int(static_cast< int >(result
));
10377 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetToolkitMinorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10378 PyObject
*resultobj
= 0;
10379 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10383 PyObject
*swig_obj
[1] ;
10385 if (!args
) SWIG_fail
;
10386 swig_obj
[0] = args
;
10387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10388 if (!SWIG_IsOK(res1
)) {
10389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetToolkitMinorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10391 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10394 result
= (int)((wxPlatformInfo
const *)arg1
)->GetToolkitMinorVersion();
10395 wxPyEndAllowThreads(__tstate
);
10396 if (PyErr_Occurred()) SWIG_fail
;
10398 resultobj
= SWIG_From_int(static_cast< int >(result
));
10405 SWIGINTERN PyObject
*_wrap_PlatformInformation_CheckToolkitVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10406 PyObject
*resultobj
= 0;
10407 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10417 PyObject
* obj0
= 0 ;
10418 PyObject
* obj1
= 0 ;
10419 PyObject
* obj2
= 0 ;
10420 char * kwnames
[] = {
10421 (char *) "self",(char *) "major",(char *) "minor", NULL
10424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PlatformInformation_CheckToolkitVersion",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10426 if (!SWIG_IsOK(res1
)) {
10427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_CheckToolkitVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10429 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10430 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10431 if (!SWIG_IsOK(ecode2
)) {
10432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_CheckToolkitVersion" "', expected argument " "2"" of type '" "int""'");
10434 arg2
= static_cast< int >(val2
);
10435 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10436 if (!SWIG_IsOK(ecode3
)) {
10437 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PlatformInformation_CheckToolkitVersion" "', expected argument " "3"" of type '" "int""'");
10439 arg3
= static_cast< int >(val3
);
10441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10442 result
= (bool)((wxPlatformInfo
const *)arg1
)->CheckToolkitVersion(arg2
,arg3
);
10443 wxPyEndAllowThreads(__tstate
);
10444 if (PyErr_Occurred()) SWIG_fail
;
10447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10455 SWIGINTERN PyObject
*_wrap_PlatformInformation_IsUsingUniversalWidgets(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10456 PyObject
*resultobj
= 0;
10457 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10461 PyObject
*swig_obj
[1] ;
10463 if (!args
) SWIG_fail
;
10464 swig_obj
[0] = args
;
10465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10466 if (!SWIG_IsOK(res1
)) {
10467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_IsUsingUniversalWidgets" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10469 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10472 result
= (bool)((wxPlatformInfo
const *)arg1
)->IsUsingUniversalWidgets();
10473 wxPyEndAllowThreads(__tstate
);
10474 if (PyErr_Occurred()) SWIG_fail
;
10477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10485 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOperatingSystemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10486 PyObject
*resultobj
= 0;
10487 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10488 wxOperatingSystemId result
;
10491 PyObject
*swig_obj
[1] ;
10493 if (!args
) SWIG_fail
;
10494 swig_obj
[0] = args
;
10495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10496 if (!SWIG_IsOK(res1
)) {
10497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOperatingSystemId" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10499 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10502 result
= (wxOperatingSystemId
)((wxPlatformInfo
const *)arg1
)->GetOperatingSystemId();
10503 wxPyEndAllowThreads(__tstate
);
10504 if (PyErr_Occurred()) SWIG_fail
;
10506 resultobj
= SWIG_From_int(static_cast< int >(result
));
10513 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetPortId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10514 PyObject
*resultobj
= 0;
10515 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10519 PyObject
*swig_obj
[1] ;
10521 if (!args
) SWIG_fail
;
10522 swig_obj
[0] = args
;
10523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10524 if (!SWIG_IsOK(res1
)) {
10525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetPortId" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10527 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10530 result
= (wxPortId
)((wxPlatformInfo
const *)arg1
)->GetPortId();
10531 wxPyEndAllowThreads(__tstate
);
10532 if (PyErr_Occurred()) SWIG_fail
;
10534 resultobj
= SWIG_From_int(static_cast< int >(result
));
10541 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetArchitecture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10542 PyObject
*resultobj
= 0;
10543 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10544 wxArchitecture result
;
10547 PyObject
*swig_obj
[1] ;
10549 if (!args
) SWIG_fail
;
10550 swig_obj
[0] = args
;
10551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10552 if (!SWIG_IsOK(res1
)) {
10553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetArchitecture" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10555 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10558 result
= (wxArchitecture
)((wxPlatformInfo
const *)arg1
)->GetArchitecture();
10559 wxPyEndAllowThreads(__tstate
);
10560 if (PyErr_Occurred()) SWIG_fail
;
10562 resultobj
= SWIG_From_int(static_cast< int >(result
));
10569 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetEndianness(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10570 PyObject
*resultobj
= 0;
10571 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10572 wxEndianness result
;
10575 PyObject
*swig_obj
[1] ;
10577 if (!args
) SWIG_fail
;
10578 swig_obj
[0] = args
;
10579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10580 if (!SWIG_IsOK(res1
)) {
10581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetEndianness" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10583 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10586 result
= (wxEndianness
)((wxPlatformInfo
const *)arg1
)->GetEndianness();
10587 wxPyEndAllowThreads(__tstate
);
10588 if (PyErr_Occurred()) SWIG_fail
;
10590 resultobj
= SWIG_From_int(static_cast< int >(result
));
10597 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOperatingSystemFamilyName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10598 PyObject
*resultobj
= 0;
10599 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10603 PyObject
*swig_obj
[1] ;
10605 if (!args
) SWIG_fail
;
10606 swig_obj
[0] = args
;
10607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10608 if (!SWIG_IsOK(res1
)) {
10609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOperatingSystemFamilyName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10611 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10614 result
= ((wxPlatformInfo
const *)arg1
)->GetOperatingSystemFamilyName();
10615 wxPyEndAllowThreads(__tstate
);
10616 if (PyErr_Occurred()) SWIG_fail
;
10620 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10622 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10631 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOperatingSystemIdName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10632 PyObject
*resultobj
= 0;
10633 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10637 PyObject
*swig_obj
[1] ;
10639 if (!args
) SWIG_fail
;
10640 swig_obj
[0] = args
;
10641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10642 if (!SWIG_IsOK(res1
)) {
10643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOperatingSystemIdName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10645 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10648 result
= ((wxPlatformInfo
const *)arg1
)->GetOperatingSystemIdName();
10649 wxPyEndAllowThreads(__tstate
);
10650 if (PyErr_Occurred()) SWIG_fail
;
10654 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10656 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10665 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetPortIdName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10666 PyObject
*resultobj
= 0;
10667 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10671 PyObject
*swig_obj
[1] ;
10673 if (!args
) SWIG_fail
;
10674 swig_obj
[0] = args
;
10675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10676 if (!SWIG_IsOK(res1
)) {
10677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetPortIdName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10679 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10682 result
= ((wxPlatformInfo
const *)arg1
)->GetPortIdName();
10683 wxPyEndAllowThreads(__tstate
);
10684 if (PyErr_Occurred()) SWIG_fail
;
10688 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10690 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10699 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetPortIdShortName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10700 PyObject
*resultobj
= 0;
10701 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10705 PyObject
*swig_obj
[1] ;
10707 if (!args
) SWIG_fail
;
10708 swig_obj
[0] = args
;
10709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10710 if (!SWIG_IsOK(res1
)) {
10711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetPortIdShortName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10713 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10716 result
= ((wxPlatformInfo
const *)arg1
)->GetPortIdShortName();
10717 wxPyEndAllowThreads(__tstate
);
10718 if (PyErr_Occurred()) SWIG_fail
;
10722 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10724 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10733 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetArchName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10734 PyObject
*resultobj
= 0;
10735 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10739 PyObject
*swig_obj
[1] ;
10741 if (!args
) SWIG_fail
;
10742 swig_obj
[0] = args
;
10743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10744 if (!SWIG_IsOK(res1
)) {
10745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetArchName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10747 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10750 result
= ((wxPlatformInfo
const *)arg1
)->GetArchName();
10751 wxPyEndAllowThreads(__tstate
);
10752 if (PyErr_Occurred()) SWIG_fail
;
10756 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10758 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10767 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetEndiannessName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10768 PyObject
*resultobj
= 0;
10769 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10773 PyObject
*swig_obj
[1] ;
10775 if (!args
) SWIG_fail
;
10776 swig_obj
[0] = args
;
10777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10778 if (!SWIG_IsOK(res1
)) {
10779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetEndiannessName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10781 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10784 result
= ((wxPlatformInfo
const *)arg1
)->GetEndiannessName();
10785 wxPyEndAllowThreads(__tstate
);
10786 if (PyErr_Occurred()) SWIG_fail
;
10790 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10792 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10801 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetOSVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10802 PyObject
*resultobj
= 0;
10803 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10812 PyObject
* obj0
= 0 ;
10813 PyObject
* obj1
= 0 ;
10814 PyObject
* obj2
= 0 ;
10815 char * kwnames
[] = {
10816 (char *) "self",(char *) "major",(char *) "minor", NULL
10819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PlatformInformation_SetOSVersion",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10821 if (!SWIG_IsOK(res1
)) {
10822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetOSVersion" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10824 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10825 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10826 if (!SWIG_IsOK(ecode2
)) {
10827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetOSVersion" "', expected argument " "2"" of type '" "int""'");
10829 arg2
= static_cast< int >(val2
);
10830 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10831 if (!SWIG_IsOK(ecode3
)) {
10832 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PlatformInformation_SetOSVersion" "', expected argument " "3"" of type '" "int""'");
10834 arg3
= static_cast< int >(val3
);
10836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10837 (arg1
)->SetOSVersion(arg2
,arg3
);
10838 wxPyEndAllowThreads(__tstate
);
10839 if (PyErr_Occurred()) SWIG_fail
;
10841 resultobj
= SWIG_Py_Void();
10848 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetToolkitVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10849 PyObject
*resultobj
= 0;
10850 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10859 PyObject
* obj0
= 0 ;
10860 PyObject
* obj1
= 0 ;
10861 PyObject
* obj2
= 0 ;
10862 char * kwnames
[] = {
10863 (char *) "self",(char *) "major",(char *) "minor", NULL
10866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PlatformInformation_SetToolkitVersion",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10868 if (!SWIG_IsOK(res1
)) {
10869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetToolkitVersion" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10871 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10872 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10873 if (!SWIG_IsOK(ecode2
)) {
10874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetToolkitVersion" "', expected argument " "2"" of type '" "int""'");
10876 arg2
= static_cast< int >(val2
);
10877 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10878 if (!SWIG_IsOK(ecode3
)) {
10879 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PlatformInformation_SetToolkitVersion" "', expected argument " "3"" of type '" "int""'");
10881 arg3
= static_cast< int >(val3
);
10883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10884 (arg1
)->SetToolkitVersion(arg2
,arg3
);
10885 wxPyEndAllowThreads(__tstate
);
10886 if (PyErr_Occurred()) SWIG_fail
;
10888 resultobj
= SWIG_Py_Void();
10895 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetOperatingSystemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10896 PyObject
*resultobj
= 0;
10897 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10898 wxOperatingSystemId arg2
;
10903 PyObject
* obj0
= 0 ;
10904 PyObject
* obj1
= 0 ;
10905 char * kwnames
[] = {
10906 (char *) "self",(char *) "n", NULL
10909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetOperatingSystemId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10911 if (!SWIG_IsOK(res1
)) {
10912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetOperatingSystemId" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10914 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10915 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10916 if (!SWIG_IsOK(ecode2
)) {
10917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetOperatingSystemId" "', expected argument " "2"" of type '" "wxOperatingSystemId""'");
10919 arg2
= static_cast< wxOperatingSystemId
>(val2
);
10921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10922 (arg1
)->SetOperatingSystemId(arg2
);
10923 wxPyEndAllowThreads(__tstate
);
10924 if (PyErr_Occurred()) SWIG_fail
;
10926 resultobj
= SWIG_Py_Void();
10933 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetPortId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10934 PyObject
*resultobj
= 0;
10935 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10941 PyObject
* obj0
= 0 ;
10942 PyObject
* obj1
= 0 ;
10943 char * kwnames
[] = {
10944 (char *) "self",(char *) "n", NULL
10947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetPortId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10949 if (!SWIG_IsOK(res1
)) {
10950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetPortId" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10952 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10953 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10954 if (!SWIG_IsOK(ecode2
)) {
10955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetPortId" "', expected argument " "2"" of type '" "wxPortId""'");
10957 arg2
= static_cast< wxPortId
>(val2
);
10959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10960 (arg1
)->SetPortId(arg2
);
10961 wxPyEndAllowThreads(__tstate
);
10962 if (PyErr_Occurred()) SWIG_fail
;
10964 resultobj
= SWIG_Py_Void();
10971 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetArchitecture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10972 PyObject
*resultobj
= 0;
10973 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10974 wxArchitecture arg2
;
10979 PyObject
* obj0
= 0 ;
10980 PyObject
* obj1
= 0 ;
10981 char * kwnames
[] = {
10982 (char *) "self",(char *) "n", NULL
10985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetArchitecture",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10987 if (!SWIG_IsOK(res1
)) {
10988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetArchitecture" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10990 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10991 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10992 if (!SWIG_IsOK(ecode2
)) {
10993 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetArchitecture" "', expected argument " "2"" of type '" "wxArchitecture""'");
10995 arg2
= static_cast< wxArchitecture
>(val2
);
10997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10998 (arg1
)->SetArchitecture(arg2
);
10999 wxPyEndAllowThreads(__tstate
);
11000 if (PyErr_Occurred()) SWIG_fail
;
11002 resultobj
= SWIG_Py_Void();
11009 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetEndianness(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11010 PyObject
*resultobj
= 0;
11011 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
11012 wxEndianness arg2
;
11017 PyObject
* obj0
= 0 ;
11018 PyObject
* obj1
= 0 ;
11019 char * kwnames
[] = {
11020 (char *) "self",(char *) "n", NULL
11023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetEndianness",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
11025 if (!SWIG_IsOK(res1
)) {
11026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetEndianness" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
11028 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
11029 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11030 if (!SWIG_IsOK(ecode2
)) {
11031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetEndianness" "', expected argument " "2"" of type '" "wxEndianness""'");
11033 arg2
= static_cast< wxEndianness
>(val2
);
11035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11036 (arg1
)->SetEndianness(arg2
);
11037 wxPyEndAllowThreads(__tstate
);
11038 if (PyErr_Occurred()) SWIG_fail
;
11040 resultobj
= SWIG_Py_Void();
11047 SWIGINTERN PyObject
*_wrap_PlatformInformation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11048 PyObject
*resultobj
= 0;
11049 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
11053 PyObject
*swig_obj
[1] ;
11055 if (!args
) SWIG_fail
;
11056 swig_obj
[0] = args
;
11057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
11058 if (!SWIG_IsOK(res1
)) {
11059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_IsOk" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
11061 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
11063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11064 result
= (bool)((wxPlatformInfo
const *)arg1
)->IsOk();
11065 wxPyEndAllowThreads(__tstate
);
11066 if (PyErr_Occurred()) SWIG_fail
;
11069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11077 SWIGINTERN PyObject
*PlatformInformation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11079 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11080 SWIG_TypeNewClientData(SWIGTYPE_p_wxPlatformInfo
, SWIG_NewClientData(obj
));
11081 return SWIG_Py_Void();
11084 SWIGINTERN PyObject
*PlatformInformation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11085 return SWIG_Python_InitShadowInstance(args
);
11088 SWIGINTERN PyObject
*_wrap_DrawWindowOnDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11089 PyObject
*resultobj
= 0;
11090 wxWindow
*arg1
= (wxWindow
*) 0 ;
11097 PyObject
* obj0
= 0 ;
11098 PyObject
* obj1
= 0 ;
11099 char * kwnames
[] = {
11100 (char *) "window",(char *) "dc", NULL
11103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11105 if (!SWIG_IsOK(res1
)) {
11106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DrawWindowOnDC" "', expected argument " "1"" of type '" "wxWindow *""'");
11108 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11109 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 | 0);
11110 if (!SWIG_IsOK(res2
)) {
11111 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
11114 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
11116 arg2
= reinterpret_cast< wxDC
* >(argp2
);
11118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11119 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
11120 wxPyEndAllowThreads(__tstate
);
11121 if (PyErr_Occurred()) SWIG_fail
;
11124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11132 SWIGINTERN PyObject
*_wrap_delete_TipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11133 PyObject
*resultobj
= 0;
11134 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11137 PyObject
*swig_obj
[1] ;
11139 if (!args
) SWIG_fail
;
11140 swig_obj
[0] = args
;
11141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_DISOWN
| 0 );
11142 if (!SWIG_IsOK(res1
)) {
11143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TipProvider" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11145 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11150 wxPyEndAllowThreads(__tstate
);
11151 if (PyErr_Occurred()) SWIG_fail
;
11153 resultobj
= SWIG_Py_Void();
11160 SWIGINTERN PyObject
*_wrap_TipProvider_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11161 PyObject
*resultobj
= 0;
11162 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11166 PyObject
*swig_obj
[1] ;
11168 if (!args
) SWIG_fail
;
11169 swig_obj
[0] = args
;
11170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11171 if (!SWIG_IsOK(res1
)) {
11172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11174 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11177 result
= (arg1
)->GetTip();
11178 wxPyEndAllowThreads(__tstate
);
11179 if (PyErr_Occurred()) SWIG_fail
;
11183 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11185 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11194 SWIGINTERN PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11195 PyObject
*resultobj
= 0;
11196 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11200 PyObject
*swig_obj
[1] ;
11202 if (!args
) SWIG_fail
;
11203 swig_obj
[0] = args
;
11204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11205 if (!SWIG_IsOK(res1
)) {
11206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetCurrentTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11208 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11211 result
= (size_t)(arg1
)->GetCurrentTip();
11212 wxPyEndAllowThreads(__tstate
);
11213 if (PyErr_Occurred()) SWIG_fail
;
11215 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
11222 SWIGINTERN PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11223 PyObject
*resultobj
= 0;
11224 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11225 wxString
*arg2
= 0 ;
11229 bool temp2
= false ;
11230 PyObject
* obj0
= 0 ;
11231 PyObject
* obj1
= 0 ;
11232 char * kwnames
[] = {
11233 (char *) "self",(char *) "tip", NULL
11236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11238 if (!SWIG_IsOK(res1
)) {
11239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_PreprocessTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11241 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11243 arg2
= wxString_in_helper(obj1
);
11244 if (arg2
== NULL
) SWIG_fail
;
11248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11249 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
11250 wxPyEndAllowThreads(__tstate
);
11251 if (PyErr_Occurred()) SWIG_fail
;
11255 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11257 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11274 SWIGINTERN PyObject
*TipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11276 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11277 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipProvider
, SWIG_NewClientData(obj
));
11278 return SWIG_Py_Void();
11281 SWIGINTERN PyObject
*_wrap_new_PyTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11282 PyObject
*resultobj
= 0;
11284 wxPyTipProvider
*result
= 0 ;
11287 PyObject
* obj0
= 0 ;
11288 char * kwnames
[] = {
11289 (char *) "currentTip", NULL
11292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) SWIG_fail
;
11293 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
11294 if (!SWIG_IsOK(ecode1
)) {
11295 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyTipProvider" "', expected argument " "1"" of type '" "size_t""'");
11297 arg1
= static_cast< size_t >(val1
);
11299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11300 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
11301 wxPyEndAllowThreads(__tstate
);
11302 if (PyErr_Occurred()) SWIG_fail
;
11304 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_NEW
| 0 );
11311 SWIGINTERN PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11312 PyObject
*resultobj
= 0;
11313 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
11314 PyObject
*arg2
= (PyObject
*) 0 ;
11315 PyObject
*arg3
= (PyObject
*) 0 ;
11318 PyObject
* obj0
= 0 ;
11319 PyObject
* obj1
= 0 ;
11320 PyObject
* obj2
= 0 ;
11321 char * kwnames
[] = {
11322 (char *) "self",(char *) "self",(char *) "_class", NULL
11325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTipProvider
, 0 | 0 );
11327 if (!SWIG_IsOK(res1
)) {
11328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTipProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTipProvider *""'");
11330 arg1
= reinterpret_cast< wxPyTipProvider
* >(argp1
);
11334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11335 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11336 wxPyEndAllowThreads(__tstate
);
11337 if (PyErr_Occurred()) SWIG_fail
;
11339 resultobj
= SWIG_Py_Void();
11346 SWIGINTERN PyObject
*PyTipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11348 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11349 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTipProvider
, SWIG_NewClientData(obj
));
11350 return SWIG_Py_Void();
11353 SWIGINTERN PyObject
*PyTipProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11354 return SWIG_Python_InitShadowInstance(args
);
11357 SWIGINTERN PyObject
*_wrap_ShowTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11358 PyObject
*resultobj
= 0;
11359 wxWindow
*arg1
= (wxWindow
*) 0 ;
11360 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
11361 bool arg3
= (bool) true ;
11369 PyObject
* obj0
= 0 ;
11370 PyObject
* obj1
= 0 ;
11371 PyObject
* obj2
= 0 ;
11372 char * kwnames
[] = {
11373 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
11376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11378 if (!SWIG_IsOK(res1
)) {
11379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ShowTip" "', expected argument " "1"" of type '" "wxWindow *""'");
11381 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11382 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11383 if (!SWIG_IsOK(res2
)) {
11384 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ShowTip" "', expected argument " "2"" of type '" "wxTipProvider *""'");
11386 arg2
= reinterpret_cast< wxTipProvider
* >(argp2
);
11388 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11389 if (!SWIG_IsOK(ecode3
)) {
11390 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ShowTip" "', expected argument " "3"" of type '" "bool""'");
11392 arg3
= static_cast< bool >(val3
);
11395 if (!wxPyCheckForApp()) SWIG_fail
;
11396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11397 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
11398 wxPyEndAllowThreads(__tstate
);
11399 if (PyErr_Occurred()) SWIG_fail
;
11402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11410 SWIGINTERN PyObject
*_wrap_CreateFileTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11411 PyObject
*resultobj
= 0;
11412 wxString
*arg1
= 0 ;
11414 wxTipProvider
*result
= 0 ;
11415 bool temp1
= false ;
11418 PyObject
* obj0
= 0 ;
11419 PyObject
* obj1
= 0 ;
11420 char * kwnames
[] = {
11421 (char *) "filename",(char *) "currentTip", NULL
11424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11426 arg1
= wxString_in_helper(obj0
);
11427 if (arg1
== NULL
) SWIG_fail
;
11430 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
11431 if (!SWIG_IsOK(ecode2
)) {
11432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CreateFileTipProvider" "', expected argument " "2"" of type '" "size_t""'");
11434 arg2
= static_cast< size_t >(val2
);
11436 if (!wxPyCheckForApp()) SWIG_fail
;
11437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11438 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
11439 wxPyEndAllowThreads(__tstate
);
11440 if (PyErr_Occurred()) SWIG_fail
;
11442 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_OWN
| 0 );
11457 SWIGINTERN PyObject
*_wrap_new_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11458 PyObject
*resultobj
= 0;
11459 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
11460 int arg2
= (int) wxID_ANY
;
11461 wxPyTimer
*result
= 0 ;
11466 PyObject
* obj0
= 0 ;
11467 PyObject
* obj1
= 0 ;
11468 char * kwnames
[] = {
11469 (char *) "owner",(char *) "id", NULL
11472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
11475 if (!SWIG_IsOK(res1
)) {
11476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Timer" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
11478 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
11481 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11482 if (!SWIG_IsOK(ecode2
)) {
11483 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Timer" "', expected argument " "2"" of type '" "int""'");
11485 arg2
= static_cast< int >(val2
);
11488 if (!wxPyCheckForApp()) SWIG_fail
;
11489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11490 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
11491 wxPyEndAllowThreads(__tstate
);
11492 if (PyErr_Occurred()) SWIG_fail
;
11494 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_NEW
| 0 );
11501 SWIGINTERN PyObject
*_wrap_delete_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11502 PyObject
*resultobj
= 0;
11503 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11506 PyObject
*swig_obj
[1] ;
11508 if (!args
) SWIG_fail
;
11509 swig_obj
[0] = args
;
11510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_DISOWN
| 0 );
11511 if (!SWIG_IsOK(res1
)) {
11512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Timer" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11514 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11519 wxPyEndAllowThreads(__tstate
);
11520 if (PyErr_Occurred()) SWIG_fail
;
11522 resultobj
= SWIG_Py_Void();
11529 SWIGINTERN PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11530 PyObject
*resultobj
= 0;
11531 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11532 PyObject
*arg2
= (PyObject
*) 0 ;
11533 PyObject
*arg3
= (PyObject
*) 0 ;
11534 int arg4
= (int) 1 ;
11539 PyObject
* obj0
= 0 ;
11540 PyObject
* obj1
= 0 ;
11541 PyObject
* obj2
= 0 ;
11542 PyObject
* obj3
= 0 ;
11543 char * kwnames
[] = {
11544 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
11547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11549 if (!SWIG_IsOK(res1
)) {
11550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11552 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11556 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11557 if (!SWIG_IsOK(ecode4
)) {
11558 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Timer__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
11560 arg4
= static_cast< int >(val4
);
11563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11564 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
11565 wxPyEndAllowThreads(__tstate
);
11566 if (PyErr_Occurred()) SWIG_fail
;
11568 resultobj
= SWIG_Py_Void();
11575 SWIGINTERN PyObject
*_wrap_Timer_SetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11576 PyObject
*resultobj
= 0;
11577 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11578 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11579 int arg3
= (int) wxID_ANY
;
11586 PyObject
* obj0
= 0 ;
11587 PyObject
* obj1
= 0 ;
11588 PyObject
* obj2
= 0 ;
11589 char * kwnames
[] = {
11590 (char *) "self",(char *) "owner",(char *) "id", NULL
11593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11595 if (!SWIG_IsOK(res1
)) {
11596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_SetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11598 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11599 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
11600 if (!SWIG_IsOK(res2
)) {
11601 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Timer_SetOwner" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
11603 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
11605 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11606 if (!SWIG_IsOK(ecode3
)) {
11607 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_SetOwner" "', expected argument " "3"" of type '" "int""'");
11609 arg3
= static_cast< int >(val3
);
11612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11613 (arg1
)->SetOwner(arg2
,arg3
);
11614 wxPyEndAllowThreads(__tstate
);
11615 if (PyErr_Occurred()) SWIG_fail
;
11617 resultobj
= SWIG_Py_Void();
11624 SWIGINTERN PyObject
*_wrap_Timer_GetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11625 PyObject
*resultobj
= 0;
11626 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11627 wxEvtHandler
*result
= 0 ;
11630 PyObject
*swig_obj
[1] ;
11632 if (!args
) SWIG_fail
;
11633 swig_obj
[0] = args
;
11634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11635 if (!SWIG_IsOK(res1
)) {
11636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11638 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11641 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
11642 wxPyEndAllowThreads(__tstate
);
11643 if (PyErr_Occurred()) SWIG_fail
;
11646 resultobj
= wxPyMake_wxObject(result
, 0);
11654 SWIGINTERN PyObject
*_wrap_Timer_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11655 PyObject
*resultobj
= 0;
11656 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11657 int arg2
= (int) -1 ;
11658 bool arg3
= (bool) false ;
11666 PyObject
* obj0
= 0 ;
11667 PyObject
* obj1
= 0 ;
11668 PyObject
* obj2
= 0 ;
11669 char * kwnames
[] = {
11670 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
11673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11675 if (!SWIG_IsOK(res1
)) {
11676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Start" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11678 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11680 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11681 if (!SWIG_IsOK(ecode2
)) {
11682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Timer_Start" "', expected argument " "2"" of type '" "int""'");
11684 arg2
= static_cast< int >(val2
);
11687 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11688 if (!SWIG_IsOK(ecode3
)) {
11689 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_Start" "', expected argument " "3"" of type '" "bool""'");
11691 arg3
= static_cast< bool >(val3
);
11694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11695 result
= (bool)(arg1
)->Start(arg2
,arg3
);
11696 wxPyEndAllowThreads(__tstate
);
11697 if (PyErr_Occurred()) SWIG_fail
;
11700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11708 SWIGINTERN PyObject
*_wrap_Timer_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11709 PyObject
*resultobj
= 0;
11710 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11713 PyObject
*swig_obj
[1] ;
11715 if (!args
) SWIG_fail
;
11716 swig_obj
[0] = args
;
11717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11718 if (!SWIG_IsOK(res1
)) {
11719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Stop" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11721 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11725 wxPyEndAllowThreads(__tstate
);
11726 if (PyErr_Occurred()) SWIG_fail
;
11728 resultobj
= SWIG_Py_Void();
11735 SWIGINTERN PyObject
*_wrap_Timer_Notify(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11736 PyObject
*resultobj
= 0;
11737 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11740 PyObject
*swig_obj
[1] ;
11742 if (!args
) SWIG_fail
;
11743 swig_obj
[0] = args
;
11744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11745 if (!SWIG_IsOK(res1
)) {
11746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Notify" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11748 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11752 wxPyEndAllowThreads(__tstate
);
11753 if (PyErr_Occurred()) SWIG_fail
;
11755 resultobj
= SWIG_Py_Void();
11762 SWIGINTERN PyObject
*_wrap_Timer_IsRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11763 PyObject
*resultobj
= 0;
11764 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11768 PyObject
*swig_obj
[1] ;
11770 if (!args
) SWIG_fail
;
11771 swig_obj
[0] = args
;
11772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11773 if (!SWIG_IsOK(res1
)) {
11774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsRunning" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11776 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11779 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
11780 wxPyEndAllowThreads(__tstate
);
11781 if (PyErr_Occurred()) SWIG_fail
;
11784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11792 SWIGINTERN PyObject
*_wrap_Timer_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11793 PyObject
*resultobj
= 0;
11794 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11798 PyObject
*swig_obj
[1] ;
11800 if (!args
) SWIG_fail
;
11801 swig_obj
[0] = args
;
11802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11803 if (!SWIG_IsOK(res1
)) {
11804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetInterval" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11806 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11809 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
11810 wxPyEndAllowThreads(__tstate
);
11811 if (PyErr_Occurred()) SWIG_fail
;
11813 resultobj
= SWIG_From_int(static_cast< int >(result
));
11820 SWIGINTERN PyObject
*_wrap_Timer_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11821 PyObject
*resultobj
= 0;
11822 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11826 PyObject
*swig_obj
[1] ;
11828 if (!args
) SWIG_fail
;
11829 swig_obj
[0] = args
;
11830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11831 if (!SWIG_IsOK(res1
)) {
11832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetId" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11834 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11837 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
11838 wxPyEndAllowThreads(__tstate
);
11839 if (PyErr_Occurred()) SWIG_fail
;
11841 resultobj
= SWIG_From_int(static_cast< int >(result
));
11848 SWIGINTERN PyObject
*_wrap_Timer_IsOneShot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11849 PyObject
*resultobj
= 0;
11850 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11854 PyObject
*swig_obj
[1] ;
11856 if (!args
) SWIG_fail
;
11857 swig_obj
[0] = args
;
11858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11859 if (!SWIG_IsOK(res1
)) {
11860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsOneShot" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11862 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11865 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
11866 wxPyEndAllowThreads(__tstate
);
11867 if (PyErr_Occurred()) SWIG_fail
;
11870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11878 SWIGINTERN PyObject
*Timer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11880 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11881 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTimer
, SWIG_NewClientData(obj
));
11882 return SWIG_Py_Void();
11885 SWIGINTERN PyObject
*Timer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11886 return SWIG_Python_InitShadowInstance(args
);
11889 SWIGINTERN PyObject
*_wrap_new_TimerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11890 PyObject
*resultobj
= 0;
11891 int arg1
= (int) 0 ;
11892 int arg2
= (int) 0 ;
11893 wxTimerEvent
*result
= 0 ;
11898 PyObject
* obj0
= 0 ;
11899 PyObject
* obj1
= 0 ;
11900 char * kwnames
[] = {
11901 (char *) "timerid",(char *) "interval", NULL
11904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11906 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11907 if (!SWIG_IsOK(ecode1
)) {
11908 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimerEvent" "', expected argument " "1"" of type '" "int""'");
11910 arg1
= static_cast< int >(val1
);
11913 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11914 if (!SWIG_IsOK(ecode2
)) {
11915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerEvent" "', expected argument " "2"" of type '" "int""'");
11917 arg2
= static_cast< int >(val2
);
11920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11921 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
11922 wxPyEndAllowThreads(__tstate
);
11923 if (PyErr_Occurred()) SWIG_fail
;
11925 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_NEW
| 0 );
11932 SWIGINTERN PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11933 PyObject
*resultobj
= 0;
11934 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
11938 PyObject
*swig_obj
[1] ;
11940 if (!args
) SWIG_fail
;
11941 swig_obj
[0] = args
;
11942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerEvent
, 0 | 0 );
11943 if (!SWIG_IsOK(res1
)) {
11944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerEvent_GetInterval" "', expected argument " "1"" of type '" "wxTimerEvent const *""'");
11946 arg1
= reinterpret_cast< wxTimerEvent
* >(argp1
);
11948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11949 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
11950 wxPyEndAllowThreads(__tstate
);
11951 if (PyErr_Occurred()) SWIG_fail
;
11953 resultobj
= SWIG_From_int(static_cast< int >(result
));
11960 SWIGINTERN PyObject
*TimerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11962 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11963 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerEvent
, SWIG_NewClientData(obj
));
11964 return SWIG_Py_Void();
11967 SWIGINTERN PyObject
*TimerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11968 return SWIG_Python_InitShadowInstance(args
);
11971 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
11972 PyObject
*resultobj
= 0;
11973 wxTimer
*arg1
= 0 ;
11974 wxTimerRunner
*result
= 0 ;
11978 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
11979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
11980 if (!SWIG_IsOK(res1
)) {
11981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
11984 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
11986 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
11988 if (!wxPyCheckForApp()) SWIG_fail
;
11989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11990 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
11991 wxPyEndAllowThreads(__tstate
);
11992 if (PyErr_Occurred()) SWIG_fail
;
11994 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
12001 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
12002 PyObject
*resultobj
= 0;
12003 wxTimer
*arg1
= 0 ;
12005 bool arg3
= (bool) false ;
12006 wxTimerRunner
*result
= 0 ;
12014 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
12015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
12016 if (!SWIG_IsOK(res1
)) {
12017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
12020 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
12022 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
12023 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12024 if (!SWIG_IsOK(ecode2
)) {
12025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerRunner" "', expected argument " "2"" of type '" "int""'");
12027 arg2
= static_cast< int >(val2
);
12029 ecode3
= SWIG_AsVal_bool(swig_obj
[2], &val3
);
12030 if (!SWIG_IsOK(ecode3
)) {
12031 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimerRunner" "', expected argument " "3"" of type '" "bool""'");
12033 arg3
= static_cast< bool >(val3
);
12036 if (!wxPyCheckForApp()) SWIG_fail
;
12037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12038 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
12039 wxPyEndAllowThreads(__tstate
);
12040 if (PyErr_Occurred()) SWIG_fail
;
12042 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
12049 SWIGINTERN PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
12053 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TimerRunner",0,3,argv
))) SWIG_fail
;
12056 return _wrap_new_TimerRunner__SWIG_0(self
, argc
, argv
);
12058 if ((argc
>= 2) && (argc
<= 3)) {
12059 return _wrap_new_TimerRunner__SWIG_1(self
, argc
, argv
);
12063 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
12068 SWIGINTERN PyObject
*_wrap_delete_TimerRunner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12069 PyObject
*resultobj
= 0;
12070 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
12073 PyObject
*swig_obj
[1] ;
12075 if (!args
) SWIG_fail
;
12076 swig_obj
[0] = args
;
12077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_DISOWN
| 0 );
12078 if (!SWIG_IsOK(res1
)) {
12079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimerRunner" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
12081 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
12083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12086 wxPyEndAllowThreads(__tstate
);
12087 if (PyErr_Occurred()) SWIG_fail
;
12089 resultobj
= SWIG_Py_Void();
12096 SWIGINTERN PyObject
*_wrap_TimerRunner_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12097 PyObject
*resultobj
= 0;
12098 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
12100 bool arg3
= (bool) false ;
12107 PyObject
* obj0
= 0 ;
12108 PyObject
* obj1
= 0 ;
12109 PyObject
* obj2
= 0 ;
12110 char * kwnames
[] = {
12111 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
12114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimerRunner
, 0 | 0 );
12116 if (!SWIG_IsOK(res1
)) {
12117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerRunner_Start" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
12119 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
12120 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12121 if (!SWIG_IsOK(ecode2
)) {
12122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimerRunner_Start" "', expected argument " "2"" of type '" "int""'");
12124 arg2
= static_cast< int >(val2
);
12126 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
12127 if (!SWIG_IsOK(ecode3
)) {
12128 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TimerRunner_Start" "', expected argument " "3"" of type '" "bool""'");
12130 arg3
= static_cast< bool >(val3
);
12133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12134 (arg1
)->Start(arg2
,arg3
);
12135 wxPyEndAllowThreads(__tstate
);
12136 if (PyErr_Occurred()) SWIG_fail
;
12138 resultobj
= SWIG_Py_Void();
12145 SWIGINTERN PyObject
*TimerRunner_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12147 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12148 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerRunner
, SWIG_NewClientData(obj
));
12149 return SWIG_Py_Void();
12152 SWIGINTERN PyObject
*TimerRunner_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12153 return SWIG_Python_InitShadowInstance(args
);
12156 SWIGINTERN PyObject
*_wrap_new_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12157 PyObject
*resultobj
= 0;
12158 wxLog
*result
= 0 ;
12160 if (!SWIG_Python_UnpackTuple(args
,"new_Log",0,0,0)) SWIG_fail
;
12162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12163 result
= (wxLog
*)new wxLog();
12164 wxPyEndAllowThreads(__tstate
);
12165 if (PyErr_Occurred()) SWIG_fail
;
12167 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_NEW
| 0 );
12174 SWIGINTERN PyObject
*_wrap_delete_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12175 PyObject
*resultobj
= 0;
12176 wxLog
*arg1
= (wxLog
*) 0 ;
12179 PyObject
*swig_obj
[1] ;
12181 if (!args
) SWIG_fail
;
12182 swig_obj
[0] = args
;
12183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
12184 if (!SWIG_IsOK(res1
)) {
12185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Log" "', expected argument " "1"" of type '" "wxLog *""'");
12187 arg1
= reinterpret_cast< wxLog
* >(argp1
);
12189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12192 wxPyEndAllowThreads(__tstate
);
12193 if (PyErr_Occurred()) SWIG_fail
;
12195 resultobj
= SWIG_Py_Void();
12202 SWIGINTERN PyObject
*_wrap_Log_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12203 PyObject
*resultobj
= 0;
12206 if (!SWIG_Python_UnpackTuple(args
,"Log_IsEnabled",0,0,0)) SWIG_fail
;
12208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12209 result
= (bool)wxLog::IsEnabled();
12210 wxPyEndAllowThreads(__tstate
);
12211 if (PyErr_Occurred()) SWIG_fail
;
12214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12222 SWIGINTERN PyObject
*_wrap_Log_EnableLogging(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12223 PyObject
*resultobj
= 0;
12224 bool arg1
= (bool) true ;
12228 PyObject
* obj0
= 0 ;
12229 char * kwnames
[] = {
12230 (char *) "doIt", NULL
12233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) SWIG_fail
;
12235 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
12236 if (!SWIG_IsOK(ecode1
)) {
12237 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_EnableLogging" "', expected argument " "1"" of type '" "bool""'");
12239 arg1
= static_cast< bool >(val1
);
12242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12243 result
= (bool)wxLog::EnableLogging(arg1
);
12244 wxPyEndAllowThreads(__tstate
);
12245 if (PyErr_Occurred()) SWIG_fail
;
12248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12256 SWIGINTERN PyObject
*_wrap_Log_OnLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12257 PyObject
*resultobj
= 0;
12259 wxChar
*arg2
= (wxChar
*) 0 ;
12261 unsigned long val1
;
12265 unsigned int val3
;
12267 PyObject
* obj0
= 0 ;
12268 PyObject
* obj1
= 0 ;
12269 PyObject
* obj2
= 0 ;
12270 char * kwnames
[] = {
12271 (char *) "level",(char *) "szString",(char *) "t", NULL
12274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12275 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12276 if (!SWIG_IsOK(ecode1
)) {
12277 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_OnLog" "', expected argument " "1"" of type '" "wxLogLevel""'");
12279 arg1
= static_cast< wxLogLevel
>(val1
);
12280 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
12281 if (!SWIG_IsOK(res2
)) {
12282 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Log_OnLog" "', expected argument " "2"" of type '" "wxChar const *""'");
12284 arg2
= reinterpret_cast< wxChar
* >(argp2
);
12285 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
12286 if (!SWIG_IsOK(ecode3
)) {
12287 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Log_OnLog" "', expected argument " "3"" of type '" "time_t""'");
12289 arg3
= static_cast< time_t >(val3
);
12291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12292 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
12293 wxPyEndAllowThreads(__tstate
);
12294 if (PyErr_Occurred()) SWIG_fail
;
12296 resultobj
= SWIG_Py_Void();
12303 SWIGINTERN PyObject
*_wrap_Log_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12304 PyObject
*resultobj
= 0;
12305 wxLog
*arg1
= (wxLog
*) 0 ;
12308 PyObject
*swig_obj
[1] ;
12310 if (!args
) SWIG_fail
;
12311 swig_obj
[0] = args
;
12312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
12313 if (!SWIG_IsOK(res1
)) {
12314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Flush" "', expected argument " "1"" of type '" "wxLog *""'");
12316 arg1
= reinterpret_cast< wxLog
* >(argp1
);
12318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12320 wxPyEndAllowThreads(__tstate
);
12321 if (PyErr_Occurred()) SWIG_fail
;
12323 resultobj
= SWIG_Py_Void();
12330 SWIGINTERN PyObject
*_wrap_Log_FlushActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12331 PyObject
*resultobj
= 0;
12333 if (!SWIG_Python_UnpackTuple(args
,"Log_FlushActive",0,0,0)) SWIG_fail
;
12335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12336 wxLog::FlushActive();
12337 wxPyEndAllowThreads(__tstate
);
12338 if (PyErr_Occurred()) SWIG_fail
;
12340 resultobj
= SWIG_Py_Void();
12347 SWIGINTERN PyObject
*_wrap_Log_GetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12348 PyObject
*resultobj
= 0;
12349 wxLog
*result
= 0 ;
12351 if (!SWIG_Python_UnpackTuple(args
,"Log_GetActiveTarget",0,0,0)) SWIG_fail
;
12353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12354 result
= (wxLog
*)wxLog::GetActiveTarget();
12355 wxPyEndAllowThreads(__tstate
);
12356 if (PyErr_Occurred()) SWIG_fail
;
12358 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
12365 SWIGINTERN PyObject
*_wrap_Log_SetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12366 PyObject
*resultobj
= 0;
12367 wxLog
*arg1
= (wxLog
*) 0 ;
12368 wxLog
*result
= 0 ;
12370 PyObject
* obj0
= 0 ;
12371 char * kwnames
[] = {
12372 (char *) "pLogger", NULL
12375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) SWIG_fail
;
12376 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
12377 if (!SWIG_IsOK(res1
)) {
12378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetActiveTarget" "', expected argument " "1"" of type '" "wxLog *""'");
12381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12382 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
12383 wxPyEndAllowThreads(__tstate
);
12384 if (PyErr_Occurred()) SWIG_fail
;
12386 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_OWN
| 0 );
12393 SWIGINTERN PyObject
*_wrap_Log_Suspend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12394 PyObject
*resultobj
= 0;
12396 if (!SWIG_Python_UnpackTuple(args
,"Log_Suspend",0,0,0)) SWIG_fail
;
12398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12400 wxPyEndAllowThreads(__tstate
);
12401 if (PyErr_Occurred()) SWIG_fail
;
12403 resultobj
= SWIG_Py_Void();
12410 SWIGINTERN PyObject
*_wrap_Log_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12411 PyObject
*resultobj
= 0;
12413 if (!SWIG_Python_UnpackTuple(args
,"Log_Resume",0,0,0)) SWIG_fail
;
12415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12417 wxPyEndAllowThreads(__tstate
);
12418 if (PyErr_Occurred()) SWIG_fail
;
12420 resultobj
= SWIG_Py_Void();
12427 SWIGINTERN PyObject
*_wrap_Log_SetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12428 PyObject
*resultobj
= 0;
12429 bool arg1
= (bool) true ;
12432 PyObject
* obj0
= 0 ;
12433 char * kwnames
[] = {
12434 (char *) "bVerbose", NULL
12437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) SWIG_fail
;
12439 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
12440 if (!SWIG_IsOK(ecode1
)) {
12441 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetVerbose" "', expected argument " "1"" of type '" "bool""'");
12443 arg1
= static_cast< bool >(val1
);
12446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12447 wxLog::SetVerbose(arg1
);
12448 wxPyEndAllowThreads(__tstate
);
12449 if (PyErr_Occurred()) SWIG_fail
;
12451 resultobj
= SWIG_Py_Void();
12458 SWIGINTERN PyObject
*_wrap_Log_SetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12459 PyObject
*resultobj
= 0;
12461 unsigned long val1
;
12463 PyObject
* obj0
= 0 ;
12464 char * kwnames
[] = {
12465 (char *) "logLevel", NULL
12468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) SWIG_fail
;
12469 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12470 if (!SWIG_IsOK(ecode1
)) {
12471 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetLogLevel" "', expected argument " "1"" of type '" "wxLogLevel""'");
12473 arg1
= static_cast< wxLogLevel
>(val1
);
12475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12476 wxLog::SetLogLevel(arg1
);
12477 wxPyEndAllowThreads(__tstate
);
12478 if (PyErr_Occurred()) SWIG_fail
;
12480 resultobj
= SWIG_Py_Void();
12487 SWIGINTERN PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12488 PyObject
*resultobj
= 0;
12490 if (!SWIG_Python_UnpackTuple(args
,"Log_DontCreateOnDemand",0,0,0)) SWIG_fail
;
12492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12493 wxLog::DontCreateOnDemand();
12494 wxPyEndAllowThreads(__tstate
);
12495 if (PyErr_Occurred()) SWIG_fail
;
12497 resultobj
= SWIG_Py_Void();
12504 SWIGINTERN PyObject
*_wrap_Log_SetRepetitionCounting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12505 PyObject
*resultobj
= 0;
12506 bool arg1
= (bool) true ;
12509 PyObject
* obj0
= 0 ;
12510 char * kwnames
[] = {
12511 (char *) "bRepetCounting", NULL
12514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetRepetitionCounting",kwnames
,&obj0
)) SWIG_fail
;
12516 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
12517 if (!SWIG_IsOK(ecode1
)) {
12518 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetRepetitionCounting" "', expected argument " "1"" of type '" "bool""'");
12520 arg1
= static_cast< bool >(val1
);
12523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12524 wxLog::SetRepetitionCounting(arg1
);
12525 wxPyEndAllowThreads(__tstate
);
12526 if (PyErr_Occurred()) SWIG_fail
;
12528 resultobj
= SWIG_Py_Void();
12535 SWIGINTERN PyObject
*_wrap_Log_GetRepetitionCounting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12536 PyObject
*resultobj
= 0;
12539 if (!SWIG_Python_UnpackTuple(args
,"Log_GetRepetitionCounting",0,0,0)) SWIG_fail
;
12541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12542 result
= (bool)wxLog::GetRepetitionCounting();
12543 wxPyEndAllowThreads(__tstate
);
12544 if (PyErr_Occurred()) SWIG_fail
;
12547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12555 SWIGINTERN PyObject
*_wrap_Log_SetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12556 PyObject
*resultobj
= 0;
12558 unsigned long val1
;
12560 PyObject
* obj0
= 0 ;
12561 char * kwnames
[] = {
12562 (char *) "ulMask", NULL
12565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12566 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12567 if (!SWIG_IsOK(ecode1
)) {
12568 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetTraceMask" "', expected argument " "1"" of type '" "wxTraceMask""'");
12570 arg1
= static_cast< wxTraceMask
>(val1
);
12572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12573 wxLog::SetTraceMask(arg1
);
12574 wxPyEndAllowThreads(__tstate
);
12575 if (PyErr_Occurred()) SWIG_fail
;
12577 resultobj
= SWIG_Py_Void();
12584 SWIGINTERN PyObject
*_wrap_Log_AddTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12585 PyObject
*resultobj
= 0;
12586 wxString
*arg1
= 0 ;
12587 bool temp1
= false ;
12588 PyObject
* obj0
= 0 ;
12589 char * kwnames
[] = {
12590 (char *) "str", NULL
12593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12595 arg1
= wxString_in_helper(obj0
);
12596 if (arg1
== NULL
) SWIG_fail
;
12600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12601 wxLog::AddTraceMask((wxString
const &)*arg1
);
12602 wxPyEndAllowThreads(__tstate
);
12603 if (PyErr_Occurred()) SWIG_fail
;
12605 resultobj
= SWIG_Py_Void();
12620 SWIGINTERN PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12621 PyObject
*resultobj
= 0;
12622 wxString
*arg1
= 0 ;
12623 bool temp1
= false ;
12624 PyObject
* obj0
= 0 ;
12625 char * kwnames
[] = {
12626 (char *) "str", NULL
12629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12631 arg1
= wxString_in_helper(obj0
);
12632 if (arg1
== NULL
) SWIG_fail
;
12636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12637 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
12638 wxPyEndAllowThreads(__tstate
);
12639 if (PyErr_Occurred()) SWIG_fail
;
12641 resultobj
= SWIG_Py_Void();
12656 SWIGINTERN PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12657 PyObject
*resultobj
= 0;
12659 if (!SWIG_Python_UnpackTuple(args
,"Log_ClearTraceMasks",0,0,0)) SWIG_fail
;
12661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12662 wxLog::ClearTraceMasks();
12663 wxPyEndAllowThreads(__tstate
);
12664 if (PyErr_Occurred()) SWIG_fail
;
12666 resultobj
= SWIG_Py_Void();
12673 SWIGINTERN PyObject
*_wrap_Log_GetTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12674 PyObject
*resultobj
= 0;
12675 wxArrayString
*result
= 0 ;
12677 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMasks",0,0,0)) SWIG_fail
;
12679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12681 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
12682 result
= (wxArrayString
*) &_result_ref
;
12684 wxPyEndAllowThreads(__tstate
);
12685 if (PyErr_Occurred()) SWIG_fail
;
12688 resultobj
= wxArrayString2PyList_helper(*result
);
12696 SWIGINTERN PyObject
*_wrap_Log_SetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12697 PyObject
*resultobj
= 0;
12698 wxChar
*arg1
= (wxChar
*) 0 ;
12701 PyObject
* obj0
= 0 ;
12702 char * kwnames
[] = {
12703 (char *) "ts", NULL
12706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) SWIG_fail
;
12707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
12708 if (!SWIG_IsOK(res1
)) {
12709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetTimestamp" "', expected argument " "1"" of type '" "wxChar const *""'");
12711 arg1
= reinterpret_cast< wxChar
* >(argp1
);
12713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12714 wxLog::SetTimestamp((wxChar
const *)arg1
);
12715 wxPyEndAllowThreads(__tstate
);
12716 if (PyErr_Occurred()) SWIG_fail
;
12718 resultobj
= SWIG_Py_Void();
12725 SWIGINTERN PyObject
*_wrap_Log_GetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12726 PyObject
*resultobj
= 0;
12729 if (!SWIG_Python_UnpackTuple(args
,"Log_GetVerbose",0,0,0)) SWIG_fail
;
12731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12732 result
= (bool)wxLog::GetVerbose();
12733 wxPyEndAllowThreads(__tstate
);
12734 if (PyErr_Occurred()) SWIG_fail
;
12737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12745 SWIGINTERN PyObject
*_wrap_Log_GetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12746 PyObject
*resultobj
= 0;
12747 wxTraceMask result
;
12749 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMask",0,0,0)) SWIG_fail
;
12751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12752 result
= (wxTraceMask
)wxLog::GetTraceMask();
12753 wxPyEndAllowThreads(__tstate
);
12754 if (PyErr_Occurred()) SWIG_fail
;
12756 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12763 SWIGINTERN PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12764 PyObject
*resultobj
= 0;
12765 wxChar
*arg1
= (wxChar
*) 0 ;
12769 PyObject
* obj0
= 0 ;
12770 char * kwnames
[] = {
12771 (char *) "mask", NULL
12774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
12776 if (!SWIG_IsOK(res1
)) {
12777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_IsAllowedTraceMask" "', expected argument " "1"" of type '" "wxChar const *""'");
12779 arg1
= reinterpret_cast< wxChar
* >(argp1
);
12781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12782 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
12783 wxPyEndAllowThreads(__tstate
);
12784 if (PyErr_Occurred()) SWIG_fail
;
12787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12795 SWIGINTERN PyObject
*_wrap_Log_GetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12796 PyObject
*resultobj
= 0;
12799 if (!SWIG_Python_UnpackTuple(args
,"Log_GetLogLevel",0,0,0)) SWIG_fail
;
12801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12802 result
= (wxLogLevel
)wxLog::GetLogLevel();
12803 wxPyEndAllowThreads(__tstate
);
12804 if (PyErr_Occurred()) SWIG_fail
;
12806 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12813 SWIGINTERN PyObject
*_wrap_Log_GetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12814 PyObject
*resultobj
= 0;
12815 wxChar
*result
= 0 ;
12817 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTimestamp",0,0,0)) SWIG_fail
;
12819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12820 result
= (wxChar
*)wxLog::GetTimestamp();
12821 wxPyEndAllowThreads(__tstate
);
12822 if (PyErr_Occurred()) SWIG_fail
;
12824 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
12831 SWIGINTERN PyObject
*_wrap_Log_TimeStamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12832 PyObject
*resultobj
= 0;
12835 if (!SWIG_Python_UnpackTuple(args
,"Log_TimeStamp",0,0,0)) SWIG_fail
;
12837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12838 result
= wxLog_TimeStamp();
12839 wxPyEndAllowThreads(__tstate
);
12840 if (PyErr_Occurred()) SWIG_fail
;
12844 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12846 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12855 SWIGINTERN PyObject
*_wrap_Log_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12856 PyObject
*resultobj
= 0;
12857 wxLog
*arg1
= (wxLog
*) 0 ;
12860 PyObject
*swig_obj
[1] ;
12862 if (!args
) SWIG_fail
;
12863 swig_obj
[0] = args
;
12864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
12865 if (!SWIG_IsOK(res1
)) {
12866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Destroy" "', expected argument " "1"" of type '" "wxLog *""'");
12868 arg1
= reinterpret_cast< wxLog
* >(argp1
);
12870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12871 wxLog_Destroy(arg1
);
12872 wxPyEndAllowThreads(__tstate
);
12873 if (PyErr_Occurred()) SWIG_fail
;
12875 resultobj
= SWIG_Py_Void();
12882 SWIGINTERN PyObject
*Log_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12884 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12885 SWIG_TypeNewClientData(SWIGTYPE_p_wxLog
, SWIG_NewClientData(obj
));
12886 return SWIG_Py_Void();
12889 SWIGINTERN PyObject
*Log_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12890 return SWIG_Python_InitShadowInstance(args
);
12893 SWIGINTERN PyObject
*_wrap_new_LogStderr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12894 PyObject
*resultobj
= 0;
12895 wxLogStderr
*result
= 0 ;
12897 if (!SWIG_Python_UnpackTuple(args
,"new_LogStderr",0,0,0)) SWIG_fail
;
12899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12900 result
= (wxLogStderr
*)new wxLogStderr();
12901 wxPyEndAllowThreads(__tstate
);
12902 if (PyErr_Occurred()) SWIG_fail
;
12904 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogStderr
, SWIG_POINTER_NEW
| 0 );
12911 SWIGINTERN PyObject
*LogStderr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12913 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12914 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogStderr
, SWIG_NewClientData(obj
));
12915 return SWIG_Py_Void();
12918 SWIGINTERN PyObject
*LogStderr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12919 return SWIG_Python_InitShadowInstance(args
);
12922 SWIGINTERN PyObject
*_wrap_new_LogTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12923 PyObject
*resultobj
= 0;
12924 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12925 wxLogTextCtrl
*result
= 0 ;
12928 PyObject
* obj0
= 0 ;
12929 char * kwnames
[] = {
12930 (char *) "pTextCtrl", NULL
12933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) SWIG_fail
;
12934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12935 if (!SWIG_IsOK(res1
)) {
12936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogTextCtrl" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12938 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12941 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
12942 wxPyEndAllowThreads(__tstate
);
12943 if (PyErr_Occurred()) SWIG_fail
;
12945 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogTextCtrl
, SWIG_POINTER_NEW
| 0 );
12952 SWIGINTERN PyObject
*LogTextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12954 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12955 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogTextCtrl
, SWIG_NewClientData(obj
));
12956 return SWIG_Py_Void();
12959 SWIGINTERN PyObject
*LogTextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12960 return SWIG_Python_InitShadowInstance(args
);
12963 SWIGINTERN PyObject
*_wrap_new_LogGui(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12964 PyObject
*resultobj
= 0;
12965 wxLogGui
*result
= 0 ;
12967 if (!SWIG_Python_UnpackTuple(args
,"new_LogGui",0,0,0)) SWIG_fail
;
12969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12970 result
= (wxLogGui
*)new wxLogGui();
12971 wxPyEndAllowThreads(__tstate
);
12972 if (PyErr_Occurred()) SWIG_fail
;
12974 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogGui
, SWIG_POINTER_NEW
| 0 );
12981 SWIGINTERN PyObject
*LogGui_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12983 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12984 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogGui
, SWIG_NewClientData(obj
));
12985 return SWIG_Py_Void();
12988 SWIGINTERN PyObject
*LogGui_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12989 return SWIG_Python_InitShadowInstance(args
);
12992 SWIGINTERN PyObject
*_wrap_new_LogWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12993 PyObject
*resultobj
= 0;
12994 wxFrame
*arg1
= (wxFrame
*) 0 ;
12995 wxString
*arg2
= 0 ;
12996 bool arg3
= (bool) true ;
12997 bool arg4
= (bool) true ;
12998 wxLogWindow
*result
= 0 ;
13001 bool temp2
= false ;
13006 PyObject
* obj0
= 0 ;
13007 PyObject
* obj1
= 0 ;
13008 PyObject
* obj2
= 0 ;
13009 PyObject
* obj3
= 0 ;
13010 char * kwnames
[] = {
13011 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
13014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13016 if (!SWIG_IsOK(res1
)) {
13017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogWindow" "', expected argument " "1"" of type '" "wxFrame *""'");
13019 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
13021 arg2
= wxString_in_helper(obj1
);
13022 if (arg2
== NULL
) SWIG_fail
;
13026 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13027 if (!SWIG_IsOK(ecode3
)) {
13028 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_LogWindow" "', expected argument " "3"" of type '" "bool""'");
13030 arg3
= static_cast< bool >(val3
);
13033 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13034 if (!SWIG_IsOK(ecode4
)) {
13035 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_LogWindow" "', expected argument " "4"" of type '" "bool""'");
13037 arg4
= static_cast< bool >(val4
);
13040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13041 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13042 wxPyEndAllowThreads(__tstate
);
13043 if (PyErr_Occurred()) SWIG_fail
;
13045 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_NEW
| 0 );
13060 SWIGINTERN PyObject
*_wrap_LogWindow_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13061 PyObject
*resultobj
= 0;
13062 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13063 bool arg2
= (bool) true ;
13068 PyObject
* obj0
= 0 ;
13069 PyObject
* obj1
= 0 ;
13070 char * kwnames
[] = {
13071 (char *) "self",(char *) "bShow", NULL
13074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13076 if (!SWIG_IsOK(res1
)) {
13077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_Show" "', expected argument " "1"" of type '" "wxLogWindow *""'");
13079 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13081 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13082 if (!SWIG_IsOK(ecode2
)) {
13083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_Show" "', expected argument " "2"" of type '" "bool""'");
13085 arg2
= static_cast< bool >(val2
);
13088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13089 (arg1
)->Show(arg2
);
13090 wxPyEndAllowThreads(__tstate
);
13091 if (PyErr_Occurred()) SWIG_fail
;
13093 resultobj
= SWIG_Py_Void();
13100 SWIGINTERN PyObject
*_wrap_LogWindow_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13101 PyObject
*resultobj
= 0;
13102 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13103 wxFrame
*result
= 0 ;
13106 PyObject
*swig_obj
[1] ;
13108 if (!args
) SWIG_fail
;
13109 swig_obj
[0] = args
;
13110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13111 if (!SWIG_IsOK(res1
)) {
13112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetFrame" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
13114 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13117 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
13118 wxPyEndAllowThreads(__tstate
);
13119 if (PyErr_Occurred()) SWIG_fail
;
13122 resultobj
= wxPyMake_wxObject(result
, (bool)0);
13130 SWIGINTERN PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13131 PyObject
*resultobj
= 0;
13132 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13133 wxLog
*result
= 0 ;
13136 PyObject
*swig_obj
[1] ;
13138 if (!args
) SWIG_fail
;
13139 swig_obj
[0] = args
;
13140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13141 if (!SWIG_IsOK(res1
)) {
13142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetOldLog" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
13144 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13147 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
13148 wxPyEndAllowThreads(__tstate
);
13149 if (PyErr_Occurred()) SWIG_fail
;
13151 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
13158 SWIGINTERN PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13159 PyObject
*resultobj
= 0;
13160 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13164 PyObject
*swig_obj
[1] ;
13166 if (!args
) SWIG_fail
;
13167 swig_obj
[0] = args
;
13168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13169 if (!SWIG_IsOK(res1
)) {
13170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
13172 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13175 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
13176 wxPyEndAllowThreads(__tstate
);
13177 if (PyErr_Occurred()) SWIG_fail
;
13180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13188 SWIGINTERN PyObject
*_wrap_LogWindow_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13189 PyObject
*resultobj
= 0;
13190 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13196 PyObject
* obj0
= 0 ;
13197 PyObject
* obj1
= 0 ;
13198 char * kwnames
[] = {
13199 (char *) "self",(char *) "bDoPass", NULL
13202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13204 if (!SWIG_IsOK(res1
)) {
13205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_PassMessages" "', expected argument " "1"" of type '" "wxLogWindow *""'");
13207 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13208 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13209 if (!SWIG_IsOK(ecode2
)) {
13210 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_PassMessages" "', expected argument " "2"" of type '" "bool""'");
13212 arg2
= static_cast< bool >(val2
);
13214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13215 (arg1
)->PassMessages(arg2
);
13216 wxPyEndAllowThreads(__tstate
);
13217 if (PyErr_Occurred()) SWIG_fail
;
13219 resultobj
= SWIG_Py_Void();
13226 SWIGINTERN PyObject
*LogWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13228 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13229 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogWindow
, SWIG_NewClientData(obj
));
13230 return SWIG_Py_Void();
13233 SWIGINTERN PyObject
*LogWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13234 return SWIG_Python_InitShadowInstance(args
);
13237 SWIGINTERN PyObject
*_wrap_new_LogChain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13238 PyObject
*resultobj
= 0;
13239 wxLog
*arg1
= (wxLog
*) 0 ;
13240 wxLogChain
*result
= 0 ;
13243 PyObject
* obj0
= 0 ;
13244 char * kwnames
[] = {
13245 (char *) "logger", NULL
13248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) SWIG_fail
;
13249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
13250 if (!SWIG_IsOK(res1
)) {
13251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogChain" "', expected argument " "1"" of type '" "wxLog *""'");
13253 arg1
= reinterpret_cast< wxLog
* >(argp1
);
13255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13256 result
= (wxLogChain
*)new wxLogChain(arg1
);
13257 wxPyEndAllowThreads(__tstate
);
13258 if (PyErr_Occurred()) SWIG_fail
;
13260 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogChain
, SWIG_POINTER_NEW
| 0 );
13267 SWIGINTERN PyObject
*_wrap_LogChain_SetLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13268 PyObject
*resultobj
= 0;
13269 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13270 wxLog
*arg2
= (wxLog
*) 0 ;
13275 PyObject
* obj0
= 0 ;
13276 PyObject
* obj1
= 0 ;
13277 char * kwnames
[] = {
13278 (char *) "self",(char *) "logger", NULL
13281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13283 if (!SWIG_IsOK(res1
)) {
13284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_SetLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
13286 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13287 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxLog
, 0 | 0 );
13288 if (!SWIG_IsOK(res2
)) {
13289 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LogChain_SetLog" "', expected argument " "2"" of type '" "wxLog *""'");
13291 arg2
= reinterpret_cast< wxLog
* >(argp2
);
13293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13294 (arg1
)->SetLog(arg2
);
13295 wxPyEndAllowThreads(__tstate
);
13296 if (PyErr_Occurred()) SWIG_fail
;
13298 resultobj
= SWIG_Py_Void();
13305 SWIGINTERN PyObject
*_wrap_LogChain_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13306 PyObject
*resultobj
= 0;
13307 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13313 PyObject
* obj0
= 0 ;
13314 PyObject
* obj1
= 0 ;
13315 char * kwnames
[] = {
13316 (char *) "self",(char *) "bDoPass", NULL
13319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13321 if (!SWIG_IsOK(res1
)) {
13322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_PassMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
13324 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13325 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13326 if (!SWIG_IsOK(ecode2
)) {
13327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogChain_PassMessages" "', expected argument " "2"" of type '" "bool""'");
13329 arg2
= static_cast< bool >(val2
);
13331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13332 (arg1
)->PassMessages(arg2
);
13333 wxPyEndAllowThreads(__tstate
);
13334 if (PyErr_Occurred()) SWIG_fail
;
13336 resultobj
= SWIG_Py_Void();
13343 SWIGINTERN PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13344 PyObject
*resultobj
= 0;
13345 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13349 PyObject
*swig_obj
[1] ;
13351 if (!args
) SWIG_fail
;
13352 swig_obj
[0] = args
;
13353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13354 if (!SWIG_IsOK(res1
)) {
13355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
13357 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13360 result
= (bool)(arg1
)->IsPassingMessages();
13361 wxPyEndAllowThreads(__tstate
);
13362 if (PyErr_Occurred()) SWIG_fail
;
13365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13373 SWIGINTERN PyObject
*_wrap_LogChain_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13374 PyObject
*resultobj
= 0;
13375 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13376 wxLog
*result
= 0 ;
13379 PyObject
*swig_obj
[1] ;
13381 if (!args
) SWIG_fail
;
13382 swig_obj
[0] = args
;
13383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13384 if (!SWIG_IsOK(res1
)) {
13385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_GetOldLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
13387 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13390 result
= (wxLog
*)(arg1
)->GetOldLog();
13391 wxPyEndAllowThreads(__tstate
);
13392 if (PyErr_Occurred()) SWIG_fail
;
13394 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
13401 SWIGINTERN PyObject
*LogChain_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13403 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13404 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogChain
, SWIG_NewClientData(obj
));
13405 return SWIG_Py_Void();
13408 SWIGINTERN PyObject
*LogChain_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13409 return SWIG_Python_InitShadowInstance(args
);
13412 SWIGINTERN PyObject
*_wrap_new_LogBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13413 PyObject
*resultobj
= 0;
13414 wxLogBuffer
*result
= 0 ;
13416 if (!SWIG_Python_UnpackTuple(args
,"new_LogBuffer",0,0,0)) SWIG_fail
;
13418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13419 result
= (wxLogBuffer
*)new wxLogBuffer();
13420 wxPyEndAllowThreads(__tstate
);
13421 if (PyErr_Occurred()) SWIG_fail
;
13423 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_NEW
| 0 );
13430 SWIGINTERN PyObject
*_wrap_LogBuffer_GetBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13431 PyObject
*resultobj
= 0;
13432 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
13433 wxString
*result
= 0 ;
13436 PyObject
*swig_obj
[1] ;
13438 if (!args
) SWIG_fail
;
13439 swig_obj
[0] = args
;
13440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogBuffer
, 0 | 0 );
13441 if (!SWIG_IsOK(res1
)) {
13442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogBuffer_GetBuffer" "', expected argument " "1"" of type '" "wxLogBuffer const *""'");
13444 arg1
= reinterpret_cast< wxLogBuffer
* >(argp1
);
13446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13448 wxString
const &_result_ref
= ((wxLogBuffer
const *)arg1
)->GetBuffer();
13449 result
= (wxString
*) &_result_ref
;
13451 wxPyEndAllowThreads(__tstate
);
13452 if (PyErr_Occurred()) SWIG_fail
;
13456 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13458 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13467 SWIGINTERN PyObject
*LogBuffer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13469 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13470 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogBuffer
, SWIG_NewClientData(obj
));
13471 return SWIG_Py_Void();
13474 SWIGINTERN PyObject
*LogBuffer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13475 return SWIG_Python_InitShadowInstance(args
);
13478 SWIGINTERN PyObject
*_wrap_SysErrorCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13479 PyObject
*resultobj
= 0;
13480 unsigned long result
;
13482 if (!SWIG_Python_UnpackTuple(args
,"SysErrorCode",0,0,0)) SWIG_fail
;
13484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13485 result
= (unsigned long)wxSysErrorCode();
13486 wxPyEndAllowThreads(__tstate
);
13487 if (PyErr_Occurred()) SWIG_fail
;
13489 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
13496 SWIGINTERN PyObject
*_wrap_SysErrorMsg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13497 PyObject
*resultobj
= 0;
13498 unsigned long arg1
= (unsigned long) 0 ;
13500 unsigned long val1
;
13502 PyObject
* obj0
= 0 ;
13503 char * kwnames
[] = {
13504 (char *) "nErrCode", NULL
13507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) SWIG_fail
;
13509 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
13510 if (!SWIG_IsOK(ecode1
)) {
13511 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SysErrorMsg" "', expected argument " "1"" of type '" "unsigned long""'");
13513 arg1
= static_cast< unsigned long >(val1
);
13516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13517 result
= wxSysErrorMsg(arg1
);
13518 wxPyEndAllowThreads(__tstate
);
13519 if (PyErr_Occurred()) SWIG_fail
;
13523 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13525 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13534 SWIGINTERN PyObject
*_wrap_LogFatalError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13535 PyObject
*resultobj
= 0;
13536 wxString
*arg1
= 0 ;
13537 bool temp1
= false ;
13538 PyObject
* obj0
= 0 ;
13539 char * kwnames
[] = {
13540 (char *) "msg", NULL
13543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) SWIG_fail
;
13545 arg1
= wxString_in_helper(obj0
);
13546 if (arg1
== NULL
) SWIG_fail
;
13550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13551 wxPyLogFatalError((wxString
const &)*arg1
);
13552 wxPyEndAllowThreads(__tstate
);
13553 if (PyErr_Occurred()) SWIG_fail
;
13555 resultobj
= SWIG_Py_Void();
13570 SWIGINTERN PyObject
*_wrap_LogError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13571 PyObject
*resultobj
= 0;
13572 wxString
*arg1
= 0 ;
13573 bool temp1
= false ;
13574 PyObject
* obj0
= 0 ;
13575 char * kwnames
[] = {
13576 (char *) "msg", NULL
13579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) SWIG_fail
;
13581 arg1
= wxString_in_helper(obj0
);
13582 if (arg1
== NULL
) SWIG_fail
;
13586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13587 wxPyLogError((wxString
const &)*arg1
);
13588 wxPyEndAllowThreads(__tstate
);
13589 if (PyErr_Occurred()) SWIG_fail
;
13591 resultobj
= SWIG_Py_Void();
13606 SWIGINTERN PyObject
*_wrap_LogWarning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13607 PyObject
*resultobj
= 0;
13608 wxString
*arg1
= 0 ;
13609 bool temp1
= false ;
13610 PyObject
* obj0
= 0 ;
13611 char * kwnames
[] = {
13612 (char *) "msg", NULL
13615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) SWIG_fail
;
13617 arg1
= wxString_in_helper(obj0
);
13618 if (arg1
== NULL
) SWIG_fail
;
13622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13623 wxPyLogWarning((wxString
const &)*arg1
);
13624 wxPyEndAllowThreads(__tstate
);
13625 if (PyErr_Occurred()) SWIG_fail
;
13627 resultobj
= SWIG_Py_Void();
13642 SWIGINTERN PyObject
*_wrap_LogMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13643 PyObject
*resultobj
= 0;
13644 wxString
*arg1
= 0 ;
13645 bool temp1
= false ;
13646 PyObject
* obj0
= 0 ;
13647 char * kwnames
[] = {
13648 (char *) "msg", NULL
13651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) SWIG_fail
;
13653 arg1
= wxString_in_helper(obj0
);
13654 if (arg1
== NULL
) SWIG_fail
;
13658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13659 wxPyLogMessage((wxString
const &)*arg1
);
13660 wxPyEndAllowThreads(__tstate
);
13661 if (PyErr_Occurred()) SWIG_fail
;
13663 resultobj
= SWIG_Py_Void();
13678 SWIGINTERN PyObject
*_wrap_LogInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13679 PyObject
*resultobj
= 0;
13680 wxString
*arg1
= 0 ;
13681 bool temp1
= false ;
13682 PyObject
* obj0
= 0 ;
13683 char * kwnames
[] = {
13684 (char *) "msg", NULL
13687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) SWIG_fail
;
13689 arg1
= wxString_in_helper(obj0
);
13690 if (arg1
== NULL
) SWIG_fail
;
13694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13695 wxPyLogInfo((wxString
const &)*arg1
);
13696 wxPyEndAllowThreads(__tstate
);
13697 if (PyErr_Occurred()) SWIG_fail
;
13699 resultobj
= SWIG_Py_Void();
13714 SWIGINTERN PyObject
*_wrap_LogDebug(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13715 PyObject
*resultobj
= 0;
13716 wxString
*arg1
= 0 ;
13717 bool temp1
= false ;
13718 PyObject
* obj0
= 0 ;
13719 char * kwnames
[] = {
13720 (char *) "msg", NULL
13723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) SWIG_fail
;
13725 arg1
= wxString_in_helper(obj0
);
13726 if (arg1
== NULL
) SWIG_fail
;
13730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13731 wxPyLogDebug((wxString
const &)*arg1
);
13732 wxPyEndAllowThreads(__tstate
);
13733 if (PyErr_Occurred()) SWIG_fail
;
13735 resultobj
= SWIG_Py_Void();
13750 SWIGINTERN PyObject
*_wrap_LogVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13751 PyObject
*resultobj
= 0;
13752 wxString
*arg1
= 0 ;
13753 bool temp1
= false ;
13754 PyObject
* obj0
= 0 ;
13755 char * kwnames
[] = {
13756 (char *) "msg", NULL
13759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) SWIG_fail
;
13761 arg1
= wxString_in_helper(obj0
);
13762 if (arg1
== NULL
) SWIG_fail
;
13766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13767 wxPyLogVerbose((wxString
const &)*arg1
);
13768 wxPyEndAllowThreads(__tstate
);
13769 if (PyErr_Occurred()) SWIG_fail
;
13771 resultobj
= SWIG_Py_Void();
13786 SWIGINTERN PyObject
*_wrap_LogStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13787 PyObject
*resultobj
= 0;
13788 wxString
*arg1
= 0 ;
13789 bool temp1
= false ;
13790 PyObject
* obj0
= 0 ;
13791 char * kwnames
[] = {
13792 (char *) "msg", NULL
13795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) SWIG_fail
;
13797 arg1
= wxString_in_helper(obj0
);
13798 if (arg1
== NULL
) SWIG_fail
;
13802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13803 wxPyLogStatus((wxString
const &)*arg1
);
13804 wxPyEndAllowThreads(__tstate
);
13805 if (PyErr_Occurred()) SWIG_fail
;
13807 resultobj
= SWIG_Py_Void();
13822 SWIGINTERN PyObject
*_wrap_LogStatusFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13823 PyObject
*resultobj
= 0;
13824 wxFrame
*arg1
= (wxFrame
*) 0 ;
13825 wxString
*arg2
= 0 ;
13828 bool temp2
= false ;
13829 PyObject
* obj0
= 0 ;
13830 PyObject
* obj1
= 0 ;
13831 char * kwnames
[] = {
13832 (char *) "pFrame",(char *) "msg", NULL
13835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13837 if (!SWIG_IsOK(res1
)) {
13838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogStatusFrame" "', expected argument " "1"" of type '" "wxFrame *""'");
13840 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
13842 arg2
= wxString_in_helper(obj1
);
13843 if (arg2
== NULL
) SWIG_fail
;
13847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13848 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
13849 wxPyEndAllowThreads(__tstate
);
13850 if (PyErr_Occurred()) SWIG_fail
;
13852 resultobj
= SWIG_Py_Void();
13867 SWIGINTERN PyObject
*_wrap_LogSysError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13868 PyObject
*resultobj
= 0;
13869 wxString
*arg1
= 0 ;
13870 bool temp1
= false ;
13871 PyObject
* obj0
= 0 ;
13872 char * kwnames
[] = {
13873 (char *) "msg", NULL
13876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) SWIG_fail
;
13878 arg1
= wxString_in_helper(obj0
);
13879 if (arg1
== NULL
) SWIG_fail
;
13883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13884 wxPyLogSysError((wxString
const &)*arg1
);
13885 wxPyEndAllowThreads(__tstate
);
13886 if (PyErr_Occurred()) SWIG_fail
;
13888 resultobj
= SWIG_Py_Void();
13903 SWIGINTERN PyObject
*_wrap_LogGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13904 PyObject
*resultobj
= 0;
13905 unsigned long arg1
;
13906 wxString
*arg2
= 0 ;
13907 unsigned long val1
;
13909 bool temp2
= false ;
13910 PyObject
* obj0
= 0 ;
13911 PyObject
* obj1
= 0 ;
13912 char * kwnames
[] = {
13913 (char *) "level",(char *) "msg", NULL
13916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13917 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
13918 if (!SWIG_IsOK(ecode1
)) {
13919 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogGeneric" "', expected argument " "1"" of type '" "unsigned long""'");
13921 arg1
= static_cast< unsigned long >(val1
);
13923 arg2
= wxString_in_helper(obj1
);
13924 if (arg2
== NULL
) SWIG_fail
;
13928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13929 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
13930 wxPyEndAllowThreads(__tstate
);
13931 if (PyErr_Occurred()) SWIG_fail
;
13933 resultobj
= SWIG_Py_Void();
13948 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
13949 PyObject
*resultobj
= 0;
13950 unsigned long arg1
;
13951 wxString
*arg2
= 0 ;
13952 unsigned long val1
;
13954 bool temp2
= false ;
13956 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
13957 ecode1
= SWIG_AsVal_unsigned_SS_long(swig_obj
[0], &val1
);
13958 if (!SWIG_IsOK(ecode1
)) {
13959 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogTrace" "', expected argument " "1"" of type '" "unsigned long""'");
13961 arg1
= static_cast< unsigned long >(val1
);
13963 arg2
= wxString_in_helper(swig_obj
[1]);
13964 if (arg2
== NULL
) SWIG_fail
;
13968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13969 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
13970 wxPyEndAllowThreads(__tstate
);
13971 if (PyErr_Occurred()) SWIG_fail
;
13973 resultobj
= SWIG_Py_Void();
13988 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
13989 PyObject
*resultobj
= 0;
13990 wxString
*arg1
= 0 ;
13991 wxString
*arg2
= 0 ;
13992 bool temp1
= false ;
13993 bool temp2
= false ;
13995 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
13997 arg1
= wxString_in_helper(swig_obj
[0]);
13998 if (arg1
== NULL
) SWIG_fail
;
14002 arg2
= wxString_in_helper(swig_obj
[1]);
14003 if (arg2
== NULL
) SWIG_fail
;
14007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14008 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
14009 wxPyEndAllowThreads(__tstate
);
14010 if (PyErr_Occurred()) SWIG_fail
;
14012 resultobj
= SWIG_Py_Void();
14035 SWIGINTERN PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
14039 if (!(argc
= SWIG_Python_UnpackTuple(args
,"LogTrace",0,2,argv
))) SWIG_fail
;
14045 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
14048 if (!_v
) goto check_1
;
14049 return _wrap_LogTrace__SWIG_1(self
, argc
, argv
);
14054 return _wrap_LogTrace__SWIG_0(self
, argc
, argv
);
14058 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
14063 SWIGINTERN PyObject
*_wrap_SafeShowMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14064 PyObject
*resultobj
= 0;
14065 wxString
*arg1
= 0 ;
14066 wxString
*arg2
= 0 ;
14067 bool temp1
= false ;
14068 bool temp2
= false ;
14069 PyObject
* obj0
= 0 ;
14070 PyObject
* obj1
= 0 ;
14071 char * kwnames
[] = {
14072 (char *) "title",(char *) "text", NULL
14075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14077 arg1
= wxString_in_helper(obj0
);
14078 if (arg1
== NULL
) SWIG_fail
;
14082 arg2
= wxString_in_helper(obj1
);
14083 if (arg2
== NULL
) SWIG_fail
;
14087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14088 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
14089 wxPyEndAllowThreads(__tstate
);
14090 if (PyErr_Occurred()) SWIG_fail
;
14092 resultobj
= SWIG_Py_Void();
14115 SWIGINTERN PyObject
*_wrap_new_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14116 PyObject
*resultobj
= 0;
14117 wxLogNull
*result
= 0 ;
14119 if (!SWIG_Python_UnpackTuple(args
,"new_LogNull",0,0,0)) SWIG_fail
;
14121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14122 result
= (wxLogNull
*)new wxLogNull();
14123 wxPyEndAllowThreads(__tstate
);
14124 if (PyErr_Occurred()) SWIG_fail
;
14126 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogNull
, SWIG_POINTER_NEW
| 0 );
14133 SWIGINTERN PyObject
*_wrap_delete_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14134 PyObject
*resultobj
= 0;
14135 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
14138 PyObject
*swig_obj
[1] ;
14140 if (!args
) SWIG_fail
;
14141 swig_obj
[0] = args
;
14142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogNull
, SWIG_POINTER_DISOWN
| 0 );
14143 if (!SWIG_IsOK(res1
)) {
14144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LogNull" "', expected argument " "1"" of type '" "wxLogNull *""'");
14146 arg1
= reinterpret_cast< wxLogNull
* >(argp1
);
14148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14151 wxPyEndAllowThreads(__tstate
);
14152 if (PyErr_Occurred()) SWIG_fail
;
14154 resultobj
= SWIG_Py_Void();
14161 SWIGINTERN PyObject
*LogNull_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14163 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14164 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogNull
, SWIG_NewClientData(obj
));
14165 return SWIG_Py_Void();
14168 SWIGINTERN PyObject
*LogNull_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14169 return SWIG_Python_InitShadowInstance(args
);
14172 SWIGINTERN PyObject
*_wrap_new_PyLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14173 PyObject
*resultobj
= 0;
14174 wxPyLog
*result
= 0 ;
14176 if (!SWIG_Python_UnpackTuple(args
,"new_PyLog",0,0,0)) SWIG_fail
;
14178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14179 result
= (wxPyLog
*)new wxPyLog();
14180 wxPyEndAllowThreads(__tstate
);
14181 if (PyErr_Occurred()) SWIG_fail
;
14183 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLog
, SWIG_POINTER_NEW
| 0 );
14190 SWIGINTERN PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14191 PyObject
*resultobj
= 0;
14192 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
14193 PyObject
*arg2
= (PyObject
*) 0 ;
14194 PyObject
*arg3
= (PyObject
*) 0 ;
14197 PyObject
* obj0
= 0 ;
14198 PyObject
* obj1
= 0 ;
14199 PyObject
* obj2
= 0 ;
14200 char * kwnames
[] = {
14201 (char *) "self",(char *) "self",(char *) "_class", NULL
14204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLog
, 0 | 0 );
14206 if (!SWIG_IsOK(res1
)) {
14207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLog__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLog *""'");
14209 arg1
= reinterpret_cast< wxPyLog
* >(argp1
);
14213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14214 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14215 wxPyEndAllowThreads(__tstate
);
14216 if (PyErr_Occurred()) SWIG_fail
;
14218 resultobj
= SWIG_Py_Void();
14225 SWIGINTERN PyObject
*PyLog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14227 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14228 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLog
, SWIG_NewClientData(obj
));
14229 return SWIG_Py_Void();
14232 SWIGINTERN PyObject
*PyLog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14233 return SWIG_Python_InitShadowInstance(args
);
14236 SWIGINTERN PyObject
*_wrap_Process_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14237 PyObject
*resultobj
= 0;
14239 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
14240 int arg3
= (int) wxKILL_NOCHILDREN
;
14241 wxKillError result
;
14248 PyObject
* obj0
= 0 ;
14249 PyObject
* obj1
= 0 ;
14250 PyObject
* obj2
= 0 ;
14251 char * kwnames
[] = {
14252 (char *) "pid",(char *) "sig",(char *) "flags", NULL
14255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14256 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14257 if (!SWIG_IsOK(ecode1
)) {
14258 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Kill" "', expected argument " "1"" of type '" "int""'");
14260 arg1
= static_cast< int >(val1
);
14262 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14263 if (!SWIG_IsOK(ecode2
)) {
14264 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Kill" "', expected argument " "2"" of type '" "wxSignal""'");
14266 arg2
= static_cast< wxSignal
>(val2
);
14269 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14270 if (!SWIG_IsOK(ecode3
)) {
14271 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_Kill" "', expected argument " "3"" of type '" "int""'");
14273 arg3
= static_cast< int >(val3
);
14276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14277 result
= (wxKillError
)wxPyProcess::Kill(arg1
,arg2
,arg3
);
14278 wxPyEndAllowThreads(__tstate
);
14279 if (PyErr_Occurred()) SWIG_fail
;
14281 resultobj
= SWIG_From_int(static_cast< int >(result
));
14288 SWIGINTERN PyObject
*_wrap_Process_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14289 PyObject
*resultobj
= 0;
14294 PyObject
* obj0
= 0 ;
14295 char * kwnames
[] = {
14296 (char *) "pid", NULL
14299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) SWIG_fail
;
14300 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14301 if (!SWIG_IsOK(ecode1
)) {
14302 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Exists" "', expected argument " "1"" of type '" "int""'");
14304 arg1
= static_cast< int >(val1
);
14306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14307 result
= (bool)wxPyProcess::Exists(arg1
);
14308 wxPyEndAllowThreads(__tstate
);
14309 if (PyErr_Occurred()) SWIG_fail
;
14312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14320 SWIGINTERN PyObject
*_wrap_Process_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14321 PyObject
*resultobj
= 0;
14322 wxString
*arg1
= 0 ;
14323 int arg2
= (int) wxEXEC_ASYNC
;
14324 wxPyProcess
*result
= 0 ;
14325 bool temp1
= false ;
14328 PyObject
* obj0
= 0 ;
14329 PyObject
* obj1
= 0 ;
14330 char * kwnames
[] = {
14331 (char *) "cmd",(char *) "flags", NULL
14334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14336 arg1
= wxString_in_helper(obj0
);
14337 if (arg1
== NULL
) SWIG_fail
;
14341 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14342 if (!SWIG_IsOK(ecode2
)) {
14343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Open" "', expected argument " "2"" of type '" "int""'");
14345 arg2
= static_cast< int >(val2
);
14348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14349 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
14350 wxPyEndAllowThreads(__tstate
);
14351 if (PyErr_Occurred()) SWIG_fail
;
14353 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14368 SWIGINTERN PyObject
*_wrap_new_Process(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14369 PyObject
*resultobj
= 0;
14370 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
14371 int arg2
= (int) -1 ;
14372 wxPyProcess
*result
= 0 ;
14377 PyObject
* obj0
= 0 ;
14378 PyObject
* obj1
= 0 ;
14379 char * kwnames
[] = {
14380 (char *) "parent",(char *) "id", NULL
14383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
14386 if (!SWIG_IsOK(res1
)) {
14387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Process" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
14389 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
14392 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14393 if (!SWIG_IsOK(ecode2
)) {
14394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Process" "', expected argument " "2"" of type '" "int""'");
14396 arg2
= static_cast< int >(val2
);
14399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14400 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
14401 wxPyEndAllowThreads(__tstate
);
14402 if (PyErr_Occurred()) SWIG_fail
;
14404 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_NEW
| 0 );
14411 SWIGINTERN PyObject
*_wrap_delete_Process(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14412 PyObject
*resultobj
= 0;
14413 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14416 PyObject
*swig_obj
[1] ;
14418 if (!args
) SWIG_fail
;
14419 swig_obj
[0] = args
;
14420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_DISOWN
| 0 );
14421 if (!SWIG_IsOK(res1
)) {
14422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Process" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14424 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14429 wxPyEndAllowThreads(__tstate
);
14430 if (PyErr_Occurred()) SWIG_fail
;
14432 resultobj
= SWIG_Py_Void();
14439 SWIGINTERN PyObject
*_wrap_Process_GetPid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14440 PyObject
*resultobj
= 0;
14441 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14445 PyObject
*swig_obj
[1] ;
14447 if (!args
) SWIG_fail
;
14448 swig_obj
[0] = args
;
14449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14450 if (!SWIG_IsOK(res1
)) {
14451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetPid" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
14453 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14456 result
= (long)((wxPyProcess
const *)arg1
)->GetPid();
14457 wxPyEndAllowThreads(__tstate
);
14458 if (PyErr_Occurred()) SWIG_fail
;
14460 resultobj
= SWIG_From_long(static_cast< long >(result
));
14467 SWIGINTERN PyObject
*_wrap_Process__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14468 PyObject
*resultobj
= 0;
14469 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14470 PyObject
*arg2
= (PyObject
*) 0 ;
14471 PyObject
*arg3
= (PyObject
*) 0 ;
14474 PyObject
* obj0
= 0 ;
14475 PyObject
* obj1
= 0 ;
14476 PyObject
* obj2
= 0 ;
14477 char * kwnames
[] = {
14478 (char *) "self",(char *) "self",(char *) "_class", NULL
14481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14483 if (!SWIG_IsOK(res1
)) {
14484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14486 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14491 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14492 wxPyEndAllowThreads(__tstate
);
14493 if (PyErr_Occurred()) SWIG_fail
;
14495 resultobj
= SWIG_Py_Void();
14502 SWIGINTERN PyObject
*_wrap_Process_OnTerminate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14503 PyObject
*resultobj
= 0;
14504 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14513 PyObject
* obj0
= 0 ;
14514 PyObject
* obj1
= 0 ;
14515 PyObject
* obj2
= 0 ;
14516 char * kwnames
[] = {
14517 (char *) "self",(char *) "pid",(char *) "status", NULL
14520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14522 if (!SWIG_IsOK(res1
)) {
14523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_OnTerminate" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14525 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14526 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14527 if (!SWIG_IsOK(ecode2
)) {
14528 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_OnTerminate" "', expected argument " "2"" of type '" "int""'");
14530 arg2
= static_cast< int >(val2
);
14531 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14532 if (!SWIG_IsOK(ecode3
)) {
14533 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_OnTerminate" "', expected argument " "3"" of type '" "int""'");
14535 arg3
= static_cast< int >(val3
);
14537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14538 (arg1
)->OnTerminate(arg2
,arg3
);
14539 wxPyEndAllowThreads(__tstate
);
14540 if (PyErr_Occurred()) SWIG_fail
;
14542 resultobj
= SWIG_Py_Void();
14549 SWIGINTERN PyObject
*_wrap_Process_Redirect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14550 PyObject
*resultobj
= 0;
14551 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14554 PyObject
*swig_obj
[1] ;
14556 if (!args
) SWIG_fail
;
14557 swig_obj
[0] = args
;
14558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14559 if (!SWIG_IsOK(res1
)) {
14560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Redirect" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14562 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14565 (arg1
)->Redirect();
14566 wxPyEndAllowThreads(__tstate
);
14567 if (PyErr_Occurred()) SWIG_fail
;
14569 resultobj
= SWIG_Py_Void();
14576 SWIGINTERN PyObject
*_wrap_Process_IsRedirected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14577 PyObject
*resultobj
= 0;
14578 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14582 PyObject
*swig_obj
[1] ;
14584 if (!args
) SWIG_fail
;
14585 swig_obj
[0] = args
;
14586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14587 if (!SWIG_IsOK(res1
)) {
14588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsRedirected" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14590 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14593 result
= (bool)(arg1
)->IsRedirected();
14594 wxPyEndAllowThreads(__tstate
);
14595 if (PyErr_Occurred()) SWIG_fail
;
14598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14606 SWIGINTERN PyObject
*_wrap_Process_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14607 PyObject
*resultobj
= 0;
14608 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14611 PyObject
*swig_obj
[1] ;
14613 if (!args
) SWIG_fail
;
14614 swig_obj
[0] = args
;
14615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14616 if (!SWIG_IsOK(res1
)) {
14617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Detach" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14619 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14623 wxPyEndAllowThreads(__tstate
);
14624 if (PyErr_Occurred()) SWIG_fail
;
14626 resultobj
= SWIG_Py_Void();
14633 SWIGINTERN PyObject
*_wrap_Process_GetInputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14634 PyObject
*resultobj
= 0;
14635 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14636 wxInputStream
*result
= 0 ;
14639 PyObject
*swig_obj
[1] ;
14641 if (!args
) SWIG_fail
;
14642 swig_obj
[0] = args
;
14643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14644 if (!SWIG_IsOK(res1
)) {
14645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetInputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14647 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14650 result
= (wxInputStream
*)(arg1
)->GetInputStream();
14651 wxPyEndAllowThreads(__tstate
);
14652 if (PyErr_Occurred()) SWIG_fail
;
14655 wxPyInputStream
* _ptr
= NULL
;
14658 _ptr
= new wxPyInputStream(result
);
14660 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
14668 SWIGINTERN PyObject
*_wrap_Process_GetErrorStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14669 PyObject
*resultobj
= 0;
14670 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14671 wxInputStream
*result
= 0 ;
14674 PyObject
*swig_obj
[1] ;
14676 if (!args
) SWIG_fail
;
14677 swig_obj
[0] = args
;
14678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14679 if (!SWIG_IsOK(res1
)) {
14680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetErrorStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14682 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14685 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
14686 wxPyEndAllowThreads(__tstate
);
14687 if (PyErr_Occurred()) SWIG_fail
;
14690 wxPyInputStream
* _ptr
= NULL
;
14693 _ptr
= new wxPyInputStream(result
);
14695 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
14703 SWIGINTERN PyObject
*_wrap_Process_GetOutputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14704 PyObject
*resultobj
= 0;
14705 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14706 wxOutputStream
*result
= 0 ;
14709 PyObject
*swig_obj
[1] ;
14711 if (!args
) SWIG_fail
;
14712 swig_obj
[0] = args
;
14713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14714 if (!SWIG_IsOK(res1
)) {
14715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetOutputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14717 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14720 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
14721 wxPyEndAllowThreads(__tstate
);
14722 if (PyErr_Occurred()) SWIG_fail
;
14724 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOutputStream
, 0 | 0 );
14731 SWIGINTERN PyObject
*_wrap_Process_CloseOutput(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14732 PyObject
*resultobj
= 0;
14733 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14736 PyObject
*swig_obj
[1] ;
14738 if (!args
) SWIG_fail
;
14739 swig_obj
[0] = args
;
14740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14741 if (!SWIG_IsOK(res1
)) {
14742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_CloseOutput" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14744 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14747 (arg1
)->CloseOutput();
14748 wxPyEndAllowThreads(__tstate
);
14749 if (PyErr_Occurred()) SWIG_fail
;
14751 resultobj
= SWIG_Py_Void();
14758 SWIGINTERN PyObject
*_wrap_Process_IsInputOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14759 PyObject
*resultobj
= 0;
14760 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14764 PyObject
*swig_obj
[1] ;
14766 if (!args
) SWIG_fail
;
14767 swig_obj
[0] = args
;
14768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14769 if (!SWIG_IsOK(res1
)) {
14770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputOpened" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
14772 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14775 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
14776 wxPyEndAllowThreads(__tstate
);
14777 if (PyErr_Occurred()) SWIG_fail
;
14780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14788 SWIGINTERN PyObject
*_wrap_Process_IsInputAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14789 PyObject
*resultobj
= 0;
14790 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14794 PyObject
*swig_obj
[1] ;
14796 if (!args
) SWIG_fail
;
14797 swig_obj
[0] = args
;
14798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14799 if (!SWIG_IsOK(res1
)) {
14800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
14802 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14805 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
14806 wxPyEndAllowThreads(__tstate
);
14807 if (PyErr_Occurred()) SWIG_fail
;
14810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14818 SWIGINTERN PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14819 PyObject
*resultobj
= 0;
14820 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14824 PyObject
*swig_obj
[1] ;
14826 if (!args
) SWIG_fail
;
14827 swig_obj
[0] = args
;
14828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14829 if (!SWIG_IsOK(res1
)) {
14830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsErrorAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
14832 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14835 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
14836 wxPyEndAllowThreads(__tstate
);
14837 if (PyErr_Occurred()) SWIG_fail
;
14840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14848 SWIGINTERN PyObject
*Process_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14850 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14851 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyProcess
, SWIG_NewClientData(obj
));
14852 return SWIG_Py_Void();
14855 SWIGINTERN PyObject
*Process_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14856 return SWIG_Python_InitShadowInstance(args
);
14859 SWIGINTERN PyObject
*_wrap_new_ProcessEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14860 PyObject
*resultobj
= 0;
14861 int arg1
= (int) 0 ;
14862 int arg2
= (int) 0 ;
14863 int arg3
= (int) 0 ;
14864 wxProcessEvent
*result
= 0 ;
14871 PyObject
* obj0
= 0 ;
14872 PyObject
* obj1
= 0 ;
14873 PyObject
* obj2
= 0 ;
14874 char * kwnames
[] = {
14875 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
14878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14880 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14881 if (!SWIG_IsOK(ecode1
)) {
14882 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ProcessEvent" "', expected argument " "1"" of type '" "int""'");
14884 arg1
= static_cast< int >(val1
);
14887 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14888 if (!SWIG_IsOK(ecode2
)) {
14889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ProcessEvent" "', expected argument " "2"" of type '" "int""'");
14891 arg2
= static_cast< int >(val2
);
14894 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14895 if (!SWIG_IsOK(ecode3
)) {
14896 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProcessEvent" "', expected argument " "3"" of type '" "int""'");
14898 arg3
= static_cast< int >(val3
);
14901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14902 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
14903 wxPyEndAllowThreads(__tstate
);
14904 if (PyErr_Occurred()) SWIG_fail
;
14906 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_NEW
| 0 );
14913 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14914 PyObject
*resultobj
= 0;
14915 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14919 PyObject
*swig_obj
[1] ;
14921 if (!args
) SWIG_fail
;
14922 swig_obj
[0] = args
;
14923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14924 if (!SWIG_IsOK(res1
)) {
14925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetPid" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14927 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14930 result
= (int)(arg1
)->GetPid();
14931 wxPyEndAllowThreads(__tstate
);
14932 if (PyErr_Occurred()) SWIG_fail
;
14934 resultobj
= SWIG_From_int(static_cast< int >(result
));
14941 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14942 PyObject
*resultobj
= 0;
14943 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14947 PyObject
*swig_obj
[1] ;
14949 if (!args
) SWIG_fail
;
14950 swig_obj
[0] = args
;
14951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14952 if (!SWIG_IsOK(res1
)) {
14953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetExitCode" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14955 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14958 result
= (int)(arg1
)->GetExitCode();
14959 wxPyEndAllowThreads(__tstate
);
14960 if (PyErr_Occurred()) SWIG_fail
;
14962 resultobj
= SWIG_From_int(static_cast< int >(result
));
14969 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14970 PyObject
*resultobj
= 0;
14971 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14977 PyObject
*swig_obj
[2] ;
14979 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_pid_set",2,2,swig_obj
)) SWIG_fail
;
14980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14981 if (!SWIG_IsOK(res1
)) {
14982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14984 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14985 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
14986 if (!SWIG_IsOK(ecode2
)) {
14987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "2"" of type '" "int""'");
14989 arg2
= static_cast< int >(val2
);
14990 if (arg1
) (arg1
)->m_pid
= arg2
;
14992 resultobj
= SWIG_Py_Void();
14999 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15000 PyObject
*resultobj
= 0;
15001 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
15005 PyObject
*swig_obj
[1] ;
15007 if (!args
) SWIG_fail
;
15008 swig_obj
[0] = args
;
15009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
15010 if (!SWIG_IsOK(res1
)) {
15011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
15013 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
15014 result
= (int) ((arg1
)->m_pid
);
15015 resultobj
= SWIG_From_int(static_cast< int >(result
));
15022 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15023 PyObject
*resultobj
= 0;
15024 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
15030 PyObject
*swig_obj
[2] ;
15032 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_exitcode_set",2,2,swig_obj
)) SWIG_fail
;
15033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
15034 if (!SWIG_IsOK(res1
)) {
15035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
15037 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
15038 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15039 if (!SWIG_IsOK(ecode2
)) {
15040 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "2"" of type '" "int""'");
15042 arg2
= static_cast< int >(val2
);
15043 if (arg1
) (arg1
)->m_exitcode
= arg2
;
15045 resultobj
= SWIG_Py_Void();
15052 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15053 PyObject
*resultobj
= 0;
15054 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
15058 PyObject
*swig_obj
[1] ;
15060 if (!args
) SWIG_fail
;
15061 swig_obj
[0] = args
;
15062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
15063 if (!SWIG_IsOK(res1
)) {
15064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
15066 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
15067 result
= (int) ((arg1
)->m_exitcode
);
15068 resultobj
= SWIG_From_int(static_cast< int >(result
));
15075 SWIGINTERN PyObject
*ProcessEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15077 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15078 SWIG_TypeNewClientData(SWIGTYPE_p_wxProcessEvent
, SWIG_NewClientData(obj
));
15079 return SWIG_Py_Void();
15082 SWIGINTERN PyObject
*ProcessEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15083 return SWIG_Python_InitShadowInstance(args
);
15086 SWIGINTERN PyObject
*_wrap_Execute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15087 PyObject
*resultobj
= 0;
15088 wxString
*arg1
= 0 ;
15089 int arg2
= (int) wxEXEC_ASYNC
;
15090 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
15092 bool temp1
= false ;
15097 PyObject
* obj0
= 0 ;
15098 PyObject
* obj1
= 0 ;
15099 PyObject
* obj2
= 0 ;
15100 char * kwnames
[] = {
15101 (char *) "command",(char *) "flags",(char *) "process", NULL
15104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15106 arg1
= wxString_in_helper(obj0
);
15107 if (arg1
== NULL
) SWIG_fail
;
15111 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15112 if (!SWIG_IsOK(ecode2
)) {
15113 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Execute" "', expected argument " "2"" of type '" "int""'");
15115 arg2
= static_cast< int >(val2
);
15118 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
15119 if (!SWIG_IsOK(res3
)) {
15120 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Execute" "', expected argument " "3"" of type '" "wxPyProcess *""'");
15122 arg3
= reinterpret_cast< wxPyProcess
* >(argp3
);
15125 if (!wxPyCheckForApp()) SWIG_fail
;
15126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15127 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
15128 wxPyEndAllowThreads(__tstate
);
15129 if (PyErr_Occurred()) SWIG_fail
;
15131 resultobj
= SWIG_From_long(static_cast< long >(result
));
15146 SWIGINTERN PyObject
*_wrap_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15147 PyObject
*resultobj
= 0;
15149 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
15150 wxKillError
*arg3
= (wxKillError
*) 0 ;
15151 int arg4
= (int) wxKILL_NOCHILDREN
;
15157 wxKillError temp3
;
15160 PyObject
* obj0
= 0 ;
15161 PyObject
* obj1
= 0 ;
15162 PyObject
* obj2
= 0 ;
15163 char * kwnames
[] = {
15164 (char *) "pid",(char *) "sig",(char *) "flags", NULL
15170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15171 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
15172 if (!SWIG_IsOK(ecode1
)) {
15173 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Kill" "', expected argument " "1"" of type '" "long""'");
15175 arg1
= static_cast< long >(val1
);
15177 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15178 if (!SWIG_IsOK(ecode2
)) {
15179 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Kill" "', expected argument " "2"" of type '" "wxSignal""'");
15181 arg2
= static_cast< wxSignal
>(val2
);
15184 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
15185 if (!SWIG_IsOK(ecode4
)) {
15186 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Kill" "', expected argument " "4"" of type '" "int""'");
15188 arg4
= static_cast< int >(val4
);
15191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15192 result
= (int)wxKill(arg1
,arg2
,arg3
,arg4
);
15193 wxPyEndAllowThreads(__tstate
);
15194 if (PyErr_Occurred()) SWIG_fail
;
15196 resultobj
= SWIG_From_int(static_cast< int >(result
));
15199 o
= PyInt_FromLong((long) (*arg3
));
15203 resultobj
= SWIG_Python_AppendOutput(resultobj
, o
);
15212 SWIGINTERN PyObject
*_wrap_new_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15213 PyObject
*resultobj
= 0;
15214 int arg1
= (int) wxJOYSTICK1
;
15215 wxJoystick
*result
= 0 ;
15218 PyObject
* obj0
= 0 ;
15219 char * kwnames
[] = {
15220 (char *) "joystick", NULL
15223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) SWIG_fail
;
15225 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15226 if (!SWIG_IsOK(ecode1
)) {
15227 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Joystick" "', expected argument " "1"" of type '" "int""'");
15229 arg1
= static_cast< int >(val1
);
15232 if (!wxPyCheckForApp()) SWIG_fail
;
15233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15234 result
= (wxJoystick
*)new wxJoystick(arg1
);
15235 wxPyEndAllowThreads(__tstate
);
15236 if (PyErr_Occurred()) SWIG_fail
;
15238 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystick
, SWIG_POINTER_NEW
| 0 );
15245 SWIGINTERN PyObject
*_wrap_delete_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15246 PyObject
*resultobj
= 0;
15247 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15250 PyObject
*swig_obj
[1] ;
15252 if (!args
) SWIG_fail
;
15253 swig_obj
[0] = args
;
15254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, SWIG_POINTER_DISOWN
| 0 );
15255 if (!SWIG_IsOK(res1
)) {
15256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Joystick" "', expected argument " "1"" of type '" "wxJoystick *""'");
15258 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15263 wxPyEndAllowThreads(__tstate
);
15264 if (PyErr_Occurred()) SWIG_fail
;
15266 resultobj
= SWIG_Py_Void();
15273 SWIGINTERN PyObject
*_wrap_Joystick_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15274 PyObject
*resultobj
= 0;
15275 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15279 PyObject
*swig_obj
[1] ;
15281 if (!args
) SWIG_fail
;
15282 swig_obj
[0] = args
;
15283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15284 if (!SWIG_IsOK(res1
)) {
15285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15287 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15290 result
= (arg1
)->GetPosition();
15291 wxPyEndAllowThreads(__tstate
);
15292 if (PyErr_Occurred()) SWIG_fail
;
15294 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
15301 SWIGINTERN PyObject
*_wrap_Joystick_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15302 PyObject
*resultobj
= 0;
15303 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15307 PyObject
*swig_obj
[1] ;
15309 if (!args
) SWIG_fail
;
15310 swig_obj
[0] = args
;
15311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15312 if (!SWIG_IsOK(res1
)) {
15313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15315 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15318 result
= (int)(arg1
)->GetZPosition();
15319 wxPyEndAllowThreads(__tstate
);
15320 if (PyErr_Occurred()) SWIG_fail
;
15322 resultobj
= SWIG_From_int(static_cast< int >(result
));
15329 SWIGINTERN PyObject
*_wrap_Joystick_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15330 PyObject
*resultobj
= 0;
15331 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15335 PyObject
*swig_obj
[1] ;
15337 if (!args
) SWIG_fail
;
15338 swig_obj
[0] = args
;
15339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15340 if (!SWIG_IsOK(res1
)) {
15341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetButtonState" "', expected argument " "1"" of type '" "wxJoystick *""'");
15343 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15346 result
= (int)(arg1
)->GetButtonState();
15347 wxPyEndAllowThreads(__tstate
);
15348 if (PyErr_Occurred()) SWIG_fail
;
15350 resultobj
= SWIG_From_int(static_cast< int >(result
));
15357 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15358 PyObject
*resultobj
= 0;
15359 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15363 PyObject
*swig_obj
[1] ;
15365 if (!args
) SWIG_fail
;
15366 swig_obj
[0] = args
;
15367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15368 if (!SWIG_IsOK(res1
)) {
15369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15371 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15374 result
= (int)(arg1
)->GetPOVPosition();
15375 wxPyEndAllowThreads(__tstate
);
15376 if (PyErr_Occurred()) SWIG_fail
;
15378 resultobj
= SWIG_From_int(static_cast< int >(result
));
15385 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15386 PyObject
*resultobj
= 0;
15387 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15391 PyObject
*swig_obj
[1] ;
15393 if (!args
) SWIG_fail
;
15394 swig_obj
[0] = args
;
15395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15396 if (!SWIG_IsOK(res1
)) {
15397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVCTSPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15399 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15402 result
= (int)(arg1
)->GetPOVCTSPosition();
15403 wxPyEndAllowThreads(__tstate
);
15404 if (PyErr_Occurred()) SWIG_fail
;
15406 resultobj
= SWIG_From_int(static_cast< int >(result
));
15413 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15414 PyObject
*resultobj
= 0;
15415 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15419 PyObject
*swig_obj
[1] ;
15421 if (!args
) SWIG_fail
;
15422 swig_obj
[0] = args
;
15423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15424 if (!SWIG_IsOK(res1
)) {
15425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15427 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15430 result
= (int)(arg1
)->GetRudderPosition();
15431 wxPyEndAllowThreads(__tstate
);
15432 if (PyErr_Occurred()) SWIG_fail
;
15434 resultobj
= SWIG_From_int(static_cast< int >(result
));
15441 SWIGINTERN PyObject
*_wrap_Joystick_GetUPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15442 PyObject
*resultobj
= 0;
15443 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15447 PyObject
*swig_obj
[1] ;
15449 if (!args
) SWIG_fail
;
15450 swig_obj
[0] = args
;
15451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15452 if (!SWIG_IsOK(res1
)) {
15453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15455 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15458 result
= (int)(arg1
)->GetUPosition();
15459 wxPyEndAllowThreads(__tstate
);
15460 if (PyErr_Occurred()) SWIG_fail
;
15462 resultobj
= SWIG_From_int(static_cast< int >(result
));
15469 SWIGINTERN PyObject
*_wrap_Joystick_GetVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15470 PyObject
*resultobj
= 0;
15471 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15475 PyObject
*swig_obj
[1] ;
15477 if (!args
) SWIG_fail
;
15478 swig_obj
[0] = args
;
15479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15480 if (!SWIG_IsOK(res1
)) {
15481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15483 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15486 result
= (int)(arg1
)->GetVPosition();
15487 wxPyEndAllowThreads(__tstate
);
15488 if (PyErr_Occurred()) SWIG_fail
;
15490 resultobj
= SWIG_From_int(static_cast< int >(result
));
15497 SWIGINTERN PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15498 PyObject
*resultobj
= 0;
15499 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15503 PyObject
*swig_obj
[1] ;
15505 if (!args
) SWIG_fail
;
15506 swig_obj
[0] = args
;
15507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15508 if (!SWIG_IsOK(res1
)) {
15509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
15511 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15514 result
= (int)(arg1
)->GetMovementThreshold();
15515 wxPyEndAllowThreads(__tstate
);
15516 if (PyErr_Occurred()) SWIG_fail
;
15518 resultobj
= SWIG_From_int(static_cast< int >(result
));
15525 SWIGINTERN PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15526 PyObject
*resultobj
= 0;
15527 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15533 PyObject
* obj0
= 0 ;
15534 PyObject
* obj1
= 0 ;
15535 char * kwnames
[] = {
15536 (char *) "self",(char *) "threshold", NULL
15539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15541 if (!SWIG_IsOK(res1
)) {
15542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
15544 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15545 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15546 if (!SWIG_IsOK(ecode2
)) {
15547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "2"" of type '" "int""'");
15549 arg2
= static_cast< int >(val2
);
15551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15552 (arg1
)->SetMovementThreshold(arg2
);
15553 wxPyEndAllowThreads(__tstate
);
15554 if (PyErr_Occurred()) SWIG_fail
;
15556 resultobj
= SWIG_Py_Void();
15563 SWIGINTERN PyObject
*_wrap_Joystick_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15564 PyObject
*resultobj
= 0;
15565 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15569 PyObject
*swig_obj
[1] ;
15571 if (!args
) SWIG_fail
;
15572 swig_obj
[0] = args
;
15573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15574 if (!SWIG_IsOK(res1
)) {
15575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_IsOk" "', expected argument " "1"" of type '" "wxJoystick *""'");
15577 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15580 result
= (bool)(arg1
)->IsOk();
15581 wxPyEndAllowThreads(__tstate
);
15582 if (PyErr_Occurred()) SWIG_fail
;
15585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15593 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15594 PyObject
*resultobj
= 0;
15595 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15599 PyObject
*swig_obj
[1] ;
15601 if (!args
) SWIG_fail
;
15602 swig_obj
[0] = args
;
15603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15604 if (!SWIG_IsOK(res1
)) {
15605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberJoysticks" "', expected argument " "1"" of type '" "wxJoystick *""'");
15607 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15610 result
= (int)(arg1
)->GetNumberJoysticks();
15611 wxPyEndAllowThreads(__tstate
);
15612 if (PyErr_Occurred()) SWIG_fail
;
15614 resultobj
= SWIG_From_int(static_cast< int >(result
));
15621 SWIGINTERN PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15622 PyObject
*resultobj
= 0;
15623 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15627 PyObject
*swig_obj
[1] ;
15629 if (!args
) SWIG_fail
;
15630 swig_obj
[0] = args
;
15631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15632 if (!SWIG_IsOK(res1
)) {
15633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetManufacturerId" "', expected argument " "1"" of type '" "wxJoystick *""'");
15635 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15638 result
= (int)(arg1
)->GetManufacturerId();
15639 wxPyEndAllowThreads(__tstate
);
15640 if (PyErr_Occurred()) SWIG_fail
;
15642 resultobj
= SWIG_From_int(static_cast< int >(result
));
15649 SWIGINTERN PyObject
*_wrap_Joystick_GetProductId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15650 PyObject
*resultobj
= 0;
15651 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15655 PyObject
*swig_obj
[1] ;
15657 if (!args
) SWIG_fail
;
15658 swig_obj
[0] = args
;
15659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15660 if (!SWIG_IsOK(res1
)) {
15661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductId" "', expected argument " "1"" of type '" "wxJoystick *""'");
15663 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15666 result
= (int)(arg1
)->GetProductId();
15667 wxPyEndAllowThreads(__tstate
);
15668 if (PyErr_Occurred()) SWIG_fail
;
15670 resultobj
= SWIG_From_int(static_cast< int >(result
));
15677 SWIGINTERN PyObject
*_wrap_Joystick_GetProductName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15678 PyObject
*resultobj
= 0;
15679 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15683 PyObject
*swig_obj
[1] ;
15685 if (!args
) SWIG_fail
;
15686 swig_obj
[0] = args
;
15687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15688 if (!SWIG_IsOK(res1
)) {
15689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductName" "', expected argument " "1"" of type '" "wxJoystick *""'");
15691 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15694 result
= (arg1
)->GetProductName();
15695 wxPyEndAllowThreads(__tstate
);
15696 if (PyErr_Occurred()) SWIG_fail
;
15700 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15702 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15711 SWIGINTERN PyObject
*_wrap_Joystick_GetXMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15712 PyObject
*resultobj
= 0;
15713 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15717 PyObject
*swig_obj
[1] ;
15719 if (!args
) SWIG_fail
;
15720 swig_obj
[0] = args
;
15721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15722 if (!SWIG_IsOK(res1
)) {
15723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15725 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15728 result
= (int)(arg1
)->GetXMin();
15729 wxPyEndAllowThreads(__tstate
);
15730 if (PyErr_Occurred()) SWIG_fail
;
15732 resultobj
= SWIG_From_int(static_cast< int >(result
));
15739 SWIGINTERN PyObject
*_wrap_Joystick_GetYMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15740 PyObject
*resultobj
= 0;
15741 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15745 PyObject
*swig_obj
[1] ;
15747 if (!args
) SWIG_fail
;
15748 swig_obj
[0] = args
;
15749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15750 if (!SWIG_IsOK(res1
)) {
15751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15753 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15756 result
= (int)(arg1
)->GetYMin();
15757 wxPyEndAllowThreads(__tstate
);
15758 if (PyErr_Occurred()) SWIG_fail
;
15760 resultobj
= SWIG_From_int(static_cast< int >(result
));
15767 SWIGINTERN PyObject
*_wrap_Joystick_GetZMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15768 PyObject
*resultobj
= 0;
15769 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15773 PyObject
*swig_obj
[1] ;
15775 if (!args
) SWIG_fail
;
15776 swig_obj
[0] = args
;
15777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15778 if (!SWIG_IsOK(res1
)) {
15779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15781 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15784 result
= (int)(arg1
)->GetZMin();
15785 wxPyEndAllowThreads(__tstate
);
15786 if (PyErr_Occurred()) SWIG_fail
;
15788 resultobj
= SWIG_From_int(static_cast< int >(result
));
15795 SWIGINTERN PyObject
*_wrap_Joystick_GetXMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15796 PyObject
*resultobj
= 0;
15797 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15801 PyObject
*swig_obj
[1] ;
15803 if (!args
) SWIG_fail
;
15804 swig_obj
[0] = args
;
15805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15806 if (!SWIG_IsOK(res1
)) {
15807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15809 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15812 result
= (int)(arg1
)->GetXMax();
15813 wxPyEndAllowThreads(__tstate
);
15814 if (PyErr_Occurred()) SWIG_fail
;
15816 resultobj
= SWIG_From_int(static_cast< int >(result
));
15823 SWIGINTERN PyObject
*_wrap_Joystick_GetYMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15824 PyObject
*resultobj
= 0;
15825 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15829 PyObject
*swig_obj
[1] ;
15831 if (!args
) SWIG_fail
;
15832 swig_obj
[0] = args
;
15833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15834 if (!SWIG_IsOK(res1
)) {
15835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15837 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15840 result
= (int)(arg1
)->GetYMax();
15841 wxPyEndAllowThreads(__tstate
);
15842 if (PyErr_Occurred()) SWIG_fail
;
15844 resultobj
= SWIG_From_int(static_cast< int >(result
));
15851 SWIGINTERN PyObject
*_wrap_Joystick_GetZMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15852 PyObject
*resultobj
= 0;
15853 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15857 PyObject
*swig_obj
[1] ;
15859 if (!args
) SWIG_fail
;
15860 swig_obj
[0] = args
;
15861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15862 if (!SWIG_IsOK(res1
)) {
15863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15865 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15868 result
= (int)(arg1
)->GetZMax();
15869 wxPyEndAllowThreads(__tstate
);
15870 if (PyErr_Occurred()) SWIG_fail
;
15872 resultobj
= SWIG_From_int(static_cast< int >(result
));
15879 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15880 PyObject
*resultobj
= 0;
15881 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15885 PyObject
*swig_obj
[1] ;
15887 if (!args
) SWIG_fail
;
15888 swig_obj
[0] = args
;
15889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15890 if (!SWIG_IsOK(res1
)) {
15891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
15893 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15896 result
= (int)(arg1
)->GetNumberButtons();
15897 wxPyEndAllowThreads(__tstate
);
15898 if (PyErr_Occurred()) SWIG_fail
;
15900 resultobj
= SWIG_From_int(static_cast< int >(result
));
15907 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15908 PyObject
*resultobj
= 0;
15909 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15913 PyObject
*swig_obj
[1] ;
15915 if (!args
) SWIG_fail
;
15916 swig_obj
[0] = args
;
15917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15918 if (!SWIG_IsOK(res1
)) {
15919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
15921 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15924 result
= (int)(arg1
)->GetNumberAxes();
15925 wxPyEndAllowThreads(__tstate
);
15926 if (PyErr_Occurred()) SWIG_fail
;
15928 resultobj
= SWIG_From_int(static_cast< int >(result
));
15935 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15936 PyObject
*resultobj
= 0;
15937 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15941 PyObject
*swig_obj
[1] ;
15943 if (!args
) SWIG_fail
;
15944 swig_obj
[0] = args
;
15945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15946 if (!SWIG_IsOK(res1
)) {
15947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
15949 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15952 result
= (int)(arg1
)->GetMaxButtons();
15953 wxPyEndAllowThreads(__tstate
);
15954 if (PyErr_Occurred()) SWIG_fail
;
15956 resultobj
= SWIG_From_int(static_cast< int >(result
));
15963 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15964 PyObject
*resultobj
= 0;
15965 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15969 PyObject
*swig_obj
[1] ;
15971 if (!args
) SWIG_fail
;
15972 swig_obj
[0] = args
;
15973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15974 if (!SWIG_IsOK(res1
)) {
15975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
15977 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15980 result
= (int)(arg1
)->GetMaxAxes();
15981 wxPyEndAllowThreads(__tstate
);
15982 if (PyErr_Occurred()) SWIG_fail
;
15984 resultobj
= SWIG_From_int(static_cast< int >(result
));
15991 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15992 PyObject
*resultobj
= 0;
15993 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15997 PyObject
*swig_obj
[1] ;
15999 if (!args
) SWIG_fail
;
16000 swig_obj
[0] = args
;
16001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16002 if (!SWIG_IsOK(res1
)) {
16003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
16005 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16008 result
= (int)(arg1
)->GetPollingMin();
16009 wxPyEndAllowThreads(__tstate
);
16010 if (PyErr_Occurred()) SWIG_fail
;
16012 resultobj
= SWIG_From_int(static_cast< int >(result
));
16019 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16020 PyObject
*resultobj
= 0;
16021 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16025 PyObject
*swig_obj
[1] ;
16027 if (!args
) SWIG_fail
;
16028 swig_obj
[0] = args
;
16029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16030 if (!SWIG_IsOK(res1
)) {
16031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
16033 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16036 result
= (int)(arg1
)->GetPollingMax();
16037 wxPyEndAllowThreads(__tstate
);
16038 if (PyErr_Occurred()) SWIG_fail
;
16040 resultobj
= SWIG_From_int(static_cast< int >(result
));
16047 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16048 PyObject
*resultobj
= 0;
16049 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16053 PyObject
*swig_obj
[1] ;
16055 if (!args
) SWIG_fail
;
16056 swig_obj
[0] = args
;
16057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16058 if (!SWIG_IsOK(res1
)) {
16059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
16061 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16064 result
= (int)(arg1
)->GetRudderMin();
16065 wxPyEndAllowThreads(__tstate
);
16066 if (PyErr_Occurred()) SWIG_fail
;
16068 resultobj
= SWIG_From_int(static_cast< int >(result
));
16075 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16076 PyObject
*resultobj
= 0;
16077 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16081 PyObject
*swig_obj
[1] ;
16083 if (!args
) SWIG_fail
;
16084 swig_obj
[0] = args
;
16085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16086 if (!SWIG_IsOK(res1
)) {
16087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
16089 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16092 result
= (int)(arg1
)->GetRudderMax();
16093 wxPyEndAllowThreads(__tstate
);
16094 if (PyErr_Occurred()) SWIG_fail
;
16096 resultobj
= SWIG_From_int(static_cast< int >(result
));
16103 SWIGINTERN PyObject
*_wrap_Joystick_GetUMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16104 PyObject
*resultobj
= 0;
16105 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16109 PyObject
*swig_obj
[1] ;
16111 if (!args
) SWIG_fail
;
16112 swig_obj
[0] = args
;
16113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16114 if (!SWIG_IsOK(res1
)) {
16115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
16117 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16120 result
= (int)(arg1
)->GetUMin();
16121 wxPyEndAllowThreads(__tstate
);
16122 if (PyErr_Occurred()) SWIG_fail
;
16124 resultobj
= SWIG_From_int(static_cast< int >(result
));
16131 SWIGINTERN PyObject
*_wrap_Joystick_GetUMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16132 PyObject
*resultobj
= 0;
16133 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16137 PyObject
*swig_obj
[1] ;
16139 if (!args
) SWIG_fail
;
16140 swig_obj
[0] = args
;
16141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16142 if (!SWIG_IsOK(res1
)) {
16143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
16145 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16148 result
= (int)(arg1
)->GetUMax();
16149 wxPyEndAllowThreads(__tstate
);
16150 if (PyErr_Occurred()) SWIG_fail
;
16152 resultobj
= SWIG_From_int(static_cast< int >(result
));
16159 SWIGINTERN PyObject
*_wrap_Joystick_GetVMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16160 PyObject
*resultobj
= 0;
16161 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16165 PyObject
*swig_obj
[1] ;
16167 if (!args
) SWIG_fail
;
16168 swig_obj
[0] = args
;
16169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16170 if (!SWIG_IsOK(res1
)) {
16171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
16173 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16176 result
= (int)(arg1
)->GetVMin();
16177 wxPyEndAllowThreads(__tstate
);
16178 if (PyErr_Occurred()) SWIG_fail
;
16180 resultobj
= SWIG_From_int(static_cast< int >(result
));
16187 SWIGINTERN PyObject
*_wrap_Joystick_GetVMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16188 PyObject
*resultobj
= 0;
16189 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16193 PyObject
*swig_obj
[1] ;
16195 if (!args
) SWIG_fail
;
16196 swig_obj
[0] = args
;
16197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16198 if (!SWIG_IsOK(res1
)) {
16199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
16201 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16204 result
= (int)(arg1
)->GetVMax();
16205 wxPyEndAllowThreads(__tstate
);
16206 if (PyErr_Occurred()) SWIG_fail
;
16208 resultobj
= SWIG_From_int(static_cast< int >(result
));
16215 SWIGINTERN PyObject
*_wrap_Joystick_HasRudder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16216 PyObject
*resultobj
= 0;
16217 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16221 PyObject
*swig_obj
[1] ;
16223 if (!args
) SWIG_fail
;
16224 swig_obj
[0] = args
;
16225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16226 if (!SWIG_IsOK(res1
)) {
16227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasRudder" "', expected argument " "1"" of type '" "wxJoystick *""'");
16229 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16232 result
= (bool)(arg1
)->HasRudder();
16233 wxPyEndAllowThreads(__tstate
);
16234 if (PyErr_Occurred()) SWIG_fail
;
16237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16245 SWIGINTERN PyObject
*_wrap_Joystick_HasZ(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16246 PyObject
*resultobj
= 0;
16247 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16251 PyObject
*swig_obj
[1] ;
16253 if (!args
) SWIG_fail
;
16254 swig_obj
[0] = args
;
16255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16256 if (!SWIG_IsOK(res1
)) {
16257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasZ" "', expected argument " "1"" of type '" "wxJoystick *""'");
16259 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16262 result
= (bool)(arg1
)->HasZ();
16263 wxPyEndAllowThreads(__tstate
);
16264 if (PyErr_Occurred()) SWIG_fail
;
16267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16275 SWIGINTERN PyObject
*_wrap_Joystick_HasU(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16276 PyObject
*resultobj
= 0;
16277 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16281 PyObject
*swig_obj
[1] ;
16283 if (!args
) SWIG_fail
;
16284 swig_obj
[0] = args
;
16285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16286 if (!SWIG_IsOK(res1
)) {
16287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasU" "', expected argument " "1"" of type '" "wxJoystick *""'");
16289 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16292 result
= (bool)(arg1
)->HasU();
16293 wxPyEndAllowThreads(__tstate
);
16294 if (PyErr_Occurred()) SWIG_fail
;
16297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16305 SWIGINTERN PyObject
*_wrap_Joystick_HasV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16306 PyObject
*resultobj
= 0;
16307 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16311 PyObject
*swig_obj
[1] ;
16313 if (!args
) SWIG_fail
;
16314 swig_obj
[0] = args
;
16315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16316 if (!SWIG_IsOK(res1
)) {
16317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasV" "', expected argument " "1"" of type '" "wxJoystick *""'");
16319 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16322 result
= (bool)(arg1
)->HasV();
16323 wxPyEndAllowThreads(__tstate
);
16324 if (PyErr_Occurred()) SWIG_fail
;
16327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16335 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16336 PyObject
*resultobj
= 0;
16337 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16341 PyObject
*swig_obj
[1] ;
16343 if (!args
) SWIG_fail
;
16344 swig_obj
[0] = args
;
16345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16346 if (!SWIG_IsOK(res1
)) {
16347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV" "', expected argument " "1"" of type '" "wxJoystick *""'");
16349 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16352 result
= (bool)(arg1
)->HasPOV();
16353 wxPyEndAllowThreads(__tstate
);
16354 if (PyErr_Occurred()) SWIG_fail
;
16357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16365 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16366 PyObject
*resultobj
= 0;
16367 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16371 PyObject
*swig_obj
[1] ;
16373 if (!args
) SWIG_fail
;
16374 swig_obj
[0] = args
;
16375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16376 if (!SWIG_IsOK(res1
)) {
16377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV4Dir" "', expected argument " "1"" of type '" "wxJoystick *""'");
16379 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16382 result
= (bool)(arg1
)->HasPOV4Dir();
16383 wxPyEndAllowThreads(__tstate
);
16384 if (PyErr_Occurred()) SWIG_fail
;
16387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16395 SWIGINTERN PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16396 PyObject
*resultobj
= 0;
16397 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16401 PyObject
*swig_obj
[1] ;
16403 if (!args
) SWIG_fail
;
16404 swig_obj
[0] = args
;
16405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16406 if (!SWIG_IsOK(res1
)) {
16407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOVCTS" "', expected argument " "1"" of type '" "wxJoystick *""'");
16409 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16412 result
= (bool)(arg1
)->HasPOVCTS();
16413 wxPyEndAllowThreads(__tstate
);
16414 if (PyErr_Occurred()) SWIG_fail
;
16417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16425 SWIGINTERN PyObject
*_wrap_Joystick_SetCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16426 PyObject
*resultobj
= 0;
16427 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16428 wxWindow
*arg2
= (wxWindow
*) 0 ;
16429 int arg3
= (int) 0 ;
16437 PyObject
* obj0
= 0 ;
16438 PyObject
* obj1
= 0 ;
16439 PyObject
* obj2
= 0 ;
16440 char * kwnames
[] = {
16441 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
16444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16446 if (!SWIG_IsOK(res1
)) {
16447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
16449 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16450 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16451 if (!SWIG_IsOK(res2
)) {
16452 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Joystick_SetCapture" "', expected argument " "2"" of type '" "wxWindow *""'");
16454 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16456 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16457 if (!SWIG_IsOK(ecode3
)) {
16458 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Joystick_SetCapture" "', expected argument " "3"" of type '" "int""'");
16460 arg3
= static_cast< int >(val3
);
16463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16464 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
16465 wxPyEndAllowThreads(__tstate
);
16466 if (PyErr_Occurred()) SWIG_fail
;
16469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16477 SWIGINTERN PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16478 PyObject
*resultobj
= 0;
16479 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16483 PyObject
*swig_obj
[1] ;
16485 if (!args
) SWIG_fail
;
16486 swig_obj
[0] = args
;
16487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16488 if (!SWIG_IsOK(res1
)) {
16489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_ReleaseCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
16491 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16494 result
= (bool)(arg1
)->ReleaseCapture();
16495 wxPyEndAllowThreads(__tstate
);
16496 if (PyErr_Occurred()) SWIG_fail
;
16499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16507 SWIGINTERN PyObject
*Joystick_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16509 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16510 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystick
, SWIG_NewClientData(obj
));
16511 return SWIG_Py_Void();
16514 SWIGINTERN PyObject
*Joystick_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16515 return SWIG_Python_InitShadowInstance(args
);
16518 SWIGINTERN PyObject
*_wrap_new_JoystickEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16519 PyObject
*resultobj
= 0;
16520 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16521 int arg2
= (int) 0 ;
16522 int arg3
= (int) wxJOYSTICK1
;
16523 int arg4
= (int) 0 ;
16524 wxJoystickEvent
*result
= 0 ;
16533 PyObject
* obj0
= 0 ;
16534 PyObject
* obj1
= 0 ;
16535 PyObject
* obj2
= 0 ;
16536 PyObject
* obj3
= 0 ;
16537 char * kwnames
[] = {
16538 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
16541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16543 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16544 if (!SWIG_IsOK(ecode1
)) {
16545 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_JoystickEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16547 arg1
= static_cast< wxEventType
>(val1
);
16550 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16551 if (!SWIG_IsOK(ecode2
)) {
16552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_JoystickEvent" "', expected argument " "2"" of type '" "int""'");
16554 arg2
= static_cast< int >(val2
);
16557 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16558 if (!SWIG_IsOK(ecode3
)) {
16559 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_JoystickEvent" "', expected argument " "3"" of type '" "int""'");
16561 arg3
= static_cast< int >(val3
);
16564 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16565 if (!SWIG_IsOK(ecode4
)) {
16566 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_JoystickEvent" "', expected argument " "4"" of type '" "int""'");
16568 arg4
= static_cast< int >(val4
);
16571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16572 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
16573 wxPyEndAllowThreads(__tstate
);
16574 if (PyErr_Occurred()) SWIG_fail
;
16576 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_NEW
| 0 );
16583 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16584 PyObject
*resultobj
= 0;
16585 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16589 PyObject
*swig_obj
[1] ;
16591 if (!args
) SWIG_fail
;
16592 swig_obj
[0] = args
;
16593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16594 if (!SWIG_IsOK(res1
)) {
16595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16597 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16600 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
16601 wxPyEndAllowThreads(__tstate
);
16602 if (PyErr_Occurred()) SWIG_fail
;
16604 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
16611 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16612 PyObject
*resultobj
= 0;
16613 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16617 PyObject
*swig_obj
[1] ;
16619 if (!args
) SWIG_fail
;
16620 swig_obj
[0] = args
;
16621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16622 if (!SWIG_IsOK(res1
)) {
16623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16625 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16628 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
16629 wxPyEndAllowThreads(__tstate
);
16630 if (PyErr_Occurred()) SWIG_fail
;
16632 resultobj
= SWIG_From_int(static_cast< int >(result
));
16639 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16640 PyObject
*resultobj
= 0;
16641 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16645 PyObject
*swig_obj
[1] ;
16647 if (!args
) SWIG_fail
;
16648 swig_obj
[0] = args
;
16649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16650 if (!SWIG_IsOK(res1
)) {
16651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16653 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16656 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
16657 wxPyEndAllowThreads(__tstate
);
16658 if (PyErr_Occurred()) SWIG_fail
;
16660 resultobj
= SWIG_From_int(static_cast< int >(result
));
16667 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16668 PyObject
*resultobj
= 0;
16669 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16673 PyObject
*swig_obj
[1] ;
16675 if (!args
) SWIG_fail
;
16676 swig_obj
[0] = args
;
16677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16678 if (!SWIG_IsOK(res1
)) {
16679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16681 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16684 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
16685 wxPyEndAllowThreads(__tstate
);
16686 if (PyErr_Occurred()) SWIG_fail
;
16688 resultobj
= SWIG_From_int(static_cast< int >(result
));
16695 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16696 PyObject
*resultobj
= 0;
16697 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16701 PyObject
*swig_obj
[1] ;
16703 if (!args
) SWIG_fail
;
16704 swig_obj
[0] = args
;
16705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16706 if (!SWIG_IsOK(res1
)) {
16707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16709 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16712 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
16713 wxPyEndAllowThreads(__tstate
);
16714 if (PyErr_Occurred()) SWIG_fail
;
16716 resultobj
= SWIG_From_int(static_cast< int >(result
));
16723 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16724 PyObject
*resultobj
= 0;
16725 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16731 PyObject
* obj0
= 0 ;
16732 PyObject
* obj1
= 0 ;
16733 char * kwnames
[] = {
16734 (char *) "self",(char *) "stick", NULL
16737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16739 if (!SWIG_IsOK(res1
)) {
16740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16742 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16743 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16744 if (!SWIG_IsOK(ecode2
)) {
16745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "2"" of type '" "int""'");
16747 arg2
= static_cast< int >(val2
);
16749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16750 (arg1
)->SetJoystick(arg2
);
16751 wxPyEndAllowThreads(__tstate
);
16752 if (PyErr_Occurred()) SWIG_fail
;
16754 resultobj
= SWIG_Py_Void();
16761 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16762 PyObject
*resultobj
= 0;
16763 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16769 PyObject
* obj0
= 0 ;
16770 PyObject
* obj1
= 0 ;
16771 char * kwnames
[] = {
16772 (char *) "self",(char *) "state", NULL
16775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16777 if (!SWIG_IsOK(res1
)) {
16778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16780 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16781 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16782 if (!SWIG_IsOK(ecode2
)) {
16783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "2"" of type '" "int""'");
16785 arg2
= static_cast< int >(val2
);
16787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16788 (arg1
)->SetButtonState(arg2
);
16789 wxPyEndAllowThreads(__tstate
);
16790 if (PyErr_Occurred()) SWIG_fail
;
16792 resultobj
= SWIG_Py_Void();
16799 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16800 PyObject
*resultobj
= 0;
16801 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16807 PyObject
* obj0
= 0 ;
16808 PyObject
* obj1
= 0 ;
16809 char * kwnames
[] = {
16810 (char *) "self",(char *) "change", NULL
16813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16815 if (!SWIG_IsOK(res1
)) {
16816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16818 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16819 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16820 if (!SWIG_IsOK(ecode2
)) {
16821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "2"" of type '" "int""'");
16823 arg2
= static_cast< int >(val2
);
16825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16826 (arg1
)->SetButtonChange(arg2
);
16827 wxPyEndAllowThreads(__tstate
);
16828 if (PyErr_Occurred()) SWIG_fail
;
16830 resultobj
= SWIG_Py_Void();
16837 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16838 PyObject
*resultobj
= 0;
16839 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16840 wxPoint
*arg2
= 0 ;
16844 PyObject
* obj0
= 0 ;
16845 PyObject
* obj1
= 0 ;
16846 char * kwnames
[] = {
16847 (char *) "self",(char *) "pos", NULL
16850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16852 if (!SWIG_IsOK(res1
)) {
16853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16855 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16858 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16862 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
16863 wxPyEndAllowThreads(__tstate
);
16864 if (PyErr_Occurred()) SWIG_fail
;
16866 resultobj
= SWIG_Py_Void();
16873 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16874 PyObject
*resultobj
= 0;
16875 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16881 PyObject
* obj0
= 0 ;
16882 PyObject
* obj1
= 0 ;
16883 char * kwnames
[] = {
16884 (char *) "self",(char *) "zPos", NULL
16887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16889 if (!SWIG_IsOK(res1
)) {
16890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16892 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16893 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16894 if (!SWIG_IsOK(ecode2
)) {
16895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "2"" of type '" "int""'");
16897 arg2
= static_cast< int >(val2
);
16899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16900 (arg1
)->SetZPosition(arg2
);
16901 wxPyEndAllowThreads(__tstate
);
16902 if (PyErr_Occurred()) SWIG_fail
;
16904 resultobj
= SWIG_Py_Void();
16911 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16912 PyObject
*resultobj
= 0;
16913 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16917 PyObject
*swig_obj
[1] ;
16919 if (!args
) SWIG_fail
;
16920 swig_obj
[0] = args
;
16921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16922 if (!SWIG_IsOK(res1
)) {
16923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsButton" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16925 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16928 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
16929 wxPyEndAllowThreads(__tstate
);
16930 if (PyErr_Occurred()) SWIG_fail
;
16933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16941 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16942 PyObject
*resultobj
= 0;
16943 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16947 PyObject
*swig_obj
[1] ;
16949 if (!args
) SWIG_fail
;
16950 swig_obj
[0] = args
;
16951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16952 if (!SWIG_IsOK(res1
)) {
16953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16955 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16958 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
16959 wxPyEndAllowThreads(__tstate
);
16960 if (PyErr_Occurred()) SWIG_fail
;
16963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16971 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16972 PyObject
*resultobj
= 0;
16973 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16977 PyObject
*swig_obj
[1] ;
16979 if (!args
) SWIG_fail
;
16980 swig_obj
[0] = args
;
16981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16982 if (!SWIG_IsOK(res1
)) {
16983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsZMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16985 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16988 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
16989 wxPyEndAllowThreads(__tstate
);
16990 if (PyErr_Occurred()) SWIG_fail
;
16993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17001 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17002 PyObject
*resultobj
= 0;
17003 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
17004 int arg2
= (int) wxJOY_BUTTON_ANY
;
17010 PyObject
* obj0
= 0 ;
17011 PyObject
* obj1
= 0 ;
17012 char * kwnames
[] = {
17013 (char *) "self",(char *) "but", NULL
17016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
17018 if (!SWIG_IsOK(res1
)) {
17019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
17021 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
17023 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17024 if (!SWIG_IsOK(ecode2
)) {
17025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "2"" of type '" "int""'");
17027 arg2
= static_cast< int >(val2
);
17030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17031 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
17032 wxPyEndAllowThreads(__tstate
);
17033 if (PyErr_Occurred()) SWIG_fail
;
17036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17044 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17045 PyObject
*resultobj
= 0;
17046 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
17047 int arg2
= (int) wxJOY_BUTTON_ANY
;
17053 PyObject
* obj0
= 0 ;
17054 PyObject
* obj1
= 0 ;
17055 char * kwnames
[] = {
17056 (char *) "self",(char *) "but", NULL
17059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
17061 if (!SWIG_IsOK(res1
)) {
17062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
17064 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
17066 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17067 if (!SWIG_IsOK(ecode2
)) {
17068 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "2"" of type '" "int""'");
17070 arg2
= static_cast< int >(val2
);
17073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17074 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
17075 wxPyEndAllowThreads(__tstate
);
17076 if (PyErr_Occurred()) SWIG_fail
;
17079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17087 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17088 PyObject
*resultobj
= 0;
17089 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
17090 int arg2
= (int) wxJOY_BUTTON_ANY
;
17096 PyObject
* obj0
= 0 ;
17097 PyObject
* obj1
= 0 ;
17098 char * kwnames
[] = {
17099 (char *) "self",(char *) "but", NULL
17102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
17104 if (!SWIG_IsOK(res1
)) {
17105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
17107 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
17109 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17110 if (!SWIG_IsOK(ecode2
)) {
17111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "2"" of type '" "int""'");
17113 arg2
= static_cast< int >(val2
);
17116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17117 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
17118 wxPyEndAllowThreads(__tstate
);
17119 if (PyErr_Occurred()) SWIG_fail
;
17122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17130 SWIGINTERN PyObject
*JoystickEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17132 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17133 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystickEvent
, SWIG_NewClientData(obj
));
17134 return SWIG_Py_Void();
17137 SWIGINTERN PyObject
*JoystickEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17138 return SWIG_Python_InitShadowInstance(args
);
17141 SWIGINTERN PyObject
*_wrap_new_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17142 PyObject
*resultobj
= 0;
17143 wxString
const &arg1_defvalue
= wxPyEmptyString
;
17144 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
17145 wxSound
*result
= 0 ;
17146 bool temp1
= false ;
17147 PyObject
* obj0
= 0 ;
17148 char * kwnames
[] = {
17149 (char *) "fileName", NULL
17152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) SWIG_fail
;
17155 arg1
= wxString_in_helper(obj0
);
17156 if (arg1
== NULL
) SWIG_fail
;
17161 if (!wxPyCheckForApp()) SWIG_fail
;
17162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17163 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
17164 wxPyEndAllowThreads(__tstate
);
17165 if (PyErr_Occurred()) SWIG_fail
;
17167 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_NEW
| 0 );
17182 SWIGINTERN PyObject
*_wrap_new_SoundFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17183 PyObject
*resultobj
= 0;
17184 PyObject
*arg1
= (PyObject
*) 0 ;
17185 wxSound
*result
= 0 ;
17186 PyObject
* obj0
= 0 ;
17187 char * kwnames
[] = {
17188 (char *) "data", NULL
17191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) SWIG_fail
;
17194 if (!wxPyCheckForApp()) SWIG_fail
;
17195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17196 result
= (wxSound
*)new_wxSound(arg1
);
17197 wxPyEndAllowThreads(__tstate
);
17198 if (PyErr_Occurred()) SWIG_fail
;
17200 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_OWN
| 0 );
17207 SWIGINTERN PyObject
*_wrap_delete_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17208 PyObject
*resultobj
= 0;
17209 wxSound
*arg1
= (wxSound
*) 0 ;
17212 PyObject
*swig_obj
[1] ;
17214 if (!args
) SWIG_fail
;
17215 swig_obj
[0] = args
;
17216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, SWIG_POINTER_DISOWN
| 0 );
17217 if (!SWIG_IsOK(res1
)) {
17218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Sound" "', expected argument " "1"" of type '" "wxSound *""'");
17220 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17225 wxPyEndAllowThreads(__tstate
);
17226 if (PyErr_Occurred()) SWIG_fail
;
17228 resultobj
= SWIG_Py_Void();
17235 SWIGINTERN PyObject
*_wrap_Sound_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17236 PyObject
*resultobj
= 0;
17237 wxSound
*arg1
= (wxSound
*) 0 ;
17238 wxString
*arg2
= 0 ;
17242 bool temp2
= false ;
17243 PyObject
* obj0
= 0 ;
17244 PyObject
* obj1
= 0 ;
17245 char * kwnames
[] = {
17246 (char *) "self",(char *) "fileName", NULL
17249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17251 if (!SWIG_IsOK(res1
)) {
17252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Create" "', expected argument " "1"" of type '" "wxSound *""'");
17254 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17256 arg2
= wxString_in_helper(obj1
);
17257 if (arg2
== NULL
) SWIG_fail
;
17261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17262 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
17263 wxPyEndAllowThreads(__tstate
);
17264 if (PyErr_Occurred()) SWIG_fail
;
17267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17283 SWIGINTERN PyObject
*_wrap_Sound_CreateFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17284 PyObject
*resultobj
= 0;
17285 wxSound
*arg1
= (wxSound
*) 0 ;
17286 PyObject
*arg2
= (PyObject
*) 0 ;
17290 PyObject
* obj0
= 0 ;
17291 PyObject
* obj1
= 0 ;
17292 char * kwnames
[] = {
17293 (char *) "self",(char *) "data", NULL
17296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17298 if (!SWIG_IsOK(res1
)) {
17299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_CreateFromData" "', expected argument " "1"" of type '" "wxSound *""'");
17301 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17305 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
17306 wxPyEndAllowThreads(__tstate
);
17307 if (PyErr_Occurred()) SWIG_fail
;
17310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17318 SWIGINTERN PyObject
*_wrap_Sound_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17319 PyObject
*resultobj
= 0;
17320 wxSound
*arg1
= (wxSound
*) 0 ;
17324 PyObject
*swig_obj
[1] ;
17326 if (!args
) SWIG_fail
;
17327 swig_obj
[0] = args
;
17328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17329 if (!SWIG_IsOK(res1
)) {
17330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_IsOk" "', expected argument " "1"" of type '" "wxSound *""'");
17332 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17335 result
= (bool)(arg1
)->IsOk();
17336 wxPyEndAllowThreads(__tstate
);
17337 if (PyErr_Occurred()) SWIG_fail
;
17340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17348 SWIGINTERN PyObject
*_wrap_Sound_Play(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17349 PyObject
*resultobj
= 0;
17350 wxSound
*arg1
= (wxSound
*) 0 ;
17351 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
17355 unsigned int val2
;
17357 PyObject
* obj0
= 0 ;
17358 PyObject
* obj1
= 0 ;
17359 char * kwnames
[] = {
17360 (char *) "self",(char *) "flags", NULL
17363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17365 if (!SWIG_IsOK(res1
)) {
17366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Play" "', expected argument " "1"" of type '" "wxSound const *""'");
17368 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17370 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17371 if (!SWIG_IsOK(ecode2
)) {
17372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_Play" "', expected argument " "2"" of type '" "unsigned int""'");
17374 arg2
= static_cast< unsigned int >(val2
);
17377 if (!wxPyCheckForApp()) SWIG_fail
;
17378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17379 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
17380 wxPyEndAllowThreads(__tstate
);
17381 if (PyErr_Occurred()) SWIG_fail
;
17384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17392 SWIGINTERN PyObject
*_wrap_Sound_PlaySound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17393 PyObject
*resultobj
= 0;
17394 wxString
*arg1
= 0 ;
17395 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
17397 bool temp1
= false ;
17398 unsigned int val2
;
17400 PyObject
* obj0
= 0 ;
17401 PyObject
* obj1
= 0 ;
17402 char * kwnames
[] = {
17403 (char *) "filename",(char *) "flags", NULL
17406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17408 arg1
= wxString_in_helper(obj0
);
17409 if (arg1
== NULL
) SWIG_fail
;
17413 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17414 if (!SWIG_IsOK(ecode2
)) {
17415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_PlaySound" "', expected argument " "2"" of type '" "unsigned int""'");
17417 arg2
= static_cast< unsigned int >(val2
);
17420 if (!wxPyCheckForApp()) SWIG_fail
;
17421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17422 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
17423 wxPyEndAllowThreads(__tstate
);
17424 if (PyErr_Occurred()) SWIG_fail
;
17427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17443 SWIGINTERN PyObject
*_wrap_Sound_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17444 PyObject
*resultobj
= 0;
17446 if (!SWIG_Python_UnpackTuple(args
,"Sound_Stop",0,0,0)) SWIG_fail
;
17448 if (!wxPyCheckForApp()) SWIG_fail
;
17449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17451 wxPyEndAllowThreads(__tstate
);
17452 if (PyErr_Occurred()) SWIG_fail
;
17454 resultobj
= SWIG_Py_Void();
17461 SWIGINTERN PyObject
*Sound_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17463 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17464 SWIG_TypeNewClientData(SWIGTYPE_p_wxSound
, SWIG_NewClientData(obj
));
17465 return SWIG_Py_Void();
17468 SWIGINTERN PyObject
*Sound_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17469 return SWIG_Python_InitShadowInstance(args
);
17472 SWIGINTERN PyObject
*_wrap_new_FileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17473 PyObject
*resultobj
= 0;
17474 wxString
*arg1
= 0 ;
17475 wxString
*arg2
= 0 ;
17476 wxString
*arg3
= 0 ;
17477 wxString
*arg4
= 0 ;
17478 wxFileTypeInfo
*result
= 0 ;
17479 bool temp1
= false ;
17480 bool temp2
= false ;
17481 bool temp3
= false ;
17482 bool temp4
= false ;
17483 PyObject
* obj0
= 0 ;
17484 PyObject
* obj1
= 0 ;
17485 PyObject
* obj2
= 0 ;
17486 PyObject
* obj3
= 0 ;
17487 char * kwnames
[] = {
17488 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
17491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17493 arg1
= wxString_in_helper(obj0
);
17494 if (arg1
== NULL
) SWIG_fail
;
17498 arg2
= wxString_in_helper(obj1
);
17499 if (arg2
== NULL
) SWIG_fail
;
17503 arg3
= wxString_in_helper(obj2
);
17504 if (arg3
== NULL
) SWIG_fail
;
17508 arg4
= wxString_in_helper(obj3
);
17509 if (arg4
== NULL
) SWIG_fail
;
17513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17514 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
17515 wxPyEndAllowThreads(__tstate
);
17516 if (PyErr_Occurred()) SWIG_fail
;
17518 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_NEW
| 0 );
17557 SWIGINTERN PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17558 PyObject
*resultobj
= 0;
17559 wxArrayString
*arg1
= 0 ;
17560 wxFileTypeInfo
*result
= 0 ;
17561 bool temp1
= false ;
17562 PyObject
* obj0
= 0 ;
17563 char * kwnames
[] = {
17564 (char *) "sArray", NULL
17567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) SWIG_fail
;
17569 if (! PySequence_Check(obj0
)) {
17570 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
17573 arg1
= new wxArrayString
;
17575 int i
, len
=PySequence_Length(obj0
);
17576 for (i
=0; i
<len
; i
++) {
17577 PyObject
* item
= PySequence_GetItem(obj0
, i
);
17578 wxString
* s
= wxString_in_helper(item
);
17579 if (PyErr_Occurred()) SWIG_fail
;
17586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17587 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
17588 wxPyEndAllowThreads(__tstate
);
17589 if (PyErr_Occurred()) SWIG_fail
;
17591 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
17593 if (temp1
) delete arg1
;
17598 if (temp1
) delete arg1
;
17604 SWIGINTERN PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17605 PyObject
*resultobj
= 0;
17606 wxFileTypeInfo
*result
= 0 ;
17608 if (!SWIG_Python_UnpackTuple(args
,"new_NullFileTypeInfo",0,0,0)) SWIG_fail
;
17610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17611 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
17612 wxPyEndAllowThreads(__tstate
);
17613 if (PyErr_Occurred()) SWIG_fail
;
17615 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
17622 SWIGINTERN PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17623 PyObject
*resultobj
= 0;
17624 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17628 PyObject
*swig_obj
[1] ;
17630 if (!args
) SWIG_fail
;
17631 swig_obj
[0] = args
;
17632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17633 if (!SWIG_IsOK(res1
)) {
17634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_IsValid" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17636 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17639 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
17640 wxPyEndAllowThreads(__tstate
);
17641 if (PyErr_Occurred()) SWIG_fail
;
17644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17652 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17653 PyObject
*resultobj
= 0;
17654 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17655 wxString
*arg2
= 0 ;
17656 int arg3
= (int) 0 ;
17659 bool temp2
= false ;
17662 PyObject
* obj0
= 0 ;
17663 PyObject
* obj1
= 0 ;
17664 PyObject
* obj2
= 0 ;
17665 char * kwnames
[] = {
17666 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
17669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17671 if (!SWIG_IsOK(res1
)) {
17672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
17674 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17676 arg2
= wxString_in_helper(obj1
);
17677 if (arg2
== NULL
) SWIG_fail
;
17681 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17682 if (!SWIG_IsOK(ecode3
)) {
17683 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "3"" of type '" "int""'");
17685 arg3
= static_cast< int >(val3
);
17688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17689 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
17690 wxPyEndAllowThreads(__tstate
);
17691 if (PyErr_Occurred()) SWIG_fail
;
17693 resultobj
= SWIG_Py_Void();
17708 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17709 PyObject
*resultobj
= 0;
17710 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17711 wxString
*arg2
= 0 ;
17714 bool temp2
= false ;
17715 PyObject
* obj0
= 0 ;
17716 PyObject
* obj1
= 0 ;
17717 char * kwnames
[] = {
17718 (char *) "self",(char *) "shortDesc", NULL
17721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17723 if (!SWIG_IsOK(res1
)) {
17724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
17726 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17728 arg2
= wxString_in_helper(obj1
);
17729 if (arg2
== NULL
) SWIG_fail
;
17733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17734 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
17735 wxPyEndAllowThreads(__tstate
);
17736 if (PyErr_Occurred()) SWIG_fail
;
17738 resultobj
= SWIG_Py_Void();
17753 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17754 PyObject
*resultobj
= 0;
17755 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17756 wxString
*result
= 0 ;
17759 PyObject
*swig_obj
[1] ;
17761 if (!args
) SWIG_fail
;
17762 swig_obj
[0] = args
;
17763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17764 if (!SWIG_IsOK(res1
)) {
17765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetMimeType" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17767 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17771 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
17772 result
= (wxString
*) &_result_ref
;
17774 wxPyEndAllowThreads(__tstate
);
17775 if (PyErr_Occurred()) SWIG_fail
;
17779 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17781 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17790 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17791 PyObject
*resultobj
= 0;
17792 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17793 wxString
*result
= 0 ;
17796 PyObject
*swig_obj
[1] ;
17798 if (!args
) SWIG_fail
;
17799 swig_obj
[0] = args
;
17800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17801 if (!SWIG_IsOK(res1
)) {
17802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17804 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17808 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
17809 result
= (wxString
*) &_result_ref
;
17811 wxPyEndAllowThreads(__tstate
);
17812 if (PyErr_Occurred()) SWIG_fail
;
17816 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17818 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17827 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17828 PyObject
*resultobj
= 0;
17829 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17830 wxString
*result
= 0 ;
17833 PyObject
*swig_obj
[1] ;
17835 if (!args
) SWIG_fail
;
17836 swig_obj
[0] = args
;
17837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17838 if (!SWIG_IsOK(res1
)) {
17839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17841 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17845 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
17846 result
= (wxString
*) &_result_ref
;
17848 wxPyEndAllowThreads(__tstate
);
17849 if (PyErr_Occurred()) SWIG_fail
;
17853 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17855 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17864 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17865 PyObject
*resultobj
= 0;
17866 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17867 wxString
*result
= 0 ;
17870 PyObject
*swig_obj
[1] ;
17872 if (!args
) SWIG_fail
;
17873 swig_obj
[0] = args
;
17874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17875 if (!SWIG_IsOK(res1
)) {
17876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17878 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17882 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
17883 result
= (wxString
*) &_result_ref
;
17885 wxPyEndAllowThreads(__tstate
);
17886 if (PyErr_Occurred()) SWIG_fail
;
17890 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17892 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17901 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17902 PyObject
*resultobj
= 0;
17903 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17904 wxString
*result
= 0 ;
17907 PyObject
*swig_obj
[1] ;
17909 if (!args
) SWIG_fail
;
17910 swig_obj
[0] = args
;
17911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17912 if (!SWIG_IsOK(res1
)) {
17913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetDescription" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17915 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17919 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
17920 result
= (wxString
*) &_result_ref
;
17922 wxPyEndAllowThreads(__tstate
);
17923 if (PyErr_Occurred()) SWIG_fail
;
17927 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17929 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17938 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17939 PyObject
*resultobj
= 0;
17940 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17941 wxArrayString
*result
= 0 ;
17944 PyObject
*swig_obj
[1] ;
17946 if (!args
) SWIG_fail
;
17947 swig_obj
[0] = args
;
17948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17949 if (!SWIG_IsOK(res1
)) {
17950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensions" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17952 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17956 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
17957 result
= (wxArrayString
*) &_result_ref
;
17959 wxPyEndAllowThreads(__tstate
);
17960 if (PyErr_Occurred()) SWIG_fail
;
17963 resultobj
= wxArrayString2PyList_helper(*result
);
17971 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17972 PyObject
*resultobj
= 0;
17973 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17977 PyObject
*swig_obj
[1] ;
17979 if (!args
) SWIG_fail
;
17980 swig_obj
[0] = args
;
17981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17982 if (!SWIG_IsOK(res1
)) {
17983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensionsCount" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17985 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17988 result
= (size_t)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
17989 wxPyEndAllowThreads(__tstate
);
17990 if (PyErr_Occurred()) SWIG_fail
;
17992 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
17999 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18000 PyObject
*resultobj
= 0;
18001 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
18002 wxString
*result
= 0 ;
18005 PyObject
*swig_obj
[1] ;
18007 if (!args
) SWIG_fail
;
18008 swig_obj
[0] = args
;
18009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
18010 if (!SWIG_IsOK(res1
)) {
18011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconFile" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
18013 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
18015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18017 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
18018 result
= (wxString
*) &_result_ref
;
18020 wxPyEndAllowThreads(__tstate
);
18021 if (PyErr_Occurred()) SWIG_fail
;
18025 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18027 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18036 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18037 PyObject
*resultobj
= 0;
18038 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
18042 PyObject
*swig_obj
[1] ;
18044 if (!args
) SWIG_fail
;
18045 swig_obj
[0] = args
;
18046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
18047 if (!SWIG_IsOK(res1
)) {
18048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconIndex" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
18050 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
18052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18053 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
18054 wxPyEndAllowThreads(__tstate
);
18055 if (PyErr_Occurred()) SWIG_fail
;
18057 resultobj
= SWIG_From_int(static_cast< int >(result
));
18064 SWIGINTERN PyObject
*FileTypeInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18066 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18067 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileTypeInfo
, SWIG_NewClientData(obj
));
18068 return SWIG_Py_Void();
18071 SWIGINTERN PyObject
*FileTypeInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18072 return SWIG_Python_InitShadowInstance(args
);
18075 SWIGINTERN PyObject
*_wrap_new_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18076 PyObject
*resultobj
= 0;
18077 wxFileTypeInfo
*arg1
= 0 ;
18078 wxFileType
*result
= 0 ;
18081 PyObject
* obj0
= 0 ;
18082 char * kwnames
[] = {
18083 (char *) "ftInfo", NULL
18086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) SWIG_fail
;
18087 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
18088 if (!SWIG_IsOK(res1
)) {
18089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
18092 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
18094 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
18096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18097 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
18098 wxPyEndAllowThreads(__tstate
);
18099 if (PyErr_Occurred()) SWIG_fail
;
18101 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_NEW
| 0 );
18108 SWIGINTERN PyObject
*_wrap_delete_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18109 PyObject
*resultobj
= 0;
18110 wxFileType
*arg1
= (wxFileType
*) 0 ;
18113 PyObject
*swig_obj
[1] ;
18115 if (!args
) SWIG_fail
;
18116 swig_obj
[0] = args
;
18117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, SWIG_POINTER_DISOWN
| 0 );
18118 if (!SWIG_IsOK(res1
)) {
18119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileType" "', expected argument " "1"" of type '" "wxFileType *""'");
18121 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18126 wxPyEndAllowThreads(__tstate
);
18127 if (PyErr_Occurred()) SWIG_fail
;
18129 resultobj
= SWIG_Py_Void();
18136 SWIGINTERN PyObject
*_wrap_FileType_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18137 PyObject
*resultobj
= 0;
18138 wxFileType
*arg1
= (wxFileType
*) 0 ;
18139 PyObject
*result
= 0 ;
18142 PyObject
*swig_obj
[1] ;
18144 if (!args
) SWIG_fail
;
18145 swig_obj
[0] = args
;
18146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18147 if (!SWIG_IsOK(res1
)) {
18148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeType" "', expected argument " "1"" of type '" "wxFileType *""'");
18150 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18153 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
18154 wxPyEndAllowThreads(__tstate
);
18155 if (PyErr_Occurred()) SWIG_fail
;
18157 resultobj
= result
;
18164 SWIGINTERN PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18165 PyObject
*resultobj
= 0;
18166 wxFileType
*arg1
= (wxFileType
*) 0 ;
18167 PyObject
*result
= 0 ;
18170 PyObject
*swig_obj
[1] ;
18172 if (!args
) SWIG_fail
;
18173 swig_obj
[0] = args
;
18174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18175 if (!SWIG_IsOK(res1
)) {
18176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeTypes" "', expected argument " "1"" of type '" "wxFileType *""'");
18178 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18181 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
18182 wxPyEndAllowThreads(__tstate
);
18183 if (PyErr_Occurred()) SWIG_fail
;
18185 resultobj
= result
;
18192 SWIGINTERN PyObject
*_wrap_FileType_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18193 PyObject
*resultobj
= 0;
18194 wxFileType
*arg1
= (wxFileType
*) 0 ;
18195 PyObject
*result
= 0 ;
18198 PyObject
*swig_obj
[1] ;
18200 if (!args
) SWIG_fail
;
18201 swig_obj
[0] = args
;
18202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18203 if (!SWIG_IsOK(res1
)) {
18204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetExtensions" "', expected argument " "1"" of type '" "wxFileType *""'");
18206 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18209 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
18210 wxPyEndAllowThreads(__tstate
);
18211 if (PyErr_Occurred()) SWIG_fail
;
18213 resultobj
= result
;
18220 SWIGINTERN PyObject
*_wrap_FileType_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18221 PyObject
*resultobj
= 0;
18222 wxFileType
*arg1
= (wxFileType
*) 0 ;
18223 wxIcon
*result
= 0 ;
18226 PyObject
*swig_obj
[1] ;
18228 if (!args
) SWIG_fail
;
18229 swig_obj
[0] = args
;
18230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18231 if (!SWIG_IsOK(res1
)) {
18232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
18234 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18237 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
18238 wxPyEndAllowThreads(__tstate
);
18239 if (PyErr_Occurred()) SWIG_fail
;
18241 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
18248 SWIGINTERN PyObject
*_wrap_FileType_GetIconInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18249 PyObject
*resultobj
= 0;
18250 wxFileType
*arg1
= (wxFileType
*) 0 ;
18251 PyObject
*result
= 0 ;
18254 PyObject
*swig_obj
[1] ;
18256 if (!args
) SWIG_fail
;
18257 swig_obj
[0] = args
;
18258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18259 if (!SWIG_IsOK(res1
)) {
18260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIconInfo" "', expected argument " "1"" of type '" "wxFileType *""'");
18262 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18265 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
18266 wxPyEndAllowThreads(__tstate
);
18267 if (PyErr_Occurred()) SWIG_fail
;
18269 resultobj
= result
;
18276 SWIGINTERN PyObject
*_wrap_FileType_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18277 PyObject
*resultobj
= 0;
18278 wxFileType
*arg1
= (wxFileType
*) 0 ;
18279 PyObject
*result
= 0 ;
18282 PyObject
*swig_obj
[1] ;
18284 if (!args
) SWIG_fail
;
18285 swig_obj
[0] = args
;
18286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18287 if (!SWIG_IsOK(res1
)) {
18288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetDescription" "', expected argument " "1"" of type '" "wxFileType *""'");
18290 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18293 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
18294 wxPyEndAllowThreads(__tstate
);
18295 if (PyErr_Occurred()) SWIG_fail
;
18297 resultobj
= result
;
18304 SWIGINTERN PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18305 PyObject
*resultobj
= 0;
18306 wxFileType
*arg1
= (wxFileType
*) 0 ;
18307 wxString
*arg2
= 0 ;
18308 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18309 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18310 PyObject
*result
= 0 ;
18313 bool temp2
= false ;
18314 bool temp3
= false ;
18315 PyObject
* obj0
= 0 ;
18316 PyObject
* obj1
= 0 ;
18317 PyObject
* obj2
= 0 ;
18318 char * kwnames
[] = {
18319 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
18322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18324 if (!SWIG_IsOK(res1
)) {
18325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
18327 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18329 arg2
= wxString_in_helper(obj1
);
18330 if (arg2
== NULL
) SWIG_fail
;
18335 arg3
= wxString_in_helper(obj2
);
18336 if (arg3
== NULL
) SWIG_fail
;
18341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18342 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18343 wxPyEndAllowThreads(__tstate
);
18344 if (PyErr_Occurred()) SWIG_fail
;
18346 resultobj
= result
;
18369 SWIGINTERN PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18370 PyObject
*resultobj
= 0;
18371 wxFileType
*arg1
= (wxFileType
*) 0 ;
18372 wxString
*arg2
= 0 ;
18373 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18374 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18375 PyObject
*result
= 0 ;
18378 bool temp2
= false ;
18379 bool temp3
= false ;
18380 PyObject
* obj0
= 0 ;
18381 PyObject
* obj1
= 0 ;
18382 PyObject
* obj2
= 0 ;
18383 char * kwnames
[] = {
18384 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
18387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18389 if (!SWIG_IsOK(res1
)) {
18390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
18392 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18394 arg2
= wxString_in_helper(obj1
);
18395 if (arg2
== NULL
) SWIG_fail
;
18400 arg3
= wxString_in_helper(obj2
);
18401 if (arg3
== NULL
) SWIG_fail
;
18406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18407 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18408 wxPyEndAllowThreads(__tstate
);
18409 if (PyErr_Occurred()) SWIG_fail
;
18411 resultobj
= result
;
18434 SWIGINTERN PyObject
*_wrap_FileType_GetAllCommands(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18435 PyObject
*resultobj
= 0;
18436 wxFileType
*arg1
= (wxFileType
*) 0 ;
18437 wxString
*arg2
= 0 ;
18438 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18439 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18440 PyObject
*result
= 0 ;
18443 bool temp2
= false ;
18444 bool temp3
= false ;
18445 PyObject
* obj0
= 0 ;
18446 PyObject
* obj1
= 0 ;
18447 PyObject
* obj2
= 0 ;
18448 char * kwnames
[] = {
18449 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
18452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18454 if (!SWIG_IsOK(res1
)) {
18455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetAllCommands" "', expected argument " "1"" of type '" "wxFileType *""'");
18457 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18459 arg2
= wxString_in_helper(obj1
);
18460 if (arg2
== NULL
) SWIG_fail
;
18465 arg3
= wxString_in_helper(obj2
);
18466 if (arg3
== NULL
) SWIG_fail
;
18471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18472 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18473 wxPyEndAllowThreads(__tstate
);
18474 if (PyErr_Occurred()) SWIG_fail
;
18476 resultobj
= result
;
18499 SWIGINTERN PyObject
*_wrap_FileType_SetCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18500 PyObject
*resultobj
= 0;
18501 wxFileType
*arg1
= (wxFileType
*) 0 ;
18502 wxString
*arg2
= 0 ;
18503 wxString
*arg3
= 0 ;
18504 bool arg4
= (bool) true ;
18508 bool temp2
= false ;
18509 bool temp3
= false ;
18512 PyObject
* obj0
= 0 ;
18513 PyObject
* obj1
= 0 ;
18514 PyObject
* obj2
= 0 ;
18515 PyObject
* obj3
= 0 ;
18516 char * kwnames
[] = {
18517 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
18520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18522 if (!SWIG_IsOK(res1
)) {
18523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
18525 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18527 arg2
= wxString_in_helper(obj1
);
18528 if (arg2
== NULL
) SWIG_fail
;
18532 arg3
= wxString_in_helper(obj2
);
18533 if (arg3
== NULL
) SWIG_fail
;
18537 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
18538 if (!SWIG_IsOK(ecode4
)) {
18539 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileType_SetCommand" "', expected argument " "4"" of type '" "bool""'");
18541 arg4
= static_cast< bool >(val4
);
18544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18545 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
18546 wxPyEndAllowThreads(__tstate
);
18547 if (PyErr_Occurred()) SWIG_fail
;
18550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18574 SWIGINTERN PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18575 PyObject
*resultobj
= 0;
18576 wxFileType
*arg1
= (wxFileType
*) 0 ;
18577 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18578 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18579 int arg3
= (int) 0 ;
18583 bool temp2
= false ;
18586 PyObject
* obj0
= 0 ;
18587 PyObject
* obj1
= 0 ;
18588 PyObject
* obj2
= 0 ;
18589 char * kwnames
[] = {
18590 (char *) "self",(char *) "cmd",(char *) "index", NULL
18593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18595 if (!SWIG_IsOK(res1
)) {
18596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
18598 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18601 arg2
= wxString_in_helper(obj1
);
18602 if (arg2
== NULL
) SWIG_fail
;
18607 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18608 if (!SWIG_IsOK(ecode3
)) {
18609 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "3"" of type '" "int""'");
18611 arg3
= static_cast< int >(val3
);
18614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18615 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
18616 wxPyEndAllowThreads(__tstate
);
18617 if (PyErr_Occurred()) SWIG_fail
;
18620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18636 SWIGINTERN PyObject
*_wrap_FileType_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18637 PyObject
*resultobj
= 0;
18638 wxFileType
*arg1
= (wxFileType
*) 0 ;
18642 PyObject
*swig_obj
[1] ;
18644 if (!args
) SWIG_fail
;
18645 swig_obj
[0] = args
;
18646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18647 if (!SWIG_IsOK(res1
)) {
18648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_Unassociate" "', expected argument " "1"" of type '" "wxFileType *""'");
18650 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18653 result
= (bool)(arg1
)->Unassociate();
18654 wxPyEndAllowThreads(__tstate
);
18655 if (PyErr_Occurred()) SWIG_fail
;
18658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18666 SWIGINTERN PyObject
*_wrap_FileType_ExpandCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18667 PyObject
*resultobj
= 0;
18668 wxString
*arg1
= 0 ;
18669 wxString
*arg2
= 0 ;
18670 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18671 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18673 bool temp1
= false ;
18674 bool temp2
= false ;
18675 bool temp3
= false ;
18676 PyObject
* obj0
= 0 ;
18677 PyObject
* obj1
= 0 ;
18678 PyObject
* obj2
= 0 ;
18679 char * kwnames
[] = {
18680 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
18683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18685 arg1
= wxString_in_helper(obj0
);
18686 if (arg1
== NULL
) SWIG_fail
;
18690 arg2
= wxString_in_helper(obj1
);
18691 if (arg2
== NULL
) SWIG_fail
;
18696 arg3
= wxString_in_helper(obj2
);
18697 if (arg3
== NULL
) SWIG_fail
;
18702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18703 result
= wxFileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18704 wxPyEndAllowThreads(__tstate
);
18705 if (PyErr_Occurred()) SWIG_fail
;
18709 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18711 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18744 SWIGINTERN PyObject
*FileType_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18746 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18747 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileType
, SWIG_NewClientData(obj
));
18748 return SWIG_Py_Void();
18751 SWIGINTERN PyObject
*FileType_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18752 return SWIG_Python_InitShadowInstance(args
);
18755 SWIGINTERN
int TheMimeTypesManager_set(PyObject
*) {
18756 SWIG_Error(SWIG_AttributeError
,"Variable TheMimeTypesManager is read-only.");
18761 SWIGINTERN PyObject
*TheMimeTypesManager_get(void) {
18762 PyObject
*pyobj
= 0;
18764 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0 );
18769 SWIGINTERN PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18770 PyObject
*resultobj
= 0;
18771 wxString
*arg1
= 0 ;
18772 wxString
*arg2
= 0 ;
18774 bool temp1
= false ;
18775 bool temp2
= false ;
18776 PyObject
* obj0
= 0 ;
18777 PyObject
* obj1
= 0 ;
18778 char * kwnames
[] = {
18779 (char *) "mimeType",(char *) "wildcard", NULL
18782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18784 arg1
= wxString_in_helper(obj0
);
18785 if (arg1
== NULL
) SWIG_fail
;
18789 arg2
= wxString_in_helper(obj1
);
18790 if (arg2
== NULL
) SWIG_fail
;
18794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18795 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
18796 wxPyEndAllowThreads(__tstate
);
18797 if (PyErr_Occurred()) SWIG_fail
;
18800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18824 SWIGINTERN PyObject
*_wrap_new_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18825 PyObject
*resultobj
= 0;
18826 wxMimeTypesManager
*result
= 0 ;
18828 if (!SWIG_Python_UnpackTuple(args
,"new_MimeTypesManager",0,0,0)) SWIG_fail
;
18830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18831 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
18832 wxPyEndAllowThreads(__tstate
);
18833 if (PyErr_Occurred()) SWIG_fail
;
18835 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_NEW
| 0 );
18842 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18843 PyObject
*resultobj
= 0;
18844 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18845 int arg2
= (int) wxMAILCAP_ALL
;
18846 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18847 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18852 bool temp3
= false ;
18853 PyObject
* obj0
= 0 ;
18854 PyObject
* obj1
= 0 ;
18855 PyObject
* obj2
= 0 ;
18856 char * kwnames
[] = {
18857 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
18860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18862 if (!SWIG_IsOK(res1
)) {
18863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18865 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18867 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18868 if (!SWIG_IsOK(ecode2
)) {
18869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "2"" of type '" "int""'");
18871 arg2
= static_cast< int >(val2
);
18875 arg3
= wxString_in_helper(obj2
);
18876 if (arg3
== NULL
) SWIG_fail
;
18881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18882 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
18883 wxPyEndAllowThreads(__tstate
);
18884 if (PyErr_Occurred()) SWIG_fail
;
18886 resultobj
= SWIG_Py_Void();
18901 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18902 PyObject
*resultobj
= 0;
18903 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18906 PyObject
*swig_obj
[1] ;
18908 if (!args
) SWIG_fail
;
18909 swig_obj
[0] = args
;
18910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18911 if (!SWIG_IsOK(res1
)) {
18912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ClearData" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18914 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18917 (arg1
)->ClearData();
18918 wxPyEndAllowThreads(__tstate
);
18919 if (PyErr_Occurred()) SWIG_fail
;
18921 resultobj
= SWIG_Py_Void();
18928 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18929 PyObject
*resultobj
= 0;
18930 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18931 wxString
*arg2
= 0 ;
18932 wxFileType
*result
= 0 ;
18935 bool temp2
= false ;
18936 PyObject
* obj0
= 0 ;
18937 PyObject
* obj1
= 0 ;
18938 char * kwnames
[] = {
18939 (char *) "self",(char *) "ext", NULL
18942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18944 if (!SWIG_IsOK(res1
)) {
18945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromExtension" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18947 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18949 arg2
= wxString_in_helper(obj1
);
18950 if (arg2
== NULL
) SWIG_fail
;
18954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18955 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
18956 wxPyEndAllowThreads(__tstate
);
18957 if (PyErr_Occurred()) SWIG_fail
;
18959 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
18974 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18975 PyObject
*resultobj
= 0;
18976 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18977 wxString
*arg2
= 0 ;
18978 wxFileType
*result
= 0 ;
18981 bool temp2
= false ;
18982 PyObject
* obj0
= 0 ;
18983 PyObject
* obj1
= 0 ;
18984 char * kwnames
[] = {
18985 (char *) "self",(char *) "mimeType", NULL
18988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18990 if (!SWIG_IsOK(res1
)) {
18991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromMimeType" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18993 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18995 arg2
= wxString_in_helper(obj1
);
18996 if (arg2
== NULL
) SWIG_fail
;
19000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19001 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
19002 wxPyEndAllowThreads(__tstate
);
19003 if (PyErr_Occurred()) SWIG_fail
;
19005 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
19020 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19021 PyObject
*resultobj
= 0;
19022 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19023 wxString
*arg2
= 0 ;
19024 bool arg3
= (bool) false ;
19028 bool temp2
= false ;
19031 PyObject
* obj0
= 0 ;
19032 PyObject
* obj1
= 0 ;
19033 PyObject
* obj2
= 0 ;
19034 char * kwnames
[] = {
19035 (char *) "self",(char *) "filename",(char *) "fallback", NULL
19038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19040 if (!SWIG_IsOK(res1
)) {
19041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19043 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19045 arg2
= wxString_in_helper(obj1
);
19046 if (arg2
== NULL
) SWIG_fail
;
19050 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
19051 if (!SWIG_IsOK(ecode3
)) {
19052 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "3"" of type '" "bool""'");
19054 arg3
= static_cast< bool >(val3
);
19057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19058 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
19059 wxPyEndAllowThreads(__tstate
);
19060 if (PyErr_Occurred()) SWIG_fail
;
19063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19079 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19080 PyObject
*resultobj
= 0;
19081 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19082 wxString
*arg2
= 0 ;
19086 bool temp2
= false ;
19087 PyObject
* obj0
= 0 ;
19088 PyObject
* obj1
= 0 ;
19089 char * kwnames
[] = {
19090 (char *) "self",(char *) "filename", NULL
19093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19095 if (!SWIG_IsOK(res1
)) {
19096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMimeTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19098 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19100 arg2
= wxString_in_helper(obj1
);
19101 if (arg2
== NULL
) SWIG_fail
;
19105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19106 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
19107 wxPyEndAllowThreads(__tstate
);
19108 if (PyErr_Occurred()) SWIG_fail
;
19111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19127 SWIGINTERN PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19128 PyObject
*resultobj
= 0;
19129 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19130 PyObject
*result
= 0 ;
19133 PyObject
*swig_obj
[1] ;
19135 if (!args
) SWIG_fail
;
19136 swig_obj
[0] = args
;
19137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19138 if (!SWIG_IsOK(res1
)) {
19139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_EnumAllFileTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19141 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19144 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
19145 wxPyEndAllowThreads(__tstate
);
19146 if (PyErr_Occurred()) SWIG_fail
;
19148 resultobj
= result
;
19155 SWIGINTERN PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19156 PyObject
*resultobj
= 0;
19157 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19158 wxFileTypeInfo
*arg2
= 0 ;
19163 PyObject
* obj0
= 0 ;
19164 PyObject
* obj1
= 0 ;
19165 char * kwnames
[] = {
19166 (char *) "self",(char *) "ft", NULL
19169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19171 if (!SWIG_IsOK(res1
)) {
19172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19174 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19175 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
19176 if (!SWIG_IsOK(res2
)) {
19177 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
19180 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
19182 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
19184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19185 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
19186 wxPyEndAllowThreads(__tstate
);
19187 if (PyErr_Occurred()) SWIG_fail
;
19189 resultobj
= SWIG_Py_Void();
19196 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19197 PyObject
*resultobj
= 0;
19198 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19199 wxFileTypeInfo
*arg2
= 0 ;
19200 wxFileType
*result
= 0 ;
19205 PyObject
* obj0
= 0 ;
19206 PyObject
* obj1
= 0 ;
19207 char * kwnames
[] = {
19208 (char *) "self",(char *) "ftInfo", NULL
19211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19213 if (!SWIG_IsOK(res1
)) {
19214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Associate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19216 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19217 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
19218 if (!SWIG_IsOK(res2
)) {
19219 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
19222 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
19224 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
19226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19227 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
19228 wxPyEndAllowThreads(__tstate
);
19229 if (PyErr_Occurred()) SWIG_fail
;
19231 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
19238 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19239 PyObject
*resultobj
= 0;
19240 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19241 wxFileType
*arg2
= (wxFileType
*) 0 ;
19247 PyObject
* obj0
= 0 ;
19248 PyObject
* obj1
= 0 ;
19249 char * kwnames
[] = {
19250 (char *) "self",(char *) "ft", NULL
19253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19255 if (!SWIG_IsOK(res1
)) {
19256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19258 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19259 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFileType
, 0 | 0 );
19260 if (!SWIG_IsOK(res2
)) {
19261 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "2"" of type '" "wxFileType *""'");
19263 arg2
= reinterpret_cast< wxFileType
* >(argp2
);
19265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19266 result
= (bool)(arg1
)->Unassociate(arg2
);
19267 wxPyEndAllowThreads(__tstate
);
19268 if (PyErr_Occurred()) SWIG_fail
;
19271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19279 SWIGINTERN PyObject
*_wrap_delete_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19280 PyObject
*resultobj
= 0;
19281 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19284 PyObject
*swig_obj
[1] ;
19286 if (!args
) SWIG_fail
;
19287 swig_obj
[0] = args
;
19288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_DISOWN
| 0 );
19289 if (!SWIG_IsOK(res1
)) {
19290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MimeTypesManager" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19292 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19297 wxPyEndAllowThreads(__tstate
);
19298 if (PyErr_Occurred()) SWIG_fail
;
19300 resultobj
= SWIG_Py_Void();
19307 SWIGINTERN PyObject
*MimeTypesManager_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19309 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19310 SWIG_TypeNewClientData(SWIGTYPE_p_wxMimeTypesManager
, SWIG_NewClientData(obj
));
19311 return SWIG_Py_Void();
19314 SWIGINTERN PyObject
*MimeTypesManager_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19315 return SWIG_Python_InitShadowInstance(args
);
19318 SWIGINTERN
int ART_TOOLBAR_set(PyObject
*) {
19319 SWIG_Error(SWIG_AttributeError
,"Variable ART_TOOLBAR is read-only.");
19324 SWIGINTERN PyObject
*ART_TOOLBAR_get(void) {
19325 PyObject
*pyobj
= 0;
19329 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
19331 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
19338 SWIGINTERN
int ART_MENU_set(PyObject
*) {
19339 SWIG_Error(SWIG_AttributeError
,"Variable ART_MENU is read-only.");
19344 SWIGINTERN PyObject
*ART_MENU_get(void) {
19345 PyObject
*pyobj
= 0;
19349 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
19351 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
19358 SWIGINTERN
int ART_FRAME_ICON_set(PyObject
*) {
19359 SWIG_Error(SWIG_AttributeError
,"Variable ART_FRAME_ICON is read-only.");
19364 SWIGINTERN PyObject
*ART_FRAME_ICON_get(void) {
19365 PyObject
*pyobj
= 0;
19369 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
19371 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
19378 SWIGINTERN
int ART_CMN_DIALOG_set(PyObject
*) {
19379 SWIG_Error(SWIG_AttributeError
,"Variable ART_CMN_DIALOG is read-only.");
19384 SWIGINTERN PyObject
*ART_CMN_DIALOG_get(void) {
19385 PyObject
*pyobj
= 0;
19389 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
19391 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
19398 SWIGINTERN
int ART_HELP_BROWSER_set(PyObject
*) {
19399 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BROWSER is read-only.");
19404 SWIGINTERN PyObject
*ART_HELP_BROWSER_get(void) {
19405 PyObject
*pyobj
= 0;
19409 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
19411 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
19418 SWIGINTERN
int ART_MESSAGE_BOX_set(PyObject
*) {
19419 SWIG_Error(SWIG_AttributeError
,"Variable ART_MESSAGE_BOX is read-only.");
19424 SWIGINTERN PyObject
*ART_MESSAGE_BOX_get(void) {
19425 PyObject
*pyobj
= 0;
19429 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
19431 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
19438 SWIGINTERN
int ART_BUTTON_set(PyObject
*) {
19439 SWIG_Error(SWIG_AttributeError
,"Variable ART_BUTTON is read-only.");
19444 SWIGINTERN PyObject
*ART_BUTTON_get(void) {
19445 PyObject
*pyobj
= 0;
19449 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
19451 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
19458 SWIGINTERN
int ART_OTHER_set(PyObject
*) {
19459 SWIG_Error(SWIG_AttributeError
,"Variable ART_OTHER is read-only.");
19464 SWIGINTERN PyObject
*ART_OTHER_get(void) {
19465 PyObject
*pyobj
= 0;
19469 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
19471 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
19478 SWIGINTERN
int ART_ADD_BOOKMARK_set(PyObject
*) {
19479 SWIG_Error(SWIG_AttributeError
,"Variable ART_ADD_BOOKMARK is read-only.");
19484 SWIGINTERN PyObject
*ART_ADD_BOOKMARK_get(void) {
19485 PyObject
*pyobj
= 0;
19489 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
19491 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
19498 SWIGINTERN
int ART_DEL_BOOKMARK_set(PyObject
*) {
19499 SWIG_Error(SWIG_AttributeError
,"Variable ART_DEL_BOOKMARK is read-only.");
19504 SWIGINTERN PyObject
*ART_DEL_BOOKMARK_get(void) {
19505 PyObject
*pyobj
= 0;
19509 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
19511 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
19518 SWIGINTERN
int ART_HELP_SIDE_PANEL_set(PyObject
*) {
19519 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
19524 SWIGINTERN PyObject
*ART_HELP_SIDE_PANEL_get(void) {
19525 PyObject
*pyobj
= 0;
19529 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
19531 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
19538 SWIGINTERN
int ART_HELP_SETTINGS_set(PyObject
*) {
19539 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SETTINGS is read-only.");
19544 SWIGINTERN PyObject
*ART_HELP_SETTINGS_get(void) {
19545 PyObject
*pyobj
= 0;
19549 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
19551 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
19558 SWIGINTERN
int ART_HELP_BOOK_set(PyObject
*) {
19559 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BOOK is read-only.");
19564 SWIGINTERN PyObject
*ART_HELP_BOOK_get(void) {
19565 PyObject
*pyobj
= 0;
19569 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
19571 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
19578 SWIGINTERN
int ART_HELP_FOLDER_set(PyObject
*) {
19579 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_FOLDER is read-only.");
19584 SWIGINTERN PyObject
*ART_HELP_FOLDER_get(void) {
19585 PyObject
*pyobj
= 0;
19589 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
19591 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
19598 SWIGINTERN
int ART_HELP_PAGE_set(PyObject
*) {
19599 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_PAGE is read-only.");
19604 SWIGINTERN PyObject
*ART_HELP_PAGE_get(void) {
19605 PyObject
*pyobj
= 0;
19609 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
19611 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
19618 SWIGINTERN
int ART_GO_BACK_set(PyObject
*) {
19619 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_BACK is read-only.");
19624 SWIGINTERN PyObject
*ART_GO_BACK_get(void) {
19625 PyObject
*pyobj
= 0;
19629 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
19631 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
19638 SWIGINTERN
int ART_GO_FORWARD_set(PyObject
*) {
19639 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_FORWARD is read-only.");
19644 SWIGINTERN PyObject
*ART_GO_FORWARD_get(void) {
19645 PyObject
*pyobj
= 0;
19649 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
19651 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
19658 SWIGINTERN
int ART_GO_UP_set(PyObject
*) {
19659 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_UP is read-only.");
19664 SWIGINTERN PyObject
*ART_GO_UP_get(void) {
19665 PyObject
*pyobj
= 0;
19669 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
19671 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
19678 SWIGINTERN
int ART_GO_DOWN_set(PyObject
*) {
19679 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DOWN is read-only.");
19684 SWIGINTERN PyObject
*ART_GO_DOWN_get(void) {
19685 PyObject
*pyobj
= 0;
19689 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
19691 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
19698 SWIGINTERN
int ART_GO_TO_PARENT_set(PyObject
*) {
19699 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_TO_PARENT is read-only.");
19704 SWIGINTERN PyObject
*ART_GO_TO_PARENT_get(void) {
19705 PyObject
*pyobj
= 0;
19709 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
19711 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
19718 SWIGINTERN
int ART_GO_HOME_set(PyObject
*) {
19719 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_HOME is read-only.");
19724 SWIGINTERN PyObject
*ART_GO_HOME_get(void) {
19725 PyObject
*pyobj
= 0;
19729 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
19731 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
19738 SWIGINTERN
int ART_FILE_OPEN_set(PyObject
*) {
19739 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_OPEN is read-only.");
19744 SWIGINTERN PyObject
*ART_FILE_OPEN_get(void) {
19745 PyObject
*pyobj
= 0;
19749 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
19751 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
19758 SWIGINTERN
int ART_FILE_SAVE_set(PyObject
*) {
19759 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE is read-only.");
19764 SWIGINTERN PyObject
*ART_FILE_SAVE_get(void) {
19765 PyObject
*pyobj
= 0;
19769 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
19771 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
19778 SWIGINTERN
int ART_FILE_SAVE_AS_set(PyObject
*) {
19779 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE_AS is read-only.");
19784 SWIGINTERN PyObject
*ART_FILE_SAVE_AS_get(void) {
19785 PyObject
*pyobj
= 0;
19789 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
19791 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
19798 SWIGINTERN
int ART_PRINT_set(PyObject
*) {
19799 SWIG_Error(SWIG_AttributeError
,"Variable ART_PRINT is read-only.");
19804 SWIGINTERN PyObject
*ART_PRINT_get(void) {
19805 PyObject
*pyobj
= 0;
19809 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
19811 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
19818 SWIGINTERN
int ART_HELP_set(PyObject
*) {
19819 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP is read-only.");
19824 SWIGINTERN PyObject
*ART_HELP_get(void) {
19825 PyObject
*pyobj
= 0;
19829 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
19831 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
19838 SWIGINTERN
int ART_TIP_set(PyObject
*) {
19839 SWIG_Error(SWIG_AttributeError
,"Variable ART_TIP is read-only.");
19844 SWIGINTERN PyObject
*ART_TIP_get(void) {
19845 PyObject
*pyobj
= 0;
19849 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
19851 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
19858 SWIGINTERN
int ART_REPORT_VIEW_set(PyObject
*) {
19859 SWIG_Error(SWIG_AttributeError
,"Variable ART_REPORT_VIEW is read-only.");
19864 SWIGINTERN PyObject
*ART_REPORT_VIEW_get(void) {
19865 PyObject
*pyobj
= 0;
19869 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
19871 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
19878 SWIGINTERN
int ART_LIST_VIEW_set(PyObject
*) {
19879 SWIG_Error(SWIG_AttributeError
,"Variable ART_LIST_VIEW is read-only.");
19884 SWIGINTERN PyObject
*ART_LIST_VIEW_get(void) {
19885 PyObject
*pyobj
= 0;
19889 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
19891 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
19898 SWIGINTERN
int ART_NEW_DIR_set(PyObject
*) {
19899 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW_DIR is read-only.");
19904 SWIGINTERN PyObject
*ART_NEW_DIR_get(void) {
19905 PyObject
*pyobj
= 0;
19909 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
19911 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
19918 SWIGINTERN
int ART_HARDDISK_set(PyObject
*) {
19919 SWIG_Error(SWIG_AttributeError
,"Variable ART_HARDDISK is read-only.");
19924 SWIGINTERN PyObject
*ART_HARDDISK_get(void) {
19925 PyObject
*pyobj
= 0;
19929 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
19931 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
19938 SWIGINTERN
int ART_FLOPPY_set(PyObject
*) {
19939 SWIG_Error(SWIG_AttributeError
,"Variable ART_FLOPPY is read-only.");
19944 SWIGINTERN PyObject
*ART_FLOPPY_get(void) {
19945 PyObject
*pyobj
= 0;
19949 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
19951 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
19958 SWIGINTERN
int ART_CDROM_set(PyObject
*) {
19959 SWIG_Error(SWIG_AttributeError
,"Variable ART_CDROM is read-only.");
19964 SWIGINTERN PyObject
*ART_CDROM_get(void) {
19965 PyObject
*pyobj
= 0;
19969 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
19971 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
19978 SWIGINTERN
int ART_REMOVABLE_set(PyObject
*) {
19979 SWIG_Error(SWIG_AttributeError
,"Variable ART_REMOVABLE is read-only.");
19984 SWIGINTERN PyObject
*ART_REMOVABLE_get(void) {
19985 PyObject
*pyobj
= 0;
19989 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
19991 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
19998 SWIGINTERN
int ART_FOLDER_set(PyObject
*) {
19999 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER is read-only.");
20004 SWIGINTERN PyObject
*ART_FOLDER_get(void) {
20005 PyObject
*pyobj
= 0;
20009 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
20011 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
20018 SWIGINTERN
int ART_FOLDER_OPEN_set(PyObject
*) {
20019 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER_OPEN is read-only.");
20024 SWIGINTERN PyObject
*ART_FOLDER_OPEN_get(void) {
20025 PyObject
*pyobj
= 0;
20029 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
20031 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
20038 SWIGINTERN
int ART_GO_DIR_UP_set(PyObject
*) {
20039 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DIR_UP is read-only.");
20044 SWIGINTERN PyObject
*ART_GO_DIR_UP_get(void) {
20045 PyObject
*pyobj
= 0;
20049 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
20051 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
20058 SWIGINTERN
int ART_EXECUTABLE_FILE_set(PyObject
*) {
20059 SWIG_Error(SWIG_AttributeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
20064 SWIGINTERN PyObject
*ART_EXECUTABLE_FILE_get(void) {
20065 PyObject
*pyobj
= 0;
20069 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
20071 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
20078 SWIGINTERN
int ART_NORMAL_FILE_set(PyObject
*) {
20079 SWIG_Error(SWIG_AttributeError
,"Variable ART_NORMAL_FILE is read-only.");
20084 SWIGINTERN PyObject
*ART_NORMAL_FILE_get(void) {
20085 PyObject
*pyobj
= 0;
20089 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
20091 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
20098 SWIGINTERN
int ART_TICK_MARK_set(PyObject
*) {
20099 SWIG_Error(SWIG_AttributeError
,"Variable ART_TICK_MARK is read-only.");
20104 SWIGINTERN PyObject
*ART_TICK_MARK_get(void) {
20105 PyObject
*pyobj
= 0;
20109 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
20111 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
20118 SWIGINTERN
int ART_CROSS_MARK_set(PyObject
*) {
20119 SWIG_Error(SWIG_AttributeError
,"Variable ART_CROSS_MARK is read-only.");
20124 SWIGINTERN PyObject
*ART_CROSS_MARK_get(void) {
20125 PyObject
*pyobj
= 0;
20129 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
20131 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
20138 SWIGINTERN
int ART_ERROR_set(PyObject
*) {
20139 SWIG_Error(SWIG_AttributeError
,"Variable ART_ERROR is read-only.");
20144 SWIGINTERN PyObject
*ART_ERROR_get(void) {
20145 PyObject
*pyobj
= 0;
20149 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
20151 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
20158 SWIGINTERN
int ART_QUESTION_set(PyObject
*) {
20159 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUESTION is read-only.");
20164 SWIGINTERN PyObject
*ART_QUESTION_get(void) {
20165 PyObject
*pyobj
= 0;
20169 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
20171 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
20178 SWIGINTERN
int ART_WARNING_set(PyObject
*) {
20179 SWIG_Error(SWIG_AttributeError
,"Variable ART_WARNING is read-only.");
20184 SWIGINTERN PyObject
*ART_WARNING_get(void) {
20185 PyObject
*pyobj
= 0;
20189 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
20191 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
20198 SWIGINTERN
int ART_INFORMATION_set(PyObject
*) {
20199 SWIG_Error(SWIG_AttributeError
,"Variable ART_INFORMATION is read-only.");
20204 SWIGINTERN PyObject
*ART_INFORMATION_get(void) {
20205 PyObject
*pyobj
= 0;
20209 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
20211 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
20218 SWIGINTERN
int ART_MISSING_IMAGE_set(PyObject
*) {
20219 SWIG_Error(SWIG_AttributeError
,"Variable ART_MISSING_IMAGE is read-only.");
20224 SWIGINTERN PyObject
*ART_MISSING_IMAGE_get(void) {
20225 PyObject
*pyobj
= 0;
20229 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
20231 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
20238 SWIGINTERN
int ART_COPY_set(PyObject
*) {
20239 SWIG_Error(SWIG_AttributeError
,"Variable ART_COPY is read-only.");
20244 SWIGINTERN PyObject
*ART_COPY_get(void) {
20245 PyObject
*pyobj
= 0;
20249 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
20251 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
20258 SWIGINTERN
int ART_CUT_set(PyObject
*) {
20259 SWIG_Error(SWIG_AttributeError
,"Variable ART_CUT is read-only.");
20264 SWIGINTERN PyObject
*ART_CUT_get(void) {
20265 PyObject
*pyobj
= 0;
20269 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
20271 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
20278 SWIGINTERN
int ART_PASTE_set(PyObject
*) {
20279 SWIG_Error(SWIG_AttributeError
,"Variable ART_PASTE is read-only.");
20284 SWIGINTERN PyObject
*ART_PASTE_get(void) {
20285 PyObject
*pyobj
= 0;
20289 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
20291 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
20298 SWIGINTERN
int ART_DELETE_set(PyObject
*) {
20299 SWIG_Error(SWIG_AttributeError
,"Variable ART_DELETE is read-only.");
20304 SWIGINTERN PyObject
*ART_DELETE_get(void) {
20305 PyObject
*pyobj
= 0;
20309 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
20311 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
20318 SWIGINTERN
int ART_NEW_set(PyObject
*) {
20319 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW is read-only.");
20324 SWIGINTERN PyObject
*ART_NEW_get(void) {
20325 PyObject
*pyobj
= 0;
20329 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
20331 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
20338 SWIGINTERN
int ART_UNDO_set(PyObject
*) {
20339 SWIG_Error(SWIG_AttributeError
,"Variable ART_UNDO is read-only.");
20344 SWIGINTERN PyObject
*ART_UNDO_get(void) {
20345 PyObject
*pyobj
= 0;
20349 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
20351 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
20358 SWIGINTERN
int ART_REDO_set(PyObject
*) {
20359 SWIG_Error(SWIG_AttributeError
,"Variable ART_REDO is read-only.");
20364 SWIGINTERN PyObject
*ART_REDO_get(void) {
20365 PyObject
*pyobj
= 0;
20369 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
20371 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
20378 SWIGINTERN
int ART_QUIT_set(PyObject
*) {
20379 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUIT is read-only.");
20384 SWIGINTERN PyObject
*ART_QUIT_get(void) {
20385 PyObject
*pyobj
= 0;
20389 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
20391 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
20398 SWIGINTERN
int ART_FIND_set(PyObject
*) {
20399 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND is read-only.");
20404 SWIGINTERN PyObject
*ART_FIND_get(void) {
20405 PyObject
*pyobj
= 0;
20409 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
20411 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
20418 SWIGINTERN
int ART_FIND_AND_REPLACE_set(PyObject
*) {
20419 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
20424 SWIGINTERN PyObject
*ART_FIND_AND_REPLACE_get(void) {
20425 PyObject
*pyobj
= 0;
20429 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
20431 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
20438 SWIGINTERN PyObject
*_wrap_new_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20439 PyObject
*resultobj
= 0;
20440 wxPyArtProvider
*result
= 0 ;
20442 if (!SWIG_Python_UnpackTuple(args
,"new_ArtProvider",0,0,0)) SWIG_fail
;
20444 if (!wxPyCheckForApp()) SWIG_fail
;
20445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20446 result
= (wxPyArtProvider
*)new wxPyArtProvider();
20447 wxPyEndAllowThreads(__tstate
);
20448 if (PyErr_Occurred()) SWIG_fail
;
20450 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_NEW
| 0 );
20457 SWIGINTERN PyObject
*_wrap_delete_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20458 PyObject
*resultobj
= 0;
20459 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20462 PyObject
*swig_obj
[1] ;
20464 if (!args
) SWIG_fail
;
20465 swig_obj
[0] = args
;
20466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
20467 if (!SWIG_IsOK(res1
)) {
20468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ArtProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20470 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20475 wxPyEndAllowThreads(__tstate
);
20476 if (PyErr_Occurred()) SWIG_fail
;
20478 resultobj
= SWIG_Py_Void();
20485 SWIGINTERN PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20486 PyObject
*resultobj
= 0;
20487 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20488 PyObject
*arg2
= (PyObject
*) 0 ;
20489 PyObject
*arg3
= (PyObject
*) 0 ;
20492 PyObject
* obj0
= 0 ;
20493 PyObject
* obj1
= 0 ;
20494 PyObject
* obj2
= 0 ;
20495 char * kwnames
[] = {
20496 (char *) "self",(char *) "self",(char *) "_class", NULL
20499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
20501 if (!SWIG_IsOK(res1
)) {
20502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20504 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20509 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20510 wxPyEndAllowThreads(__tstate
);
20511 if (PyErr_Occurred()) SWIG_fail
;
20513 resultobj
= SWIG_Py_Void();
20520 SWIGINTERN PyObject
*_wrap_ArtProvider_Push(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20521 PyObject
*resultobj
= 0;
20522 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20524 PyObject
* obj0
= 0 ;
20525 char * kwnames
[] = {
20526 (char *) "provider", NULL
20529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Push",kwnames
,&obj0
)) SWIG_fail
;
20530 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
20531 if (!SWIG_IsOK(res1
)) {
20532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Push" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20536 wxPyArtProvider::Push(arg1
);
20537 wxPyEndAllowThreads(__tstate
);
20538 if (PyErr_Occurred()) SWIG_fail
;
20540 resultobj
= SWIG_Py_Void();
20547 SWIGINTERN PyObject
*_wrap_ArtProvider_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20548 PyObject
*resultobj
= 0;
20549 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20551 PyObject
* obj0
= 0 ;
20552 char * kwnames
[] = {
20553 (char *) "provider", NULL
20556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Insert",kwnames
,&obj0
)) SWIG_fail
;
20557 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
20558 if (!SWIG_IsOK(res1
)) {
20559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Insert" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20563 wxPyArtProvider::Insert(arg1
);
20564 wxPyEndAllowThreads(__tstate
);
20565 if (PyErr_Occurred()) SWIG_fail
;
20567 resultobj
= SWIG_Py_Void();
20574 SWIGINTERN PyObject
*_wrap_ArtProvider_Pop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20575 PyObject
*resultobj
= 0;
20578 if (!SWIG_Python_UnpackTuple(args
,"ArtProvider_Pop",0,0,0)) SWIG_fail
;
20580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20581 result
= (bool)wxPyArtProvider::Pop();
20582 wxPyEndAllowThreads(__tstate
);
20583 if (PyErr_Occurred()) SWIG_fail
;
20586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20594 SWIGINTERN PyObject
*_wrap_ArtProvider_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20595 PyObject
*resultobj
= 0;
20596 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20600 PyObject
* obj0
= 0 ;
20601 char * kwnames
[] = {
20602 (char *) "provider", NULL
20605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Delete",kwnames
,&obj0
)) SWIG_fail
;
20606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
20607 if (!SWIG_IsOK(res1
)) {
20608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Delete" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20610 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20613 result
= (bool)wxPyArtProvider::Delete(arg1
);
20614 wxPyEndAllowThreads(__tstate
);
20615 if (PyErr_Occurred()) SWIG_fail
;
20618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20626 SWIGINTERN PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20627 PyObject
*resultobj
= 0;
20628 wxString
*arg1
= 0 ;
20629 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
20630 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20631 wxSize
const &arg3_defvalue
= wxDefaultSize
;
20632 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
20634 bool temp1
= false ;
20635 bool temp2
= false ;
20637 PyObject
* obj0
= 0 ;
20638 PyObject
* obj1
= 0 ;
20639 PyObject
* obj2
= 0 ;
20640 char * kwnames
[] = {
20641 (char *) "id",(char *) "client",(char *) "size", NULL
20644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20646 arg1
= wxString_in_helper(obj0
);
20647 if (arg1
== NULL
) SWIG_fail
;
20652 arg2
= wxString_in_helper(obj1
);
20653 if (arg2
== NULL
) SWIG_fail
;
20660 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20664 if (!wxPyCheckForApp()) SWIG_fail
;
20665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20666 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
20667 wxPyEndAllowThreads(__tstate
);
20668 if (PyErr_Occurred()) SWIG_fail
;
20670 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
20693 SWIGINTERN PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20694 PyObject
*resultobj
= 0;
20695 wxString
*arg1
= 0 ;
20696 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
20697 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20698 wxSize
const &arg3_defvalue
= wxDefaultSize
;
20699 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
20701 bool temp1
= false ;
20702 bool temp2
= false ;
20704 PyObject
* obj0
= 0 ;
20705 PyObject
* obj1
= 0 ;
20706 PyObject
* obj2
= 0 ;
20707 char * kwnames
[] = {
20708 (char *) "id",(char *) "client",(char *) "size", NULL
20711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20713 arg1
= wxString_in_helper(obj0
);
20714 if (arg1
== NULL
) SWIG_fail
;
20719 arg2
= wxString_in_helper(obj1
);
20720 if (arg2
== NULL
) SWIG_fail
;
20727 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20731 if (!wxPyCheckForApp()) SWIG_fail
;
20732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20733 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
20734 wxPyEndAllowThreads(__tstate
);
20735 if (PyErr_Occurred()) SWIG_fail
;
20737 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
20760 SWIGINTERN PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20761 PyObject
*resultobj
= 0;
20762 wxString
*arg1
= 0 ;
20763 bool arg2
= (bool) false ;
20765 bool temp1
= false ;
20768 PyObject
* obj0
= 0 ;
20769 PyObject
* obj1
= 0 ;
20770 char * kwnames
[] = {
20771 (char *) "client",(char *) "platform_dependent", NULL
20774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20776 arg1
= wxString_in_helper(obj0
);
20777 if (arg1
== NULL
) SWIG_fail
;
20781 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20782 if (!SWIG_IsOK(ecode2
)) {
20783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ArtProvider_GetSizeHint" "', expected argument " "2"" of type '" "bool""'");
20785 arg2
= static_cast< bool >(val2
);
20788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20789 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
20790 wxPyEndAllowThreads(__tstate
);
20791 if (PyErr_Occurred()) SWIG_fail
;
20793 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20808 SWIGINTERN PyObject
*_wrap_ArtProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20809 PyObject
*resultobj
= 0;
20810 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20813 PyObject
*swig_obj
[1] ;
20815 if (!args
) SWIG_fail
;
20816 swig_obj
[0] = args
;
20817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
20818 if (!SWIG_IsOK(res1
)) {
20819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Destroy" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20821 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20824 wxPyArtProvider_Destroy(arg1
);
20825 wxPyEndAllowThreads(__tstate
);
20826 if (PyErr_Occurred()) SWIG_fail
;
20828 resultobj
= SWIG_Py_Void();
20835 SWIGINTERN PyObject
*ArtProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20837 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20838 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyArtProvider
, SWIG_NewClientData(obj
));
20839 return SWIG_Py_Void();
20842 SWIGINTERN PyObject
*ArtProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20843 return SWIG_Python_InitShadowInstance(args
);
20846 SWIGINTERN PyObject
*_wrap_delete_ConfigBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20847 PyObject
*resultobj
= 0;
20848 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20851 PyObject
*swig_obj
[1] ;
20853 if (!args
) SWIG_fail
;
20854 swig_obj
[0] = args
;
20855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
20856 if (!SWIG_IsOK(res1
)) {
20857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigBase" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20859 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20864 wxPyEndAllowThreads(__tstate
);
20865 if (PyErr_Occurred()) SWIG_fail
;
20867 resultobj
= SWIG_Py_Void();
20874 SWIGINTERN PyObject
*_wrap_ConfigBase_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20875 PyObject
*resultobj
= 0;
20876 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20877 wxConfigBase
*result
= 0 ;
20879 PyObject
* obj0
= 0 ;
20880 char * kwnames
[] = {
20881 (char *) "config", NULL
20884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) SWIG_fail
;
20885 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
20886 if (!SWIG_IsOK(res1
)) {
20887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Set" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20891 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
20892 wxPyEndAllowThreads(__tstate
);
20893 if (PyErr_Occurred()) SWIG_fail
;
20895 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20902 SWIGINTERN PyObject
*_wrap_ConfigBase_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20903 PyObject
*resultobj
= 0;
20904 bool arg1
= (bool) true ;
20905 wxConfigBase
*result
= 0 ;
20908 PyObject
* obj0
= 0 ;
20909 char * kwnames
[] = {
20910 (char *) "createOnDemand", NULL
20913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) SWIG_fail
;
20915 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
20916 if (!SWIG_IsOK(ecode1
)) {
20917 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ConfigBase_Get" "', expected argument " "1"" of type '" "bool""'");
20919 arg1
= static_cast< bool >(val1
);
20922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20923 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
20924 wxPyEndAllowThreads(__tstate
);
20925 if (PyErr_Occurred()) SWIG_fail
;
20927 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20934 SWIGINTERN PyObject
*_wrap_ConfigBase_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20935 PyObject
*resultobj
= 0;
20936 wxConfigBase
*result
= 0 ;
20938 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_Create",0,0,0)) SWIG_fail
;
20940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20941 result
= (wxConfigBase
*)wxConfigBase::Create();
20942 wxPyEndAllowThreads(__tstate
);
20943 if (PyErr_Occurred()) SWIG_fail
;
20945 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20952 SWIGINTERN PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20953 PyObject
*resultobj
= 0;
20955 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_DontCreateOnDemand",0,0,0)) SWIG_fail
;
20957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20958 wxConfigBase::DontCreateOnDemand();
20959 wxPyEndAllowThreads(__tstate
);
20960 if (PyErr_Occurred()) SWIG_fail
;
20962 resultobj
= SWIG_Py_Void();
20969 SWIGINTERN PyObject
*_wrap_ConfigBase_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20970 PyObject
*resultobj
= 0;
20971 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20972 wxString
*arg2
= 0 ;
20975 bool temp2
= false ;
20976 PyObject
* obj0
= 0 ;
20977 PyObject
* obj1
= 0 ;
20978 char * kwnames
[] = {
20979 (char *) "self",(char *) "path", NULL
20982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20984 if (!SWIG_IsOK(res1
)) {
20985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetPath" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20987 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20989 arg2
= wxString_in_helper(obj1
);
20990 if (arg2
== NULL
) SWIG_fail
;
20994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20995 (arg1
)->SetPath((wxString
const &)*arg2
);
20996 wxPyEndAllowThreads(__tstate
);
20997 if (PyErr_Occurred()) SWIG_fail
;
20999 resultobj
= SWIG_Py_Void();
21014 SWIGINTERN PyObject
*_wrap_ConfigBase_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21015 PyObject
*resultobj
= 0;
21016 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21017 wxString
*result
= 0 ;
21020 PyObject
*swig_obj
[1] ;
21022 if (!args
) SWIG_fail
;
21023 swig_obj
[0] = args
;
21024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21025 if (!SWIG_IsOK(res1
)) {
21026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetPath" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21028 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21032 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
21033 result
= (wxString
*) &_result_ref
;
21035 wxPyEndAllowThreads(__tstate
);
21036 if (PyErr_Occurred()) SWIG_fail
;
21040 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21042 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21051 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21052 PyObject
*resultobj
= 0;
21053 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21054 PyObject
*result
= 0 ;
21057 PyObject
*swig_obj
[1] ;
21059 if (!args
) SWIG_fail
;
21060 swig_obj
[0] = args
;
21061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21062 if (!SWIG_IsOK(res1
)) {
21063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21065 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21068 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
21069 wxPyEndAllowThreads(__tstate
);
21070 if (PyErr_Occurred()) SWIG_fail
;
21072 resultobj
= result
;
21079 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21080 PyObject
*resultobj
= 0;
21081 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21083 PyObject
*result
= 0 ;
21088 PyObject
* obj0
= 0 ;
21089 PyObject
* obj1
= 0 ;
21090 char * kwnames
[] = {
21091 (char *) "self",(char *) "index", NULL
21094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21096 if (!SWIG_IsOK(res1
)) {
21097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21099 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21100 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21101 if (!SWIG_IsOK(ecode2
)) {
21102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "2"" of type '" "long""'");
21104 arg2
= static_cast< long >(val2
);
21106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21107 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
21108 wxPyEndAllowThreads(__tstate
);
21109 if (PyErr_Occurred()) SWIG_fail
;
21111 resultobj
= result
;
21118 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21119 PyObject
*resultobj
= 0;
21120 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21121 PyObject
*result
= 0 ;
21124 PyObject
*swig_obj
[1] ;
21126 if (!args
) SWIG_fail
;
21127 swig_obj
[0] = args
;
21128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21129 if (!SWIG_IsOK(res1
)) {
21130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21132 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21135 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
21136 wxPyEndAllowThreads(__tstate
);
21137 if (PyErr_Occurred()) SWIG_fail
;
21139 resultobj
= result
;
21146 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21147 PyObject
*resultobj
= 0;
21148 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21150 PyObject
*result
= 0 ;
21155 PyObject
* obj0
= 0 ;
21156 PyObject
* obj1
= 0 ;
21157 char * kwnames
[] = {
21158 (char *) "self",(char *) "index", NULL
21161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21163 if (!SWIG_IsOK(res1
)) {
21164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21166 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21167 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21168 if (!SWIG_IsOK(ecode2
)) {
21169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "2"" of type '" "long""'");
21171 arg2
= static_cast< long >(val2
);
21173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21174 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
21175 wxPyEndAllowThreads(__tstate
);
21176 if (PyErr_Occurred()) SWIG_fail
;
21178 resultobj
= result
;
21185 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21186 PyObject
*resultobj
= 0;
21187 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21188 bool arg2
= (bool) false ;
21194 PyObject
* obj0
= 0 ;
21195 PyObject
* obj1
= 0 ;
21196 char * kwnames
[] = {
21197 (char *) "self",(char *) "recursive", NULL
21200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21202 if (!SWIG_IsOK(res1
)) {
21203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21205 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21207 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21208 if (!SWIG_IsOK(ecode2
)) {
21209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "2"" of type '" "bool""'");
21211 arg2
= static_cast< bool >(val2
);
21214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21215 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
21216 wxPyEndAllowThreads(__tstate
);
21217 if (PyErr_Occurred()) SWIG_fail
;
21219 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
21226 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21227 PyObject
*resultobj
= 0;
21228 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21229 bool arg2
= (bool) false ;
21235 PyObject
* obj0
= 0 ;
21236 PyObject
* obj1
= 0 ;
21237 char * kwnames
[] = {
21238 (char *) "self",(char *) "recursive", NULL
21241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21243 if (!SWIG_IsOK(res1
)) {
21244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21246 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21248 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21249 if (!SWIG_IsOK(ecode2
)) {
21250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "2"" of type '" "bool""'");
21252 arg2
= static_cast< bool >(val2
);
21255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21256 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
21257 wxPyEndAllowThreads(__tstate
);
21258 if (PyErr_Occurred()) SWIG_fail
;
21260 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
21267 SWIGINTERN PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21268 PyObject
*resultobj
= 0;
21269 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21270 wxString
*arg2
= 0 ;
21274 bool temp2
= false ;
21275 PyObject
* obj0
= 0 ;
21276 PyObject
* obj1
= 0 ;
21277 char * kwnames
[] = {
21278 (char *) "self",(char *) "name", NULL
21281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21283 if (!SWIG_IsOK(res1
)) {
21284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasGroup" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21286 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21288 arg2
= wxString_in_helper(obj1
);
21289 if (arg2
== NULL
) SWIG_fail
;
21293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21294 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
21295 wxPyEndAllowThreads(__tstate
);
21296 if (PyErr_Occurred()) SWIG_fail
;
21299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21315 SWIGINTERN PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21316 PyObject
*resultobj
= 0;
21317 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21318 wxString
*arg2
= 0 ;
21322 bool temp2
= false ;
21323 PyObject
* obj0
= 0 ;
21324 PyObject
* obj1
= 0 ;
21325 char * kwnames
[] = {
21326 (char *) "self",(char *) "name", NULL
21329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21331 if (!SWIG_IsOK(res1
)) {
21332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasEntry" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21334 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21336 arg2
= wxString_in_helper(obj1
);
21337 if (arg2
== NULL
) SWIG_fail
;
21341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21342 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
21343 wxPyEndAllowThreads(__tstate
);
21344 if (PyErr_Occurred()) SWIG_fail
;
21347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21363 SWIGINTERN PyObject
*_wrap_ConfigBase_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21364 PyObject
*resultobj
= 0;
21365 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21366 wxString
*arg2
= 0 ;
21370 bool temp2
= false ;
21371 PyObject
* obj0
= 0 ;
21372 PyObject
* obj1
= 0 ;
21373 char * kwnames
[] = {
21374 (char *) "self",(char *) "name", NULL
21377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21379 if (!SWIG_IsOK(res1
)) {
21380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Exists" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21382 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21384 arg2
= wxString_in_helper(obj1
);
21385 if (arg2
== NULL
) SWIG_fail
;
21389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21390 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
21391 wxPyEndAllowThreads(__tstate
);
21392 if (PyErr_Occurred()) SWIG_fail
;
21395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21411 SWIGINTERN PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21412 PyObject
*resultobj
= 0;
21413 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21414 wxString
*arg2
= 0 ;
21415 wxConfigBase::EntryType result
;
21418 bool temp2
= false ;
21419 PyObject
* obj0
= 0 ;
21420 PyObject
* obj1
= 0 ;
21421 char * kwnames
[] = {
21422 (char *) "self",(char *) "name", NULL
21425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21427 if (!SWIG_IsOK(res1
)) {
21428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetEntryType" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21430 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21432 arg2
= wxString_in_helper(obj1
);
21433 if (arg2
== NULL
) SWIG_fail
;
21437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21438 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
21439 wxPyEndAllowThreads(__tstate
);
21440 if (PyErr_Occurred()) SWIG_fail
;
21442 resultobj
= SWIG_From_int(static_cast< int >(result
));
21457 SWIGINTERN PyObject
*_wrap_ConfigBase_Read(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21458 PyObject
*resultobj
= 0;
21459 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21460 wxString
*arg2
= 0 ;
21461 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21462 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21466 bool temp2
= false ;
21467 bool temp3
= false ;
21468 PyObject
* obj0
= 0 ;
21469 PyObject
* obj1
= 0 ;
21470 PyObject
* obj2
= 0 ;
21471 char * kwnames
[] = {
21472 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21477 if (!SWIG_IsOK(res1
)) {
21478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Read" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21480 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21482 arg2
= wxString_in_helper(obj1
);
21483 if (arg2
== NULL
) SWIG_fail
;
21488 arg3
= wxString_in_helper(obj2
);
21489 if (arg3
== NULL
) SWIG_fail
;
21494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21495 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
21496 wxPyEndAllowThreads(__tstate
);
21497 if (PyErr_Occurred()) SWIG_fail
;
21501 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21503 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21528 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21529 PyObject
*resultobj
= 0;
21530 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21531 wxString
*arg2
= 0 ;
21532 long arg3
= (long) 0 ;
21536 bool temp2
= false ;
21539 PyObject
* obj0
= 0 ;
21540 PyObject
* obj1
= 0 ;
21541 PyObject
* obj2
= 0 ;
21542 char * kwnames
[] = {
21543 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21548 if (!SWIG_IsOK(res1
)) {
21549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21551 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21553 arg2
= wxString_in_helper(obj1
);
21554 if (arg2
== NULL
) SWIG_fail
;
21558 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21559 if (!SWIG_IsOK(ecode3
)) {
21560 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadInt" "', expected argument " "3"" of type '" "long""'");
21562 arg3
= static_cast< long >(val3
);
21565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21566 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
21567 wxPyEndAllowThreads(__tstate
);
21568 if (PyErr_Occurred()) SWIG_fail
;
21570 resultobj
= SWIG_From_long(static_cast< long >(result
));
21585 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21586 PyObject
*resultobj
= 0;
21587 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21588 wxString
*arg2
= 0 ;
21589 double arg3
= (double) 0.0 ;
21593 bool temp2
= false ;
21596 PyObject
* obj0
= 0 ;
21597 PyObject
* obj1
= 0 ;
21598 PyObject
* obj2
= 0 ;
21599 char * kwnames
[] = {
21600 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21605 if (!SWIG_IsOK(res1
)) {
21606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21608 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21610 arg2
= wxString_in_helper(obj1
);
21611 if (arg2
== NULL
) SWIG_fail
;
21615 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21616 if (!SWIG_IsOK(ecode3
)) {
21617 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "3"" of type '" "double""'");
21619 arg3
= static_cast< double >(val3
);
21622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21623 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
21624 wxPyEndAllowThreads(__tstate
);
21625 if (PyErr_Occurred()) SWIG_fail
;
21627 resultobj
= SWIG_From_double(static_cast< double >(result
));
21642 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21643 PyObject
*resultobj
= 0;
21644 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21645 wxString
*arg2
= 0 ;
21646 bool arg3
= (bool) false ;
21650 bool temp2
= false ;
21653 PyObject
* obj0
= 0 ;
21654 PyObject
* obj1
= 0 ;
21655 PyObject
* obj2
= 0 ;
21656 char * kwnames
[] = {
21657 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21662 if (!SWIG_IsOK(res1
)) {
21663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21665 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21667 arg2
= wxString_in_helper(obj1
);
21668 if (arg2
== NULL
) SWIG_fail
;
21672 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21673 if (!SWIG_IsOK(ecode3
)) {
21674 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadBool" "', expected argument " "3"" of type '" "bool""'");
21676 arg3
= static_cast< bool >(val3
);
21679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21680 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
21681 wxPyEndAllowThreads(__tstate
);
21682 if (PyErr_Occurred()) SWIG_fail
;
21685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21701 SWIGINTERN PyObject
*_wrap_ConfigBase_Write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21702 PyObject
*resultobj
= 0;
21703 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21704 wxString
*arg2
= 0 ;
21705 wxString
*arg3
= 0 ;
21709 bool temp2
= false ;
21710 bool temp3
= false ;
21711 PyObject
* obj0
= 0 ;
21712 PyObject
* obj1
= 0 ;
21713 PyObject
* obj2
= 0 ;
21714 char * kwnames
[] = {
21715 (char *) "self",(char *) "key",(char *) "value", NULL
21718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21720 if (!SWIG_IsOK(res1
)) {
21721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Write" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21723 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21725 arg2
= wxString_in_helper(obj1
);
21726 if (arg2
== NULL
) SWIG_fail
;
21730 arg3
= wxString_in_helper(obj2
);
21731 if (arg3
== NULL
) SWIG_fail
;
21735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21736 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
21737 wxPyEndAllowThreads(__tstate
);
21738 if (PyErr_Occurred()) SWIG_fail
;
21741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21765 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21766 PyObject
*resultobj
= 0;
21767 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21768 wxString
*arg2
= 0 ;
21773 bool temp2
= false ;
21776 PyObject
* obj0
= 0 ;
21777 PyObject
* obj1
= 0 ;
21778 PyObject
* obj2
= 0 ;
21779 char * kwnames
[] = {
21780 (char *) "self",(char *) "key",(char *) "value", NULL
21783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21785 if (!SWIG_IsOK(res1
)) {
21786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21788 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21790 arg2
= wxString_in_helper(obj1
);
21791 if (arg2
== NULL
) SWIG_fail
;
21794 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21795 if (!SWIG_IsOK(ecode3
)) {
21796 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteInt" "', expected argument " "3"" of type '" "long""'");
21798 arg3
= static_cast< long >(val3
);
21800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21801 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
21802 wxPyEndAllowThreads(__tstate
);
21803 if (PyErr_Occurred()) SWIG_fail
;
21806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21822 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21823 PyObject
*resultobj
= 0;
21824 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21825 wxString
*arg2
= 0 ;
21830 bool temp2
= false ;
21833 PyObject
* obj0
= 0 ;
21834 PyObject
* obj1
= 0 ;
21835 PyObject
* obj2
= 0 ;
21836 char * kwnames
[] = {
21837 (char *) "self",(char *) "key",(char *) "value", NULL
21840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21842 if (!SWIG_IsOK(res1
)) {
21843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21845 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21847 arg2
= wxString_in_helper(obj1
);
21848 if (arg2
== NULL
) SWIG_fail
;
21851 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21852 if (!SWIG_IsOK(ecode3
)) {
21853 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "3"" of type '" "double""'");
21855 arg3
= static_cast< double >(val3
);
21857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21858 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
21859 wxPyEndAllowThreads(__tstate
);
21860 if (PyErr_Occurred()) SWIG_fail
;
21863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21879 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21880 PyObject
*resultobj
= 0;
21881 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21882 wxString
*arg2
= 0 ;
21887 bool temp2
= false ;
21890 PyObject
* obj0
= 0 ;
21891 PyObject
* obj1
= 0 ;
21892 PyObject
* obj2
= 0 ;
21893 char * kwnames
[] = {
21894 (char *) "self",(char *) "key",(char *) "value", NULL
21897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21899 if (!SWIG_IsOK(res1
)) {
21900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21902 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21904 arg2
= wxString_in_helper(obj1
);
21905 if (arg2
== NULL
) SWIG_fail
;
21908 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21909 if (!SWIG_IsOK(ecode3
)) {
21910 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteBool" "', expected argument " "3"" of type '" "bool""'");
21912 arg3
= static_cast< bool >(val3
);
21914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21915 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
21916 wxPyEndAllowThreads(__tstate
);
21917 if (PyErr_Occurred()) SWIG_fail
;
21920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21936 SWIGINTERN PyObject
*_wrap_ConfigBase_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21937 PyObject
*resultobj
= 0;
21938 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21939 bool arg2
= (bool) false ;
21945 PyObject
* obj0
= 0 ;
21946 PyObject
* obj1
= 0 ;
21947 char * kwnames
[] = {
21948 (char *) "self",(char *) "currentOnly", NULL
21951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21953 if (!SWIG_IsOK(res1
)) {
21954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Flush" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21956 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21958 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21959 if (!SWIG_IsOK(ecode2
)) {
21960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_Flush" "', expected argument " "2"" of type '" "bool""'");
21962 arg2
= static_cast< bool >(val2
);
21965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21966 result
= (bool)(arg1
)->Flush(arg2
);
21967 wxPyEndAllowThreads(__tstate
);
21968 if (PyErr_Occurred()) SWIG_fail
;
21971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21979 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21980 PyObject
*resultobj
= 0;
21981 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21982 wxString
*arg2
= 0 ;
21983 wxString
*arg3
= 0 ;
21987 bool temp2
= false ;
21988 bool temp3
= false ;
21989 PyObject
* obj0
= 0 ;
21990 PyObject
* obj1
= 0 ;
21991 PyObject
* obj2
= 0 ;
21992 char * kwnames
[] = {
21993 (char *) "self",(char *) "oldName",(char *) "newName", NULL
21996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21998 if (!SWIG_IsOK(res1
)) {
21999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22001 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22003 arg2
= wxString_in_helper(obj1
);
22004 if (arg2
== NULL
) SWIG_fail
;
22008 arg3
= wxString_in_helper(obj2
);
22009 if (arg3
== NULL
) SWIG_fail
;
22013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22014 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
22015 wxPyEndAllowThreads(__tstate
);
22016 if (PyErr_Occurred()) SWIG_fail
;
22019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22043 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22044 PyObject
*resultobj
= 0;
22045 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22046 wxString
*arg2
= 0 ;
22047 wxString
*arg3
= 0 ;
22051 bool temp2
= false ;
22052 bool temp3
= false ;
22053 PyObject
* obj0
= 0 ;
22054 PyObject
* obj1
= 0 ;
22055 PyObject
* obj2
= 0 ;
22056 char * kwnames
[] = {
22057 (char *) "self",(char *) "oldName",(char *) "newName", NULL
22060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22062 if (!SWIG_IsOK(res1
)) {
22063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22065 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22067 arg2
= wxString_in_helper(obj1
);
22068 if (arg2
== NULL
) SWIG_fail
;
22072 arg3
= wxString_in_helper(obj2
);
22073 if (arg3
== NULL
) SWIG_fail
;
22077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22078 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
22079 wxPyEndAllowThreads(__tstate
);
22080 if (PyErr_Occurred()) SWIG_fail
;
22083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22107 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22108 PyObject
*resultobj
= 0;
22109 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22110 wxString
*arg2
= 0 ;
22111 bool arg3
= (bool) true ;
22115 bool temp2
= false ;
22118 PyObject
* obj0
= 0 ;
22119 PyObject
* obj1
= 0 ;
22120 PyObject
* obj2
= 0 ;
22121 char * kwnames
[] = {
22122 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
22125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22127 if (!SWIG_IsOK(res1
)) {
22128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22130 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22132 arg2
= wxString_in_helper(obj1
);
22133 if (arg2
== NULL
) SWIG_fail
;
22137 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22138 if (!SWIG_IsOK(ecode3
)) {
22139 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "3"" of type '" "bool""'");
22141 arg3
= static_cast< bool >(val3
);
22144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22145 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
22146 wxPyEndAllowThreads(__tstate
);
22147 if (PyErr_Occurred()) SWIG_fail
;
22150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22166 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22167 PyObject
*resultobj
= 0;
22168 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22169 wxString
*arg2
= 0 ;
22173 bool temp2
= false ;
22174 PyObject
* obj0
= 0 ;
22175 PyObject
* obj1
= 0 ;
22176 char * kwnames
[] = {
22177 (char *) "self",(char *) "key", NULL
22180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22182 if (!SWIG_IsOK(res1
)) {
22183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22185 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22187 arg2
= wxString_in_helper(obj1
);
22188 if (arg2
== NULL
) SWIG_fail
;
22192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22193 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
22194 wxPyEndAllowThreads(__tstate
);
22195 if (PyErr_Occurred()) SWIG_fail
;
22198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22214 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22215 PyObject
*resultobj
= 0;
22216 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22220 PyObject
*swig_obj
[1] ;
22222 if (!args
) SWIG_fail
;
22223 swig_obj
[0] = args
;
22224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22225 if (!SWIG_IsOK(res1
)) {
22226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteAll" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22228 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22231 result
= (bool)(arg1
)->DeleteAll();
22232 wxPyEndAllowThreads(__tstate
);
22233 if (PyErr_Occurred()) SWIG_fail
;
22236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22244 SWIGINTERN PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22245 PyObject
*resultobj
= 0;
22246 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22247 bool arg2
= (bool) true ;
22252 PyObject
* obj0
= 0 ;
22253 PyObject
* obj1
= 0 ;
22254 char * kwnames
[] = {
22255 (char *) "self",(char *) "doIt", NULL
22258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22260 if (!SWIG_IsOK(res1
)) {
22261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22263 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22265 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22266 if (!SWIG_IsOK(ecode2
)) {
22267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "2"" of type '" "bool""'");
22269 arg2
= static_cast< bool >(val2
);
22272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22273 (arg1
)->SetExpandEnvVars(arg2
);
22274 wxPyEndAllowThreads(__tstate
);
22275 if (PyErr_Occurred()) SWIG_fail
;
22277 resultobj
= SWIG_Py_Void();
22284 SWIGINTERN PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22285 PyObject
*resultobj
= 0;
22286 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22290 PyObject
*swig_obj
[1] ;
22292 if (!args
) SWIG_fail
;
22293 swig_obj
[0] = args
;
22294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22295 if (!SWIG_IsOK(res1
)) {
22296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsExpandingEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22298 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22301 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
22302 wxPyEndAllowThreads(__tstate
);
22303 if (PyErr_Occurred()) SWIG_fail
;
22306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22314 SWIGINTERN PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22315 PyObject
*resultobj
= 0;
22316 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22317 bool arg2
= (bool) true ;
22322 PyObject
* obj0
= 0 ;
22323 PyObject
* obj1
= 0 ;
22324 char * kwnames
[] = {
22325 (char *) "self",(char *) "doIt", NULL
22328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22330 if (!SWIG_IsOK(res1
)) {
22331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22333 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22335 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22336 if (!SWIG_IsOK(ecode2
)) {
22337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "2"" of type '" "bool""'");
22339 arg2
= static_cast< bool >(val2
);
22342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22343 (arg1
)->SetRecordDefaults(arg2
);
22344 wxPyEndAllowThreads(__tstate
);
22345 if (PyErr_Occurred()) SWIG_fail
;
22347 resultobj
= SWIG_Py_Void();
22354 SWIGINTERN PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22355 PyObject
*resultobj
= 0;
22356 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22360 PyObject
*swig_obj
[1] ;
22362 if (!args
) SWIG_fail
;
22363 swig_obj
[0] = args
;
22364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22365 if (!SWIG_IsOK(res1
)) {
22366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsRecordingDefaults" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22368 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22371 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
22372 wxPyEndAllowThreads(__tstate
);
22373 if (PyErr_Occurred()) SWIG_fail
;
22376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22384 SWIGINTERN PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22385 PyObject
*resultobj
= 0;
22386 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22387 wxString
*arg2
= 0 ;
22391 bool temp2
= false ;
22392 PyObject
* obj0
= 0 ;
22393 PyObject
* obj1
= 0 ;
22394 char * kwnames
[] = {
22395 (char *) "self",(char *) "str", NULL
22398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22400 if (!SWIG_IsOK(res1
)) {
22401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22403 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22405 arg2
= wxString_in_helper(obj1
);
22406 if (arg2
== NULL
) SWIG_fail
;
22410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22411 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
22412 wxPyEndAllowThreads(__tstate
);
22413 if (PyErr_Occurred()) SWIG_fail
;
22417 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22419 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22436 SWIGINTERN PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22437 PyObject
*resultobj
= 0;
22438 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22442 PyObject
*swig_obj
[1] ;
22444 if (!args
) SWIG_fail
;
22445 swig_obj
[0] = args
;
22446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22447 if (!SWIG_IsOK(res1
)) {
22448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetAppName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22450 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22453 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
22454 wxPyEndAllowThreads(__tstate
);
22455 if (PyErr_Occurred()) SWIG_fail
;
22459 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22461 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22470 SWIGINTERN PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22471 PyObject
*resultobj
= 0;
22472 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22476 PyObject
*swig_obj
[1] ;
22478 if (!args
) SWIG_fail
;
22479 swig_obj
[0] = args
;
22480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22481 if (!SWIG_IsOK(res1
)) {
22482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetVendorName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22484 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22487 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
22488 wxPyEndAllowThreads(__tstate
);
22489 if (PyErr_Occurred()) SWIG_fail
;
22493 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22495 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22504 SWIGINTERN PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22505 PyObject
*resultobj
= 0;
22506 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22507 wxString
*arg2
= 0 ;
22510 bool temp2
= false ;
22511 PyObject
* obj0
= 0 ;
22512 PyObject
* obj1
= 0 ;
22513 char * kwnames
[] = {
22514 (char *) "self",(char *) "appName", NULL
22517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22519 if (!SWIG_IsOK(res1
)) {
22520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetAppName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22522 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22524 arg2
= wxString_in_helper(obj1
);
22525 if (arg2
== NULL
) SWIG_fail
;
22529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22530 (arg1
)->SetAppName((wxString
const &)*arg2
);
22531 wxPyEndAllowThreads(__tstate
);
22532 if (PyErr_Occurred()) SWIG_fail
;
22534 resultobj
= SWIG_Py_Void();
22549 SWIGINTERN PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22550 PyObject
*resultobj
= 0;
22551 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22552 wxString
*arg2
= 0 ;
22555 bool temp2
= false ;
22556 PyObject
* obj0
= 0 ;
22557 PyObject
* obj1
= 0 ;
22558 char * kwnames
[] = {
22559 (char *) "self",(char *) "vendorName", NULL
22562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22564 if (!SWIG_IsOK(res1
)) {
22565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetVendorName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22567 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22569 arg2
= wxString_in_helper(obj1
);
22570 if (arg2
== NULL
) SWIG_fail
;
22574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22575 (arg1
)->SetVendorName((wxString
const &)*arg2
);
22576 wxPyEndAllowThreads(__tstate
);
22577 if (PyErr_Occurred()) SWIG_fail
;
22579 resultobj
= SWIG_Py_Void();
22594 SWIGINTERN PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22595 PyObject
*resultobj
= 0;
22596 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22602 PyObject
* obj0
= 0 ;
22603 PyObject
* obj1
= 0 ;
22604 char * kwnames
[] = {
22605 (char *) "self",(char *) "style", NULL
22608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22610 if (!SWIG_IsOK(res1
)) {
22611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetStyle" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22613 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22614 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
22615 if (!SWIG_IsOK(ecode2
)) {
22616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetStyle" "', expected argument " "2"" of type '" "long""'");
22618 arg2
= static_cast< long >(val2
);
22620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22621 (arg1
)->SetStyle(arg2
);
22622 wxPyEndAllowThreads(__tstate
);
22623 if (PyErr_Occurred()) SWIG_fail
;
22625 resultobj
= SWIG_Py_Void();
22632 SWIGINTERN PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22633 PyObject
*resultobj
= 0;
22634 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22638 PyObject
*swig_obj
[1] ;
22640 if (!args
) SWIG_fail
;
22641 swig_obj
[0] = args
;
22642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22643 if (!SWIG_IsOK(res1
)) {
22644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetStyle" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22646 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22649 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
22650 wxPyEndAllowThreads(__tstate
);
22651 if (PyErr_Occurred()) SWIG_fail
;
22653 resultobj
= SWIG_From_long(static_cast< long >(result
));
22660 SWIGINTERN PyObject
*ConfigBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22662 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22663 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigBase
, SWIG_NewClientData(obj
));
22664 return SWIG_Py_Void();
22667 SWIGINTERN PyObject
*_wrap_new_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22668 PyObject
*resultobj
= 0;
22669 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22670 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22671 wxString
const &arg2_defvalue
= wxPyEmptyString
;
22672 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22673 wxString
const &arg3_defvalue
= wxPyEmptyString
;
22674 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
22675 wxString
const &arg4_defvalue
= wxPyEmptyString
;
22676 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
22677 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
22678 wxConfig
*result
= 0 ;
22679 bool temp1
= false ;
22680 bool temp2
= false ;
22681 bool temp3
= false ;
22682 bool temp4
= false ;
22685 PyObject
* obj0
= 0 ;
22686 PyObject
* obj1
= 0 ;
22687 PyObject
* obj2
= 0 ;
22688 PyObject
* obj3
= 0 ;
22689 PyObject
* obj4
= 0 ;
22690 char * kwnames
[] = {
22691 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
22694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22697 arg1
= wxString_in_helper(obj0
);
22698 if (arg1
== NULL
) SWIG_fail
;
22704 arg2
= wxString_in_helper(obj1
);
22705 if (arg2
== NULL
) SWIG_fail
;
22711 arg3
= wxString_in_helper(obj2
);
22712 if (arg3
== NULL
) SWIG_fail
;
22718 arg4
= wxString_in_helper(obj3
);
22719 if (arg4
== NULL
) SWIG_fail
;
22724 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22725 if (!SWIG_IsOK(ecode5
)) {
22726 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Config" "', expected argument " "5"" of type '" "long""'");
22728 arg5
= static_cast< long >(val5
);
22731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22732 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
22733 wxPyEndAllowThreads(__tstate
);
22734 if (PyErr_Occurred()) SWIG_fail
;
22736 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfig
, SWIG_POINTER_NEW
| 0 );
22775 SWIGINTERN PyObject
*_wrap_delete_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22776 PyObject
*resultobj
= 0;
22777 wxConfig
*arg1
= (wxConfig
*) 0 ;
22780 PyObject
*swig_obj
[1] ;
22782 if (!args
) SWIG_fail
;
22783 swig_obj
[0] = args
;
22784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfig
, SWIG_POINTER_DISOWN
| 0 );
22785 if (!SWIG_IsOK(res1
)) {
22786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Config" "', expected argument " "1"" of type '" "wxConfig *""'");
22788 arg1
= reinterpret_cast< wxConfig
* >(argp1
);
22790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22793 wxPyEndAllowThreads(__tstate
);
22794 if (PyErr_Occurred()) SWIG_fail
;
22796 resultobj
= SWIG_Py_Void();
22803 SWIGINTERN PyObject
*Config_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22805 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22806 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfig
, SWIG_NewClientData(obj
));
22807 return SWIG_Py_Void();
22810 SWIGINTERN PyObject
*Config_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22811 return SWIG_Python_InitShadowInstance(args
);
22814 SWIGINTERN PyObject
*_wrap_new_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22815 PyObject
*resultobj
= 0;
22816 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22817 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22818 wxString
const &arg2_defvalue
= wxPyEmptyString
;
22819 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22820 wxString
const &arg3_defvalue
= wxPyEmptyString
;
22821 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
22822 wxString
const &arg4_defvalue
= wxPyEmptyString
;
22823 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
22824 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
22825 wxFileConfig
*result
= 0 ;
22826 bool temp1
= false ;
22827 bool temp2
= false ;
22828 bool temp3
= false ;
22829 bool temp4
= false ;
22832 PyObject
* obj0
= 0 ;
22833 PyObject
* obj1
= 0 ;
22834 PyObject
* obj2
= 0 ;
22835 PyObject
* obj3
= 0 ;
22836 PyObject
* obj4
= 0 ;
22837 char * kwnames
[] = {
22838 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
22841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22844 arg1
= wxString_in_helper(obj0
);
22845 if (arg1
== NULL
) SWIG_fail
;
22851 arg2
= wxString_in_helper(obj1
);
22852 if (arg2
== NULL
) SWIG_fail
;
22858 arg3
= wxString_in_helper(obj2
);
22859 if (arg3
== NULL
) SWIG_fail
;
22865 arg4
= wxString_in_helper(obj3
);
22866 if (arg4
== NULL
) SWIG_fail
;
22871 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22872 if (!SWIG_IsOK(ecode5
)) {
22873 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FileConfig" "', expected argument " "5"" of type '" "long""'");
22875 arg5
= static_cast< long >(val5
);
22878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22879 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
22880 wxPyEndAllowThreads(__tstate
);
22881 if (PyErr_Occurred()) SWIG_fail
;
22883 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_NEW
| 0 );
22922 SWIGINTERN PyObject
*_wrap_delete_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22923 PyObject
*resultobj
= 0;
22924 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
22927 PyObject
*swig_obj
[1] ;
22929 if (!args
) SWIG_fail
;
22930 swig_obj
[0] = args
;
22931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_DISOWN
| 0 );
22932 if (!SWIG_IsOK(res1
)) {
22933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileConfig" "', expected argument " "1"" of type '" "wxFileConfig *""'");
22935 arg1
= reinterpret_cast< wxFileConfig
* >(argp1
);
22937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22940 wxPyEndAllowThreads(__tstate
);
22941 if (PyErr_Occurred()) SWIG_fail
;
22943 resultobj
= SWIG_Py_Void();
22950 SWIGINTERN PyObject
*FileConfig_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22952 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22953 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileConfig
, SWIG_NewClientData(obj
));
22954 return SWIG_Py_Void();
22957 SWIGINTERN PyObject
*FileConfig_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22958 return SWIG_Python_InitShadowInstance(args
);
22961 SWIGINTERN PyObject
*_wrap_new_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22962 PyObject
*resultobj
= 0;
22963 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22964 wxString
*arg2
= 0 ;
22965 wxConfigPathChanger
*result
= 0 ;
22968 bool temp2
= false ;
22969 PyObject
* obj0
= 0 ;
22970 PyObject
* obj1
= 0 ;
22971 char * kwnames
[] = {
22972 (char *) "config",(char *) "entry", NULL
22975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22977 if (!SWIG_IsOK(res1
)) {
22978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22980 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22982 arg2
= wxString_in_helper(obj1
);
22983 if (arg2
== NULL
) SWIG_fail
;
22987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22988 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
22989 wxPyEndAllowThreads(__tstate
);
22990 if (PyErr_Occurred()) SWIG_fail
;
22992 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_NEW
| 0 );
23007 SWIGINTERN PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23008 PyObject
*resultobj
= 0;
23009 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
23012 PyObject
*swig_obj
[1] ;
23014 if (!args
) SWIG_fail
;
23015 swig_obj
[0] = args
;
23016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_DISOWN
| 0 );
23017 if (!SWIG_IsOK(res1
)) {
23018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigPathChanger *""'");
23020 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
23022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23025 wxPyEndAllowThreads(__tstate
);
23026 if (PyErr_Occurred()) SWIG_fail
;
23028 resultobj
= SWIG_Py_Void();
23035 SWIGINTERN PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23036 PyObject
*resultobj
= 0;
23037 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
23038 wxString
*result
= 0 ;
23041 PyObject
*swig_obj
[1] ;
23043 if (!args
) SWIG_fail
;
23044 swig_obj
[0] = args
;
23045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, 0 | 0 );
23046 if (!SWIG_IsOK(res1
)) {
23047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigPathChanger_Name" "', expected argument " "1"" of type '" "wxConfigPathChanger const *""'");
23049 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
23051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23053 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
23054 result
= (wxString
*) &_result_ref
;
23056 wxPyEndAllowThreads(__tstate
);
23057 if (PyErr_Occurred()) SWIG_fail
;
23061 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23063 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23072 SWIGINTERN PyObject
*ConfigPathChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23074 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23075 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigPathChanger
, SWIG_NewClientData(obj
));
23076 return SWIG_Py_Void();
23079 SWIGINTERN PyObject
*ConfigPathChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23080 return SWIG_Python_InitShadowInstance(args
);
23083 SWIGINTERN PyObject
*_wrap_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23084 PyObject
*resultobj
= 0;
23085 wxString
*arg1
= 0 ;
23087 bool temp1
= false ;
23088 PyObject
* obj0
= 0 ;
23089 char * kwnames
[] = {
23090 (char *) "sz", NULL
23093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) SWIG_fail
;
23095 arg1
= wxString_in_helper(obj0
);
23096 if (arg1
== NULL
) SWIG_fail
;
23100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23101 result
= wxExpandEnvVars((wxString
const &)*arg1
);
23102 wxPyEndAllowThreads(__tstate
);
23103 if (PyErr_Occurred()) SWIG_fail
;
23107 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23109 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23126 SWIGINTERN
int DefaultDateTimeFormat_set(PyObject
*) {
23127 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTimeFormat is read-only.");
23132 SWIGINTERN PyObject
*DefaultDateTimeFormat_get(void) {
23133 PyObject
*pyobj
= 0;
23137 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
23139 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
23146 SWIGINTERN
int DefaultTimeSpanFormat_set(PyObject
*) {
23147 SWIG_Error(SWIG_AttributeError
,"Variable DefaultTimeSpanFormat is read-only.");
23152 SWIGINTERN PyObject
*DefaultTimeSpanFormat_get(void) {
23153 PyObject
*pyobj
= 0;
23157 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
23159 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
23166 SWIGINTERN PyObject
*_wrap_DateTime_SetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23167 PyObject
*resultobj
= 0;
23168 wxDateTime::Country arg1
;
23171 PyObject
* obj0
= 0 ;
23172 char * kwnames
[] = {
23173 (char *) "country", NULL
23176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) SWIG_fail
;
23177 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23178 if (!SWIG_IsOK(ecode1
)) {
23179 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
23181 arg1
= static_cast< wxDateTime::Country
>(val1
);
23183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23184 wxDateTime::SetCountry(arg1
);
23185 wxPyEndAllowThreads(__tstate
);
23186 if (PyErr_Occurred()) SWIG_fail
;
23188 resultobj
= SWIG_Py_Void();
23195 SWIGINTERN PyObject
*_wrap_DateTime_GetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23196 PyObject
*resultobj
= 0;
23197 wxDateTime::Country result
;
23199 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetCountry",0,0,0)) SWIG_fail
;
23201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23202 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
23203 wxPyEndAllowThreads(__tstate
);
23204 if (PyErr_Occurred()) SWIG_fail
;
23206 resultobj
= SWIG_From_int(static_cast< int >(result
));
23213 SWIGINTERN PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23214 PyObject
*resultobj
= 0;
23215 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23219 PyObject
* obj0
= 0 ;
23220 char * kwnames
[] = {
23221 (char *) "country", NULL
23224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) SWIG_fail
;
23226 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23227 if (!SWIG_IsOK(ecode1
)) {
23228 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsWestEuropeanCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
23230 arg1
= static_cast< wxDateTime::Country
>(val1
);
23233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23234 result
= (bool)wxDateTime::IsWestEuropeanCountry(arg1
);
23235 wxPyEndAllowThreads(__tstate
);
23236 if (PyErr_Occurred()) SWIG_fail
;
23239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23247 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23248 PyObject
*resultobj
= 0;
23249 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23253 PyObject
* obj0
= 0 ;
23254 char * kwnames
[] = {
23255 (char *) "cal", NULL
23258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) SWIG_fail
;
23260 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23261 if (!SWIG_IsOK(ecode1
)) {
23262 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentYear" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
23264 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
23267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23268 result
= (int)wxDateTime::GetCurrentYear(arg1
);
23269 wxPyEndAllowThreads(__tstate
);
23270 if (PyErr_Occurred()) SWIG_fail
;
23272 resultobj
= SWIG_From_int(static_cast< int >(result
));
23279 SWIGINTERN PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23280 PyObject
*resultobj
= 0;
23285 PyObject
* obj0
= 0 ;
23286 char * kwnames
[] = {
23287 (char *) "year", NULL
23290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) SWIG_fail
;
23291 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23292 if (!SWIG_IsOK(ecode1
)) {
23293 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_ConvertYearToBC" "', expected argument " "1"" of type '" "int""'");
23295 arg1
= static_cast< int >(val1
);
23297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23298 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
23299 wxPyEndAllowThreads(__tstate
);
23300 if (PyErr_Occurred()) SWIG_fail
;
23302 resultobj
= SWIG_From_int(static_cast< int >(result
));
23309 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23310 PyObject
*resultobj
= 0;
23311 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23312 wxDateTime::Month result
;
23315 PyObject
* obj0
= 0 ;
23316 char * kwnames
[] = {
23317 (char *) "cal", NULL
23320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) SWIG_fail
;
23322 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23323 if (!SWIG_IsOK(ecode1
)) {
23324 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentMonth" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
23326 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
23329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23330 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth(arg1
);
23331 wxPyEndAllowThreads(__tstate
);
23332 if (PyErr_Occurred()) SWIG_fail
;
23334 resultobj
= SWIG_From_int(static_cast< int >(result
));
23341 SWIGINTERN PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23342 PyObject
*resultobj
= 0;
23343 int arg1
= (int) wxDateTime::Inv_Year
;
23344 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23350 PyObject
* obj0
= 0 ;
23351 PyObject
* obj1
= 0 ;
23352 char * kwnames
[] = {
23353 (char *) "year",(char *) "cal", NULL
23356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23358 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23359 if (!SWIG_IsOK(ecode1
)) {
23360 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsLeapYear" "', expected argument " "1"" of type '" "int""'");
23362 arg1
= static_cast< int >(val1
);
23365 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23366 if (!SWIG_IsOK(ecode2
)) {
23367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsLeapYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
23369 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
23372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23373 result
= (bool)wxDateTime::IsLeapYear(arg1
,arg2
);
23374 wxPyEndAllowThreads(__tstate
);
23375 if (PyErr_Occurred()) SWIG_fail
;
23378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23386 SWIGINTERN PyObject
*_wrap_DateTime_GetCentury(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23387 PyObject
*resultobj
= 0;
23388 int arg1
= (int) wxDateTime::Inv_Year
;
23392 PyObject
* obj0
= 0 ;
23393 char * kwnames
[] = {
23394 (char *) "year", NULL
23397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) SWIG_fail
;
23399 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23400 if (!SWIG_IsOK(ecode1
)) {
23401 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCentury" "', expected argument " "1"" of type '" "int""'");
23403 arg1
= static_cast< int >(val1
);
23406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23407 result
= (int)wxDateTime::GetCentury(arg1
);
23408 wxPyEndAllowThreads(__tstate
);
23409 if (PyErr_Occurred()) SWIG_fail
;
23411 resultobj
= SWIG_From_int(static_cast< int >(result
));
23418 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23419 PyObject
*resultobj
= 0;
23421 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23427 PyObject
* obj0
= 0 ;
23428 PyObject
* obj1
= 0 ;
23429 char * kwnames
[] = {
23430 (char *) "year",(char *) "cal", NULL
23433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23434 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23435 if (!SWIG_IsOK(ecode1
)) {
23436 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "1"" of type '" "int""'");
23438 arg1
= static_cast< int >(val1
);
23440 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23441 if (!SWIG_IsOK(ecode2
)) {
23442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
23444 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
23447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23448 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
);
23449 wxPyEndAllowThreads(__tstate
);
23450 if (PyErr_Occurred()) SWIG_fail
;
23452 resultobj
= SWIG_From_int(static_cast< int >(result
));
23459 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23460 PyObject
*resultobj
= 0;
23461 wxDateTime::Month arg1
;
23462 int arg2
= (int) wxDateTime::Inv_Year
;
23463 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23471 PyObject
* obj0
= 0 ;
23472 PyObject
* obj1
= 0 ;
23473 PyObject
* obj2
= 0 ;
23474 char * kwnames
[] = {
23475 (char *) "month",(char *) "year",(char *) "cal", NULL
23478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23479 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23480 if (!SWIG_IsOK(ecode1
)) {
23481 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
23483 arg1
= static_cast< wxDateTime::Month
>(val1
);
23485 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23486 if (!SWIG_IsOK(ecode2
)) {
23487 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "2"" of type '" "int""'");
23489 arg2
= static_cast< int >(val2
);
23492 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23493 if (!SWIG_IsOK(ecode3
)) {
23494 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "3"" of type '" "wxDateTime::Calendar""'");
23496 arg3
= static_cast< wxDateTime::Calendar
>(val3
);
23499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23500 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
,arg3
);
23501 wxPyEndAllowThreads(__tstate
);
23502 if (PyErr_Occurred()) SWIG_fail
;
23504 resultobj
= SWIG_From_int(static_cast< int >(result
));
23511 SWIGINTERN PyObject
*_wrap_DateTime_GetMonthName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23512 PyObject
*resultobj
= 0;
23513 wxDateTime::Month arg1
;
23514 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
23520 PyObject
* obj0
= 0 ;
23521 PyObject
* obj1
= 0 ;
23522 char * kwnames
[] = {
23523 (char *) "month",(char *) "flags", NULL
23526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23527 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23528 if (!SWIG_IsOK(ecode1
)) {
23529 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetMonthName" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
23531 arg1
= static_cast< wxDateTime::Month
>(val1
);
23533 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23534 if (!SWIG_IsOK(ecode2
)) {
23535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetMonthName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
23537 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
23540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23541 result
= wxDateTime::GetMonthName(arg1
,arg2
);
23542 wxPyEndAllowThreads(__tstate
);
23543 if (PyErr_Occurred()) SWIG_fail
;
23547 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23549 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23558 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23559 PyObject
*resultobj
= 0;
23560 wxDateTime::WeekDay arg1
;
23561 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
23567 PyObject
* obj0
= 0 ;
23568 PyObject
* obj1
= 0 ;
23569 char * kwnames
[] = {
23570 (char *) "weekday",(char *) "flags", NULL
23573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23574 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23575 if (!SWIG_IsOK(ecode1
)) {
23576 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "1"" of type '" "wxDateTime::WeekDay""'");
23578 arg1
= static_cast< wxDateTime::WeekDay
>(val1
);
23580 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23581 if (!SWIG_IsOK(ecode2
)) {
23582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
23584 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
23587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23588 result
= wxDateTime::GetWeekDayName(arg1
,arg2
);
23589 wxPyEndAllowThreads(__tstate
);
23590 if (PyErr_Occurred()) SWIG_fail
;
23594 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23596 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23605 SWIGINTERN PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23606 PyObject
*resultobj
= 0;
23607 PyObject
*result
= 0 ;
23609 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetAmPmStrings",0,0,0)) SWIG_fail
;
23611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23612 result
= (PyObject
*)wxDateTime_GetAmPmStrings();
23613 wxPyEndAllowThreads(__tstate
);
23614 if (PyErr_Occurred()) SWIG_fail
;
23616 resultobj
= result
;
23623 SWIGINTERN PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23624 PyObject
*resultobj
= 0;
23625 int arg1
= (int) wxDateTime::Inv_Year
;
23626 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23632 PyObject
* obj0
= 0 ;
23633 PyObject
* obj1
= 0 ;
23634 char * kwnames
[] = {
23635 (char *) "year",(char *) "country", NULL
23638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23640 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23641 if (!SWIG_IsOK(ecode1
)) {
23642 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "1"" of type '" "int""'");
23644 arg1
= static_cast< int >(val1
);
23647 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23648 if (!SWIG_IsOK(ecode2
)) {
23649 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
23651 arg2
= static_cast< wxDateTime::Country
>(val2
);
23654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23655 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,arg2
);
23656 wxPyEndAllowThreads(__tstate
);
23657 if (PyErr_Occurred()) SWIG_fail
;
23660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23668 SWIGINTERN PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23669 PyObject
*resultobj
= 0;
23670 int arg1
= (int) wxDateTime::Inv_Year
;
23671 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23677 PyObject
* obj0
= 0 ;
23678 PyObject
* obj1
= 0 ;
23679 char * kwnames
[] = {
23680 (char *) "year",(char *) "country", NULL
23683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23685 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23686 if (!SWIG_IsOK(ecode1
)) {
23687 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetBeginDST" "', expected argument " "1"" of type '" "int""'");
23689 arg1
= static_cast< int >(val1
);
23692 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23693 if (!SWIG_IsOK(ecode2
)) {
23694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetBeginDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
23696 arg2
= static_cast< wxDateTime::Country
>(val2
);
23699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23700 result
= wxDateTime::GetBeginDST(arg1
,arg2
);
23701 wxPyEndAllowThreads(__tstate
);
23702 if (PyErr_Occurred()) SWIG_fail
;
23704 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23711 SWIGINTERN PyObject
*_wrap_DateTime_GetEndDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23712 PyObject
*resultobj
= 0;
23713 int arg1
= (int) wxDateTime::Inv_Year
;
23714 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23720 PyObject
* obj0
= 0 ;
23721 PyObject
* obj1
= 0 ;
23722 char * kwnames
[] = {
23723 (char *) "year",(char *) "country", NULL
23726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23728 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23729 if (!SWIG_IsOK(ecode1
)) {
23730 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetEndDST" "', expected argument " "1"" of type '" "int""'");
23732 arg1
= static_cast< int >(val1
);
23735 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23736 if (!SWIG_IsOK(ecode2
)) {
23737 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetEndDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
23739 arg2
= static_cast< wxDateTime::Country
>(val2
);
23742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23743 result
= wxDateTime::GetEndDST(arg1
,arg2
);
23744 wxPyEndAllowThreads(__tstate
);
23745 if (PyErr_Occurred()) SWIG_fail
;
23747 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23754 SWIGINTERN PyObject
*_wrap_DateTime_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23755 PyObject
*resultobj
= 0;
23758 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Now",0,0,0)) SWIG_fail
;
23760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23761 result
= wxDateTime::Now();
23762 wxPyEndAllowThreads(__tstate
);
23763 if (PyErr_Occurred()) SWIG_fail
;
23765 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23772 SWIGINTERN PyObject
*_wrap_DateTime_UNow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23773 PyObject
*resultobj
= 0;
23776 if (!SWIG_Python_UnpackTuple(args
,"DateTime_UNow",0,0,0)) SWIG_fail
;
23778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23779 result
= wxDateTime::UNow();
23780 wxPyEndAllowThreads(__tstate
);
23781 if (PyErr_Occurred()) SWIG_fail
;
23783 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23790 SWIGINTERN PyObject
*_wrap_DateTime_Today(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23791 PyObject
*resultobj
= 0;
23794 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Today",0,0,0)) SWIG_fail
;
23796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23797 result
= wxDateTime::Today();
23798 wxPyEndAllowThreads(__tstate
);
23799 if (PyErr_Occurred()) SWIG_fail
;
23801 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23808 SWIGINTERN PyObject
*_wrap_new_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23809 PyObject
*resultobj
= 0;
23810 wxDateTime
*result
= 0 ;
23812 if (!SWIG_Python_UnpackTuple(args
,"new_DateTime",0,0,0)) SWIG_fail
;
23814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23815 result
= (wxDateTime
*)new wxDateTime();
23816 wxPyEndAllowThreads(__tstate
);
23817 if (PyErr_Occurred()) SWIG_fail
;
23819 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_NEW
| 0 );
23826 SWIGINTERN PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23827 PyObject
*resultobj
= 0;
23829 wxDateTime
*result
= 0 ;
23830 unsigned int val1
;
23832 PyObject
* obj0
= 0 ;
23833 char * kwnames
[] = {
23834 (char *) "timet", NULL
23837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) SWIG_fail
;
23838 ecode1
= SWIG_AsVal_unsigned_SS_int(obj0
, &val1
);
23839 if (!SWIG_IsOK(ecode1
)) {
23840 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromTimeT" "', expected argument " "1"" of type '" "time_t""'");
23842 arg1
= static_cast< time_t >(val1
);
23844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23845 result
= (wxDateTime
*)new wxDateTime(arg1
);
23846 wxPyEndAllowThreads(__tstate
);
23847 if (PyErr_Occurred()) SWIG_fail
;
23849 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23856 SWIGINTERN PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23857 PyObject
*resultobj
= 0;
23859 wxDateTime
*result
= 0 ;
23862 PyObject
* obj0
= 0 ;
23863 char * kwnames
[] = {
23864 (char *) "jdn", NULL
23867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) SWIG_fail
;
23868 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
23869 if (!SWIG_IsOK(ecode1
)) {
23870 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromJDN" "', expected argument " "1"" of type '" "double""'");
23872 arg1
= static_cast< double >(val1
);
23874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23875 result
= (wxDateTime
*)new wxDateTime(arg1
);
23876 wxPyEndAllowThreads(__tstate
);
23877 if (PyErr_Occurred()) SWIG_fail
;
23879 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23886 SWIGINTERN PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23887 PyObject
*resultobj
= 0;
23889 int arg2
= (int) 0 ;
23890 int arg3
= (int) 0 ;
23891 int arg4
= (int) 0 ;
23892 wxDateTime
*result
= 0 ;
23901 PyObject
* obj0
= 0 ;
23902 PyObject
* obj1
= 0 ;
23903 PyObject
* obj2
= 0 ;
23904 PyObject
* obj3
= 0 ;
23905 char * kwnames
[] = {
23906 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
23909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23910 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23911 if (!SWIG_IsOK(ecode1
)) {
23912 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromHMS" "', expected argument " "1"" of type '" "int""'");
23914 arg1
= static_cast< int >(val1
);
23916 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23917 if (!SWIG_IsOK(ecode2
)) {
23918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromHMS" "', expected argument " "2"" of type '" "int""'");
23920 arg2
= static_cast< int >(val2
);
23923 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23924 if (!SWIG_IsOK(ecode3
)) {
23925 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromHMS" "', expected argument " "3"" of type '" "int""'");
23927 arg3
= static_cast< int >(val3
);
23930 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23931 if (!SWIG_IsOK(ecode4
)) {
23932 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromHMS" "', expected argument " "4"" of type '" "int""'");
23934 arg4
= static_cast< int >(val4
);
23937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23938 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
23939 wxPyEndAllowThreads(__tstate
);
23940 if (PyErr_Occurred()) SWIG_fail
;
23942 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23949 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23950 PyObject
*resultobj
= 0;
23952 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23953 int arg3
= (int) wxDateTime::Inv_Year
;
23954 int arg4
= (int) 0 ;
23955 int arg5
= (int) 0 ;
23956 int arg6
= (int) 0 ;
23957 int arg7
= (int) 0 ;
23958 wxDateTime
*result
= 0 ;
23973 PyObject
* obj0
= 0 ;
23974 PyObject
* obj1
= 0 ;
23975 PyObject
* obj2
= 0 ;
23976 PyObject
* obj3
= 0 ;
23977 PyObject
* obj4
= 0 ;
23978 PyObject
* obj5
= 0 ;
23979 PyObject
* obj6
= 0 ;
23980 char * kwnames
[] = {
23981 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
23984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
23985 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23986 if (!SWIG_IsOK(ecode1
)) {
23987 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromDMY" "', expected argument " "1"" of type '" "int""'");
23989 arg1
= static_cast< int >(val1
);
23991 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23992 if (!SWIG_IsOK(ecode2
)) {
23993 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromDMY" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
23995 arg2
= static_cast< wxDateTime::Month
>(val2
);
23998 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23999 if (!SWIG_IsOK(ecode3
)) {
24000 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromDMY" "', expected argument " "3"" of type '" "int""'");
24002 arg3
= static_cast< int >(val3
);
24005 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24006 if (!SWIG_IsOK(ecode4
)) {
24007 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromDMY" "', expected argument " "4"" of type '" "int""'");
24009 arg4
= static_cast< int >(val4
);
24012 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24013 if (!SWIG_IsOK(ecode5
)) {
24014 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DateTimeFromDMY" "', expected argument " "5"" of type '" "int""'");
24016 arg5
= static_cast< int >(val5
);
24019 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24020 if (!SWIG_IsOK(ecode6
)) {
24021 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DateTimeFromDMY" "', expected argument " "6"" of type '" "int""'");
24023 arg6
= static_cast< int >(val6
);
24026 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24027 if (!SWIG_IsOK(ecode7
)) {
24028 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DateTimeFromDMY" "', expected argument " "7"" of type '" "int""'");
24030 arg7
= static_cast< int >(val7
);
24033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24034 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24035 wxPyEndAllowThreads(__tstate
);
24036 if (PyErr_Occurred()) SWIG_fail
;
24038 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24045 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24046 PyObject
*resultobj
= 0;
24047 wxDateTime
*arg1
= 0 ;
24048 wxDateTime
*result
= 0 ;
24051 PyObject
* obj0
= 0 ;
24052 char * kwnames
[] = {
24053 (char *) "date", NULL
24056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromDateTime",kwnames
,&obj0
)) SWIG_fail
;
24057 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDateTime
, 0 | 0);
24058 if (!SWIG_IsOK(res1
)) {
24059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
24062 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
24064 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24067 result
= (wxDateTime
*)new wxDateTime((wxDateTime
const &)*arg1
);
24068 wxPyEndAllowThreads(__tstate
);
24069 if (PyErr_Occurred()) SWIG_fail
;
24071 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24078 SWIGINTERN PyObject
*_wrap_delete_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24079 PyObject
*resultobj
= 0;
24080 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24083 PyObject
*swig_obj
[1] ;
24085 if (!args
) SWIG_fail
;
24086 swig_obj
[0] = args
;
24087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
24088 if (!SWIG_IsOK(res1
)) {
24089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
24091 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24096 wxPyEndAllowThreads(__tstate
);
24097 if (PyErr_Occurred()) SWIG_fail
;
24099 resultobj
= SWIG_Py_Void();
24106 SWIGINTERN PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24107 PyObject
*resultobj
= 0;
24108 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24109 wxDateTime
*result
= 0 ;
24112 PyObject
*swig_obj
[1] ;
24114 if (!args
) SWIG_fail
;
24115 swig_obj
[0] = args
;
24116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24117 if (!SWIG_IsOK(res1
)) {
24118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToCurrent" "', expected argument " "1"" of type '" "wxDateTime *""'");
24120 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24124 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
24125 result
= (wxDateTime
*) &_result_ref
;
24127 wxPyEndAllowThreads(__tstate
);
24128 if (PyErr_Occurred()) SWIG_fail
;
24130 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24137 SWIGINTERN PyObject
*_wrap_DateTime_SetTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24138 PyObject
*resultobj
= 0;
24139 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24141 wxDateTime
*result
= 0 ;
24144 unsigned int val2
;
24146 PyObject
* obj0
= 0 ;
24147 PyObject
* obj1
= 0 ;
24148 char * kwnames
[] = {
24149 (char *) "self",(char *) "timet", NULL
24152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24154 if (!SWIG_IsOK(res1
)) {
24155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetTimeT" "', expected argument " "1"" of type '" "wxDateTime *""'");
24157 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24158 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
24159 if (!SWIG_IsOK(ecode2
)) {
24160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetTimeT" "', expected argument " "2"" of type '" "time_t""'");
24162 arg2
= static_cast< time_t >(val2
);
24164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24166 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
24167 result
= (wxDateTime
*) &_result_ref
;
24169 wxPyEndAllowThreads(__tstate
);
24170 if (PyErr_Occurred()) SWIG_fail
;
24172 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24179 SWIGINTERN PyObject
*_wrap_DateTime_SetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24180 PyObject
*resultobj
= 0;
24181 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24183 wxDateTime
*result
= 0 ;
24188 PyObject
* obj0
= 0 ;
24189 PyObject
* obj1
= 0 ;
24190 char * kwnames
[] = {
24191 (char *) "self",(char *) "jdn", NULL
24194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24196 if (!SWIG_IsOK(res1
)) {
24197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
24199 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24200 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24201 if (!SWIG_IsOK(ecode2
)) {
24202 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetJDN" "', expected argument " "2"" of type '" "double""'");
24204 arg2
= static_cast< double >(val2
);
24206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24208 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
24209 result
= (wxDateTime
*) &_result_ref
;
24211 wxPyEndAllowThreads(__tstate
);
24212 if (PyErr_Occurred()) SWIG_fail
;
24214 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24221 SWIGINTERN PyObject
*_wrap_DateTime_SetHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24222 PyObject
*resultobj
= 0;
24223 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24225 int arg3
= (int) 0 ;
24226 int arg4
= (int) 0 ;
24227 int arg5
= (int) 0 ;
24228 wxDateTime
*result
= 0 ;
24239 PyObject
* obj0
= 0 ;
24240 PyObject
* obj1
= 0 ;
24241 PyObject
* obj2
= 0 ;
24242 PyObject
* obj3
= 0 ;
24243 PyObject
* obj4
= 0 ;
24244 char * kwnames
[] = {
24245 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
24248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24250 if (!SWIG_IsOK(res1
)) {
24251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHMS" "', expected argument " "1"" of type '" "wxDateTime *""'");
24253 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24254 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24255 if (!SWIG_IsOK(ecode2
)) {
24256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHMS" "', expected argument " "2"" of type '" "int""'");
24258 arg2
= static_cast< int >(val2
);
24260 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24261 if (!SWIG_IsOK(ecode3
)) {
24262 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetHMS" "', expected argument " "3"" of type '" "int""'");
24264 arg3
= static_cast< int >(val3
);
24267 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24268 if (!SWIG_IsOK(ecode4
)) {
24269 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetHMS" "', expected argument " "4"" of type '" "int""'");
24271 arg4
= static_cast< int >(val4
);
24274 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24275 if (!SWIG_IsOK(ecode5
)) {
24276 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetHMS" "', expected argument " "5"" of type '" "int""'");
24278 arg5
= static_cast< int >(val5
);
24281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24283 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
24284 result
= (wxDateTime
*) &_result_ref
;
24286 wxPyEndAllowThreads(__tstate
);
24287 if (PyErr_Occurred()) SWIG_fail
;
24289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24296 SWIGINTERN PyObject
*_wrap_DateTime_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24297 PyObject
*resultobj
= 0;
24298 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24300 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24301 int arg4
= (int) wxDateTime::Inv_Year
;
24302 int arg5
= (int) 0 ;
24303 int arg6
= (int) 0 ;
24304 int arg7
= (int) 0 ;
24305 int arg8
= (int) 0 ;
24306 wxDateTime
*result
= 0 ;
24323 PyObject
* obj0
= 0 ;
24324 PyObject
* obj1
= 0 ;
24325 PyObject
* obj2
= 0 ;
24326 PyObject
* obj3
= 0 ;
24327 PyObject
* obj4
= 0 ;
24328 PyObject
* obj5
= 0 ;
24329 PyObject
* obj6
= 0 ;
24330 PyObject
* obj7
= 0 ;
24331 char * kwnames
[] = {
24332 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
24335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
24336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24337 if (!SWIG_IsOK(res1
)) {
24338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Set" "', expected argument " "1"" of type '" "wxDateTime *""'");
24340 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24341 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24342 if (!SWIG_IsOK(ecode2
)) {
24343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_Set" "', expected argument " "2"" of type '" "int""'");
24345 arg2
= static_cast< int >(val2
);
24347 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24348 if (!SWIG_IsOK(ecode3
)) {
24349 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_Set" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
24351 arg3
= static_cast< wxDateTime::Month
>(val3
);
24354 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24355 if (!SWIG_IsOK(ecode4
)) {
24356 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_Set" "', expected argument " "4"" of type '" "int""'");
24358 arg4
= static_cast< int >(val4
);
24361 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24362 if (!SWIG_IsOK(ecode5
)) {
24363 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_Set" "', expected argument " "5"" of type '" "int""'");
24365 arg5
= static_cast< int >(val5
);
24368 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24369 if (!SWIG_IsOK(ecode6
)) {
24370 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DateTime_Set" "', expected argument " "6"" of type '" "int""'");
24372 arg6
= static_cast< int >(val6
);
24375 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24376 if (!SWIG_IsOK(ecode7
)) {
24377 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DateTime_Set" "', expected argument " "7"" of type '" "int""'");
24379 arg7
= static_cast< int >(val7
);
24382 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
24383 if (!SWIG_IsOK(ecode8
)) {
24384 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DateTime_Set" "', expected argument " "8"" of type '" "int""'");
24386 arg8
= static_cast< int >(val8
);
24389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24391 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
24392 result
= (wxDateTime
*) &_result_ref
;
24394 wxPyEndAllowThreads(__tstate
);
24395 if (PyErr_Occurred()) SWIG_fail
;
24397 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24404 SWIGINTERN PyObject
*_wrap_DateTime_ResetTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24405 PyObject
*resultobj
= 0;
24406 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24407 wxDateTime
*result
= 0 ;
24410 PyObject
*swig_obj
[1] ;
24412 if (!args
) SWIG_fail
;
24413 swig_obj
[0] = args
;
24414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24415 if (!SWIG_IsOK(res1
)) {
24416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ResetTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
24418 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24422 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
24423 result
= (wxDateTime
*) &_result_ref
;
24425 wxPyEndAllowThreads(__tstate
);
24426 if (PyErr_Occurred()) SWIG_fail
;
24428 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24435 SWIGINTERN PyObject
*_wrap_DateTime_SetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24436 PyObject
*resultobj
= 0;
24437 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24439 wxDateTime
*result
= 0 ;
24444 PyObject
* obj0
= 0 ;
24445 PyObject
* obj1
= 0 ;
24446 char * kwnames
[] = {
24447 (char *) "self",(char *) "year", NULL
24450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24452 if (!SWIG_IsOK(res1
)) {
24453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetYear" "', expected argument " "1"" of type '" "wxDateTime *""'");
24455 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24456 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24457 if (!SWIG_IsOK(ecode2
)) {
24458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetYear" "', expected argument " "2"" of type '" "int""'");
24460 arg2
= static_cast< int >(val2
);
24462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24464 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
24465 result
= (wxDateTime
*) &_result_ref
;
24467 wxPyEndAllowThreads(__tstate
);
24468 if (PyErr_Occurred()) SWIG_fail
;
24470 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24477 SWIGINTERN PyObject
*_wrap_DateTime_SetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24478 PyObject
*resultobj
= 0;
24479 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24480 wxDateTime::Month arg2
;
24481 wxDateTime
*result
= 0 ;
24486 PyObject
* obj0
= 0 ;
24487 PyObject
* obj1
= 0 ;
24488 char * kwnames
[] = {
24489 (char *) "self",(char *) "month", NULL
24492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24494 if (!SWIG_IsOK(res1
)) {
24495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMonth" "', expected argument " "1"" of type '" "wxDateTime *""'");
24497 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24498 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24499 if (!SWIG_IsOK(ecode2
)) {
24500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMonth" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
24502 arg2
= static_cast< wxDateTime::Month
>(val2
);
24504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24506 wxDateTime
&_result_ref
= (arg1
)->SetMonth(arg2
);
24507 result
= (wxDateTime
*) &_result_ref
;
24509 wxPyEndAllowThreads(__tstate
);
24510 if (PyErr_Occurred()) SWIG_fail
;
24512 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24519 SWIGINTERN PyObject
*_wrap_DateTime_SetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24520 PyObject
*resultobj
= 0;
24521 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24523 wxDateTime
*result
= 0 ;
24528 PyObject
* obj0
= 0 ;
24529 PyObject
* obj1
= 0 ;
24530 char * kwnames
[] = {
24531 (char *) "self",(char *) "day", NULL
24534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24536 if (!SWIG_IsOK(res1
)) {
24537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24539 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24540 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24541 if (!SWIG_IsOK(ecode2
)) {
24542 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetDay" "', expected argument " "2"" of type '" "int""'");
24544 arg2
= static_cast< int >(val2
);
24546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24548 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
24549 result
= (wxDateTime
*) &_result_ref
;
24551 wxPyEndAllowThreads(__tstate
);
24552 if (PyErr_Occurred()) SWIG_fail
;
24554 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24561 SWIGINTERN PyObject
*_wrap_DateTime_SetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24562 PyObject
*resultobj
= 0;
24563 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24565 wxDateTime
*result
= 0 ;
24570 PyObject
* obj0
= 0 ;
24571 PyObject
* obj1
= 0 ;
24572 char * kwnames
[] = {
24573 (char *) "self",(char *) "hour", NULL
24576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24578 if (!SWIG_IsOK(res1
)) {
24579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHour" "', expected argument " "1"" of type '" "wxDateTime *""'");
24581 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24582 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24583 if (!SWIG_IsOK(ecode2
)) {
24584 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHour" "', expected argument " "2"" of type '" "int""'");
24586 arg2
= static_cast< int >(val2
);
24588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24590 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
24591 result
= (wxDateTime
*) &_result_ref
;
24593 wxPyEndAllowThreads(__tstate
);
24594 if (PyErr_Occurred()) SWIG_fail
;
24596 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24603 SWIGINTERN PyObject
*_wrap_DateTime_SetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24604 PyObject
*resultobj
= 0;
24605 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24607 wxDateTime
*result
= 0 ;
24612 PyObject
* obj0
= 0 ;
24613 PyObject
* obj1
= 0 ;
24614 char * kwnames
[] = {
24615 (char *) "self",(char *) "minute", NULL
24618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24620 if (!SWIG_IsOK(res1
)) {
24621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMinute" "', expected argument " "1"" of type '" "wxDateTime *""'");
24623 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24624 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24625 if (!SWIG_IsOK(ecode2
)) {
24626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMinute" "', expected argument " "2"" of type '" "int""'");
24628 arg2
= static_cast< int >(val2
);
24630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24632 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
24633 result
= (wxDateTime
*) &_result_ref
;
24635 wxPyEndAllowThreads(__tstate
);
24636 if (PyErr_Occurred()) SWIG_fail
;
24638 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24645 SWIGINTERN PyObject
*_wrap_DateTime_SetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24646 PyObject
*resultobj
= 0;
24647 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24649 wxDateTime
*result
= 0 ;
24654 PyObject
* obj0
= 0 ;
24655 PyObject
* obj1
= 0 ;
24656 char * kwnames
[] = {
24657 (char *) "self",(char *) "second", NULL
24660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24662 if (!SWIG_IsOK(res1
)) {
24663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetSecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
24665 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24666 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24667 if (!SWIG_IsOK(ecode2
)) {
24668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetSecond" "', expected argument " "2"" of type '" "int""'");
24670 arg2
= static_cast< int >(val2
);
24672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24674 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
24675 result
= (wxDateTime
*) &_result_ref
;
24677 wxPyEndAllowThreads(__tstate
);
24678 if (PyErr_Occurred()) SWIG_fail
;
24680 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24687 SWIGINTERN PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24688 PyObject
*resultobj
= 0;
24689 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24691 wxDateTime
*result
= 0 ;
24696 PyObject
* obj0
= 0 ;
24697 PyObject
* obj1
= 0 ;
24698 char * kwnames
[] = {
24699 (char *) "self",(char *) "millisecond", NULL
24702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24704 if (!SWIG_IsOK(res1
)) {
24705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMillisecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
24707 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24708 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24709 if (!SWIG_IsOK(ecode2
)) {
24710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMillisecond" "', expected argument " "2"" of type '" "int""'");
24712 arg2
= static_cast< int >(val2
);
24714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24716 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
24717 result
= (wxDateTime
*) &_result_ref
;
24719 wxPyEndAllowThreads(__tstate
);
24720 if (PyErr_Occurred()) SWIG_fail
;
24722 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24729 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24730 PyObject
*resultobj
= 0;
24731 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24732 wxDateTime::WeekDay arg2
;
24733 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
24734 wxDateTime
*result
= 0 ;
24741 PyObject
* obj0
= 0 ;
24742 PyObject
* obj1
= 0 ;
24743 PyObject
* obj2
= 0 ;
24744 char * kwnames
[] = {
24745 (char *) "self",(char *) "weekday",(char *) "flags", NULL
24748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24750 if (!SWIG_IsOK(res1
)) {
24751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
24753 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24754 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24755 if (!SWIG_IsOK(ecode2
)) {
24756 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24758 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24760 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24761 if (!SWIG_IsOK(ecode3
)) {
24762 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
24764 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
24767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24769 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek(arg2
,arg3
);
24770 result
= (wxDateTime
*) &_result_ref
;
24772 wxPyEndAllowThreads(__tstate
);
24773 if (PyErr_Occurred()) SWIG_fail
;
24775 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24782 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24783 PyObject
*resultobj
= 0;
24784 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24785 wxDateTime::WeekDay arg2
;
24786 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
24794 PyObject
* obj0
= 0 ;
24795 PyObject
* obj1
= 0 ;
24796 PyObject
* obj2
= 0 ;
24797 char * kwnames
[] = {
24798 (char *) "self",(char *) "weekday",(char *) "flags", NULL
24801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24803 if (!SWIG_IsOK(res1
)) {
24804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
24806 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24807 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24808 if (!SWIG_IsOK(ecode2
)) {
24809 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24811 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24813 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24814 if (!SWIG_IsOK(ecode3
)) {
24815 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
24817 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
24820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24821 result
= (arg1
)->GetWeekDayInSameWeek(arg2
,arg3
);
24822 wxPyEndAllowThreads(__tstate
);
24823 if (PyErr_Occurred()) SWIG_fail
;
24825 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24832 SWIGINTERN PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24833 PyObject
*resultobj
= 0;
24834 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24835 wxDateTime::WeekDay arg2
;
24836 wxDateTime
*result
= 0 ;
24841 PyObject
* obj0
= 0 ;
24842 PyObject
* obj1
= 0 ;
24843 char * kwnames
[] = {
24844 (char *) "self",(char *) "weekday", NULL
24847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24849 if (!SWIG_IsOK(res1
)) {
24850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24852 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24853 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24854 if (!SWIG_IsOK(ecode2
)) {
24855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24857 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24861 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay(arg2
);
24862 result
= (wxDateTime
*) &_result_ref
;
24864 wxPyEndAllowThreads(__tstate
);
24865 if (PyErr_Occurred()) SWIG_fail
;
24867 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24874 SWIGINTERN PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24875 PyObject
*resultobj
= 0;
24876 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24877 wxDateTime::WeekDay arg2
;
24883 PyObject
* obj0
= 0 ;
24884 PyObject
* obj1
= 0 ;
24885 char * kwnames
[] = {
24886 (char *) "self",(char *) "weekday", NULL
24889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24891 if (!SWIG_IsOK(res1
)) {
24892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24894 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24895 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24896 if (!SWIG_IsOK(ecode2
)) {
24897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24899 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24902 result
= (arg1
)->GetNextWeekDay(arg2
);
24903 wxPyEndAllowThreads(__tstate
);
24904 if (PyErr_Occurred()) SWIG_fail
;
24906 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24913 SWIGINTERN PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24914 PyObject
*resultobj
= 0;
24915 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24916 wxDateTime::WeekDay arg2
;
24917 wxDateTime
*result
= 0 ;
24922 PyObject
* obj0
= 0 ;
24923 PyObject
* obj1
= 0 ;
24924 char * kwnames
[] = {
24925 (char *) "self",(char *) "weekday", NULL
24928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24930 if (!SWIG_IsOK(res1
)) {
24931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24933 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24934 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24935 if (!SWIG_IsOK(ecode2
)) {
24936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24938 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24942 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay(arg2
);
24943 result
= (wxDateTime
*) &_result_ref
;
24945 wxPyEndAllowThreads(__tstate
);
24946 if (PyErr_Occurred()) SWIG_fail
;
24948 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24955 SWIGINTERN PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24956 PyObject
*resultobj
= 0;
24957 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24958 wxDateTime::WeekDay arg2
;
24964 PyObject
* obj0
= 0 ;
24965 PyObject
* obj1
= 0 ;
24966 char * kwnames
[] = {
24967 (char *) "self",(char *) "weekday", NULL
24970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24972 if (!SWIG_IsOK(res1
)) {
24973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24975 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24976 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24977 if (!SWIG_IsOK(ecode2
)) {
24978 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24980 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24983 result
= (arg1
)->GetPrevWeekDay(arg2
);
24984 wxPyEndAllowThreads(__tstate
);
24985 if (PyErr_Occurred()) SWIG_fail
;
24987 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24994 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24995 PyObject
*resultobj
= 0;
24996 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24997 wxDateTime::WeekDay arg2
;
24998 int arg3
= (int) 1 ;
24999 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25000 int arg5
= (int) wxDateTime::Inv_Year
;
25012 PyObject
* obj0
= 0 ;
25013 PyObject
* obj1
= 0 ;
25014 PyObject
* obj2
= 0 ;
25015 PyObject
* obj3
= 0 ;
25016 PyObject
* obj4
= 0 ;
25017 char * kwnames
[] = {
25018 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
25021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25023 if (!SWIG_IsOK(res1
)) {
25024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25026 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25027 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25028 if (!SWIG_IsOK(ecode2
)) {
25029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
25031 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
25033 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25034 if (!SWIG_IsOK(ecode3
)) {
25035 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "3"" of type '" "int""'");
25037 arg3
= static_cast< int >(val3
);
25040 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25041 if (!SWIG_IsOK(ecode4
)) {
25042 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "4"" of type '" "wxDateTime::Month""'");
25044 arg4
= static_cast< wxDateTime::Month
>(val4
);
25047 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25048 if (!SWIG_IsOK(ecode5
)) {
25049 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "5"" of type '" "int""'");
25051 arg5
= static_cast< int >(val5
);
25054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25055 result
= (bool)(arg1
)->SetToWeekDay(arg2
,arg3
,arg4
,arg5
);
25056 wxPyEndAllowThreads(__tstate
);
25057 if (PyErr_Occurred()) SWIG_fail
;
25060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25068 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25069 PyObject
*resultobj
= 0;
25070 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25071 wxDateTime::WeekDay arg2
;
25072 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25073 int arg4
= (int) wxDateTime::Inv_Year
;
25083 PyObject
* obj0
= 0 ;
25084 PyObject
* obj1
= 0 ;
25085 PyObject
* obj2
= 0 ;
25086 PyObject
* obj3
= 0 ;
25087 char * kwnames
[] = {
25088 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
25091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25093 if (!SWIG_IsOK(res1
)) {
25094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25096 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25097 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25098 if (!SWIG_IsOK(ecode2
)) {
25099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
25101 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
25103 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25104 if (!SWIG_IsOK(ecode3
)) {
25105 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
25107 arg3
= static_cast< wxDateTime::Month
>(val3
);
25110 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25111 if (!SWIG_IsOK(ecode4
)) {
25112 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "4"" of type '" "int""'");
25114 arg4
= static_cast< int >(val4
);
25117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25118 result
= (bool)(arg1
)->SetToLastWeekDay(arg2
,arg3
,arg4
);
25119 wxPyEndAllowThreads(__tstate
);
25120 if (PyErr_Occurred()) SWIG_fail
;
25123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25131 SWIGINTERN PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25132 PyObject
*resultobj
= 0;
25133 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25134 wxDateTime::WeekDay arg2
;
25135 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25136 int arg4
= (int) wxDateTime::Inv_Year
;
25146 PyObject
* obj0
= 0 ;
25147 PyObject
* obj1
= 0 ;
25148 PyObject
* obj2
= 0 ;
25149 PyObject
* obj3
= 0 ;
25150 char * kwnames
[] = {
25151 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
25154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25156 if (!SWIG_IsOK(res1
)) {
25157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25159 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25160 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25161 if (!SWIG_IsOK(ecode2
)) {
25162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
25164 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
25166 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25167 if (!SWIG_IsOK(ecode3
)) {
25168 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
25170 arg3
= static_cast< wxDateTime::Month
>(val3
);
25173 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25174 if (!SWIG_IsOK(ecode4
)) {
25175 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "4"" of type '" "int""'");
25177 arg4
= static_cast< int >(val4
);
25180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25181 result
= (arg1
)->GetLastWeekDay(arg2
,arg3
,arg4
);
25182 wxPyEndAllowThreads(__tstate
);
25183 if (PyErr_Occurred()) SWIG_fail
;
25185 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25192 SWIGINTERN PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25193 PyObject
*resultobj
= 0;
25194 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25196 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
25197 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
25207 PyObject
* obj0
= 0 ;
25208 PyObject
* obj1
= 0 ;
25209 PyObject
* obj2
= 0 ;
25210 PyObject
* obj3
= 0 ;
25211 char * kwnames
[] = {
25212 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
25215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25217 if (!SWIG_IsOK(res1
)) {
25218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
25220 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25221 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25222 if (!SWIG_IsOK(ecode2
)) {
25223 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "2"" of type '" "int""'");
25225 arg2
= static_cast< int >(val2
);
25227 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25228 if (!SWIG_IsOK(ecode3
)) {
25229 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
25231 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
25234 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25235 if (!SWIG_IsOK(ecode4
)) {
25236 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
25238 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
25241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25242 result
= (bool)(arg1
)->SetToTheWeek(arg2
,arg3
,arg4
);
25243 wxPyEndAllowThreads(__tstate
);
25244 if (PyErr_Occurred()) SWIG_fail
;
25247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25255 SWIGINTERN PyObject
*_wrap_DateTime_GetWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25256 PyObject
*resultobj
= 0;
25257 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25259 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
25260 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
25270 PyObject
* obj0
= 0 ;
25271 PyObject
* obj1
= 0 ;
25272 PyObject
* obj2
= 0 ;
25273 PyObject
* obj3
= 0 ;
25274 char * kwnames
[] = {
25275 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
25278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25280 if (!SWIG_IsOK(res1
)) {
25281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
25283 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25284 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25285 if (!SWIG_IsOK(ecode2
)) {
25286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeek" "', expected argument " "2"" of type '" "int""'");
25288 arg2
= static_cast< int >(val2
);
25290 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25291 if (!SWIG_IsOK(ecode3
)) {
25292 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
25294 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
25297 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25298 if (!SWIG_IsOK(ecode4
)) {
25299 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
25301 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
25304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25305 result
= (arg1
)->GetWeek(arg2
,arg3
,arg4
);
25306 wxPyEndAllowThreads(__tstate
);
25307 if (PyErr_Occurred()) SWIG_fail
;
25309 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25316 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25317 PyObject
*resultobj
= 0;
25320 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
25328 PyObject
* obj0
= 0 ;
25329 PyObject
* obj1
= 0 ;
25330 PyObject
* obj2
= 0 ;
25331 char * kwnames
[] = {
25332 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
25335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25336 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25337 if (!SWIG_IsOK(ecode1
)) {
25338 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "1"" of type '" "int""'");
25340 arg1
= static_cast< int >(val1
);
25341 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25342 if (!SWIG_IsOK(ecode2
)) {
25343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "2"" of type '" "int""'");
25345 arg2
= static_cast< int >(val2
);
25347 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25348 if (!SWIG_IsOK(ecode3
)) {
25349 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
25351 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
25354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25355 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,arg3
);
25356 wxPyEndAllowThreads(__tstate
);
25357 if (PyErr_Occurred()) SWIG_fail
;
25359 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25366 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25367 PyObject
*resultobj
= 0;
25368 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25369 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25370 int arg3
= (int) wxDateTime::Inv_Year
;
25371 wxDateTime
*result
= 0 ;
25378 PyObject
* obj0
= 0 ;
25379 PyObject
* obj1
= 0 ;
25380 PyObject
* obj2
= 0 ;
25381 char * kwnames
[] = {
25382 (char *) "self",(char *) "month",(char *) "year", NULL
25385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25387 if (!SWIG_IsOK(res1
)) {
25388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25390 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25392 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25393 if (!SWIG_IsOK(ecode2
)) {
25394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
25396 arg2
= static_cast< wxDateTime::Month
>(val2
);
25399 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25400 if (!SWIG_IsOK(ecode3
)) {
25401 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "3"" of type '" "int""'");
25403 arg3
= static_cast< int >(val3
);
25406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25408 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay(arg2
,arg3
);
25409 result
= (wxDateTime
*) &_result_ref
;
25411 wxPyEndAllowThreads(__tstate
);
25412 if (PyErr_Occurred()) SWIG_fail
;
25414 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25421 SWIGINTERN PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25422 PyObject
*resultobj
= 0;
25423 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25424 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25425 int arg3
= (int) wxDateTime::Inv_Year
;
25433 PyObject
* obj0
= 0 ;
25434 PyObject
* obj1
= 0 ;
25435 PyObject
* obj2
= 0 ;
25436 char * kwnames
[] = {
25437 (char *) "self",(char *) "month",(char *) "year", NULL
25440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25442 if (!SWIG_IsOK(res1
)) {
25443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25445 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25447 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25448 if (!SWIG_IsOK(ecode2
)) {
25449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
25451 arg2
= static_cast< wxDateTime::Month
>(val2
);
25454 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25455 if (!SWIG_IsOK(ecode3
)) {
25456 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "3"" of type '" "int""'");
25458 arg3
= static_cast< int >(val3
);
25461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25462 result
= (arg1
)->GetLastMonthDay(arg2
,arg3
);
25463 wxPyEndAllowThreads(__tstate
);
25464 if (PyErr_Occurred()) SWIG_fail
;
25466 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25473 SWIGINTERN PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25474 PyObject
*resultobj
= 0;
25475 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25477 wxDateTime
*result
= 0 ;
25482 PyObject
* obj0
= 0 ;
25483 PyObject
* obj1
= 0 ;
25484 char * kwnames
[] = {
25485 (char *) "self",(char *) "yday", NULL
25488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25490 if (!SWIG_IsOK(res1
)) {
25491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25493 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25494 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25495 if (!SWIG_IsOK(ecode2
)) {
25496 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToYearDay" "', expected argument " "2"" of type '" "int""'");
25498 arg2
= static_cast< int >(val2
);
25500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25502 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
25503 result
= (wxDateTime
*) &_result_ref
;
25505 wxPyEndAllowThreads(__tstate
);
25506 if (PyErr_Occurred()) SWIG_fail
;
25508 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25515 SWIGINTERN PyObject
*_wrap_DateTime_GetYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25516 PyObject
*resultobj
= 0;
25517 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25524 PyObject
* obj0
= 0 ;
25525 PyObject
* obj1
= 0 ;
25526 char * kwnames
[] = {
25527 (char *) "self",(char *) "yday", NULL
25530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25532 if (!SWIG_IsOK(res1
)) {
25533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25535 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25536 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25537 if (!SWIG_IsOK(ecode2
)) {
25538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetYearDay" "', expected argument " "2"" of type '" "int""'");
25540 arg2
= static_cast< int >(val2
);
25542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25543 result
= (arg1
)->GetYearDay(arg2
);
25544 wxPyEndAllowThreads(__tstate
);
25545 if (PyErr_Occurred()) SWIG_fail
;
25547 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25554 SWIGINTERN PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25555 PyObject
*resultobj
= 0;
25556 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25560 PyObject
*swig_obj
[1] ;
25562 if (!args
) SWIG_fail
;
25563 swig_obj
[0] = args
;
25564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25565 if (!SWIG_IsOK(res1
)) {
25566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime *""'");
25568 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25571 result
= (double)(arg1
)->GetJulianDayNumber();
25572 wxPyEndAllowThreads(__tstate
);
25573 if (PyErr_Occurred()) SWIG_fail
;
25575 resultobj
= SWIG_From_double(static_cast< double >(result
));
25582 SWIGINTERN PyObject
*_wrap_DateTime_GetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25583 PyObject
*resultobj
= 0;
25584 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25588 PyObject
*swig_obj
[1] ;
25590 if (!args
) SWIG_fail
;
25591 swig_obj
[0] = args
;
25592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25593 if (!SWIG_IsOK(res1
)) {
25594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
25596 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25599 result
= (double)(arg1
)->GetJDN();
25600 wxPyEndAllowThreads(__tstate
);
25601 if (PyErr_Occurred()) SWIG_fail
;
25603 resultobj
= SWIG_From_double(static_cast< double >(result
));
25610 SWIGINTERN PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25611 PyObject
*resultobj
= 0;
25612 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25616 PyObject
*swig_obj
[1] ;
25618 if (!args
) SWIG_fail
;
25619 swig_obj
[0] = args
;
25620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25621 if (!SWIG_IsOK(res1
)) {
25622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetModifiedJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25624 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25627 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
25628 wxPyEndAllowThreads(__tstate
);
25629 if (PyErr_Occurred()) SWIG_fail
;
25631 resultobj
= SWIG_From_double(static_cast< double >(result
));
25638 SWIGINTERN PyObject
*_wrap_DateTime_GetMJD(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25639 PyObject
*resultobj
= 0;
25640 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25644 PyObject
*swig_obj
[1] ;
25646 if (!args
) SWIG_fail
;
25647 swig_obj
[0] = args
;
25648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25649 if (!SWIG_IsOK(res1
)) {
25650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMJD" "', expected argument " "1"" of type '" "wxDateTime *""'");
25652 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25655 result
= (double)(arg1
)->GetMJD();
25656 wxPyEndAllowThreads(__tstate
);
25657 if (PyErr_Occurred()) SWIG_fail
;
25659 resultobj
= SWIG_From_double(static_cast< double >(result
));
25666 SWIGINTERN PyObject
*_wrap_DateTime_GetRataDie(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25667 PyObject
*resultobj
= 0;
25668 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25672 PyObject
*swig_obj
[1] ;
25674 if (!args
) SWIG_fail
;
25675 swig_obj
[0] = args
;
25676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25677 if (!SWIG_IsOK(res1
)) {
25678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetRataDie" "', expected argument " "1"" of type '" "wxDateTime *""'");
25680 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25683 result
= (double)(arg1
)->GetRataDie();
25684 wxPyEndAllowThreads(__tstate
);
25685 if (PyErr_Occurred()) SWIG_fail
;
25687 resultobj
= SWIG_From_double(static_cast< double >(result
));
25694 SWIGINTERN PyObject
*_wrap_DateTime_ToTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25695 PyObject
*resultobj
= 0;
25696 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25697 wxDateTime::TimeZone
*arg2
= 0 ;
25698 bool arg3
= (bool) false ;
25702 bool temp2
= false ;
25705 PyObject
* obj0
= 0 ;
25706 PyObject
* obj1
= 0 ;
25707 PyObject
* obj2
= 0 ;
25708 char * kwnames
[] = {
25709 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25714 if (!SWIG_IsOK(res1
)) {
25715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
25717 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25719 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25723 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25724 if (!SWIG_IsOK(ecode3
)) {
25725 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_ToTimezone" "', expected argument " "3"" of type '" "bool""'");
25727 arg3
= static_cast< bool >(val3
);
25730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25731 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25732 wxPyEndAllowThreads(__tstate
);
25733 if (PyErr_Occurred()) SWIG_fail
;
25735 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25737 if (temp2
) delete arg2
;
25742 if (temp2
) delete arg2
;
25748 SWIGINTERN PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25749 PyObject
*resultobj
= 0;
25750 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25751 wxDateTime::TimeZone
*arg2
= 0 ;
25752 bool arg3
= (bool) false ;
25753 wxDateTime
*result
= 0 ;
25756 bool temp2
= false ;
25759 PyObject
* obj0
= 0 ;
25760 PyObject
* obj1
= 0 ;
25761 PyObject
* obj2
= 0 ;
25762 char * kwnames
[] = {
25763 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25768 if (!SWIG_IsOK(res1
)) {
25769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
25771 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25773 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25777 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25778 if (!SWIG_IsOK(ecode3
)) {
25779 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeTimezone" "', expected argument " "3"" of type '" "bool""'");
25781 arg3
= static_cast< bool >(val3
);
25784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25786 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25787 result
= (wxDateTime
*) &_result_ref
;
25789 wxPyEndAllowThreads(__tstate
);
25790 if (PyErr_Occurred()) SWIG_fail
;
25792 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25794 if (temp2
) delete arg2
;
25799 if (temp2
) delete arg2
;
25805 SWIGINTERN PyObject
*_wrap_DateTime_FromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25806 PyObject
*resultobj
= 0;
25807 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25808 wxDateTime::TimeZone
*arg2
= 0 ;
25809 bool arg3
= (bool) false ;
25813 bool temp2
= false ;
25816 PyObject
* obj0
= 0 ;
25817 PyObject
* obj1
= 0 ;
25818 PyObject
* obj2
= 0 ;
25819 char * kwnames
[] = {
25820 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_FromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25825 if (!SWIG_IsOK(res1
)) {
25826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromTimezone" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25828 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25830 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25834 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25835 if (!SWIG_IsOK(ecode3
)) {
25836 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_FromTimezone" "', expected argument " "3"" of type '" "bool""'");
25838 arg3
= static_cast< bool >(val3
);
25841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25842 result
= ((wxDateTime
const *)arg1
)->FromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25843 wxPyEndAllowThreads(__tstate
);
25844 if (PyErr_Occurred()) SWIG_fail
;
25846 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25848 if (temp2
) delete arg2
;
25853 if (temp2
) delete arg2
;
25859 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25860 PyObject
*resultobj
= 0;
25861 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25862 wxDateTime::TimeZone
*arg2
= 0 ;
25863 bool arg3
= (bool) false ;
25864 wxDateTime
*result
= 0 ;
25867 bool temp2
= false ;
25870 PyObject
* obj0
= 0 ;
25871 PyObject
* obj1
= 0 ;
25872 PyObject
* obj2
= 0 ;
25873 char * kwnames
[] = {
25874 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeFromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25879 if (!SWIG_IsOK(res1
)) {
25880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
25882 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25884 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25888 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25889 if (!SWIG_IsOK(ecode3
)) {
25890 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "3"" of type '" "bool""'");
25892 arg3
= static_cast< bool >(val3
);
25895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25897 wxDateTime
&_result_ref
= (arg1
)->MakeFromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25898 result
= (wxDateTime
*) &_result_ref
;
25900 wxPyEndAllowThreads(__tstate
);
25901 if (PyErr_Occurred()) SWIG_fail
;
25903 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25905 if (temp2
) delete arg2
;
25910 if (temp2
) delete arg2
;
25916 SWIGINTERN PyObject
*_wrap_DateTime_ToUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25917 PyObject
*resultobj
= 0;
25918 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25919 bool arg2
= (bool) false ;
25925 PyObject
* obj0
= 0 ;
25926 PyObject
* obj1
= 0 ;
25927 char * kwnames
[] = {
25928 (char *) "self",(char *) "noDST", NULL
25931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25933 if (!SWIG_IsOK(res1
)) {
25934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25936 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25938 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25939 if (!SWIG_IsOK(ecode2
)) {
25940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToUTC" "', expected argument " "2"" of type '" "bool""'");
25942 arg2
= static_cast< bool >(val2
);
25945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25946 result
= ((wxDateTime
const *)arg1
)->ToUTC(arg2
);
25947 wxPyEndAllowThreads(__tstate
);
25948 if (PyErr_Occurred()) SWIG_fail
;
25950 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25957 SWIGINTERN PyObject
*_wrap_DateTime_MakeUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25958 PyObject
*resultobj
= 0;
25959 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25960 bool arg2
= (bool) false ;
25961 wxDateTime
*result
= 0 ;
25966 PyObject
* obj0
= 0 ;
25967 PyObject
* obj1
= 0 ;
25968 char * kwnames
[] = {
25969 (char *) "self",(char *) "noDST", NULL
25972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25974 if (!SWIG_IsOK(res1
)) {
25975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
25977 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25979 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25980 if (!SWIG_IsOK(ecode2
)) {
25981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeUTC" "', expected argument " "2"" of type '" "bool""'");
25983 arg2
= static_cast< bool >(val2
);
25986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25988 wxDateTime
&_result_ref
= (arg1
)->MakeUTC(arg2
);
25989 result
= (wxDateTime
*) &_result_ref
;
25991 wxPyEndAllowThreads(__tstate
);
25992 if (PyErr_Occurred()) SWIG_fail
;
25994 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26001 SWIGINTERN PyObject
*_wrap_DateTime_ToGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26002 PyObject
*resultobj
= 0;
26003 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26004 bool arg2
= (bool) false ;
26010 PyObject
* obj0
= 0 ;
26011 PyObject
* obj1
= 0 ;
26012 char * kwnames
[] = {
26013 (char *) "self",(char *) "noDST", NULL
26016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26018 if (!SWIG_IsOK(res1
)) {
26019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToGMT" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26021 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26023 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26024 if (!SWIG_IsOK(ecode2
)) {
26025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToGMT" "', expected argument " "2"" of type '" "bool""'");
26027 arg2
= static_cast< bool >(val2
);
26030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26031 result
= ((wxDateTime
const *)arg1
)->ToGMT(arg2
);
26032 wxPyEndAllowThreads(__tstate
);
26033 if (PyErr_Occurred()) SWIG_fail
;
26035 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26042 SWIGINTERN PyObject
*_wrap_DateTime_MakeGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26043 PyObject
*resultobj
= 0;
26044 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26045 bool arg2
= (bool) false ;
26046 wxDateTime
*result
= 0 ;
26051 PyObject
* obj0
= 0 ;
26052 PyObject
* obj1
= 0 ;
26053 char * kwnames
[] = {
26054 (char *) "self",(char *) "noDST", NULL
26057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26059 if (!SWIG_IsOK(res1
)) {
26060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeGMT" "', expected argument " "1"" of type '" "wxDateTime *""'");
26062 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26064 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26065 if (!SWIG_IsOK(ecode2
)) {
26066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeGMT" "', expected argument " "2"" of type '" "bool""'");
26068 arg2
= static_cast< bool >(val2
);
26071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26073 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
26074 result
= (wxDateTime
*) &_result_ref
;
26076 wxPyEndAllowThreads(__tstate
);
26077 if (PyErr_Occurred()) SWIG_fail
;
26079 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26086 SWIGINTERN PyObject
*_wrap_DateTime_FromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26087 PyObject
*resultobj
= 0;
26088 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26089 bool arg2
= (bool) false ;
26095 PyObject
* obj0
= 0 ;
26096 PyObject
* obj1
= 0 ;
26097 char * kwnames
[] = {
26098 (char *) "self",(char *) "noDST", NULL
26101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_FromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26103 if (!SWIG_IsOK(res1
)) {
26104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26106 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26108 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26109 if (!SWIG_IsOK(ecode2
)) {
26110 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_FromUTC" "', expected argument " "2"" of type '" "bool""'");
26112 arg2
= static_cast< bool >(val2
);
26115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26116 result
= ((wxDateTime
const *)arg1
)->FromUTC(arg2
);
26117 wxPyEndAllowThreads(__tstate
);
26118 if (PyErr_Occurred()) SWIG_fail
;
26120 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26127 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26128 PyObject
*resultobj
= 0;
26129 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26130 bool arg2
= (bool) false ;
26131 wxDateTime
*result
= 0 ;
26136 PyObject
* obj0
= 0 ;
26137 PyObject
* obj1
= 0 ;
26138 char * kwnames
[] = {
26139 (char *) "self",(char *) "noDST", NULL
26142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeFromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26144 if (!SWIG_IsOK(res1
)) {
26145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
26147 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26149 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26150 if (!SWIG_IsOK(ecode2
)) {
26151 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "2"" of type '" "bool""'");
26153 arg2
= static_cast< bool >(val2
);
26156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26158 wxDateTime
&_result_ref
= (arg1
)->MakeFromUTC(arg2
);
26159 result
= (wxDateTime
*) &_result_ref
;
26161 wxPyEndAllowThreads(__tstate
);
26162 if (PyErr_Occurred()) SWIG_fail
;
26164 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26171 SWIGINTERN PyObject
*_wrap_DateTime_IsDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26172 PyObject
*resultobj
= 0;
26173 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26174 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
26180 PyObject
* obj0
= 0 ;
26181 PyObject
* obj1
= 0 ;
26182 char * kwnames
[] = {
26183 (char *) "self",(char *) "country", NULL
26186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26188 if (!SWIG_IsOK(res1
)) {
26189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsDST" "', expected argument " "1"" of type '" "wxDateTime *""'");
26191 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26193 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26194 if (!SWIG_IsOK(ecode2
)) {
26195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
26197 arg2
= static_cast< wxDateTime::Country
>(val2
);
26200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26201 result
= (int)(arg1
)->IsDST(arg2
);
26202 wxPyEndAllowThreads(__tstate
);
26203 if (PyErr_Occurred()) SWIG_fail
;
26205 resultobj
= SWIG_From_int(static_cast< int >(result
));
26212 SWIGINTERN PyObject
*_wrap_DateTime_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26213 PyObject
*resultobj
= 0;
26214 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26218 PyObject
*swig_obj
[1] ;
26220 if (!args
) SWIG_fail
;
26221 swig_obj
[0] = args
;
26222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26223 if (!SWIG_IsOK(res1
)) {
26224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsValid" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26226 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26229 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
26230 wxPyEndAllowThreads(__tstate
);
26231 if (PyErr_Occurred()) SWIG_fail
;
26234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26242 SWIGINTERN PyObject
*_wrap_DateTime_GetTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26243 PyObject
*resultobj
= 0;
26244 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26248 PyObject
*swig_obj
[1] ;
26250 if (!args
) SWIG_fail
;
26251 swig_obj
[0] = args
;
26252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26253 if (!SWIG_IsOK(res1
)) {
26254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetTicks" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26256 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26259 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
26260 wxPyEndAllowThreads(__tstate
);
26261 if (PyErr_Occurred()) SWIG_fail
;
26263 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
26270 SWIGINTERN PyObject
*_wrap_DateTime_GetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26271 PyObject
*resultobj
= 0;
26272 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26273 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26274 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26278 bool temp2
= false ;
26279 PyObject
* obj0
= 0 ;
26280 PyObject
* obj1
= 0 ;
26281 char * kwnames
[] = {
26282 (char *) "self",(char *) "tz", NULL
26285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26287 if (!SWIG_IsOK(res1
)) {
26288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26290 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26293 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26299 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
26300 wxPyEndAllowThreads(__tstate
);
26301 if (PyErr_Occurred()) SWIG_fail
;
26303 resultobj
= SWIG_From_int(static_cast< int >(result
));
26305 if (temp2
) delete arg2
;
26310 if (temp2
) delete arg2
;
26316 SWIGINTERN PyObject
*_wrap_DateTime_GetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26317 PyObject
*resultobj
= 0;
26318 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26319 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26320 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26321 wxDateTime::Month result
;
26324 bool temp2
= false ;
26325 PyObject
* obj0
= 0 ;
26326 PyObject
* obj1
= 0 ;
26327 char * kwnames
[] = {
26328 (char *) "self",(char *) "tz", NULL
26331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26333 if (!SWIG_IsOK(res1
)) {
26334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26336 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26339 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26345 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
26346 wxPyEndAllowThreads(__tstate
);
26347 if (PyErr_Occurred()) SWIG_fail
;
26349 resultobj
= SWIG_From_int(static_cast< int >(result
));
26351 if (temp2
) delete arg2
;
26356 if (temp2
) delete arg2
;
26362 SWIGINTERN PyObject
*_wrap_DateTime_GetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26363 PyObject
*resultobj
= 0;
26364 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26365 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26366 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26370 bool temp2
= false ;
26371 PyObject
* obj0
= 0 ;
26372 PyObject
* obj1
= 0 ;
26373 char * kwnames
[] = {
26374 (char *) "self",(char *) "tz", NULL
26377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26379 if (!SWIG_IsOK(res1
)) {
26380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26382 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26385 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26391 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
26392 wxPyEndAllowThreads(__tstate
);
26393 if (PyErr_Occurred()) SWIG_fail
;
26395 resultobj
= SWIG_From_int(static_cast< int >(result
));
26397 if (temp2
) delete arg2
;
26402 if (temp2
) delete arg2
;
26408 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26409 PyObject
*resultobj
= 0;
26410 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26411 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26412 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26413 wxDateTime::WeekDay result
;
26416 bool temp2
= false ;
26417 PyObject
* obj0
= 0 ;
26418 PyObject
* obj1
= 0 ;
26419 char * kwnames
[] = {
26420 (char *) "self",(char *) "tz", NULL
26423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26425 if (!SWIG_IsOK(res1
)) {
26426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26428 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26431 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26437 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
26438 wxPyEndAllowThreads(__tstate
);
26439 if (PyErr_Occurred()) SWIG_fail
;
26441 resultobj
= SWIG_From_int(static_cast< int >(result
));
26443 if (temp2
) delete arg2
;
26448 if (temp2
) delete arg2
;
26454 SWIGINTERN PyObject
*_wrap_DateTime_GetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26455 PyObject
*resultobj
= 0;
26456 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26457 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26458 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26462 bool temp2
= false ;
26463 PyObject
* obj0
= 0 ;
26464 PyObject
* obj1
= 0 ;
26465 char * kwnames
[] = {
26466 (char *) "self",(char *) "tz", NULL
26469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26471 if (!SWIG_IsOK(res1
)) {
26472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetHour" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26474 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26477 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26483 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
26484 wxPyEndAllowThreads(__tstate
);
26485 if (PyErr_Occurred()) SWIG_fail
;
26487 resultobj
= SWIG_From_int(static_cast< int >(result
));
26489 if (temp2
) delete arg2
;
26494 if (temp2
) delete arg2
;
26500 SWIGINTERN PyObject
*_wrap_DateTime_GetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26501 PyObject
*resultobj
= 0;
26502 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26503 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26504 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26508 bool temp2
= false ;
26509 PyObject
* obj0
= 0 ;
26510 PyObject
* obj1
= 0 ;
26511 char * kwnames
[] = {
26512 (char *) "self",(char *) "tz", NULL
26515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26517 if (!SWIG_IsOK(res1
)) {
26518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMinute" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26520 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26523 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26529 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
26530 wxPyEndAllowThreads(__tstate
);
26531 if (PyErr_Occurred()) SWIG_fail
;
26533 resultobj
= SWIG_From_int(static_cast< int >(result
));
26535 if (temp2
) delete arg2
;
26540 if (temp2
) delete arg2
;
26546 SWIGINTERN PyObject
*_wrap_DateTime_GetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26547 PyObject
*resultobj
= 0;
26548 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26549 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26550 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26554 bool temp2
= false ;
26555 PyObject
* obj0
= 0 ;
26556 PyObject
* obj1
= 0 ;
26557 char * kwnames
[] = {
26558 (char *) "self",(char *) "tz", NULL
26561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26563 if (!SWIG_IsOK(res1
)) {
26564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetSecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26566 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26569 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26575 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
26576 wxPyEndAllowThreads(__tstate
);
26577 if (PyErr_Occurred()) SWIG_fail
;
26579 resultobj
= SWIG_From_int(static_cast< int >(result
));
26581 if (temp2
) delete arg2
;
26586 if (temp2
) delete arg2
;
26592 SWIGINTERN PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26593 PyObject
*resultobj
= 0;
26594 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26595 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26596 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26600 bool temp2
= false ;
26601 PyObject
* obj0
= 0 ;
26602 PyObject
* obj1
= 0 ;
26603 char * kwnames
[] = {
26604 (char *) "self",(char *) "tz", NULL
26607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26609 if (!SWIG_IsOK(res1
)) {
26610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMillisecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26612 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26615 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26621 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
26622 wxPyEndAllowThreads(__tstate
);
26623 if (PyErr_Occurred()) SWIG_fail
;
26625 resultobj
= SWIG_From_int(static_cast< int >(result
));
26627 if (temp2
) delete arg2
;
26632 if (temp2
) delete arg2
;
26638 SWIGINTERN PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26639 PyObject
*resultobj
= 0;
26640 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26641 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26642 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26646 bool temp2
= false ;
26647 PyObject
* obj0
= 0 ;
26648 PyObject
* obj1
= 0 ;
26649 char * kwnames
[] = {
26650 (char *) "self",(char *) "tz", NULL
26653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26655 if (!SWIG_IsOK(res1
)) {
26656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDayOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26658 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26661 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26667 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
26668 wxPyEndAllowThreads(__tstate
);
26669 if (PyErr_Occurred()) SWIG_fail
;
26671 resultobj
= SWIG_From_int(static_cast< int >(result
));
26673 if (temp2
) delete arg2
;
26678 if (temp2
) delete arg2
;
26684 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26685 PyObject
*resultobj
= 0;
26686 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26687 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
26688 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
26689 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
26695 bool temp3
= false ;
26696 PyObject
* obj0
= 0 ;
26697 PyObject
* obj1
= 0 ;
26698 PyObject
* obj2
= 0 ;
26699 char * kwnames
[] = {
26700 (char *) "self",(char *) "flags",(char *) "tz", NULL
26703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26705 if (!SWIG_IsOK(res1
)) {
26706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26708 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26710 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26711 if (!SWIG_IsOK(ecode2
)) {
26712 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
26714 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
26718 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
26723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26724 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
26725 wxPyEndAllowThreads(__tstate
);
26726 if (PyErr_Occurred()) SWIG_fail
;
26728 resultobj
= SWIG_From_int(static_cast< int >(result
));
26730 if (temp3
) delete arg3
;
26735 if (temp3
) delete arg3
;
26741 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26742 PyObject
*resultobj
= 0;
26743 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26744 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
26745 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
26746 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
26752 bool temp3
= false ;
26753 PyObject
* obj0
= 0 ;
26754 PyObject
* obj1
= 0 ;
26755 PyObject
* obj2
= 0 ;
26756 char * kwnames
[] = {
26757 (char *) "self",(char *) "flags",(char *) "tz", NULL
26760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26762 if (!SWIG_IsOK(res1
)) {
26763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26765 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26767 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26768 if (!SWIG_IsOK(ecode2
)) {
26769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
26771 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
26775 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
26780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26781 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
26782 wxPyEndAllowThreads(__tstate
);
26783 if (PyErr_Occurred()) SWIG_fail
;
26785 resultobj
= SWIG_From_int(static_cast< int >(result
));
26787 if (temp3
) delete arg3
;
26792 if (temp3
) delete arg3
;
26798 SWIGINTERN PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26799 PyObject
*resultobj
= 0;
26800 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26801 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
26807 PyObject
* obj0
= 0 ;
26808 PyObject
* obj1
= 0 ;
26809 char * kwnames
[] = {
26810 (char *) "self",(char *) "country", NULL
26813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26815 if (!SWIG_IsOK(res1
)) {
26816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsWorkDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26818 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26820 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26821 if (!SWIG_IsOK(ecode2
)) {
26822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsWorkDay" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
26824 arg2
= static_cast< wxDateTime::Country
>(val2
);
26827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26828 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay(arg2
);
26829 wxPyEndAllowThreads(__tstate
);
26830 if (PyErr_Occurred()) SWIG_fail
;
26833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26841 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26842 PyObject
*resultobj
= 0;
26843 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26844 wxDateTime
*arg2
= 0 ;
26850 PyObject
* obj0
= 0 ;
26851 PyObject
* obj1
= 0 ;
26852 char * kwnames
[] = {
26853 (char *) "self",(char *) "datetime", NULL
26856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26858 if (!SWIG_IsOK(res1
)) {
26859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26861 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26862 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26863 if (!SWIG_IsOK(res2
)) {
26864 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26867 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26869 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26872 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
26873 wxPyEndAllowThreads(__tstate
);
26874 if (PyErr_Occurred()) SWIG_fail
;
26877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26885 SWIGINTERN PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26886 PyObject
*resultobj
= 0;
26887 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26888 wxDateTime
*arg2
= 0 ;
26894 PyObject
* obj0
= 0 ;
26895 PyObject
* obj1
= 0 ;
26896 char * kwnames
[] = {
26897 (char *) "self",(char *) "datetime", NULL
26900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26902 if (!SWIG_IsOK(res1
)) {
26903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26905 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26906 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26907 if (!SWIG_IsOK(res2
)) {
26908 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26911 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26913 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26916 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
26917 wxPyEndAllowThreads(__tstate
);
26918 if (PyErr_Occurred()) SWIG_fail
;
26921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26929 SWIGINTERN PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26930 PyObject
*resultobj
= 0;
26931 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26932 wxDateTime
*arg2
= 0 ;
26938 PyObject
* obj0
= 0 ;
26939 PyObject
* obj1
= 0 ;
26940 char * kwnames
[] = {
26941 (char *) "self",(char *) "datetime", NULL
26944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26946 if (!SWIG_IsOK(res1
)) {
26947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsLaterThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26949 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26950 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26951 if (!SWIG_IsOK(res2
)) {
26952 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26955 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26957 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26960 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
26961 wxPyEndAllowThreads(__tstate
);
26962 if (PyErr_Occurred()) SWIG_fail
;
26965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26973 SWIGINTERN PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26974 PyObject
*resultobj
= 0;
26975 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26976 wxDateTime
*arg2
= 0 ;
26977 wxDateTime
*arg3
= 0 ;
26985 PyObject
* obj0
= 0 ;
26986 PyObject
* obj1
= 0 ;
26987 PyObject
* obj2
= 0 ;
26988 char * kwnames
[] = {
26989 (char *) "self",(char *) "t1",(char *) "t2", NULL
26992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26994 if (!SWIG_IsOK(res1
)) {
26995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26997 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26998 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26999 if (!SWIG_IsOK(res2
)) {
27000 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27003 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27005 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27006 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27007 if (!SWIG_IsOK(res3
)) {
27008 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
27011 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
27013 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
27015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27016 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
27017 wxPyEndAllowThreads(__tstate
);
27018 if (PyErr_Occurred()) SWIG_fail
;
27021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27029 SWIGINTERN PyObject
*_wrap_DateTime_IsBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27030 PyObject
*resultobj
= 0;
27031 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27032 wxDateTime
*arg2
= 0 ;
27033 wxDateTime
*arg3
= 0 ;
27041 PyObject
* obj0
= 0 ;
27042 PyObject
* obj1
= 0 ;
27043 PyObject
* obj2
= 0 ;
27044 char * kwnames
[] = {
27045 (char *) "self",(char *) "t1",(char *) "t2", NULL
27048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27050 if (!SWIG_IsOK(res1
)) {
27051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27053 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27054 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27055 if (!SWIG_IsOK(res2
)) {
27056 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27059 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27061 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27062 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27063 if (!SWIG_IsOK(res3
)) {
27064 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
27067 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
27069 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
27071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27072 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
27073 wxPyEndAllowThreads(__tstate
);
27074 if (PyErr_Occurred()) SWIG_fail
;
27077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27085 SWIGINTERN PyObject
*_wrap_DateTime_IsSameDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27086 PyObject
*resultobj
= 0;
27087 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27088 wxDateTime
*arg2
= 0 ;
27094 PyObject
* obj0
= 0 ;
27095 PyObject
* obj1
= 0 ;
27096 char * kwnames
[] = {
27097 (char *) "self",(char *) "dt", NULL
27100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27102 if (!SWIG_IsOK(res1
)) {
27103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27105 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27106 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27107 if (!SWIG_IsOK(res2
)) {
27108 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27111 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27113 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27116 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
27117 wxPyEndAllowThreads(__tstate
);
27118 if (PyErr_Occurred()) SWIG_fail
;
27121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27129 SWIGINTERN PyObject
*_wrap_DateTime_IsSameTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27130 PyObject
*resultobj
= 0;
27131 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27132 wxDateTime
*arg2
= 0 ;
27138 PyObject
* obj0
= 0 ;
27139 PyObject
* obj1
= 0 ;
27140 char * kwnames
[] = {
27141 (char *) "self",(char *) "dt", NULL
27144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27146 if (!SWIG_IsOK(res1
)) {
27147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27149 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27150 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27151 if (!SWIG_IsOK(res2
)) {
27152 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27155 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27157 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27160 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
27161 wxPyEndAllowThreads(__tstate
);
27162 if (PyErr_Occurred()) SWIG_fail
;
27165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27173 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27174 PyObject
*resultobj
= 0;
27175 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27176 wxDateTime
*arg2
= 0 ;
27177 wxTimeSpan
*arg3
= 0 ;
27185 PyObject
* obj0
= 0 ;
27186 PyObject
* obj1
= 0 ;
27187 PyObject
* obj2
= 0 ;
27188 char * kwnames
[] = {
27189 (char *) "self",(char *) "dt",(char *) "ts", NULL
27192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27194 if (!SWIG_IsOK(res1
)) {
27195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27197 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27198 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27199 if (!SWIG_IsOK(res2
)) {
27200 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27203 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27205 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27206 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27207 if (!SWIG_IsOK(res3
)) {
27208 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
27211 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
27213 arg3
= reinterpret_cast< wxTimeSpan
* >(argp3
);
27215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27216 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
27217 wxPyEndAllowThreads(__tstate
);
27218 if (PyErr_Occurred()) SWIG_fail
;
27221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27229 SWIGINTERN PyObject
*_wrap_DateTime_AddTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27230 PyObject
*resultobj
= 0;
27231 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27232 wxTimeSpan
*arg2
= 0 ;
27233 wxDateTime
*result
= 0 ;
27238 PyObject
* obj0
= 0 ;
27239 PyObject
* obj1
= 0 ;
27240 char * kwnames
[] = {
27241 (char *) "self",(char *) "diff", NULL
27244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27246 if (!SWIG_IsOK(res1
)) {
27247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27249 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27250 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27251 if (!SWIG_IsOK(res2
)) {
27252 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27255 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27257 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27261 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
27262 result
= (wxDateTime
*) &_result_ref
;
27264 wxPyEndAllowThreads(__tstate
);
27265 if (PyErr_Occurred()) SWIG_fail
;
27267 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27274 SWIGINTERN PyObject
*_wrap_DateTime_AddDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27275 PyObject
*resultobj
= 0;
27276 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27277 wxDateSpan
*arg2
= 0 ;
27278 wxDateTime
*result
= 0 ;
27283 PyObject
* obj0
= 0 ;
27284 PyObject
* obj1
= 0 ;
27285 char * kwnames
[] = {
27286 (char *) "self",(char *) "diff", NULL
27289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27291 if (!SWIG_IsOK(res1
)) {
27292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27294 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27295 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27296 if (!SWIG_IsOK(res2
)) {
27297 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27300 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27302 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27306 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
27307 result
= (wxDateTime
*) &_result_ref
;
27309 wxPyEndAllowThreads(__tstate
);
27310 if (PyErr_Occurred()) SWIG_fail
;
27312 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27319 SWIGINTERN PyObject
*_wrap_DateTime_SubtractTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27320 PyObject
*resultobj
= 0;
27321 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27322 wxTimeSpan
*arg2
= 0 ;
27323 wxDateTime
*result
= 0 ;
27328 PyObject
* obj0
= 0 ;
27329 PyObject
* obj1
= 0 ;
27330 char * kwnames
[] = {
27331 (char *) "self",(char *) "diff", NULL
27334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27336 if (!SWIG_IsOK(res1
)) {
27337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27339 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27340 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27341 if (!SWIG_IsOK(res2
)) {
27342 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27345 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27347 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27351 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
27352 result
= (wxDateTime
*) &_result_ref
;
27354 wxPyEndAllowThreads(__tstate
);
27355 if (PyErr_Occurred()) SWIG_fail
;
27357 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27364 SWIGINTERN PyObject
*_wrap_DateTime_SubtractDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27365 PyObject
*resultobj
= 0;
27366 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27367 wxDateSpan
*arg2
= 0 ;
27368 wxDateTime
*result
= 0 ;
27373 PyObject
* obj0
= 0 ;
27374 PyObject
* obj1
= 0 ;
27375 char * kwnames
[] = {
27376 (char *) "self",(char *) "diff", NULL
27379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27381 if (!SWIG_IsOK(res1
)) {
27382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27384 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27385 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27386 if (!SWIG_IsOK(res2
)) {
27387 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27390 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27392 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27396 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
27397 result
= (wxDateTime
*) &_result_ref
;
27399 wxPyEndAllowThreads(__tstate
);
27400 if (PyErr_Occurred()) SWIG_fail
;
27402 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27409 SWIGINTERN PyObject
*_wrap_DateTime_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27410 PyObject
*resultobj
= 0;
27411 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27412 wxDateTime
*arg2
= 0 ;
27418 PyObject
* obj0
= 0 ;
27419 PyObject
* obj1
= 0 ;
27420 char * kwnames
[] = {
27421 (char *) "self",(char *) "dt", NULL
27424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27426 if (!SWIG_IsOK(res1
)) {
27427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Subtract" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27429 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27430 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27431 if (!SWIG_IsOK(res2
)) {
27432 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27435 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27437 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27440 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
27441 wxPyEndAllowThreads(__tstate
);
27442 if (PyErr_Occurred()) SWIG_fail
;
27444 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27451 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27452 PyObject
*resultobj
= 0;
27453 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27454 wxTimeSpan
*arg2
= 0 ;
27455 wxDateTime
*result
= 0 ;
27461 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27463 if (!SWIG_IsOK(res1
)) {
27464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27466 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27467 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27468 if (!SWIG_IsOK(res2
)) {
27469 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27472 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27474 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27478 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
27479 result
= (wxDateTime
*) &_result_ref
;
27481 wxPyEndAllowThreads(__tstate
);
27482 if (PyErr_Occurred()) SWIG_fail
;
27484 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27491 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27492 PyObject
*resultobj
= 0;
27493 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27494 wxDateSpan
*arg2
= 0 ;
27495 wxDateTime
*result
= 0 ;
27501 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27503 if (!SWIG_IsOK(res1
)) {
27504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27506 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27507 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27508 if (!SWIG_IsOK(res2
)) {
27509 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27512 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27514 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27518 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
27519 result
= (wxDateTime
*) &_result_ref
;
27521 wxPyEndAllowThreads(__tstate
);
27522 if (PyErr_Occurred()) SWIG_fail
;
27524 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27531 SWIGINTERN PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
27535 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___iadd__",0,2,argv
))) SWIG_fail
;
27540 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27541 _v
= SWIG_CheckState(res
);
27543 if (!_v
) goto check_1
;
27544 return _wrap_DateTime___iadd____SWIG_0(self
, argc
, argv
);
27549 return _wrap_DateTime___iadd____SWIG_1(self
, argc
, argv
);
27553 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
27558 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27559 PyObject
*resultobj
= 0;
27560 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27561 wxTimeSpan
*arg2
= 0 ;
27562 wxDateTime
*result
= 0 ;
27568 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27570 if (!SWIG_IsOK(res1
)) {
27571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27573 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27574 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27575 if (!SWIG_IsOK(res2
)) {
27576 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27579 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27581 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27585 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
27586 result
= (wxDateTime
*) &_result_ref
;
27588 wxPyEndAllowThreads(__tstate
);
27589 if (PyErr_Occurred()) SWIG_fail
;
27591 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27598 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27599 PyObject
*resultobj
= 0;
27600 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27601 wxDateSpan
*arg2
= 0 ;
27602 wxDateTime
*result
= 0 ;
27608 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27610 if (!SWIG_IsOK(res1
)) {
27611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27613 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27614 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27615 if (!SWIG_IsOK(res2
)) {
27616 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27619 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27621 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27625 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
27626 result
= (wxDateTime
*) &_result_ref
;
27628 wxPyEndAllowThreads(__tstate
);
27629 if (PyErr_Occurred()) SWIG_fail
;
27631 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27638 SWIGINTERN PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
27642 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___isub__",0,2,argv
))) SWIG_fail
;
27647 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27648 _v
= SWIG_CheckState(res
);
27650 if (!_v
) goto check_1
;
27651 return _wrap_DateTime___isub____SWIG_0(self
, argc
, argv
);
27656 return _wrap_DateTime___isub____SWIG_1(self
, argc
, argv
);
27660 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
27665 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27666 PyObject
*resultobj
= 0;
27667 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27668 wxTimeSpan
*arg2
= 0 ;
27675 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27677 if (!SWIG_IsOK(res1
)) {
27678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27680 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27681 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27682 if (!SWIG_IsOK(res2
)) {
27683 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27686 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27688 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27691 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
27692 wxPyEndAllowThreads(__tstate
);
27693 if (PyErr_Occurred()) SWIG_fail
;
27695 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27702 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27703 PyObject
*resultobj
= 0;
27704 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27705 wxDateSpan
*arg2
= 0 ;
27712 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27714 if (!SWIG_IsOK(res1
)) {
27715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27717 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27718 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27719 if (!SWIG_IsOK(res2
)) {
27720 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27723 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27725 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27728 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
27729 wxPyEndAllowThreads(__tstate
);
27730 if (PyErr_Occurred()) SWIG_fail
;
27732 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27739 SWIGINTERN PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
27743 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___add__",0,2,argv
))) SWIG_fail
;
27748 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27749 _v
= SWIG_CheckState(res
);
27751 if (!_v
) goto check_1
;
27752 return _wrap_DateTime___add____SWIG_0(self
, argc
, argv
);
27757 return _wrap_DateTime___add____SWIG_1(self
, argc
, argv
);
27761 Py_INCREF(Py_NotImplemented
);
27762 return Py_NotImplemented
;
27766 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27767 PyObject
*resultobj
= 0;
27768 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27769 wxDateTime
*arg2
= 0 ;
27776 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27778 if (!SWIG_IsOK(res1
)) {
27779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27781 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27782 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27783 if (!SWIG_IsOK(res2
)) {
27784 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27787 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27789 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27792 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
27793 wxPyEndAllowThreads(__tstate
);
27794 if (PyErr_Occurred()) SWIG_fail
;
27796 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27803 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27804 PyObject
*resultobj
= 0;
27805 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27806 wxTimeSpan
*arg2
= 0 ;
27813 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27815 if (!SWIG_IsOK(res1
)) {
27816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27818 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27819 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27820 if (!SWIG_IsOK(res2
)) {
27821 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27824 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27826 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27829 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
27830 wxPyEndAllowThreads(__tstate
);
27831 if (PyErr_Occurred()) SWIG_fail
;
27833 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27840 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27841 PyObject
*resultobj
= 0;
27842 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27843 wxDateSpan
*arg2
= 0 ;
27850 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27852 if (!SWIG_IsOK(res1
)) {
27853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27855 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27856 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27857 if (!SWIG_IsOK(res2
)) {
27858 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27861 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27863 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27866 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
27867 wxPyEndAllowThreads(__tstate
);
27868 if (PyErr_Occurred()) SWIG_fail
;
27870 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27877 SWIGINTERN PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
27881 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___sub__",0,2,argv
))) SWIG_fail
;
27886 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDateTime
, 0);
27887 _v
= SWIG_CheckState(res
);
27889 if (!_v
) goto check_1
;
27890 return _wrap_DateTime___sub____SWIG_0(self
, argc
, argv
);
27897 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27898 _v
= SWIG_CheckState(res
);
27900 if (!_v
) goto check_2
;
27901 return _wrap_DateTime___sub____SWIG_1(self
, argc
, argv
);
27906 return _wrap_DateTime___sub____SWIG_2(self
, argc
, argv
);
27910 Py_INCREF(Py_NotImplemented
);
27911 return Py_NotImplemented
;
27915 SWIGINTERN PyObject
*_wrap_DateTime___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27916 PyObject
*resultobj
= 0;
27917 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27918 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
27924 PyObject
* obj0
= 0 ;
27925 PyObject
* obj1
= 0 ;
27926 char * kwnames
[] = {
27927 (char *) "self",(char *) "other", NULL
27930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27932 if (!SWIG_IsOK(res1
)) {
27933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___lt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27935 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27936 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27937 if (!SWIG_IsOK(res2
)) {
27938 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___lt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
27940 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27943 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
27944 wxPyEndAllowThreads(__tstate
);
27945 if (PyErr_Occurred()) SWIG_fail
;
27948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27956 SWIGINTERN PyObject
*_wrap_DateTime___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27957 PyObject
*resultobj
= 0;
27958 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27959 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
27965 PyObject
* obj0
= 0 ;
27966 PyObject
* obj1
= 0 ;
27967 char * kwnames
[] = {
27968 (char *) "self",(char *) "other", NULL
27971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27973 if (!SWIG_IsOK(res1
)) {
27974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___le__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27976 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27977 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27978 if (!SWIG_IsOK(res2
)) {
27979 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___le__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
27981 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27984 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
27985 wxPyEndAllowThreads(__tstate
);
27986 if (PyErr_Occurred()) SWIG_fail
;
27989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27997 SWIGINTERN PyObject
*_wrap_DateTime___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27998 PyObject
*resultobj
= 0;
27999 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28000 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
28006 PyObject
* obj0
= 0 ;
28007 PyObject
* obj1
= 0 ;
28008 char * kwnames
[] = {
28009 (char *) "self",(char *) "other", NULL
28012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28014 if (!SWIG_IsOK(res1
)) {
28015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___gt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
28017 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28018 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28019 if (!SWIG_IsOK(res2
)) {
28020 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___gt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
28022 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
28024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28025 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
28026 wxPyEndAllowThreads(__tstate
);
28027 if (PyErr_Occurred()) SWIG_fail
;
28030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28038 SWIGINTERN PyObject
*_wrap_DateTime___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28039 PyObject
*resultobj
= 0;
28040 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28041 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
28047 PyObject
* obj0
= 0 ;
28048 PyObject
* obj1
= 0 ;
28049 char * kwnames
[] = {
28050 (char *) "self",(char *) "other", NULL
28053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28055 if (!SWIG_IsOK(res1
)) {
28056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ge__" "', expected argument " "1"" of type '" "wxDateTime *""'");
28058 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28059 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28060 if (!SWIG_IsOK(res2
)) {
28061 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ge__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
28063 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
28065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28066 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
28067 wxPyEndAllowThreads(__tstate
);
28068 if (PyErr_Occurred()) SWIG_fail
;
28071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28079 SWIGINTERN PyObject
*_wrap_DateTime___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28080 PyObject
*resultobj
= 0;
28081 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28082 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
28088 PyObject
* obj0
= 0 ;
28089 PyObject
* obj1
= 0 ;
28090 char * kwnames
[] = {
28091 (char *) "self",(char *) "other", NULL
28094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28096 if (!SWIG_IsOK(res1
)) {
28097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___eq__" "', expected argument " "1"" of type '" "wxDateTime *""'");
28099 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28100 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28101 if (!SWIG_IsOK(res2
)) {
28102 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___eq__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
28104 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
28106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28107 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
28108 wxPyEndAllowThreads(__tstate
);
28109 if (PyErr_Occurred()) SWIG_fail
;
28112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28120 SWIGINTERN PyObject
*_wrap_DateTime___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28121 PyObject
*resultobj
= 0;
28122 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28123 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
28129 PyObject
* obj0
= 0 ;
28130 PyObject
* obj1
= 0 ;
28131 char * kwnames
[] = {
28132 (char *) "self",(char *) "other", NULL
28135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28137 if (!SWIG_IsOK(res1
)) {
28138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ne__" "', expected argument " "1"" of type '" "wxDateTime *""'");
28140 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28141 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28142 if (!SWIG_IsOK(res2
)) {
28143 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ne__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
28145 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
28147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28148 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
28149 wxPyEndAllowThreads(__tstate
);
28150 if (PyErr_Occurred()) SWIG_fail
;
28153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28161 SWIGINTERN PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28162 PyObject
*resultobj
= 0;
28163 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28164 wxString
*arg2
= 0 ;
28168 bool temp2
= false ;
28169 PyObject
* obj0
= 0 ;
28170 PyObject
* obj1
= 0 ;
28171 char * kwnames
[] = {
28172 (char *) "self",(char *) "date", NULL
28175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28177 if (!SWIG_IsOK(res1
)) {
28178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseRfc822Date" "', expected argument " "1"" of type '" "wxDateTime *""'");
28180 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28182 arg2
= wxString_in_helper(obj1
);
28183 if (arg2
== NULL
) SWIG_fail
;
28187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28188 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
28189 wxPyEndAllowThreads(__tstate
);
28190 if (PyErr_Occurred()) SWIG_fail
;
28192 resultobj
= SWIG_From_int(static_cast< int >(result
));
28207 SWIGINTERN PyObject
*_wrap_DateTime_ParseFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28208 PyObject
*resultobj
= 0;
28209 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28210 wxString
*arg2
= 0 ;
28211 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
28212 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
28213 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
28214 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
28218 bool temp2
= false ;
28219 bool temp3
= false ;
28222 PyObject
* obj0
= 0 ;
28223 PyObject
* obj1
= 0 ;
28224 PyObject
* obj2
= 0 ;
28225 PyObject
* obj3
= 0 ;
28226 char * kwnames
[] = {
28227 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
28230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28232 if (!SWIG_IsOK(res1
)) {
28233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseFormat" "', expected argument " "1"" of type '" "wxDateTime *""'");
28235 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28237 arg2
= wxString_in_helper(obj1
);
28238 if (arg2
== NULL
) SWIG_fail
;
28243 arg3
= wxString_in_helper(obj2
);
28244 if (arg3
== NULL
) SWIG_fail
;
28249 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
28250 if (!SWIG_IsOK(res4
)) {
28251 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
28254 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
28256 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
28259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28260 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
28261 wxPyEndAllowThreads(__tstate
);
28262 if (PyErr_Occurred()) SWIG_fail
;
28264 resultobj
= SWIG_From_int(static_cast< int >(result
));
28287 SWIGINTERN PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28288 PyObject
*resultobj
= 0;
28289 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28290 wxString
*arg2
= 0 ;
28294 bool temp2
= false ;
28295 PyObject
* obj0
= 0 ;
28296 PyObject
* obj1
= 0 ;
28297 char * kwnames
[] = {
28298 (char *) "self",(char *) "datetime", NULL
28301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28303 if (!SWIG_IsOK(res1
)) {
28304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
28306 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28308 arg2
= wxString_in_helper(obj1
);
28309 if (arg2
== NULL
) SWIG_fail
;
28313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28314 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
28315 wxPyEndAllowThreads(__tstate
);
28316 if (PyErr_Occurred()) SWIG_fail
;
28318 resultobj
= SWIG_From_int(static_cast< int >(result
));
28333 SWIGINTERN PyObject
*_wrap_DateTime_ParseDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28334 PyObject
*resultobj
= 0;
28335 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28336 wxString
*arg2
= 0 ;
28340 bool temp2
= false ;
28341 PyObject
* obj0
= 0 ;
28342 PyObject
* obj1
= 0 ;
28343 char * kwnames
[] = {
28344 (char *) "self",(char *) "date", NULL
28347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28349 if (!SWIG_IsOK(res1
)) {
28350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDate" "', expected argument " "1"" of type '" "wxDateTime *""'");
28352 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28354 arg2
= wxString_in_helper(obj1
);
28355 if (arg2
== NULL
) SWIG_fail
;
28359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28360 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
28361 wxPyEndAllowThreads(__tstate
);
28362 if (PyErr_Occurred()) SWIG_fail
;
28364 resultobj
= SWIG_From_int(static_cast< int >(result
));
28379 SWIGINTERN PyObject
*_wrap_DateTime_ParseTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28380 PyObject
*resultobj
= 0;
28381 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28382 wxString
*arg2
= 0 ;
28386 bool temp2
= false ;
28387 PyObject
* obj0
= 0 ;
28388 PyObject
* obj1
= 0 ;
28389 char * kwnames
[] = {
28390 (char *) "self",(char *) "time", NULL
28393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28395 if (!SWIG_IsOK(res1
)) {
28396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
28398 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28400 arg2
= wxString_in_helper(obj1
);
28401 if (arg2
== NULL
) SWIG_fail
;
28405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28406 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
28407 wxPyEndAllowThreads(__tstate
);
28408 if (PyErr_Occurred()) SWIG_fail
;
28410 resultobj
= SWIG_From_int(static_cast< int >(result
));
28425 SWIGINTERN PyObject
*_wrap_DateTime_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28426 PyObject
*resultobj
= 0;
28427 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28428 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
28429 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
28430 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
28431 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
28435 bool temp2
= false ;
28436 bool temp3
= false ;
28437 PyObject
* obj0
= 0 ;
28438 PyObject
* obj1
= 0 ;
28439 PyObject
* obj2
= 0 ;
28440 char * kwnames
[] = {
28441 (char *) "self",(char *) "format",(char *) "tz", NULL
28444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28446 if (!SWIG_IsOK(res1
)) {
28447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Format" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28449 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28452 arg2
= wxString_in_helper(obj1
);
28453 if (arg2
== NULL
) SWIG_fail
;
28459 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
28464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28465 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
28466 wxPyEndAllowThreads(__tstate
);
28467 if (PyErr_Occurred()) SWIG_fail
;
28471 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28473 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28481 if (temp3
) delete arg3
;
28490 if (temp3
) delete arg3
;
28496 SWIGINTERN PyObject
*_wrap_DateTime_FormatDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28497 PyObject
*resultobj
= 0;
28498 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28502 PyObject
*swig_obj
[1] ;
28504 if (!args
) SWIG_fail
;
28505 swig_obj
[0] = args
;
28506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28507 if (!SWIG_IsOK(res1
)) {
28508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28510 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28513 result
= ((wxDateTime
const *)arg1
)->FormatDate();
28514 wxPyEndAllowThreads(__tstate
);
28515 if (PyErr_Occurred()) SWIG_fail
;
28519 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28521 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28530 SWIGINTERN PyObject
*_wrap_DateTime_FormatTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28531 PyObject
*resultobj
= 0;
28532 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28536 PyObject
*swig_obj
[1] ;
28538 if (!args
) SWIG_fail
;
28539 swig_obj
[0] = args
;
28540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28541 if (!SWIG_IsOK(res1
)) {
28542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28544 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28547 result
= ((wxDateTime
const *)arg1
)->FormatTime();
28548 wxPyEndAllowThreads(__tstate
);
28549 if (PyErr_Occurred()) SWIG_fail
;
28553 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28555 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28564 SWIGINTERN PyObject
*_wrap_DateTime_FormatISODate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28565 PyObject
*resultobj
= 0;
28566 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28570 PyObject
*swig_obj
[1] ;
28572 if (!args
) SWIG_fail
;
28573 swig_obj
[0] = args
;
28574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28575 if (!SWIG_IsOK(res1
)) {
28576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISODate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28578 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28581 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
28582 wxPyEndAllowThreads(__tstate
);
28583 if (PyErr_Occurred()) SWIG_fail
;
28587 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28589 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28598 SWIGINTERN PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28599 PyObject
*resultobj
= 0;
28600 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28604 PyObject
*swig_obj
[1] ;
28606 if (!args
) SWIG_fail
;
28607 swig_obj
[0] = args
;
28608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28609 if (!SWIG_IsOK(res1
)) {
28610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISOTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28612 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28615 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
28616 wxPyEndAllowThreads(__tstate
);
28617 if (PyErr_Occurred()) SWIG_fail
;
28621 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28623 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28632 SWIGINTERN PyObject
*DateTime_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28634 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28635 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateTime
, SWIG_NewClientData(obj
));
28636 return SWIG_Py_Void();
28639 SWIGINTERN PyObject
*DateTime_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28640 return SWIG_Python_InitShadowInstance(args
);
28643 SWIGINTERN PyObject
*_wrap_TimeSpan_Milliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28644 PyObject
*resultobj
= 0;
28649 PyObject
* obj0
= 0 ;
28650 char * kwnames
[] = {
28651 (char *) "ms", NULL
28654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Milliseconds",kwnames
,&obj0
)) SWIG_fail
;
28655 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28656 if (!SWIG_IsOK(ecode1
)) {
28657 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Milliseconds" "', expected argument " "1"" of type '" "long""'");
28659 arg1
= static_cast< long >(val1
);
28661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28662 result
= wxTimeSpan::Milliseconds(arg1
);
28663 wxPyEndAllowThreads(__tstate
);
28664 if (PyErr_Occurred()) SWIG_fail
;
28666 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28673 SWIGINTERN PyObject
*_wrap_TimeSpan_Millisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28674 PyObject
*resultobj
= 0;
28677 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Millisecond",0,0,0)) SWIG_fail
;
28679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28680 result
= wxTimeSpan::Millisecond();
28681 wxPyEndAllowThreads(__tstate
);
28682 if (PyErr_Occurred()) SWIG_fail
;
28684 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28691 SWIGINTERN PyObject
*_wrap_TimeSpan_Seconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28692 PyObject
*resultobj
= 0;
28697 PyObject
* obj0
= 0 ;
28698 char * kwnames
[] = {
28699 (char *) "sec", NULL
28702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) SWIG_fail
;
28703 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28704 if (!SWIG_IsOK(ecode1
)) {
28705 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Seconds" "', expected argument " "1"" of type '" "long""'");
28707 arg1
= static_cast< long >(val1
);
28709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28710 result
= wxTimeSpan::Seconds(arg1
);
28711 wxPyEndAllowThreads(__tstate
);
28712 if (PyErr_Occurred()) SWIG_fail
;
28714 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28721 SWIGINTERN PyObject
*_wrap_TimeSpan_Second(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28722 PyObject
*resultobj
= 0;
28725 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Second",0,0,0)) SWIG_fail
;
28727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28728 result
= wxTimeSpan::Second();
28729 wxPyEndAllowThreads(__tstate
);
28730 if (PyErr_Occurred()) SWIG_fail
;
28732 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28739 SWIGINTERN PyObject
*_wrap_TimeSpan_Minutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28740 PyObject
*resultobj
= 0;
28745 PyObject
* obj0
= 0 ;
28746 char * kwnames
[] = {
28747 (char *) "min", NULL
28750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) SWIG_fail
;
28751 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28752 if (!SWIG_IsOK(ecode1
)) {
28753 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Minutes" "', expected argument " "1"" of type '" "long""'");
28755 arg1
= static_cast< long >(val1
);
28757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28758 result
= wxTimeSpan::Minutes(arg1
);
28759 wxPyEndAllowThreads(__tstate
);
28760 if (PyErr_Occurred()) SWIG_fail
;
28762 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28769 SWIGINTERN PyObject
*_wrap_TimeSpan_Minute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28770 PyObject
*resultobj
= 0;
28773 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Minute",0,0,0)) SWIG_fail
;
28775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28776 result
= wxTimeSpan::Minute();
28777 wxPyEndAllowThreads(__tstate
);
28778 if (PyErr_Occurred()) SWIG_fail
;
28780 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28787 SWIGINTERN PyObject
*_wrap_TimeSpan_Hours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28788 PyObject
*resultobj
= 0;
28793 PyObject
* obj0
= 0 ;
28794 char * kwnames
[] = {
28795 (char *) "hours", NULL
28798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) SWIG_fail
;
28799 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28800 if (!SWIG_IsOK(ecode1
)) {
28801 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Hours" "', expected argument " "1"" of type '" "long""'");
28803 arg1
= static_cast< long >(val1
);
28805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28806 result
= wxTimeSpan::Hours(arg1
);
28807 wxPyEndAllowThreads(__tstate
);
28808 if (PyErr_Occurred()) SWIG_fail
;
28810 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28817 SWIGINTERN PyObject
*_wrap_TimeSpan_Hour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28818 PyObject
*resultobj
= 0;
28821 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Hour",0,0,0)) SWIG_fail
;
28823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28824 result
= wxTimeSpan::Hour();
28825 wxPyEndAllowThreads(__tstate
);
28826 if (PyErr_Occurred()) SWIG_fail
;
28828 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28835 SWIGINTERN PyObject
*_wrap_TimeSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28836 PyObject
*resultobj
= 0;
28841 PyObject
* obj0
= 0 ;
28842 char * kwnames
[] = {
28843 (char *) "days", NULL
28846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
28847 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28848 if (!SWIG_IsOK(ecode1
)) {
28849 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Days" "', expected argument " "1"" of type '" "long""'");
28851 arg1
= static_cast< long >(val1
);
28853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28854 result
= wxTimeSpan::Days(arg1
);
28855 wxPyEndAllowThreads(__tstate
);
28856 if (PyErr_Occurred()) SWIG_fail
;
28858 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28865 SWIGINTERN PyObject
*_wrap_TimeSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28866 PyObject
*resultobj
= 0;
28869 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Day",0,0,0)) SWIG_fail
;
28871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28872 result
= wxTimeSpan::Day();
28873 wxPyEndAllowThreads(__tstate
);
28874 if (PyErr_Occurred()) SWIG_fail
;
28876 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28883 SWIGINTERN PyObject
*_wrap_TimeSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28884 PyObject
*resultobj
= 0;
28889 PyObject
* obj0
= 0 ;
28890 char * kwnames
[] = {
28891 (char *) "days", NULL
28894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
28895 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28896 if (!SWIG_IsOK(ecode1
)) {
28897 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Weeks" "', expected argument " "1"" of type '" "long""'");
28899 arg1
= static_cast< long >(val1
);
28901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28902 result
= wxTimeSpan::Weeks(arg1
);
28903 wxPyEndAllowThreads(__tstate
);
28904 if (PyErr_Occurred()) SWIG_fail
;
28906 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28913 SWIGINTERN PyObject
*_wrap_TimeSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28914 PyObject
*resultobj
= 0;
28917 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Week",0,0,0)) SWIG_fail
;
28919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28920 result
= wxTimeSpan::Week();
28921 wxPyEndAllowThreads(__tstate
);
28922 if (PyErr_Occurred()) SWIG_fail
;
28924 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28931 SWIGINTERN PyObject
*_wrap_new_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28932 PyObject
*resultobj
= 0;
28933 long arg1
= (long) 0 ;
28934 long arg2
= (long) 0 ;
28935 long arg3
= (long) 0 ;
28936 long arg4
= (long) 0 ;
28937 wxTimeSpan
*result
= 0 ;
28946 PyObject
* obj0
= 0 ;
28947 PyObject
* obj1
= 0 ;
28948 PyObject
* obj2
= 0 ;
28949 PyObject
* obj3
= 0 ;
28950 char * kwnames
[] = {
28951 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
28954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28956 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28957 if (!SWIG_IsOK(ecode1
)) {
28958 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimeSpan" "', expected argument " "1"" of type '" "long""'");
28960 arg1
= static_cast< long >(val1
);
28963 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28964 if (!SWIG_IsOK(ecode2
)) {
28965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimeSpan" "', expected argument " "2"" of type '" "long""'");
28967 arg2
= static_cast< long >(val2
);
28970 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
28971 if (!SWIG_IsOK(ecode3
)) {
28972 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimeSpan" "', expected argument " "3"" of type '" "long""'");
28974 arg3
= static_cast< long >(val3
);
28977 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
28978 if (!SWIG_IsOK(ecode4
)) {
28979 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TimeSpan" "', expected argument " "4"" of type '" "long""'");
28981 arg4
= static_cast< long >(val4
);
28984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28985 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
28986 wxPyEndAllowThreads(__tstate
);
28987 if (PyErr_Occurred()) SWIG_fail
;
28989 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_NEW
| 0 );
28996 SWIGINTERN PyObject
*_wrap_delete_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28997 PyObject
*resultobj
= 0;
28998 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29001 PyObject
*swig_obj
[1] ;
29003 if (!args
) SWIG_fail
;
29004 swig_obj
[0] = args
;
29005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
29006 if (!SWIG_IsOK(res1
)) {
29007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimeSpan" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29009 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29014 wxPyEndAllowThreads(__tstate
);
29015 if (PyErr_Occurred()) SWIG_fail
;
29017 resultobj
= SWIG_Py_Void();
29024 SWIGINTERN PyObject
*_wrap_TimeSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29025 PyObject
*resultobj
= 0;
29026 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29027 wxTimeSpan
*arg2
= 0 ;
29028 wxTimeSpan
*result
= 0 ;
29033 PyObject
* obj0
= 0 ;
29034 PyObject
* obj1
= 0 ;
29035 char * kwnames
[] = {
29036 (char *) "self",(char *) "diff", NULL
29039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29041 if (!SWIG_IsOK(res1
)) {
29042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Add" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29044 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29045 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29046 if (!SWIG_IsOK(res2
)) {
29047 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29050 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29052 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29056 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
29057 result
= (wxTimeSpan
*) &_result_ref
;
29059 wxPyEndAllowThreads(__tstate
);
29060 if (PyErr_Occurred()) SWIG_fail
;
29062 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29069 SWIGINTERN PyObject
*_wrap_TimeSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29070 PyObject
*resultobj
= 0;
29071 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29072 wxTimeSpan
*arg2
= 0 ;
29073 wxTimeSpan
*result
= 0 ;
29078 PyObject
* obj0
= 0 ;
29079 PyObject
* obj1
= 0 ;
29080 char * kwnames
[] = {
29081 (char *) "self",(char *) "diff", NULL
29084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29086 if (!SWIG_IsOK(res1
)) {
29087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Subtract" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29089 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29090 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29091 if (!SWIG_IsOK(res2
)) {
29092 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29095 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29097 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29101 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
29102 result
= (wxTimeSpan
*) &_result_ref
;
29104 wxPyEndAllowThreads(__tstate
);
29105 if (PyErr_Occurred()) SWIG_fail
;
29107 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29114 SWIGINTERN PyObject
*_wrap_TimeSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29115 PyObject
*resultobj
= 0;
29116 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29118 wxTimeSpan
*result
= 0 ;
29123 PyObject
* obj0
= 0 ;
29124 PyObject
* obj1
= 0 ;
29125 char * kwnames
[] = {
29126 (char *) "self",(char *) "n", NULL
29129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29131 if (!SWIG_IsOK(res1
)) {
29132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Multiply" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29134 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29135 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29136 if (!SWIG_IsOK(ecode2
)) {
29137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
29139 arg2
= static_cast< int >(val2
);
29141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29143 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
29144 result
= (wxTimeSpan
*) &_result_ref
;
29146 wxPyEndAllowThreads(__tstate
);
29147 if (PyErr_Occurred()) SWIG_fail
;
29149 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29156 SWIGINTERN PyObject
*_wrap_TimeSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29157 PyObject
*resultobj
= 0;
29158 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29159 wxTimeSpan
*result
= 0 ;
29162 PyObject
*swig_obj
[1] ;
29164 if (!args
) SWIG_fail
;
29165 swig_obj
[0] = args
;
29166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29167 if (!SWIG_IsOK(res1
)) {
29168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Neg" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29170 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29174 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
29175 result
= (wxTimeSpan
*) &_result_ref
;
29177 wxPyEndAllowThreads(__tstate
);
29178 if (PyErr_Occurred()) SWIG_fail
;
29180 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29187 SWIGINTERN PyObject
*_wrap_TimeSpan_Abs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29188 PyObject
*resultobj
= 0;
29189 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29193 PyObject
*swig_obj
[1] ;
29195 if (!args
) SWIG_fail
;
29196 swig_obj
[0] = args
;
29197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29198 if (!SWIG_IsOK(res1
)) {
29199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Abs" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29201 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29204 result
= ((wxTimeSpan
const *)arg1
)->Abs();
29205 wxPyEndAllowThreads(__tstate
);
29206 if (PyErr_Occurred()) SWIG_fail
;
29208 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29215 SWIGINTERN PyObject
*_wrap_TimeSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29216 PyObject
*resultobj
= 0;
29217 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29218 wxTimeSpan
*arg2
= 0 ;
29219 wxTimeSpan
*result
= 0 ;
29224 PyObject
* obj0
= 0 ;
29225 PyObject
* obj1
= 0 ;
29226 char * kwnames
[] = {
29227 (char *) "self",(char *) "diff", NULL
29230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
29232 if (!SWIG_IsOK(res1
)) {
29233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___iadd__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29235 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29236 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29237 if (!SWIG_IsOK(res2
)) {
29238 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29241 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29243 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29247 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
29248 result
= (wxTimeSpan
*) &_result_ref
;
29250 wxPyEndAllowThreads(__tstate
);
29251 if (PyErr_Occurred()) SWIG_fail
;
29253 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29260 SWIGINTERN PyObject
*_wrap_TimeSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29261 PyObject
*resultobj
= 0;
29262 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29263 wxTimeSpan
*arg2
= 0 ;
29264 wxTimeSpan
*result
= 0 ;
29269 PyObject
* obj0
= 0 ;
29270 PyObject
* obj1
= 0 ;
29271 char * kwnames
[] = {
29272 (char *) "self",(char *) "diff", NULL
29275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
29277 if (!SWIG_IsOK(res1
)) {
29278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___isub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29280 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29281 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29282 if (!SWIG_IsOK(res2
)) {
29283 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29286 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29288 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29292 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
29293 result
= (wxTimeSpan
*) &_result_ref
;
29295 wxPyEndAllowThreads(__tstate
);
29296 if (PyErr_Occurred()) SWIG_fail
;
29298 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29305 SWIGINTERN PyObject
*_wrap_TimeSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29306 PyObject
*resultobj
= 0;
29307 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29309 wxTimeSpan
*result
= 0 ;
29314 PyObject
* obj0
= 0 ;
29315 PyObject
* obj1
= 0 ;
29316 char * kwnames
[] = {
29317 (char *) "self",(char *) "n", NULL
29320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
29322 if (!SWIG_IsOK(res1
)) {
29323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___imul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29325 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29326 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29327 if (!SWIG_IsOK(ecode2
)) {
29328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___imul__" "', expected argument " "2"" of type '" "int""'");
29330 arg2
= static_cast< int >(val2
);
29332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29334 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
29335 result
= (wxTimeSpan
*) &_result_ref
;
29337 wxPyEndAllowThreads(__tstate
);
29338 if (PyErr_Occurred()) SWIG_fail
;
29340 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29347 SWIGINTERN PyObject
*_wrap_TimeSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29348 PyObject
*resultobj
= 0;
29349 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29350 wxTimeSpan
*result
= 0 ;
29353 PyObject
*swig_obj
[1] ;
29355 if (!args
) SWIG_fail
;
29356 swig_obj
[0] = args
;
29357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29358 if (!SWIG_IsOK(res1
)) {
29359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___neg__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29361 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29365 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
29366 result
= (wxTimeSpan
*) &_result_ref
;
29368 wxPyEndAllowThreads(__tstate
);
29369 if (PyErr_Occurred()) SWIG_fail
;
29371 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29378 SWIGINTERN PyObject
*_wrap_TimeSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29379 PyObject
*resultobj
= 0;
29380 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29381 wxTimeSpan
*arg2
= 0 ;
29387 PyObject
* obj0
= 0 ;
29388 PyObject
* obj1
= 0 ;
29389 char * kwnames
[] = {
29390 (char *) "self",(char *) "other", NULL
29393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29395 if (!SWIG_IsOK(res1
)) {
29396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___add__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29398 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29399 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29400 if (!SWIG_IsOK(res2
)) {
29401 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29404 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29406 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29409 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
29410 wxPyEndAllowThreads(__tstate
);
29411 if (PyErr_Occurred()) SWIG_fail
;
29413 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29420 SWIGINTERN PyObject
*_wrap_TimeSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29421 PyObject
*resultobj
= 0;
29422 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29423 wxTimeSpan
*arg2
= 0 ;
29429 PyObject
* obj0
= 0 ;
29430 PyObject
* obj1
= 0 ;
29431 char * kwnames
[] = {
29432 (char *) "self",(char *) "other", NULL
29435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29437 if (!SWIG_IsOK(res1
)) {
29438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___sub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29440 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29441 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29442 if (!SWIG_IsOK(res2
)) {
29443 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29446 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29448 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29451 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
29452 wxPyEndAllowThreads(__tstate
);
29453 if (PyErr_Occurred()) SWIG_fail
;
29455 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29462 SWIGINTERN PyObject
*_wrap_TimeSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29463 PyObject
*resultobj
= 0;
29464 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29471 PyObject
* obj0
= 0 ;
29472 PyObject
* obj1
= 0 ;
29473 char * kwnames
[] = {
29474 (char *) "self",(char *) "n", NULL
29477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29479 if (!SWIG_IsOK(res1
)) {
29480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___mul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29482 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29483 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29484 if (!SWIG_IsOK(ecode2
)) {
29485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___mul__" "', expected argument " "2"" of type '" "int""'");
29487 arg2
= static_cast< int >(val2
);
29489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29490 result
= wxTimeSpan___mul__(arg1
,arg2
);
29491 wxPyEndAllowThreads(__tstate
);
29492 if (PyErr_Occurred()) SWIG_fail
;
29494 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29501 SWIGINTERN PyObject
*_wrap_TimeSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29502 PyObject
*resultobj
= 0;
29503 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29510 PyObject
* obj0
= 0 ;
29511 PyObject
* obj1
= 0 ;
29512 char * kwnames
[] = {
29513 (char *) "self",(char *) "n", NULL
29516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29518 if (!SWIG_IsOK(res1
)) {
29519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___rmul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29521 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29522 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29523 if (!SWIG_IsOK(ecode2
)) {
29524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
29526 arg2
= static_cast< int >(val2
);
29528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29529 result
= wxTimeSpan___rmul__(arg1
,arg2
);
29530 wxPyEndAllowThreads(__tstate
);
29531 if (PyErr_Occurred()) SWIG_fail
;
29533 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29540 SWIGINTERN PyObject
*_wrap_TimeSpan___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29541 PyObject
*resultobj
= 0;
29542 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29543 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29549 PyObject
* obj0
= 0 ;
29550 PyObject
* obj1
= 0 ;
29551 char * kwnames
[] = {
29552 (char *) "self",(char *) "other", NULL
29555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29557 if (!SWIG_IsOK(res1
)) {
29558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___lt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29560 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29561 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29562 if (!SWIG_IsOK(res2
)) {
29563 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___lt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29565 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29568 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
29569 wxPyEndAllowThreads(__tstate
);
29570 if (PyErr_Occurred()) SWIG_fail
;
29573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29581 SWIGINTERN PyObject
*_wrap_TimeSpan___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29582 PyObject
*resultobj
= 0;
29583 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29584 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29590 PyObject
* obj0
= 0 ;
29591 PyObject
* obj1
= 0 ;
29592 char * kwnames
[] = {
29593 (char *) "self",(char *) "other", NULL
29596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29598 if (!SWIG_IsOK(res1
)) {
29599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___le__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29601 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29602 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29603 if (!SWIG_IsOK(res2
)) {
29604 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___le__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29606 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29609 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
29610 wxPyEndAllowThreads(__tstate
);
29611 if (PyErr_Occurred()) SWIG_fail
;
29614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29622 SWIGINTERN PyObject
*_wrap_TimeSpan___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29623 PyObject
*resultobj
= 0;
29624 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29625 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29631 PyObject
* obj0
= 0 ;
29632 PyObject
* obj1
= 0 ;
29633 char * kwnames
[] = {
29634 (char *) "self",(char *) "other", NULL
29637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29639 if (!SWIG_IsOK(res1
)) {
29640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___gt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29642 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29643 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29644 if (!SWIG_IsOK(res2
)) {
29645 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___gt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29647 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29650 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
29651 wxPyEndAllowThreads(__tstate
);
29652 if (PyErr_Occurred()) SWIG_fail
;
29655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29663 SWIGINTERN PyObject
*_wrap_TimeSpan___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29664 PyObject
*resultobj
= 0;
29665 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29666 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29672 PyObject
* obj0
= 0 ;
29673 PyObject
* obj1
= 0 ;
29674 char * kwnames
[] = {
29675 (char *) "self",(char *) "other", NULL
29678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29680 if (!SWIG_IsOK(res1
)) {
29681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ge__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29683 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29684 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29685 if (!SWIG_IsOK(res2
)) {
29686 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ge__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29688 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29691 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
29692 wxPyEndAllowThreads(__tstate
);
29693 if (PyErr_Occurred()) SWIG_fail
;
29696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29704 SWIGINTERN PyObject
*_wrap_TimeSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29705 PyObject
*resultobj
= 0;
29706 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29707 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29713 PyObject
* obj0
= 0 ;
29714 PyObject
* obj1
= 0 ;
29715 char * kwnames
[] = {
29716 (char *) "self",(char *) "other", NULL
29719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29721 if (!SWIG_IsOK(res1
)) {
29722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___eq__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29724 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29725 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29726 if (!SWIG_IsOK(res2
)) {
29727 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___eq__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29729 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29732 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
29733 wxPyEndAllowThreads(__tstate
);
29734 if (PyErr_Occurred()) SWIG_fail
;
29737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29745 SWIGINTERN PyObject
*_wrap_TimeSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29746 PyObject
*resultobj
= 0;
29747 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29748 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29754 PyObject
* obj0
= 0 ;
29755 PyObject
* obj1
= 0 ;
29756 char * kwnames
[] = {
29757 (char *) "self",(char *) "other", NULL
29760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29762 if (!SWIG_IsOK(res1
)) {
29763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ne__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29765 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29766 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29767 if (!SWIG_IsOK(res2
)) {
29768 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ne__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29770 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29773 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
29774 wxPyEndAllowThreads(__tstate
);
29775 if (PyErr_Occurred()) SWIG_fail
;
29778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29786 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29787 PyObject
*resultobj
= 0;
29788 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29792 PyObject
*swig_obj
[1] ;
29794 if (!args
) SWIG_fail
;
29795 swig_obj
[0] = args
;
29796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29797 if (!SWIG_IsOK(res1
)) {
29798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNull" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29800 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29803 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
29804 wxPyEndAllowThreads(__tstate
);
29805 if (PyErr_Occurred()) SWIG_fail
;
29808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29816 SWIGINTERN PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29817 PyObject
*resultobj
= 0;
29818 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29822 PyObject
*swig_obj
[1] ;
29824 if (!args
) SWIG_fail
;
29825 swig_obj
[0] = args
;
29826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29827 if (!SWIG_IsOK(res1
)) {
29828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsPositive" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29830 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29833 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
29834 wxPyEndAllowThreads(__tstate
);
29835 if (PyErr_Occurred()) SWIG_fail
;
29838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29846 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29847 PyObject
*resultobj
= 0;
29848 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29852 PyObject
*swig_obj
[1] ;
29854 if (!args
) SWIG_fail
;
29855 swig_obj
[0] = args
;
29856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29857 if (!SWIG_IsOK(res1
)) {
29858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNegative" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29860 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29863 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
29864 wxPyEndAllowThreads(__tstate
);
29865 if (PyErr_Occurred()) SWIG_fail
;
29868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29876 SWIGINTERN PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29877 PyObject
*resultobj
= 0;
29878 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29879 wxTimeSpan
*arg2
= 0 ;
29885 PyObject
* obj0
= 0 ;
29886 PyObject
* obj1
= 0 ;
29887 char * kwnames
[] = {
29888 (char *) "self",(char *) "ts", NULL
29891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29893 if (!SWIG_IsOK(res1
)) {
29894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29896 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29897 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29898 if (!SWIG_IsOK(res2
)) {
29899 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29902 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29904 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29907 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
29908 wxPyEndAllowThreads(__tstate
);
29909 if (PyErr_Occurred()) SWIG_fail
;
29912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29920 SWIGINTERN PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29921 PyObject
*resultobj
= 0;
29922 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29923 wxTimeSpan
*arg2
= 0 ;
29929 PyObject
* obj0
= 0 ;
29930 PyObject
* obj1
= 0 ;
29931 char * kwnames
[] = {
29932 (char *) "self",(char *) "ts", NULL
29935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29937 if (!SWIG_IsOK(res1
)) {
29938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29940 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29941 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29942 if (!SWIG_IsOK(res2
)) {
29943 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29946 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29948 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29951 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
29952 wxPyEndAllowThreads(__tstate
);
29953 if (PyErr_Occurred()) SWIG_fail
;
29956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29964 SWIGINTERN PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29965 PyObject
*resultobj
= 0;
29966 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29967 wxTimeSpan
*arg2
= 0 ;
29973 PyObject
* obj0
= 0 ;
29974 PyObject
* obj1
= 0 ;
29975 char * kwnames
[] = {
29976 (char *) "self",(char *) "t", NULL
29979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29981 if (!SWIG_IsOK(res1
)) {
29982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29984 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29985 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29986 if (!SWIG_IsOK(res2
)) {
29987 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29990 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29992 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29995 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
29996 wxPyEndAllowThreads(__tstate
);
29997 if (PyErr_Occurred()) SWIG_fail
;
30000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30008 SWIGINTERN PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30009 PyObject
*resultobj
= 0;
30010 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30014 PyObject
*swig_obj
[1] ;
30016 if (!args
) SWIG_fail
;
30017 swig_obj
[0] = args
;
30018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30019 if (!SWIG_IsOK(res1
)) {
30020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetWeeks" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30022 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30025 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
30026 wxPyEndAllowThreads(__tstate
);
30027 if (PyErr_Occurred()) SWIG_fail
;
30029 resultobj
= SWIG_From_int(static_cast< int >(result
));
30036 SWIGINTERN PyObject
*_wrap_TimeSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30037 PyObject
*resultobj
= 0;
30038 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30042 PyObject
*swig_obj
[1] ;
30044 if (!args
) SWIG_fail
;
30045 swig_obj
[0] = args
;
30046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30047 if (!SWIG_IsOK(res1
)) {
30048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetDays" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30050 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30053 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
30054 wxPyEndAllowThreads(__tstate
);
30055 if (PyErr_Occurred()) SWIG_fail
;
30057 resultobj
= SWIG_From_int(static_cast< int >(result
));
30064 SWIGINTERN PyObject
*_wrap_TimeSpan_GetHours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30065 PyObject
*resultobj
= 0;
30066 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30070 PyObject
*swig_obj
[1] ;
30072 if (!args
) SWIG_fail
;
30073 swig_obj
[0] = args
;
30074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30075 if (!SWIG_IsOK(res1
)) {
30076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetHours" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30078 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30081 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
30082 wxPyEndAllowThreads(__tstate
);
30083 if (PyErr_Occurred()) SWIG_fail
;
30085 resultobj
= SWIG_From_int(static_cast< int >(result
));
30092 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30093 PyObject
*resultobj
= 0;
30094 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30098 PyObject
*swig_obj
[1] ;
30100 if (!args
) SWIG_fail
;
30101 swig_obj
[0] = args
;
30102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30103 if (!SWIG_IsOK(res1
)) {
30104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMinutes" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30106 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30109 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
30110 wxPyEndAllowThreads(__tstate
);
30111 if (PyErr_Occurred()) SWIG_fail
;
30113 resultobj
= SWIG_From_int(static_cast< int >(result
));
30120 SWIGINTERN PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30121 PyObject
*resultobj
= 0;
30122 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30126 PyObject
*swig_obj
[1] ;
30128 if (!args
) SWIG_fail
;
30129 swig_obj
[0] = args
;
30130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30131 if (!SWIG_IsOK(res1
)) {
30132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetSeconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30134 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30137 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
30138 wxPyEndAllowThreads(__tstate
);
30139 if (PyErr_Occurred()) SWIG_fail
;
30142 PyObject
*hi
, *lo
, *shifter
, *shifted
;
30143 hi
= PyLong_FromLong( (&result
)->GetHi() );
30144 lo
= PyLong_FromLong( (&result
)->GetLo() );
30145 shifter
= PyLong_FromLong(32);
30146 shifted
= PyNumber_Lshift(hi
, shifter
);
30147 resultobj
= PyNumber_Or(shifted
, lo
);
30150 Py_DECREF(shifter
);
30151 Py_DECREF(shifted
);
30159 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30160 PyObject
*resultobj
= 0;
30161 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30165 PyObject
*swig_obj
[1] ;
30167 if (!args
) SWIG_fail
;
30168 swig_obj
[0] = args
;
30169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30170 if (!SWIG_IsOK(res1
)) {
30171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMilliseconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30173 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30176 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
30177 wxPyEndAllowThreads(__tstate
);
30178 if (PyErr_Occurred()) SWIG_fail
;
30181 PyObject
*hi
, *lo
, *shifter
, *shifted
;
30182 hi
= PyLong_FromLong( (&result
)->GetHi() );
30183 lo
= PyLong_FromLong( (&result
)->GetLo() );
30184 shifter
= PyLong_FromLong(32);
30185 shifted
= PyNumber_Lshift(hi
, shifter
);
30186 resultobj
= PyNumber_Or(shifted
, lo
);
30189 Py_DECREF(shifter
);
30190 Py_DECREF(shifted
);
30198 SWIGINTERN PyObject
*_wrap_TimeSpan_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30199 PyObject
*resultobj
= 0;
30200 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30201 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
30202 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
30206 bool temp2
= false ;
30207 PyObject
* obj0
= 0 ;
30208 PyObject
* obj1
= 0 ;
30209 char * kwnames
[] = {
30210 (char *) "self",(char *) "format", NULL
30213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30215 if (!SWIG_IsOK(res1
)) {
30216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Format" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30218 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30221 arg2
= wxString_in_helper(obj1
);
30222 if (arg2
== NULL
) SWIG_fail
;
30227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30228 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
30229 wxPyEndAllowThreads(__tstate
);
30230 if (PyErr_Occurred()) SWIG_fail
;
30234 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30236 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30253 SWIGINTERN PyObject
*TimeSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30255 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30256 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimeSpan
, SWIG_NewClientData(obj
));
30257 return SWIG_Py_Void();
30260 SWIGINTERN PyObject
*TimeSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30261 return SWIG_Python_InitShadowInstance(args
);
30264 SWIGINTERN PyObject
*_wrap_new_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30265 PyObject
*resultobj
= 0;
30266 int arg1
= (int) 0 ;
30267 int arg2
= (int) 0 ;
30268 int arg3
= (int) 0 ;
30269 int arg4
= (int) 0 ;
30270 wxDateSpan
*result
= 0 ;
30279 PyObject
* obj0
= 0 ;
30280 PyObject
* obj1
= 0 ;
30281 PyObject
* obj2
= 0 ;
30282 PyObject
* obj3
= 0 ;
30283 char * kwnames
[] = {
30284 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
30287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30289 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30290 if (!SWIG_IsOK(ecode1
)) {
30291 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateSpan" "', expected argument " "1"" of type '" "int""'");
30293 arg1
= static_cast< int >(val1
);
30296 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30297 if (!SWIG_IsOK(ecode2
)) {
30298 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateSpan" "', expected argument " "2"" of type '" "int""'");
30300 arg2
= static_cast< int >(val2
);
30303 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30304 if (!SWIG_IsOK(ecode3
)) {
30305 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateSpan" "', expected argument " "3"" of type '" "int""'");
30307 arg3
= static_cast< int >(val3
);
30310 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30311 if (!SWIG_IsOK(ecode4
)) {
30312 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateSpan" "', expected argument " "4"" of type '" "int""'");
30314 arg4
= static_cast< int >(val4
);
30317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30318 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
30319 wxPyEndAllowThreads(__tstate
);
30320 if (PyErr_Occurred()) SWIG_fail
;
30322 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_NEW
| 0 );
30329 SWIGINTERN PyObject
*_wrap_delete_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30330 PyObject
*resultobj
= 0;
30331 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30334 PyObject
*swig_obj
[1] ;
30336 if (!args
) SWIG_fail
;
30337 swig_obj
[0] = args
;
30338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
30339 if (!SWIG_IsOK(res1
)) {
30340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateSpan" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30342 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30347 wxPyEndAllowThreads(__tstate
);
30348 if (PyErr_Occurred()) SWIG_fail
;
30350 resultobj
= SWIG_Py_Void();
30357 SWIGINTERN PyObject
*_wrap_DateSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30358 PyObject
*resultobj
= 0;
30363 PyObject
* obj0
= 0 ;
30364 char * kwnames
[] = {
30365 (char *) "days", NULL
30368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
30369 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30370 if (!SWIG_IsOK(ecode1
)) {
30371 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Days" "', expected argument " "1"" of type '" "int""'");
30373 arg1
= static_cast< int >(val1
);
30375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30376 result
= wxDateSpan::Days(arg1
);
30377 wxPyEndAllowThreads(__tstate
);
30378 if (PyErr_Occurred()) SWIG_fail
;
30380 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30387 SWIGINTERN PyObject
*_wrap_DateSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30388 PyObject
*resultobj
= 0;
30391 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Day",0,0,0)) SWIG_fail
;
30393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30394 result
= wxDateSpan::Day();
30395 wxPyEndAllowThreads(__tstate
);
30396 if (PyErr_Occurred()) SWIG_fail
;
30398 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30405 SWIGINTERN PyObject
*_wrap_DateSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30406 PyObject
*resultobj
= 0;
30411 PyObject
* obj0
= 0 ;
30412 char * kwnames
[] = {
30413 (char *) "weeks", NULL
30416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
30417 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30418 if (!SWIG_IsOK(ecode1
)) {
30419 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Weeks" "', expected argument " "1"" of type '" "int""'");
30421 arg1
= static_cast< int >(val1
);
30423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30424 result
= wxDateSpan::Weeks(arg1
);
30425 wxPyEndAllowThreads(__tstate
);
30426 if (PyErr_Occurred()) SWIG_fail
;
30428 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30435 SWIGINTERN PyObject
*_wrap_DateSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30436 PyObject
*resultobj
= 0;
30439 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Week",0,0,0)) SWIG_fail
;
30441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30442 result
= wxDateSpan::Week();
30443 wxPyEndAllowThreads(__tstate
);
30444 if (PyErr_Occurred()) SWIG_fail
;
30446 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30453 SWIGINTERN PyObject
*_wrap_DateSpan_Months(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30454 PyObject
*resultobj
= 0;
30459 PyObject
* obj0
= 0 ;
30460 char * kwnames
[] = {
30461 (char *) "mon", NULL
30464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) SWIG_fail
;
30465 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30466 if (!SWIG_IsOK(ecode1
)) {
30467 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Months" "', expected argument " "1"" of type '" "int""'");
30469 arg1
= static_cast< int >(val1
);
30471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30472 result
= wxDateSpan::Months(arg1
);
30473 wxPyEndAllowThreads(__tstate
);
30474 if (PyErr_Occurred()) SWIG_fail
;
30476 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30483 SWIGINTERN PyObject
*_wrap_DateSpan_Month(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30484 PyObject
*resultobj
= 0;
30487 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Month",0,0,0)) SWIG_fail
;
30489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30490 result
= wxDateSpan::Month();
30491 wxPyEndAllowThreads(__tstate
);
30492 if (PyErr_Occurred()) SWIG_fail
;
30494 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30501 SWIGINTERN PyObject
*_wrap_DateSpan_Years(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30502 PyObject
*resultobj
= 0;
30507 PyObject
* obj0
= 0 ;
30508 char * kwnames
[] = {
30509 (char *) "years", NULL
30512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) SWIG_fail
;
30513 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30514 if (!SWIG_IsOK(ecode1
)) {
30515 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Years" "', expected argument " "1"" of type '" "int""'");
30517 arg1
= static_cast< int >(val1
);
30519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30520 result
= wxDateSpan::Years(arg1
);
30521 wxPyEndAllowThreads(__tstate
);
30522 if (PyErr_Occurred()) SWIG_fail
;
30524 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30531 SWIGINTERN PyObject
*_wrap_DateSpan_Year(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30532 PyObject
*resultobj
= 0;
30535 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Year",0,0,0)) SWIG_fail
;
30537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30538 result
= wxDateSpan::Year();
30539 wxPyEndAllowThreads(__tstate
);
30540 if (PyErr_Occurred()) SWIG_fail
;
30542 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30549 SWIGINTERN PyObject
*_wrap_DateSpan_SetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30550 PyObject
*resultobj
= 0;
30551 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30553 wxDateSpan
*result
= 0 ;
30558 PyObject
* obj0
= 0 ;
30559 PyObject
* obj1
= 0 ;
30560 char * kwnames
[] = {
30561 (char *) "self",(char *) "n", NULL
30564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30566 if (!SWIG_IsOK(res1
)) {
30567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetYears" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30569 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30570 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30571 if (!SWIG_IsOK(ecode2
)) {
30572 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetYears" "', expected argument " "2"" of type '" "int""'");
30574 arg2
= static_cast< int >(val2
);
30576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30578 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
30579 result
= (wxDateSpan
*) &_result_ref
;
30581 wxPyEndAllowThreads(__tstate
);
30582 if (PyErr_Occurred()) SWIG_fail
;
30584 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30591 SWIGINTERN PyObject
*_wrap_DateSpan_SetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30592 PyObject
*resultobj
= 0;
30593 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30595 wxDateSpan
*result
= 0 ;
30600 PyObject
* obj0
= 0 ;
30601 PyObject
* obj1
= 0 ;
30602 char * kwnames
[] = {
30603 (char *) "self",(char *) "n", NULL
30606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30608 if (!SWIG_IsOK(res1
)) {
30609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetMonths" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30611 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30612 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30613 if (!SWIG_IsOK(ecode2
)) {
30614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetMonths" "', expected argument " "2"" of type '" "int""'");
30616 arg2
= static_cast< int >(val2
);
30618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30620 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
30621 result
= (wxDateSpan
*) &_result_ref
;
30623 wxPyEndAllowThreads(__tstate
);
30624 if (PyErr_Occurred()) SWIG_fail
;
30626 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30633 SWIGINTERN PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30634 PyObject
*resultobj
= 0;
30635 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30637 wxDateSpan
*result
= 0 ;
30642 PyObject
* obj0
= 0 ;
30643 PyObject
* obj1
= 0 ;
30644 char * kwnames
[] = {
30645 (char *) "self",(char *) "n", NULL
30648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30650 if (!SWIG_IsOK(res1
)) {
30651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetWeeks" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30653 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30654 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30655 if (!SWIG_IsOK(ecode2
)) {
30656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetWeeks" "', expected argument " "2"" of type '" "int""'");
30658 arg2
= static_cast< int >(val2
);
30660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30662 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
30663 result
= (wxDateSpan
*) &_result_ref
;
30665 wxPyEndAllowThreads(__tstate
);
30666 if (PyErr_Occurred()) SWIG_fail
;
30668 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30675 SWIGINTERN PyObject
*_wrap_DateSpan_SetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30676 PyObject
*resultobj
= 0;
30677 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30679 wxDateSpan
*result
= 0 ;
30684 PyObject
* obj0
= 0 ;
30685 PyObject
* obj1
= 0 ;
30686 char * kwnames
[] = {
30687 (char *) "self",(char *) "n", NULL
30690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30692 if (!SWIG_IsOK(res1
)) {
30693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetDays" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30695 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30696 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30697 if (!SWIG_IsOK(ecode2
)) {
30698 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetDays" "', expected argument " "2"" of type '" "int""'");
30700 arg2
= static_cast< int >(val2
);
30702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30704 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
30705 result
= (wxDateSpan
*) &_result_ref
;
30707 wxPyEndAllowThreads(__tstate
);
30708 if (PyErr_Occurred()) SWIG_fail
;
30710 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30717 SWIGINTERN PyObject
*_wrap_DateSpan_GetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30718 PyObject
*resultobj
= 0;
30719 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30723 PyObject
*swig_obj
[1] ;
30725 if (!args
) SWIG_fail
;
30726 swig_obj
[0] = args
;
30727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30728 if (!SWIG_IsOK(res1
)) {
30729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetYears" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30731 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30734 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
30735 wxPyEndAllowThreads(__tstate
);
30736 if (PyErr_Occurred()) SWIG_fail
;
30738 resultobj
= SWIG_From_int(static_cast< int >(result
));
30745 SWIGINTERN PyObject
*_wrap_DateSpan_GetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30746 PyObject
*resultobj
= 0;
30747 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30751 PyObject
*swig_obj
[1] ;
30753 if (!args
) SWIG_fail
;
30754 swig_obj
[0] = args
;
30755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30756 if (!SWIG_IsOK(res1
)) {
30757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetMonths" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30759 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30762 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
30763 wxPyEndAllowThreads(__tstate
);
30764 if (PyErr_Occurred()) SWIG_fail
;
30766 resultobj
= SWIG_From_int(static_cast< int >(result
));
30773 SWIGINTERN PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30774 PyObject
*resultobj
= 0;
30775 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30779 PyObject
*swig_obj
[1] ;
30781 if (!args
) SWIG_fail
;
30782 swig_obj
[0] = args
;
30783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30784 if (!SWIG_IsOK(res1
)) {
30785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetWeeks" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30787 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30790 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
30791 wxPyEndAllowThreads(__tstate
);
30792 if (PyErr_Occurred()) SWIG_fail
;
30794 resultobj
= SWIG_From_int(static_cast< int >(result
));
30801 SWIGINTERN PyObject
*_wrap_DateSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30802 PyObject
*resultobj
= 0;
30803 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30807 PyObject
*swig_obj
[1] ;
30809 if (!args
) SWIG_fail
;
30810 swig_obj
[0] = args
;
30811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30812 if (!SWIG_IsOK(res1
)) {
30813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30815 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30818 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
30819 wxPyEndAllowThreads(__tstate
);
30820 if (PyErr_Occurred()) SWIG_fail
;
30822 resultobj
= SWIG_From_int(static_cast< int >(result
));
30829 SWIGINTERN PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30830 PyObject
*resultobj
= 0;
30831 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30835 PyObject
*swig_obj
[1] ;
30837 if (!args
) SWIG_fail
;
30838 swig_obj
[0] = args
;
30839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30840 if (!SWIG_IsOK(res1
)) {
30841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetTotalDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30843 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30846 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
30847 wxPyEndAllowThreads(__tstate
);
30848 if (PyErr_Occurred()) SWIG_fail
;
30850 resultobj
= SWIG_From_int(static_cast< int >(result
));
30857 SWIGINTERN PyObject
*_wrap_DateSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30858 PyObject
*resultobj
= 0;
30859 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30860 wxDateSpan
*arg2
= 0 ;
30861 wxDateSpan
*result
= 0 ;
30866 PyObject
* obj0
= 0 ;
30867 PyObject
* obj1
= 0 ;
30868 char * kwnames
[] = {
30869 (char *) "self",(char *) "other", NULL
30872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30874 if (!SWIG_IsOK(res1
)) {
30875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Add" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30877 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30878 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30879 if (!SWIG_IsOK(res2
)) {
30880 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30883 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30885 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30889 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
30890 result
= (wxDateSpan
*) &_result_ref
;
30892 wxPyEndAllowThreads(__tstate
);
30893 if (PyErr_Occurred()) SWIG_fail
;
30895 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30902 SWIGINTERN PyObject
*_wrap_DateSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30903 PyObject
*resultobj
= 0;
30904 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30905 wxDateSpan
*arg2
= 0 ;
30906 wxDateSpan
*result
= 0 ;
30911 PyObject
* obj0
= 0 ;
30912 PyObject
* obj1
= 0 ;
30913 char * kwnames
[] = {
30914 (char *) "self",(char *) "other", NULL
30917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30919 if (!SWIG_IsOK(res1
)) {
30920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Subtract" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30922 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30923 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30924 if (!SWIG_IsOK(res2
)) {
30925 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30928 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30930 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30934 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
30935 result
= (wxDateSpan
*) &_result_ref
;
30937 wxPyEndAllowThreads(__tstate
);
30938 if (PyErr_Occurred()) SWIG_fail
;
30940 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30947 SWIGINTERN PyObject
*_wrap_DateSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30948 PyObject
*resultobj
= 0;
30949 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30950 wxDateSpan
*result
= 0 ;
30953 PyObject
*swig_obj
[1] ;
30955 if (!args
) SWIG_fail
;
30956 swig_obj
[0] = args
;
30957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30958 if (!SWIG_IsOK(res1
)) {
30959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Neg" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30961 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30965 wxDateSpan
&_result_ref
= (arg1
)->Neg();
30966 result
= (wxDateSpan
*) &_result_ref
;
30968 wxPyEndAllowThreads(__tstate
);
30969 if (PyErr_Occurred()) SWIG_fail
;
30971 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30978 SWIGINTERN PyObject
*_wrap_DateSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30979 PyObject
*resultobj
= 0;
30980 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30982 wxDateSpan
*result
= 0 ;
30987 PyObject
* obj0
= 0 ;
30988 PyObject
* obj1
= 0 ;
30989 char * kwnames
[] = {
30990 (char *) "self",(char *) "factor", NULL
30993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30995 if (!SWIG_IsOK(res1
)) {
30996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Multiply" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30998 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30999 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31000 if (!SWIG_IsOK(ecode2
)) {
31001 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
31003 arg2
= static_cast< int >(val2
);
31005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31007 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
31008 result
= (wxDateSpan
*) &_result_ref
;
31010 wxPyEndAllowThreads(__tstate
);
31011 if (PyErr_Occurred()) SWIG_fail
;
31013 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31020 SWIGINTERN PyObject
*_wrap_DateSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31021 PyObject
*resultobj
= 0;
31022 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31023 wxDateSpan
*arg2
= 0 ;
31024 wxDateSpan
*result
= 0 ;
31029 PyObject
* obj0
= 0 ;
31030 PyObject
* obj1
= 0 ;
31031 char * kwnames
[] = {
31032 (char *) "self",(char *) "other", NULL
31035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
31037 if (!SWIG_IsOK(res1
)) {
31038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___iadd__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31040 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31041 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
31042 if (!SWIG_IsOK(res2
)) {
31043 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31046 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31048 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31052 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
31053 result
= (wxDateSpan
*) &_result_ref
;
31055 wxPyEndAllowThreads(__tstate
);
31056 if (PyErr_Occurred()) SWIG_fail
;
31058 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31065 SWIGINTERN PyObject
*_wrap_DateSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31066 PyObject
*resultobj
= 0;
31067 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31068 wxDateSpan
*arg2
= 0 ;
31069 wxDateSpan
*result
= 0 ;
31074 PyObject
* obj0
= 0 ;
31075 PyObject
* obj1
= 0 ;
31076 char * kwnames
[] = {
31077 (char *) "self",(char *) "other", NULL
31080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
31082 if (!SWIG_IsOK(res1
)) {
31083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___isub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31085 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31086 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
31087 if (!SWIG_IsOK(res2
)) {
31088 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31091 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31093 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31097 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
31098 result
= (wxDateSpan
*) &_result_ref
;
31100 wxPyEndAllowThreads(__tstate
);
31101 if (PyErr_Occurred()) SWIG_fail
;
31103 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31110 SWIGINTERN PyObject
*_wrap_DateSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31111 PyObject
*resultobj
= 0;
31112 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31113 wxDateSpan
*result
= 0 ;
31116 PyObject
*swig_obj
[1] ;
31118 if (!args
) SWIG_fail
;
31119 swig_obj
[0] = args
;
31120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31121 if (!SWIG_IsOK(res1
)) {
31122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___neg__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31124 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31128 wxDateSpan
&_result_ref
= (arg1
)->operator -();
31129 result
= (wxDateSpan
*) &_result_ref
;
31131 wxPyEndAllowThreads(__tstate
);
31132 if (PyErr_Occurred()) SWIG_fail
;
31134 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31141 SWIGINTERN PyObject
*_wrap_DateSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31142 PyObject
*resultobj
= 0;
31143 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31145 wxDateSpan
*result
= 0 ;
31150 PyObject
* obj0
= 0 ;
31151 PyObject
* obj1
= 0 ;
31152 char * kwnames
[] = {
31153 (char *) "self",(char *) "factor", NULL
31156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
31158 if (!SWIG_IsOK(res1
)) {
31159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___imul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31161 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31162 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31163 if (!SWIG_IsOK(ecode2
)) {
31164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___imul__" "', expected argument " "2"" of type '" "int""'");
31166 arg2
= static_cast< int >(val2
);
31168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31170 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
31171 result
= (wxDateSpan
*) &_result_ref
;
31173 wxPyEndAllowThreads(__tstate
);
31174 if (PyErr_Occurred()) SWIG_fail
;
31176 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31183 SWIGINTERN PyObject
*_wrap_DateSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31184 PyObject
*resultobj
= 0;
31185 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31186 wxDateSpan
*arg2
= 0 ;
31192 PyObject
* obj0
= 0 ;
31193 PyObject
* obj1
= 0 ;
31194 char * kwnames
[] = {
31195 (char *) "self",(char *) "other", NULL
31198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31200 if (!SWIG_IsOK(res1
)) {
31201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___add__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31203 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31204 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
31205 if (!SWIG_IsOK(res2
)) {
31206 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31209 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31211 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31214 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
31215 wxPyEndAllowThreads(__tstate
);
31216 if (PyErr_Occurred()) SWIG_fail
;
31218 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31225 SWIGINTERN PyObject
*_wrap_DateSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31226 PyObject
*resultobj
= 0;
31227 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31228 wxDateSpan
*arg2
= 0 ;
31234 PyObject
* obj0
= 0 ;
31235 PyObject
* obj1
= 0 ;
31236 char * kwnames
[] = {
31237 (char *) "self",(char *) "other", NULL
31240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31242 if (!SWIG_IsOK(res1
)) {
31243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___sub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31245 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31246 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
31247 if (!SWIG_IsOK(res2
)) {
31248 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31251 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31253 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31256 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
31257 wxPyEndAllowThreads(__tstate
);
31258 if (PyErr_Occurred()) SWIG_fail
;
31260 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31267 SWIGINTERN PyObject
*_wrap_DateSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31268 PyObject
*resultobj
= 0;
31269 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31276 PyObject
* obj0
= 0 ;
31277 PyObject
* obj1
= 0 ;
31278 char * kwnames
[] = {
31279 (char *) "self",(char *) "n", NULL
31282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31284 if (!SWIG_IsOK(res1
)) {
31285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___mul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31287 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31288 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31289 if (!SWIG_IsOK(ecode2
)) {
31290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___mul__" "', expected argument " "2"" of type '" "int""'");
31292 arg2
= static_cast< int >(val2
);
31294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31295 result
= wxDateSpan___mul__(arg1
,arg2
);
31296 wxPyEndAllowThreads(__tstate
);
31297 if (PyErr_Occurred()) SWIG_fail
;
31299 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31306 SWIGINTERN PyObject
*_wrap_DateSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31307 PyObject
*resultobj
= 0;
31308 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31315 PyObject
* obj0
= 0 ;
31316 PyObject
* obj1
= 0 ;
31317 char * kwnames
[] = {
31318 (char *) "self",(char *) "n", NULL
31321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31323 if (!SWIG_IsOK(res1
)) {
31324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___rmul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31326 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31327 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31328 if (!SWIG_IsOK(ecode2
)) {
31329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
31331 arg2
= static_cast< int >(val2
);
31333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31334 result
= wxDateSpan___rmul__(arg1
,arg2
);
31335 wxPyEndAllowThreads(__tstate
);
31336 if (PyErr_Occurred()) SWIG_fail
;
31338 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31345 SWIGINTERN PyObject
*_wrap_DateSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31346 PyObject
*resultobj
= 0;
31347 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31348 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
31354 PyObject
* obj0
= 0 ;
31355 PyObject
* obj1
= 0 ;
31356 char * kwnames
[] = {
31357 (char *) "self",(char *) "other", NULL
31360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31362 if (!SWIG_IsOK(res1
)) {
31363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___eq__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31365 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31366 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31367 if (!SWIG_IsOK(res2
)) {
31368 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___eq__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
31370 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31373 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
31374 wxPyEndAllowThreads(__tstate
);
31375 if (PyErr_Occurred()) SWIG_fail
;
31378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31386 SWIGINTERN PyObject
*_wrap_DateSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31387 PyObject
*resultobj
= 0;
31388 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31389 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
31395 PyObject
* obj0
= 0 ;
31396 PyObject
* obj1
= 0 ;
31397 char * kwnames
[] = {
31398 (char *) "self",(char *) "other", NULL
31401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31403 if (!SWIG_IsOK(res1
)) {
31404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___ne__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31406 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31407 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31408 if (!SWIG_IsOK(res2
)) {
31409 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___ne__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
31411 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31414 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
31415 wxPyEndAllowThreads(__tstate
);
31416 if (PyErr_Occurred()) SWIG_fail
;
31419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31427 SWIGINTERN PyObject
*DateSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31429 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31430 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateSpan
, SWIG_NewClientData(obj
));
31431 return SWIG_Py_Void();
31434 SWIGINTERN PyObject
*DateSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31435 return SWIG_Python_InitShadowInstance(args
);
31438 SWIGINTERN PyObject
*_wrap_GetLocalTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31439 PyObject
*resultobj
= 0;
31442 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTime",0,0,0)) SWIG_fail
;
31444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31445 result
= (long)wxGetLocalTime();
31446 wxPyEndAllowThreads(__tstate
);
31447 if (PyErr_Occurred()) SWIG_fail
;
31449 resultobj
= SWIG_From_long(static_cast< long >(result
));
31456 SWIGINTERN PyObject
*_wrap_GetUTCTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31457 PyObject
*resultobj
= 0;
31460 if (!SWIG_Python_UnpackTuple(args
,"GetUTCTime",0,0,0)) SWIG_fail
;
31462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31463 result
= (long)wxGetUTCTime();
31464 wxPyEndAllowThreads(__tstate
);
31465 if (PyErr_Occurred()) SWIG_fail
;
31467 resultobj
= SWIG_From_long(static_cast< long >(result
));
31474 SWIGINTERN PyObject
*_wrap_GetCurrentTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31475 PyObject
*resultobj
= 0;
31478 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentTime",0,0,0)) SWIG_fail
;
31480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31481 result
= (long)wxGetCurrentTime();
31482 wxPyEndAllowThreads(__tstate
);
31483 if (PyErr_Occurred()) SWIG_fail
;
31485 resultobj
= SWIG_From_long(static_cast< long >(result
));
31492 SWIGINTERN PyObject
*_wrap_GetLocalTimeMillis(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31493 PyObject
*resultobj
= 0;
31496 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTimeMillis",0,0,0)) SWIG_fail
;
31498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31499 result
= wxGetLocalTimeMillis();
31500 wxPyEndAllowThreads(__tstate
);
31501 if (PyErr_Occurred()) SWIG_fail
;
31504 PyObject
*hi
, *lo
, *shifter
, *shifted
;
31505 hi
= PyLong_FromLong( (&result
)->GetHi() );
31506 lo
= PyLong_FromLong( (&result
)->GetLo() );
31507 shifter
= PyLong_FromLong(32);
31508 shifted
= PyNumber_Lshift(hi
, shifter
);
31509 resultobj
= PyNumber_Or(shifted
, lo
);
31512 Py_DECREF(shifter
);
31513 Py_DECREF(shifted
);
31521 SWIGINTERN
int DefaultDateTime_set(PyObject
*) {
31522 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTime is read-only.");
31527 SWIGINTERN PyObject
*DefaultDateTime_get(void) {
31528 PyObject
*pyobj
= 0;
31530 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0 );
31535 SWIGINTERN PyObject
*_wrap_new_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31536 PyObject
*resultobj
= 0;
31537 wxDataFormatId arg1
;
31538 wxDataFormat
*result
= 0 ;
31541 PyObject
* obj0
= 0 ;
31542 char * kwnames
[] = {
31543 (char *) "type", NULL
31546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) SWIG_fail
;
31547 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31548 if (!SWIG_IsOK(ecode1
)) {
31549 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DataFormat" "', expected argument " "1"" of type '" "wxDataFormatId""'");
31551 arg1
= static_cast< wxDataFormatId
>(val1
);
31553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31554 result
= (wxDataFormat
*)new wxDataFormat(arg1
);
31555 wxPyEndAllowThreads(__tstate
);
31556 if (PyErr_Occurred()) SWIG_fail
;
31558 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_NEW
| 0 );
31565 SWIGINTERN PyObject
*_wrap_new_CustomDataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31566 PyObject
*resultobj
= 0;
31567 wxString
*arg1
= 0 ;
31568 wxDataFormat
*result
= 0 ;
31569 bool temp1
= false ;
31570 PyObject
* obj0
= 0 ;
31571 char * kwnames
[] = {
31572 (char *) "format", NULL
31575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) SWIG_fail
;
31577 arg1
= wxString_in_helper(obj0
);
31578 if (arg1
== NULL
) SWIG_fail
;
31582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31583 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
31584 wxPyEndAllowThreads(__tstate
);
31585 if (PyErr_Occurred()) SWIG_fail
;
31587 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
31602 SWIGINTERN PyObject
*_wrap_delete_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31603 PyObject
*resultobj
= 0;
31604 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31607 PyObject
*swig_obj
[1] ;
31609 if (!args
) SWIG_fail
;
31610 swig_obj
[0] = args
;
31611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_DISOWN
| 0 );
31612 if (!SWIG_IsOK(res1
)) {
31613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataFormat" "', expected argument " "1"" of type '" "wxDataFormat *""'");
31615 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31620 wxPyEndAllowThreads(__tstate
);
31621 if (PyErr_Occurred()) SWIG_fail
;
31623 resultobj
= SWIG_Py_Void();
31630 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31631 PyObject
*resultobj
= 0;
31632 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31633 wxDataFormatId arg2
;
31640 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31642 if (!SWIG_IsOK(res1
)) {
31643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31645 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31646 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
31647 if (!SWIG_IsOK(ecode2
)) {
31648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
31650 arg2
= static_cast< wxDataFormatId
>(val2
);
31652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31653 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==(arg2
);
31654 wxPyEndAllowThreads(__tstate
);
31655 if (PyErr_Occurred()) SWIG_fail
;
31658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31666 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31667 PyObject
*resultobj
= 0;
31668 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31669 wxDataFormatId arg2
;
31676 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31678 if (!SWIG_IsOK(res1
)) {
31679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31681 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31682 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
31683 if (!SWIG_IsOK(ecode2
)) {
31684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
31686 arg2
= static_cast< wxDataFormatId
>(val2
);
31688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31689 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=(arg2
);
31690 wxPyEndAllowThreads(__tstate
);
31691 if (PyErr_Occurred()) SWIG_fail
;
31694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31702 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31703 PyObject
*resultobj
= 0;
31704 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31705 wxDataFormat
*arg2
= 0 ;
31712 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31714 if (!SWIG_IsOK(res1
)) {
31715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31717 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31718 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31719 if (!SWIG_IsOK(res2
)) {
31720 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31723 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31725 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31728 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
31729 wxPyEndAllowThreads(__tstate
);
31730 if (PyErr_Occurred()) SWIG_fail
;
31733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31741 SWIGINTERN PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
31745 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___eq__",0,2,argv
))) SWIG_fail
;
31750 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
31751 _v
= SWIG_CheckState(res
);
31753 if (!_v
) goto check_1
;
31754 return _wrap_DataFormat___eq____SWIG_1(self
, argc
, argv
);
31759 return _wrap_DataFormat___eq____SWIG_0(self
, argc
, argv
);
31763 Py_INCREF(Py_NotImplemented
);
31764 return Py_NotImplemented
;
31768 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31769 PyObject
*resultobj
= 0;
31770 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31771 wxDataFormat
*arg2
= 0 ;
31778 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31780 if (!SWIG_IsOK(res1
)) {
31781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31783 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31784 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31785 if (!SWIG_IsOK(res2
)) {
31786 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31789 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31791 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31794 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
31795 wxPyEndAllowThreads(__tstate
);
31796 if (PyErr_Occurred()) SWIG_fail
;
31799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31807 SWIGINTERN PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
31811 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___ne__",0,2,argv
))) SWIG_fail
;
31816 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
31817 _v
= SWIG_CheckState(res
);
31819 if (!_v
) goto check_1
;
31820 return _wrap_DataFormat___ne____SWIG_1(self
, argc
, argv
);
31825 return _wrap_DataFormat___ne____SWIG_0(self
, argc
, argv
);
31829 Py_INCREF(Py_NotImplemented
);
31830 return Py_NotImplemented
;
31834 SWIGINTERN PyObject
*_wrap_DataFormat_SetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31835 PyObject
*resultobj
= 0;
31836 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31837 wxDataFormatId arg2
;
31842 PyObject
* obj0
= 0 ;
31843 PyObject
* obj1
= 0 ;
31844 char * kwnames
[] = {
31845 (char *) "self",(char *) "format", NULL
31848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31850 if (!SWIG_IsOK(res1
)) {
31851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetType" "', expected argument " "1"" of type '" "wxDataFormat *""'");
31853 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31854 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31855 if (!SWIG_IsOK(ecode2
)) {
31856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat_SetType" "', expected argument " "2"" of type '" "wxDataFormatId""'");
31858 arg2
= static_cast< wxDataFormatId
>(val2
);
31860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31861 (arg1
)->SetType(arg2
);
31862 wxPyEndAllowThreads(__tstate
);
31863 if (PyErr_Occurred()) SWIG_fail
;
31865 resultobj
= SWIG_Py_Void();
31872 SWIGINTERN PyObject
*_wrap_DataFormat_GetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31873 PyObject
*resultobj
= 0;
31874 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31875 wxDataFormatId result
;
31878 PyObject
*swig_obj
[1] ;
31880 if (!args
) SWIG_fail
;
31881 swig_obj
[0] = args
;
31882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31883 if (!SWIG_IsOK(res1
)) {
31884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_GetType" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31886 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31889 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
31890 wxPyEndAllowThreads(__tstate
);
31891 if (PyErr_Occurred()) SWIG_fail
;
31893 resultobj
= SWIG_From_int(static_cast< int >(result
));
31900 SWIGINTERN PyObject
*_wrap_DataFormat_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31901 PyObject
*resultobj
= 0;
31902 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31906 PyObject
*swig_obj
[1] ;
31908 if (!args
) SWIG_fail
;
31909 swig_obj
[0] = args
;
31910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31911 if (!SWIG_IsOK(res1
)) {
31912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_GetId" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31914 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31917 result
= ((wxDataFormat
const *)arg1
)->GetId();
31918 wxPyEndAllowThreads(__tstate
);
31919 if (PyErr_Occurred()) SWIG_fail
;
31923 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31925 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31934 SWIGINTERN PyObject
*_wrap_DataFormat_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31935 PyObject
*resultobj
= 0;
31936 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31937 wxString
*arg2
= 0 ;
31940 bool temp2
= false ;
31941 PyObject
* obj0
= 0 ;
31942 PyObject
* obj1
= 0 ;
31943 char * kwnames
[] = {
31944 (char *) "self",(char *) "format", NULL
31947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31949 if (!SWIG_IsOK(res1
)) {
31950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetId" "', expected argument " "1"" of type '" "wxDataFormat *""'");
31952 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31954 arg2
= wxString_in_helper(obj1
);
31955 if (arg2
== NULL
) SWIG_fail
;
31959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31960 (arg1
)->SetId((wxString
const &)*arg2
);
31961 wxPyEndAllowThreads(__tstate
);
31962 if (PyErr_Occurred()) SWIG_fail
;
31964 resultobj
= SWIG_Py_Void();
31979 SWIGINTERN PyObject
*DataFormat_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31981 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31982 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataFormat
, SWIG_NewClientData(obj
));
31983 return SWIG_Py_Void();
31986 SWIGINTERN PyObject
*DataFormat_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31987 return SWIG_Python_InitShadowInstance(args
);
31990 SWIGINTERN
int FormatInvalid_set(PyObject
*) {
31991 SWIG_Error(SWIG_AttributeError
,"Variable FormatInvalid is read-only.");
31996 SWIGINTERN PyObject
*FormatInvalid_get(void) {
31997 PyObject
*pyobj
= 0;
31999 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0 );
32004 SWIGINTERN PyObject
*_wrap_delete_DataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32005 PyObject
*resultobj
= 0;
32006 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32009 PyObject
*swig_obj
[1] ;
32011 if (!args
) SWIG_fail
;
32012 swig_obj
[0] = args
;
32013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
32014 if (!SWIG_IsOK(res1
)) {
32015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataObject" "', expected argument " "1"" of type '" "wxDataObject *""'");
32017 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32022 wxPyEndAllowThreads(__tstate
);
32023 if (PyErr_Occurred()) SWIG_fail
;
32025 resultobj
= SWIG_Py_Void();
32032 SWIGINTERN PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32033 PyObject
*resultobj
= 0;
32034 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32035 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
32036 SwigValueWrapper
<wxDataFormat
> result
;
32041 PyObject
* obj0
= 0 ;
32042 PyObject
* obj1
= 0 ;
32043 char * kwnames
[] = {
32044 (char *) "self",(char *) "dir", NULL
32047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32049 if (!SWIG_IsOK(res1
)) {
32050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "1"" of type '" "wxDataObject const *""'");
32052 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32054 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32055 if (!SWIG_IsOK(ecode2
)) {
32056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
32058 arg2
= static_cast< wxDataObject::Direction
>(val2
);
32061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32062 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat(arg2
);
32063 wxPyEndAllowThreads(__tstate
);
32064 if (PyErr_Occurred()) SWIG_fail
;
32066 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
32073 SWIGINTERN PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32074 PyObject
*resultobj
= 0;
32075 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32076 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
32082 PyObject
* obj0
= 0 ;
32083 PyObject
* obj1
= 0 ;
32084 char * kwnames
[] = {
32085 (char *) "self",(char *) "dir", NULL
32088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32090 if (!SWIG_IsOK(res1
)) {
32091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetFormatCount" "', expected argument " "1"" of type '" "wxDataObject const *""'");
32093 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32095 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32096 if (!SWIG_IsOK(ecode2
)) {
32097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetFormatCount" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
32099 arg2
= static_cast< wxDataObject::Direction
>(val2
);
32102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32103 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount(arg2
);
32104 wxPyEndAllowThreads(__tstate
);
32105 if (PyErr_Occurred()) SWIG_fail
;
32107 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32114 SWIGINTERN PyObject
*_wrap_DataObject_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32115 PyObject
*resultobj
= 0;
32116 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32117 wxDataFormat
*arg2
= 0 ;
32118 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
32126 PyObject
* obj0
= 0 ;
32127 PyObject
* obj1
= 0 ;
32128 PyObject
* obj2
= 0 ;
32129 char * kwnames
[] = {
32130 (char *) "self",(char *) "format",(char *) "dir", NULL
32133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32135 if (!SWIG_IsOK(res1
)) {
32136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_IsSupported" "', expected argument " "1"" of type '" "wxDataObject const *""'");
32138 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32139 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32140 if (!SWIG_IsOK(res2
)) {
32141 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32144 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32146 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32148 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32149 if (!SWIG_IsOK(ecode3
)) {
32150 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObject_IsSupported" "', expected argument " "3"" of type '" "wxDataObject::Direction""'");
32152 arg3
= static_cast< wxDataObject::Direction
>(val3
);
32155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32156 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,arg3
);
32157 wxPyEndAllowThreads(__tstate
);
32158 if (PyErr_Occurred()) SWIG_fail
;
32161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32169 SWIGINTERN PyObject
*_wrap_DataObject_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32170 PyObject
*resultobj
= 0;
32171 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32172 wxDataFormat
*arg2
= 0 ;
32178 PyObject
* obj0
= 0 ;
32179 PyObject
* obj1
= 0 ;
32180 char * kwnames
[] = {
32181 (char *) "self",(char *) "format", NULL
32184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32186 if (!SWIG_IsOK(res1
)) {
32187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataSize" "', expected argument " "1"" of type '" "wxDataObject const *""'");
32189 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32190 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32191 if (!SWIG_IsOK(res2
)) {
32192 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32195 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32197 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32200 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
32201 wxPyEndAllowThreads(__tstate
);
32202 if (PyErr_Occurred()) SWIG_fail
;
32204 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32211 SWIGINTERN PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32212 PyObject
*resultobj
= 0;
32213 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32214 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
32215 PyObject
*result
= 0 ;
32220 PyObject
* obj0
= 0 ;
32221 PyObject
* obj1
= 0 ;
32222 char * kwnames
[] = {
32223 (char *) "self",(char *) "dir", NULL
32226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32228 if (!SWIG_IsOK(res1
)) {
32229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetAllFormats" "', expected argument " "1"" of type '" "wxDataObject *""'");
32231 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32233 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32234 if (!SWIG_IsOK(ecode2
)) {
32235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetAllFormats" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
32237 arg2
= static_cast< wxDataObject::Direction
>(val2
);
32240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32241 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,arg2
);
32242 wxPyEndAllowThreads(__tstate
);
32243 if (PyErr_Occurred()) SWIG_fail
;
32245 resultobj
= result
;
32252 SWIGINTERN PyObject
*_wrap_DataObject_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32253 PyObject
*resultobj
= 0;
32254 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32255 wxDataFormat
*arg2
= 0 ;
32256 PyObject
*result
= 0 ;
32261 PyObject
* obj0
= 0 ;
32262 PyObject
* obj1
= 0 ;
32263 char * kwnames
[] = {
32264 (char *) "self",(char *) "format", NULL
32267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32269 if (!SWIG_IsOK(res1
)) {
32270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataHere" "', expected argument " "1"" of type '" "wxDataObject *""'");
32272 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32273 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32274 if (!SWIG_IsOK(res2
)) {
32275 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32278 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32280 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32283 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
32284 wxPyEndAllowThreads(__tstate
);
32285 if (PyErr_Occurred()) SWIG_fail
;
32287 resultobj
= result
;
32294 SWIGINTERN PyObject
*_wrap_DataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32295 PyObject
*resultobj
= 0;
32296 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32297 wxDataFormat
*arg2
= 0 ;
32298 PyObject
*arg3
= (PyObject
*) 0 ;
32304 PyObject
* obj0
= 0 ;
32305 PyObject
* obj1
= 0 ;
32306 PyObject
* obj2
= 0 ;
32307 char * kwnames
[] = {
32308 (char *) "self",(char *) "format",(char *) "data", NULL
32311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32313 if (!SWIG_IsOK(res1
)) {
32314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_SetData" "', expected argument " "1"" of type '" "wxDataObject *""'");
32316 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32317 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32318 if (!SWIG_IsOK(res2
)) {
32319 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32322 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32324 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32328 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
32329 wxPyEndAllowThreads(__tstate
);
32330 if (PyErr_Occurred()) SWIG_fail
;
32333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32341 SWIGINTERN PyObject
*DataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32343 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32344 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObject
, SWIG_NewClientData(obj
));
32345 return SWIG_Py_Void();
32348 SWIGINTERN PyObject
*_wrap_new_DataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32349 PyObject
*resultobj
= 0;
32350 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
32351 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
32352 wxDataObjectSimple
*result
= 0 ;
32355 PyObject
* obj0
= 0 ;
32356 char * kwnames
[] = {
32357 (char *) "format", NULL
32360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
32362 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32363 if (!SWIG_IsOK(res1
)) {
32364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32367 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32369 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
32372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32373 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
32374 wxPyEndAllowThreads(__tstate
);
32375 if (PyErr_Occurred()) SWIG_fail
;
32377 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
32384 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32385 PyObject
*resultobj
= 0;
32386 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32387 wxDataFormat
*result
= 0 ;
32390 PyObject
*swig_obj
[1] ;
32392 if (!args
) SWIG_fail
;
32393 swig_obj
[0] = args
;
32394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32395 if (!SWIG_IsOK(res1
)) {
32396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32398 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32402 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
32403 result
= (wxDataFormat
*) &_result_ref
;
32405 wxPyEndAllowThreads(__tstate
);
32406 if (PyErr_Occurred()) SWIG_fail
;
32408 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, 0 | 0 );
32415 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32416 PyObject
*resultobj
= 0;
32417 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32418 wxDataFormat
*arg2
= 0 ;
32423 PyObject
* obj0
= 0 ;
32424 PyObject
* obj1
= 0 ;
32425 char * kwnames
[] = {
32426 (char *) "self",(char *) "format", NULL
32429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32431 if (!SWIG_IsOK(res1
)) {
32432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32434 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32435 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32436 if (!SWIG_IsOK(res2
)) {
32437 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32440 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32442 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32445 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
32446 wxPyEndAllowThreads(__tstate
);
32447 if (PyErr_Occurred()) SWIG_fail
;
32449 resultobj
= SWIG_Py_Void();
32456 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32457 PyObject
*resultobj
= 0;
32458 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32462 PyObject
*swig_obj
[1] ;
32464 if (!args
) SWIG_fail
;
32465 swig_obj
[0] = args
;
32466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32467 if (!SWIG_IsOK(res1
)) {
32468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataSize" "', expected argument " "1"" of type '" "wxDataObjectSimple const *""'");
32470 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32473 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
32474 wxPyEndAllowThreads(__tstate
);
32475 if (PyErr_Occurred()) SWIG_fail
;
32477 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32484 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32485 PyObject
*resultobj
= 0;
32486 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32487 PyObject
*result
= 0 ;
32490 PyObject
*swig_obj
[1] ;
32492 if (!args
) SWIG_fail
;
32493 swig_obj
[0] = args
;
32494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32495 if (!SWIG_IsOK(res1
)) {
32496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataHere" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32498 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32501 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
32502 wxPyEndAllowThreads(__tstate
);
32503 if (PyErr_Occurred()) SWIG_fail
;
32505 resultobj
= result
;
32512 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32513 PyObject
*resultobj
= 0;
32514 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32515 PyObject
*arg2
= (PyObject
*) 0 ;
32519 PyObject
* obj0
= 0 ;
32520 PyObject
* obj1
= 0 ;
32521 char * kwnames
[] = {
32522 (char *) "self",(char *) "data", NULL
32525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32527 if (!SWIG_IsOK(res1
)) {
32528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetData" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32530 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32534 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
32535 wxPyEndAllowThreads(__tstate
);
32536 if (PyErr_Occurred()) SWIG_fail
;
32539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32547 SWIGINTERN PyObject
*DataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32549 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32550 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectSimple
, SWIG_NewClientData(obj
));
32551 return SWIG_Py_Void();
32554 SWIGINTERN PyObject
*DataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32555 return SWIG_Python_InitShadowInstance(args
);
32558 SWIGINTERN PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32559 PyObject
*resultobj
= 0;
32560 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
32561 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
32562 wxPyDataObjectSimple
*result
= 0 ;
32565 PyObject
* obj0
= 0 ;
32566 char * kwnames
[] = {
32567 (char *) "format", NULL
32570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
32572 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32573 if (!SWIG_IsOK(res1
)) {
32574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32577 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32579 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
32582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32583 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
32584 wxPyEndAllowThreads(__tstate
);
32585 if (PyErr_Occurred()) SWIG_fail
;
32587 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
32594 SWIGINTERN PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32595 PyObject
*resultobj
= 0;
32596 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
32597 PyObject
*arg2
= (PyObject
*) 0 ;
32598 PyObject
*arg3
= (PyObject
*) 0 ;
32601 PyObject
* obj0
= 0 ;
32602 PyObject
* obj1
= 0 ;
32603 PyObject
* obj2
= 0 ;
32604 char * kwnames
[] = {
32605 (char *) "self",(char *) "self",(char *) "_class", NULL
32608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDataObjectSimple
, 0 | 0 );
32610 if (!SWIG_IsOK(res1
)) {
32611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyDataObjectSimple__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDataObjectSimple *""'");
32613 arg1
= reinterpret_cast< wxPyDataObjectSimple
* >(argp1
);
32617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32618 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32619 wxPyEndAllowThreads(__tstate
);
32620 if (PyErr_Occurred()) SWIG_fail
;
32622 resultobj
= SWIG_Py_Void();
32629 SWIGINTERN PyObject
*PyDataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32631 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32632 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_NewClientData(obj
));
32633 return SWIG_Py_Void();
32636 SWIGINTERN PyObject
*PyDataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32637 return SWIG_Python_InitShadowInstance(args
);
32640 SWIGINTERN PyObject
*_wrap_new_DataObjectComposite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32641 PyObject
*resultobj
= 0;
32642 wxDataObjectComposite
*result
= 0 ;
32644 if (!SWIG_Python_UnpackTuple(args
,"new_DataObjectComposite",0,0,0)) SWIG_fail
;
32646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32647 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
32648 wxPyEndAllowThreads(__tstate
);
32649 if (PyErr_Occurred()) SWIG_fail
;
32651 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_NEW
| 0 );
32658 SWIGINTERN PyObject
*_wrap_DataObjectComposite_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32659 PyObject
*resultobj
= 0;
32660 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
32661 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
32662 bool arg3
= (bool) false ;
32668 PyObject
* obj0
= 0 ;
32669 PyObject
* obj1
= 0 ;
32670 PyObject
* obj2
= 0 ;
32671 char * kwnames
[] = {
32672 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
32675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
32677 if (!SWIG_IsOK(res1
)) {
32678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_Add" "', expected argument " "1"" of type '" "wxDataObjectComposite *""'");
32680 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
32681 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_DISOWN
| 0 );
32682 if (!SWIG_IsOK(res2
)) {
32683 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectComposite_Add" "', expected argument " "2"" of type '" "wxDataObjectSimple *""'");
32686 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32687 if (!SWIG_IsOK(ecode3
)) {
32688 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObjectComposite_Add" "', expected argument " "3"" of type '" "bool""'");
32690 arg3
= static_cast< bool >(val3
);
32693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32694 (arg1
)->Add(arg2
,arg3
);
32695 wxPyEndAllowThreads(__tstate
);
32696 if (PyErr_Occurred()) SWIG_fail
;
32698 resultobj
= SWIG_Py_Void();
32705 SWIGINTERN PyObject
*_wrap_DataObjectComposite_GetReceivedFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32706 PyObject
*resultobj
= 0;
32707 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
32708 SwigValueWrapper
<wxDataFormat
> result
;
32711 PyObject
*swig_obj
[1] ;
32713 if (!args
) SWIG_fail
;
32714 swig_obj
[0] = args
;
32715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
32716 if (!SWIG_IsOK(res1
)) {
32717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_GetReceivedFormat" "', expected argument " "1"" of type '" "wxDataObjectComposite const *""'");
32719 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
32721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32722 result
= ((wxDataObjectComposite
const *)arg1
)->GetReceivedFormat();
32723 wxPyEndAllowThreads(__tstate
);
32724 if (PyErr_Occurred()) SWIG_fail
;
32726 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
32733 SWIGINTERN PyObject
*DataObjectComposite_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32735 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32736 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectComposite
, SWIG_NewClientData(obj
));
32737 return SWIG_Py_Void();
32740 SWIGINTERN PyObject
*DataObjectComposite_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32741 return SWIG_Python_InitShadowInstance(args
);
32744 SWIGINTERN PyObject
*_wrap_new_TextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32745 PyObject
*resultobj
= 0;
32746 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32747 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32748 wxTextDataObject
*result
= 0 ;
32749 bool temp1
= false ;
32750 PyObject
* obj0
= 0 ;
32751 char * kwnames
[] = {
32752 (char *) "text", NULL
32755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) SWIG_fail
;
32758 arg1
= wxString_in_helper(obj0
);
32759 if (arg1
== NULL
) SWIG_fail
;
32764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32765 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
32766 wxPyEndAllowThreads(__tstate
);
32767 if (PyErr_Occurred()) SWIG_fail
;
32769 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_NEW
| 0 );
32784 SWIGINTERN PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32785 PyObject
*resultobj
= 0;
32786 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
32790 PyObject
*swig_obj
[1] ;
32792 if (!args
) SWIG_fail
;
32793 swig_obj
[0] = args
;
32794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
32795 if (!SWIG_IsOK(res1
)) {
32796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetTextLength" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
32798 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
32800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32801 result
= (size_t)(arg1
)->GetTextLength();
32802 wxPyEndAllowThreads(__tstate
);
32803 if (PyErr_Occurred()) SWIG_fail
;
32805 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32812 SWIGINTERN PyObject
*_wrap_TextDataObject_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32813 PyObject
*resultobj
= 0;
32814 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
32818 PyObject
*swig_obj
[1] ;
32820 if (!args
) SWIG_fail
;
32821 swig_obj
[0] = args
;
32822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
32823 if (!SWIG_IsOK(res1
)) {
32824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
32826 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
32828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32829 result
= (arg1
)->GetText();
32830 wxPyEndAllowThreads(__tstate
);
32831 if (PyErr_Occurred()) SWIG_fail
;
32835 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32837 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32846 SWIGINTERN PyObject
*_wrap_TextDataObject_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32847 PyObject
*resultobj
= 0;
32848 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
32849 wxString
*arg2
= 0 ;
32852 bool temp2
= false ;
32853 PyObject
* obj0
= 0 ;
32854 PyObject
* obj1
= 0 ;
32855 char * kwnames
[] = {
32856 (char *) "self",(char *) "text", NULL
32859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
32861 if (!SWIG_IsOK(res1
)) {
32862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_SetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
32864 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
32866 arg2
= wxString_in_helper(obj1
);
32867 if (arg2
== NULL
) SWIG_fail
;
32871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32872 (arg1
)->SetText((wxString
const &)*arg2
);
32873 wxPyEndAllowThreads(__tstate
);
32874 if (PyErr_Occurred()) SWIG_fail
;
32876 resultobj
= SWIG_Py_Void();
32891 SWIGINTERN PyObject
*TextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32893 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32894 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextDataObject
, SWIG_NewClientData(obj
));
32895 return SWIG_Py_Void();
32898 SWIGINTERN PyObject
*TextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32899 return SWIG_Python_InitShadowInstance(args
);
32902 SWIGINTERN PyObject
*_wrap_new_PyTextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32903 PyObject
*resultobj
= 0;
32904 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32905 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32906 wxPyTextDataObject
*result
= 0 ;
32907 bool temp1
= false ;
32908 PyObject
* obj0
= 0 ;
32909 char * kwnames
[] = {
32910 (char *) "text", NULL
32913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) SWIG_fail
;
32916 arg1
= wxString_in_helper(obj0
);
32917 if (arg1
== NULL
) SWIG_fail
;
32922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32923 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
32924 wxPyEndAllowThreads(__tstate
);
32925 if (PyErr_Occurred()) SWIG_fail
;
32927 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_NEW
| 0 );
32942 SWIGINTERN PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32943 PyObject
*resultobj
= 0;
32944 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
32945 PyObject
*arg2
= (PyObject
*) 0 ;
32946 PyObject
*arg3
= (PyObject
*) 0 ;
32949 PyObject
* obj0
= 0 ;
32950 PyObject
* obj1
= 0 ;
32951 PyObject
* obj2
= 0 ;
32952 char * kwnames
[] = {
32953 (char *) "self",(char *) "self",(char *) "_class", NULL
32956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDataObject
, 0 | 0 );
32958 if (!SWIG_IsOK(res1
)) {
32959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTextDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDataObject *""'");
32961 arg1
= reinterpret_cast< wxPyTextDataObject
* >(argp1
);
32965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32966 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32967 wxPyEndAllowThreads(__tstate
);
32968 if (PyErr_Occurred()) SWIG_fail
;
32970 resultobj
= SWIG_Py_Void();
32977 SWIGINTERN PyObject
*PyTextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32979 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32980 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDataObject
, SWIG_NewClientData(obj
));
32981 return SWIG_Py_Void();
32984 SWIGINTERN PyObject
*PyTextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32985 return SWIG_Python_InitShadowInstance(args
);
32988 SWIGINTERN PyObject
*_wrap_new_BitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32989 PyObject
*resultobj
= 0;
32990 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
32991 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
32992 wxBitmapDataObject
*result
= 0 ;
32995 PyObject
* obj0
= 0 ;
32996 char * kwnames
[] = {
32997 (char *) "bitmap", NULL
33000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
33002 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33003 if (!SWIG_IsOK(res1
)) {
33004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
33007 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
33009 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
33012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33013 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
33014 wxPyEndAllowThreads(__tstate
);
33015 if (PyErr_Occurred()) SWIG_fail
;
33017 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
33024 SWIGINTERN PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33025 PyObject
*resultobj
= 0;
33026 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
33030 PyObject
*swig_obj
[1] ;
33032 if (!args
) SWIG_fail
;
33033 swig_obj
[0] = args
;
33034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
33035 if (!SWIG_IsOK(res1
)) {
33036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_GetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject const *""'");
33038 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
33040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33041 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
33042 wxPyEndAllowThreads(__tstate
);
33043 if (PyErr_Occurred()) SWIG_fail
;
33045 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
33052 SWIGINTERN PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33053 PyObject
*resultobj
= 0;
33054 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
33055 wxBitmap
*arg2
= 0 ;
33060 PyObject
* obj0
= 0 ;
33061 PyObject
* obj1
= 0 ;
33062 char * kwnames
[] = {
33063 (char *) "self",(char *) "bitmap", NULL
33066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
33068 if (!SWIG_IsOK(res1
)) {
33069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject *""'");
33071 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
33072 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33073 if (!SWIG_IsOK(res2
)) {
33074 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33077 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33079 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33082 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
33083 wxPyEndAllowThreads(__tstate
);
33084 if (PyErr_Occurred()) SWIG_fail
;
33086 resultobj
= SWIG_Py_Void();
33093 SWIGINTERN PyObject
*BitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33095 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33096 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapDataObject
, SWIG_NewClientData(obj
));
33097 return SWIG_Py_Void();
33100 SWIGINTERN PyObject
*BitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33101 return SWIG_Python_InitShadowInstance(args
);
33104 SWIGINTERN PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33105 PyObject
*resultobj
= 0;
33106 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
33107 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
33108 wxPyBitmapDataObject
*result
= 0 ;
33111 PyObject
* obj0
= 0 ;
33112 char * kwnames
[] = {
33113 (char *) "bitmap", NULL
33116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
33118 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33119 if (!SWIG_IsOK(res1
)) {
33120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
33123 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
33125 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
33128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33129 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
33130 wxPyEndAllowThreads(__tstate
);
33131 if (PyErr_Occurred()) SWIG_fail
;
33133 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
33140 SWIGINTERN PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33141 PyObject
*resultobj
= 0;
33142 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
33143 PyObject
*arg2
= (PyObject
*) 0 ;
33144 PyObject
*arg3
= (PyObject
*) 0 ;
33147 PyObject
* obj0
= 0 ;
33148 PyObject
* obj1
= 0 ;
33149 PyObject
* obj2
= 0 ;
33150 char * kwnames
[] = {
33151 (char *) "self",(char *) "self",(char *) "_class", NULL
33154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyBitmapDataObject
, 0 | 0 );
33156 if (!SWIG_IsOK(res1
)) {
33157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyBitmapDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyBitmapDataObject *""'");
33159 arg1
= reinterpret_cast< wxPyBitmapDataObject
* >(argp1
);
33163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33164 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33165 wxPyEndAllowThreads(__tstate
);
33166 if (PyErr_Occurred()) SWIG_fail
;
33168 resultobj
= SWIG_Py_Void();
33175 SWIGINTERN PyObject
*PyBitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33177 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33178 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_NewClientData(obj
));
33179 return SWIG_Py_Void();
33182 SWIGINTERN PyObject
*PyBitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33183 return SWIG_Python_InitShadowInstance(args
);
33186 SWIGINTERN PyObject
*_wrap_new_FileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33187 PyObject
*resultobj
= 0;
33188 wxFileDataObject
*result
= 0 ;
33190 if (!SWIG_Python_UnpackTuple(args
,"new_FileDataObject",0,0,0)) SWIG_fail
;
33192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33193 result
= (wxFileDataObject
*)new wxFileDataObject();
33194 wxPyEndAllowThreads(__tstate
);
33195 if (PyErr_Occurred()) SWIG_fail
;
33197 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_NEW
| 0 );
33204 SWIGINTERN PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33205 PyObject
*resultobj
= 0;
33206 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
33207 wxArrayString
*result
= 0 ;
33210 PyObject
*swig_obj
[1] ;
33212 if (!args
) SWIG_fail
;
33213 swig_obj
[0] = args
;
33214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
33215 if (!SWIG_IsOK(res1
)) {
33216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_GetFilenames" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
33218 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
33220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33222 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
33223 result
= (wxArrayString
*) &_result_ref
;
33225 wxPyEndAllowThreads(__tstate
);
33226 if (PyErr_Occurred()) SWIG_fail
;
33229 resultobj
= wxArrayString2PyList_helper(*result
);
33237 SWIGINTERN PyObject
*_wrap_FileDataObject_AddFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33238 PyObject
*resultobj
= 0;
33239 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
33240 wxString
*arg2
= 0 ;
33243 bool temp2
= false ;
33244 PyObject
* obj0
= 0 ;
33245 PyObject
* obj1
= 0 ;
33246 char * kwnames
[] = {
33247 (char *) "self",(char *) "filename", NULL
33250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
33252 if (!SWIG_IsOK(res1
)) {
33253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_AddFile" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
33255 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
33257 arg2
= wxString_in_helper(obj1
);
33258 if (arg2
== NULL
) SWIG_fail
;
33262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33263 (arg1
)->AddFile((wxString
const &)*arg2
);
33264 wxPyEndAllowThreads(__tstate
);
33265 if (PyErr_Occurred()) SWIG_fail
;
33267 resultobj
= SWIG_Py_Void();
33282 SWIGINTERN PyObject
*FileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33284 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33285 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDataObject
, SWIG_NewClientData(obj
));
33286 return SWIG_Py_Void();
33289 SWIGINTERN PyObject
*FileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33290 return SWIG_Python_InitShadowInstance(args
);
33293 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33294 PyObject
*resultobj
= 0;
33295 wxDataFormat
*arg1
= 0 ;
33296 wxCustomDataObject
*result
= 0 ;
33300 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
33301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
33302 if (!SWIG_IsOK(res1
)) {
33303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
33306 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
33308 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
33310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33311 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
33312 wxPyEndAllowThreads(__tstate
);
33313 if (PyErr_Occurred()) SWIG_fail
;
33315 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
33322 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33323 PyObject
*resultobj
= 0;
33324 wxString
*arg1
= 0 ;
33325 wxCustomDataObject
*result
= 0 ;
33326 bool temp1
= false ;
33328 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
33330 arg1
= wxString_in_helper(swig_obj
[0]);
33331 if (arg1
== NULL
) SWIG_fail
;
33335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33336 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
33337 wxPyEndAllowThreads(__tstate
);
33338 if (PyErr_Occurred()) SWIG_fail
;
33340 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
33355 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
33356 PyObject
*resultobj
= 0;
33357 wxCustomDataObject
*result
= 0 ;
33359 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
33361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33362 result
= (wxCustomDataObject
*)new wxCustomDataObject();
33363 wxPyEndAllowThreads(__tstate
);
33364 if (PyErr_Occurred()) SWIG_fail
;
33366 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
33373 SWIGINTERN PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
33377 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_CustomDataObject",0,1,argv
))) SWIG_fail
;
33380 return _wrap_new_CustomDataObject__SWIG_2(self
, argc
, argv
);
33386 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
33389 if (!_v
) goto check_2
;
33390 return _wrap_new_CustomDataObject__SWIG_1(self
, argc
, argv
);
33395 return _wrap_new_CustomDataObject__SWIG_0(self
, argc
, argv
);
33399 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
33404 SWIGINTERN PyObject
*_wrap_CustomDataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33405 PyObject
*resultobj
= 0;
33406 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
33407 PyObject
*arg2
= (PyObject
*) 0 ;
33411 PyObject
* obj0
= 0 ;
33412 PyObject
* obj1
= 0 ;
33413 char * kwnames
[] = {
33414 (char *) "self",(char *) "data", NULL
33417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
33419 if (!SWIG_IsOK(res1
)) {
33420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_SetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
33422 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
33425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33426 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
33427 wxPyEndAllowThreads(__tstate
);
33428 if (PyErr_Occurred()) SWIG_fail
;
33431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33439 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33440 PyObject
*resultobj
= 0;
33441 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
33445 PyObject
*swig_obj
[1] ;
33447 if (!args
) SWIG_fail
;
33448 swig_obj
[0] = args
;
33449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
33450 if (!SWIG_IsOK(res1
)) {
33451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetSize" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
33453 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
33455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33456 result
= (size_t)(arg1
)->GetSize();
33457 wxPyEndAllowThreads(__tstate
);
33458 if (PyErr_Occurred()) SWIG_fail
;
33460 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
33467 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33468 PyObject
*resultobj
= 0;
33469 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
33470 PyObject
*result
= 0 ;
33473 PyObject
*swig_obj
[1] ;
33475 if (!args
) SWIG_fail
;
33476 swig_obj
[0] = args
;
33477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
33478 if (!SWIG_IsOK(res1
)) {
33479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
33481 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
33483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33484 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
33485 wxPyEndAllowThreads(__tstate
);
33486 if (PyErr_Occurred()) SWIG_fail
;
33488 resultobj
= result
;
33495 SWIGINTERN PyObject
*CustomDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33497 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33498 SWIG_TypeNewClientData(SWIGTYPE_p_wxCustomDataObject
, SWIG_NewClientData(obj
));
33499 return SWIG_Py_Void();
33502 SWIGINTERN PyObject
*CustomDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33503 return SWIG_Python_InitShadowInstance(args
);
33506 SWIGINTERN PyObject
*_wrap_new_URLDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33507 PyObject
*resultobj
= 0;
33508 wxString
const &arg1_defvalue
= wxPyEmptyString
;
33509 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
33510 wxURLDataObject
*result
= 0 ;
33511 bool temp1
= false ;
33512 PyObject
* obj0
= 0 ;
33513 char * kwnames
[] = {
33514 (char *) "url", NULL
33517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_URLDataObject",kwnames
,&obj0
)) SWIG_fail
;
33520 arg1
= wxString_in_helper(obj0
);
33521 if (arg1
== NULL
) SWIG_fail
;
33526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33527 result
= (wxURLDataObject
*)new wxURLDataObject((wxString
const &)*arg1
);
33528 wxPyEndAllowThreads(__tstate
);
33529 if (PyErr_Occurred()) SWIG_fail
;
33531 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_NEW
| 0 );
33546 SWIGINTERN PyObject
*_wrap_URLDataObject_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33547 PyObject
*resultobj
= 0;
33548 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
33552 PyObject
*swig_obj
[1] ;
33554 if (!args
) SWIG_fail
;
33555 swig_obj
[0] = args
;
33556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
33557 if (!SWIG_IsOK(res1
)) {
33558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_GetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
33560 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
33562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33563 result
= (arg1
)->GetURL();
33564 wxPyEndAllowThreads(__tstate
);
33565 if (PyErr_Occurred()) SWIG_fail
;
33569 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33571 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33580 SWIGINTERN PyObject
*_wrap_URLDataObject_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33581 PyObject
*resultobj
= 0;
33582 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
33583 wxString
*arg2
= 0 ;
33586 bool temp2
= false ;
33587 PyObject
* obj0
= 0 ;
33588 PyObject
* obj1
= 0 ;
33589 char * kwnames
[] = {
33590 (char *) "self",(char *) "url", NULL
33593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
33595 if (!SWIG_IsOK(res1
)) {
33596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_SetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
33598 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
33600 arg2
= wxString_in_helper(obj1
);
33601 if (arg2
== NULL
) SWIG_fail
;
33605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33606 (arg1
)->SetURL((wxString
const &)*arg2
);
33607 wxPyEndAllowThreads(__tstate
);
33608 if (PyErr_Occurred()) SWIG_fail
;
33610 resultobj
= SWIG_Py_Void();
33625 SWIGINTERN PyObject
*URLDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33627 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33628 SWIG_TypeNewClientData(SWIGTYPE_p_wxURLDataObject
, SWIG_NewClientData(obj
));
33629 return SWIG_Py_Void();
33632 SWIGINTERN PyObject
*URLDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33633 return SWIG_Python_InitShadowInstance(args
);
33636 SWIGINTERN PyObject
*_wrap_new_MetafileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33637 PyObject
*resultobj
= 0;
33638 wxMetafileDataObject
*result
= 0 ;
33640 if (!SWIG_Python_UnpackTuple(args
,"new_MetafileDataObject",0,0,0)) SWIG_fail
;
33642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33643 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
33644 wxPyEndAllowThreads(__tstate
);
33645 if (PyErr_Occurred()) SWIG_fail
;
33647 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_NEW
| 0 );
33654 SWIGINTERN PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33655 PyObject
*resultobj
= 0;
33656 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
33657 wxMetafile
*arg2
= 0 ;
33662 PyObject
* obj0
= 0 ;
33663 PyObject
* obj1
= 0 ;
33664 char * kwnames
[] = {
33665 (char *) "self",(char *) "metafile", NULL
33668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetafileDataObject
, 0 | 0 );
33670 if (!SWIG_IsOK(res1
)) {
33671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetafileDataObject_SetMetafile" "', expected argument " "1"" of type '" "wxMetafileDataObject *""'");
33673 arg1
= reinterpret_cast< wxMetafileDataObject
* >(argp1
);
33674 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMetafile
, 0 | 0);
33675 if (!SWIG_IsOK(res2
)) {
33676 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MetafileDataObject_SetMetafile" "', expected argument " "2"" of type '" "wxMetafile const &""'");
33679 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MetafileDataObject_SetMetafile" "', expected argument " "2"" of type '" "wxMetafile const &""'");
33681 arg2
= reinterpret_cast< wxMetafile
* >(argp2
);
33683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33684 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
33685 wxPyEndAllowThreads(__tstate
);
33686 if (PyErr_Occurred()) SWIG_fail
;
33688 resultobj
= SWIG_Py_Void();
33695 SWIGINTERN PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33696 PyObject
*resultobj
= 0;
33697 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
33701 PyObject
*swig_obj
[1] ;
33703 if (!args
) SWIG_fail
;
33704 swig_obj
[0] = args
;
33705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetafileDataObject
, 0 | 0 );
33706 if (!SWIG_IsOK(res1
)) {
33707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetafileDataObject_GetMetafile" "', expected argument " "1"" of type '" "wxMetafileDataObject const *""'");
33709 arg1
= reinterpret_cast< wxMetafileDataObject
* >(argp1
);
33711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33712 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
33713 wxPyEndAllowThreads(__tstate
);
33714 if (PyErr_Occurred()) SWIG_fail
;
33716 resultobj
= SWIG_NewPointerObj((new wxMetafile(static_cast< const wxMetafile
& >(result
))), SWIGTYPE_p_wxMetafile
, SWIG_POINTER_OWN
| 0 );
33723 SWIGINTERN PyObject
*MetafileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33725 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33726 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetafileDataObject
, SWIG_NewClientData(obj
));
33727 return SWIG_Py_Void();
33730 SWIGINTERN PyObject
*MetafileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33731 return SWIG_Python_InitShadowInstance(args
);
33734 SWIGINTERN PyObject
*_wrap_IsDragResultOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33735 PyObject
*resultobj
= 0;
33736 wxDragResult arg1
;
33740 PyObject
* obj0
= 0 ;
33741 char * kwnames
[] = {
33742 (char *) "res", NULL
33745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) SWIG_fail
;
33746 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33747 if (!SWIG_IsOK(ecode1
)) {
33748 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsDragResultOk" "', expected argument " "1"" of type '" "wxDragResult""'");
33750 arg1
= static_cast< wxDragResult
>(val1
);
33752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33753 result
= (bool)wxIsDragResultOk(arg1
);
33754 wxPyEndAllowThreads(__tstate
);
33755 if (PyErr_Occurred()) SWIG_fail
;
33758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33766 SWIGINTERN PyObject
*_wrap_new_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33767 PyObject
*resultobj
= 0;
33768 wxWindow
*arg1
= (wxWindow
*) 0 ;
33769 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33770 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33771 wxCursor
const &arg3_defvalue
= wxNullCursor
;
33772 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
33773 wxCursor
const &arg4_defvalue
= wxNullCursor
;
33774 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
33775 wxPyDropSource
*result
= 0 ;
33784 PyObject
* obj0
= 0 ;
33785 PyObject
* obj1
= 0 ;
33786 PyObject
* obj2
= 0 ;
33787 PyObject
* obj3
= 0 ;
33788 char * kwnames
[] = {
33789 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
33792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33794 if (!SWIG_IsOK(res1
)) {
33795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropSource" "', expected argument " "1"" of type '" "wxWindow *""'");
33797 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33799 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
33800 if (!SWIG_IsOK(res2
)) {
33801 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxCursor const &""'");
33804 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxCursor const &""'");
33806 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
33809 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxCursor
, 0 | 0);
33810 if (!SWIG_IsOK(res3
)) {
33811 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxCursor const &""'");
33814 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxCursor const &""'");
33816 arg3
= reinterpret_cast< wxCursor
* >(argp3
);
33819 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxCursor
, 0 | 0);
33820 if (!SWIG_IsOK(res4
)) {
33821 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxCursor const &""'");
33824 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxCursor const &""'");
33826 arg4
= reinterpret_cast< wxCursor
* >(argp4
);
33829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33830 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
33831 wxPyEndAllowThreads(__tstate
);
33832 if (PyErr_Occurred()) SWIG_fail
;
33834 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_NEW
| 0 );
33841 SWIGINTERN PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33842 PyObject
*resultobj
= 0;
33843 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33844 PyObject
*arg2
= (PyObject
*) 0 ;
33845 PyObject
*arg3
= (PyObject
*) 0 ;
33851 PyObject
* obj0
= 0 ;
33852 PyObject
* obj1
= 0 ;
33853 PyObject
* obj2
= 0 ;
33854 PyObject
* obj3
= 0 ;
33855 char * kwnames
[] = {
33856 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
33859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33861 if (!SWIG_IsOK(res1
)) {
33862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33864 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33867 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33868 if (!SWIG_IsOK(ecode4
)) {
33869 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
33871 arg4
= static_cast< int >(val4
);
33873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33874 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
33875 wxPyEndAllowThreads(__tstate
);
33876 if (PyErr_Occurred()) SWIG_fail
;
33878 resultobj
= SWIG_Py_Void();
33885 SWIGINTERN PyObject
*_wrap_delete_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33886 PyObject
*resultobj
= 0;
33887 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33890 PyObject
*swig_obj
[1] ;
33892 if (!args
) SWIG_fail
;
33893 swig_obj
[0] = args
;
33894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_DISOWN
| 0 );
33895 if (!SWIG_IsOK(res1
)) {
33896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropSource" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33898 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33903 wxPyEndAllowThreads(__tstate
);
33904 if (PyErr_Occurred()) SWIG_fail
;
33906 resultobj
= SWIG_Py_Void();
33913 SWIGINTERN PyObject
*_wrap_DropSource_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33914 PyObject
*resultobj
= 0;
33915 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33916 wxDataObject
*arg2
= 0 ;
33921 PyObject
* obj0
= 0 ;
33922 PyObject
* obj1
= 0 ;
33923 char * kwnames
[] = {
33924 (char *) "self",(char *) "data", NULL
33927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33929 if (!SWIG_IsOK(res1
)) {
33930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetData" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33932 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33933 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
33934 if (!SWIG_IsOK(res2
)) {
33935 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
33938 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
33940 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
33942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33943 (arg1
)->SetData(*arg2
);
33944 wxPyEndAllowThreads(__tstate
);
33945 if (PyErr_Occurred()) SWIG_fail
;
33947 resultobj
= SWIG_Py_Void();
33954 SWIGINTERN PyObject
*_wrap_DropSource_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33955 PyObject
*resultobj
= 0;
33956 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33957 wxDataObject
*result
= 0 ;
33960 PyObject
*swig_obj
[1] ;
33962 if (!args
) SWIG_fail
;
33963 swig_obj
[0] = args
;
33964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33965 if (!SWIG_IsOK(res1
)) {
33966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33968 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33971 result
= (wxDataObject
*)(arg1
)->GetDataObject();
33972 wxPyEndAllowThreads(__tstate
);
33973 if (PyErr_Occurred()) SWIG_fail
;
33975 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
33982 SWIGINTERN PyObject
*_wrap_DropSource_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33983 PyObject
*resultobj
= 0;
33984 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33985 wxDragResult arg2
;
33986 wxCursor
*arg3
= 0 ;
33993 PyObject
* obj0
= 0 ;
33994 PyObject
* obj1
= 0 ;
33995 PyObject
* obj2
= 0 ;
33996 char * kwnames
[] = {
33997 (char *) "self",(char *) "res",(char *) "cursor", NULL
34000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
34002 if (!SWIG_IsOK(res1
)) {
34003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetCursor" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
34005 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
34006 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34007 if (!SWIG_IsOK(ecode2
)) {
34008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_SetCursor" "', expected argument " "2"" of type '" "wxDragResult""'");
34010 arg2
= static_cast< wxDragResult
>(val2
);
34011 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxCursor
, 0 | 0);
34012 if (!SWIG_IsOK(res3
)) {
34013 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
34016 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
34018 arg3
= reinterpret_cast< wxCursor
* >(argp3
);
34020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34021 (arg1
)->SetCursor(arg2
,(wxCursor
const &)*arg3
);
34022 wxPyEndAllowThreads(__tstate
);
34023 if (PyErr_Occurred()) SWIG_fail
;
34025 resultobj
= SWIG_Py_Void();
34032 SWIGINTERN PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34033 PyObject
*resultobj
= 0;
34034 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
34035 int arg2
= (int) wxDrag_CopyOnly
;
34036 wxDragResult result
;
34041 PyObject
* obj0
= 0 ;
34042 PyObject
* obj1
= 0 ;
34043 char * kwnames
[] = {
34044 (char *) "self",(char *) "flags", NULL
34047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
34049 if (!SWIG_IsOK(res1
)) {
34050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_DoDragDrop" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
34052 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
34054 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34055 if (!SWIG_IsOK(ecode2
)) {
34056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_DoDragDrop" "', expected argument " "2"" of type '" "int""'");
34058 arg2
= static_cast< int >(val2
);
34061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34062 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
34063 wxPyEndAllowThreads(__tstate
);
34064 if (PyErr_Occurred()) SWIG_fail
;
34066 resultobj
= SWIG_From_int(static_cast< int >(result
));
34073 SWIGINTERN PyObject
*_wrap_DropSource_GiveFeedback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34074 PyObject
*resultobj
= 0;
34075 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
34076 wxDragResult arg2
;
34082 PyObject
* obj0
= 0 ;
34083 PyObject
* obj1
= 0 ;
34084 char * kwnames
[] = {
34085 (char *) "self",(char *) "effect", NULL
34088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_GiveFeedback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
34090 if (!SWIG_IsOK(res1
)) {
34091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GiveFeedback" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
34093 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
34094 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34095 if (!SWIG_IsOK(ecode2
)) {
34096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_GiveFeedback" "', expected argument " "2"" of type '" "wxDragResult""'");
34098 arg2
= static_cast< wxDragResult
>(val2
);
34100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34101 result
= (bool)(arg1
)->GiveFeedback(arg2
);
34102 wxPyEndAllowThreads(__tstate
);
34103 if (PyErr_Occurred()) SWIG_fail
;
34106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34114 SWIGINTERN PyObject
*DropSource_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34116 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34117 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropSource
, SWIG_NewClientData(obj
));
34118 return SWIG_Py_Void();
34121 SWIGINTERN PyObject
*DropSource_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34122 return SWIG_Python_InitShadowInstance(args
);
34125 SWIGINTERN PyObject
*_wrap_new_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34126 PyObject
*resultobj
= 0;
34127 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
34128 wxPyDropTarget
*result
= 0 ;
34130 PyObject
* obj0
= 0 ;
34131 char * kwnames
[] = {
34132 (char *) "dataObject", NULL
34135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) SWIG_fail
;
34137 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
34138 if (!SWIG_IsOK(res1
)) {
34139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropTarget" "', expected argument " "1"" of type '" "wxDataObject *""'");
34143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34144 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
34145 wxPyEndAllowThreads(__tstate
);
34146 if (PyErr_Occurred()) SWIG_fail
;
34148 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_NEW
| 0 );
34155 SWIGINTERN PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34156 PyObject
*resultobj
= 0;
34157 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34158 PyObject
*arg2
= (PyObject
*) 0 ;
34159 PyObject
*arg3
= (PyObject
*) 0 ;
34162 PyObject
* obj0
= 0 ;
34163 PyObject
* obj1
= 0 ;
34164 PyObject
* obj2
= 0 ;
34165 char * kwnames
[] = {
34166 (char *) "self",(char *) "self",(char *) "_class", NULL
34169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34171 if (!SWIG_IsOK(res1
)) {
34172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34174 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34179 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34180 wxPyEndAllowThreads(__tstate
);
34181 if (PyErr_Occurred()) SWIG_fail
;
34183 resultobj
= SWIG_Py_Void();
34190 SWIGINTERN PyObject
*_wrap_delete_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34191 PyObject
*resultobj
= 0;
34192 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34195 PyObject
*swig_obj
[1] ;
34197 if (!args
) SWIG_fail
;
34198 swig_obj
[0] = args
;
34199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_DISOWN
| 0 );
34200 if (!SWIG_IsOK(res1
)) {
34201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropTarget" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34203 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34208 wxPyEndAllowThreads(__tstate
);
34209 if (PyErr_Occurred()) SWIG_fail
;
34211 resultobj
= SWIG_Py_Void();
34218 SWIGINTERN PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34219 PyObject
*resultobj
= 0;
34220 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34221 wxDataObject
*result
= 0 ;
34224 PyObject
*swig_obj
[1] ;
34226 if (!args
) SWIG_fail
;
34227 swig_obj
[0] = args
;
34228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34229 if (!SWIG_IsOK(res1
)) {
34230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34232 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34235 result
= (wxDataObject
*)(arg1
)->GetDataObject();
34236 wxPyEndAllowThreads(__tstate
);
34237 if (PyErr_Occurred()) SWIG_fail
;
34239 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
34246 SWIGINTERN PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34247 PyObject
*resultobj
= 0;
34248 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34249 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
34253 PyObject
* obj0
= 0 ;
34254 PyObject
* obj1
= 0 ;
34255 char * kwnames
[] = {
34256 (char *) "self",(char *) "dataObject", NULL
34259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34261 if (!SWIG_IsOK(res1
)) {
34262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34264 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34265 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
34266 if (!SWIG_IsOK(res2
)) {
34267 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropTarget_SetDataObject" "', expected argument " "2"" of type '" "wxDataObject *""'");
34270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34271 (arg1
)->SetDataObject(arg2
);
34272 wxPyEndAllowThreads(__tstate
);
34273 if (PyErr_Occurred()) SWIG_fail
;
34275 resultobj
= SWIG_Py_Void();
34282 SWIGINTERN PyObject
*_wrap_DropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34283 PyObject
*resultobj
= 0;
34284 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34287 wxDragResult arg4
;
34288 wxDragResult result
;
34297 PyObject
* obj0
= 0 ;
34298 PyObject
* obj1
= 0 ;
34299 PyObject
* obj2
= 0 ;
34300 PyObject
* obj3
= 0 ;
34301 char * kwnames
[] = {
34302 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34307 if (!SWIG_IsOK(res1
)) {
34308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34310 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34311 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34312 if (!SWIG_IsOK(ecode2
)) {
34313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
34315 arg2
= static_cast< int >(val2
);
34316 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34317 if (!SWIG_IsOK(ecode3
)) {
34318 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
34320 arg3
= static_cast< int >(val3
);
34321 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34322 if (!SWIG_IsOK(ecode4
)) {
34323 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
34325 arg4
= static_cast< wxDragResult
>(val4
);
34327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34328 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
34329 wxPyEndAllowThreads(__tstate
);
34330 if (PyErr_Occurred()) SWIG_fail
;
34332 resultobj
= SWIG_From_int(static_cast< int >(result
));
34339 SWIGINTERN PyObject
*_wrap_DropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34340 PyObject
*resultobj
= 0;
34341 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34344 wxDragResult arg4
;
34345 wxDragResult result
;
34354 PyObject
* obj0
= 0 ;
34355 PyObject
* obj1
= 0 ;
34356 PyObject
* obj2
= 0 ;
34357 PyObject
* obj3
= 0 ;
34358 char * kwnames
[] = {
34359 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34364 if (!SWIG_IsOK(res1
)) {
34365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34367 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34368 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34369 if (!SWIG_IsOK(ecode2
)) {
34370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
34372 arg2
= static_cast< int >(val2
);
34373 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34374 if (!SWIG_IsOK(ecode3
)) {
34375 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
34377 arg3
= static_cast< int >(val3
);
34378 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34379 if (!SWIG_IsOK(ecode4
)) {
34380 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
34382 arg4
= static_cast< wxDragResult
>(val4
);
34384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34385 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
34386 wxPyEndAllowThreads(__tstate
);
34387 if (PyErr_Occurred()) SWIG_fail
;
34389 resultobj
= SWIG_From_int(static_cast< int >(result
));
34396 SWIGINTERN PyObject
*_wrap_DropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34397 PyObject
*resultobj
= 0;
34398 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34401 PyObject
*swig_obj
[1] ;
34403 if (!args
) SWIG_fail
;
34404 swig_obj
[0] = args
;
34405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34406 if (!SWIG_IsOK(res1
)) {
34407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34409 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34413 wxPyEndAllowThreads(__tstate
);
34414 if (PyErr_Occurred()) SWIG_fail
;
34416 resultobj
= SWIG_Py_Void();
34423 SWIGINTERN PyObject
*_wrap_DropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34424 PyObject
*resultobj
= 0;
34425 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34435 PyObject
* obj0
= 0 ;
34436 PyObject
* obj1
= 0 ;
34437 PyObject
* obj2
= 0 ;
34438 char * kwnames
[] = {
34439 (char *) "self",(char *) "x",(char *) "y", NULL
34442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34444 if (!SWIG_IsOK(res1
)) {
34445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34447 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34448 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34449 if (!SWIG_IsOK(ecode2
)) {
34450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
34452 arg2
= static_cast< int >(val2
);
34453 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34454 if (!SWIG_IsOK(ecode3
)) {
34455 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
34457 arg3
= static_cast< int >(val3
);
34459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34460 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
34461 wxPyEndAllowThreads(__tstate
);
34462 if (PyErr_Occurred()) SWIG_fail
;
34465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34473 SWIGINTERN PyObject
*_wrap_DropTarget_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34474 PyObject
*resultobj
= 0;
34475 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34479 PyObject
*swig_obj
[1] ;
34481 if (!args
) SWIG_fail
;
34482 swig_obj
[0] = args
;
34483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34484 if (!SWIG_IsOK(res1
)) {
34485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetData" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34487 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34490 result
= (bool)(arg1
)->GetData();
34491 wxPyEndAllowThreads(__tstate
);
34492 if (PyErr_Occurred()) SWIG_fail
;
34495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34503 SWIGINTERN PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34504 PyObject
*resultobj
= 0;
34505 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34506 wxDragResult arg2
;
34511 PyObject
* obj0
= 0 ;
34512 PyObject
* obj1
= 0 ;
34513 char * kwnames
[] = {
34514 (char *) "self",(char *) "action", NULL
34517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34519 if (!SWIG_IsOK(res1
)) {
34520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34522 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34523 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34524 if (!SWIG_IsOK(ecode2
)) {
34525 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "2"" of type '" "wxDragResult""'");
34527 arg2
= static_cast< wxDragResult
>(val2
);
34529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34530 (arg1
)->SetDefaultAction(arg2
);
34531 wxPyEndAllowThreads(__tstate
);
34532 if (PyErr_Occurred()) SWIG_fail
;
34534 resultobj
= SWIG_Py_Void();
34541 SWIGINTERN PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34542 PyObject
*resultobj
= 0;
34543 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34544 wxDragResult result
;
34547 PyObject
*swig_obj
[1] ;
34549 if (!args
) SWIG_fail
;
34550 swig_obj
[0] = args
;
34551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34552 if (!SWIG_IsOK(res1
)) {
34553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34555 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34558 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
34559 wxPyEndAllowThreads(__tstate
);
34560 if (PyErr_Occurred()) SWIG_fail
;
34562 resultobj
= SWIG_From_int(static_cast< int >(result
));
34569 SWIGINTERN PyObject
*DropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34571 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34572 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropTarget
, SWIG_NewClientData(obj
));
34573 return SWIG_Py_Void();
34576 SWIGINTERN PyObject
*DropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34577 return SWIG_Python_InitShadowInstance(args
);
34580 SWIGINTERN PyObject
*_wrap_new_TextDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34581 PyObject
*resultobj
= 0;
34582 wxPyTextDropTarget
*result
= 0 ;
34584 if (!SWIG_Python_UnpackTuple(args
,"new_TextDropTarget",0,0,0)) SWIG_fail
;
34586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34587 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
34588 wxPyEndAllowThreads(__tstate
);
34589 if (PyErr_Occurred()) SWIG_fail
;
34591 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_NEW
| 0 );
34598 SWIGINTERN PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34599 PyObject
*resultobj
= 0;
34600 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34601 PyObject
*arg2
= (PyObject
*) 0 ;
34602 PyObject
*arg3
= (PyObject
*) 0 ;
34605 PyObject
* obj0
= 0 ;
34606 PyObject
* obj1
= 0 ;
34607 PyObject
* obj2
= 0 ;
34608 char * kwnames
[] = {
34609 (char *) "self",(char *) "self",(char *) "_class", NULL
34612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34614 if (!SWIG_IsOK(res1
)) {
34615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34617 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34622 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34623 wxPyEndAllowThreads(__tstate
);
34624 if (PyErr_Occurred()) SWIG_fail
;
34626 resultobj
= SWIG_Py_Void();
34633 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDropText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34634 PyObject
*resultobj
= 0;
34635 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34638 wxString
*arg4
= 0 ;
34646 bool temp4
= false ;
34647 PyObject
* obj0
= 0 ;
34648 PyObject
* obj1
= 0 ;
34649 PyObject
* obj2
= 0 ;
34650 PyObject
* obj3
= 0 ;
34651 char * kwnames
[] = {
34652 (char *) "self",(char *) "x",(char *) "y",(char *) "text", NULL
34655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDropText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34657 if (!SWIG_IsOK(res1
)) {
34658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34660 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34661 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34662 if (!SWIG_IsOK(ecode2
)) {
34663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "2"" of type '" "int""'");
34665 arg2
= static_cast< int >(val2
);
34666 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34667 if (!SWIG_IsOK(ecode3
)) {
34668 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "3"" of type '" "int""'");
34670 arg3
= static_cast< int >(val3
);
34672 arg4
= wxString_in_helper(obj3
);
34673 if (arg4
== NULL
) SWIG_fail
;
34677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34678 result
= (bool)(arg1
)->OnDropText(arg2
,arg3
,(wxString
const &)*arg4
);
34679 wxPyEndAllowThreads(__tstate
);
34680 if (PyErr_Occurred()) SWIG_fail
;
34683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34699 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34700 PyObject
*resultobj
= 0;
34701 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34704 wxDragResult arg4
;
34705 wxDragResult result
;
34714 PyObject
* obj0
= 0 ;
34715 PyObject
* obj1
= 0 ;
34716 PyObject
* obj2
= 0 ;
34717 PyObject
* obj3
= 0 ;
34718 char * kwnames
[] = {
34719 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34724 if (!SWIG_IsOK(res1
)) {
34725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34727 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34728 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34729 if (!SWIG_IsOK(ecode2
)) {
34730 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
34732 arg2
= static_cast< int >(val2
);
34733 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34734 if (!SWIG_IsOK(ecode3
)) {
34735 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
34737 arg3
= static_cast< int >(val3
);
34738 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34739 if (!SWIG_IsOK(ecode4
)) {
34740 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
34742 arg4
= static_cast< wxDragResult
>(val4
);
34744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34745 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
34746 wxPyEndAllowThreads(__tstate
);
34747 if (PyErr_Occurred()) SWIG_fail
;
34749 resultobj
= SWIG_From_int(static_cast< int >(result
));
34756 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34757 PyObject
*resultobj
= 0;
34758 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34761 wxDragResult arg4
;
34762 wxDragResult result
;
34771 PyObject
* obj0
= 0 ;
34772 PyObject
* obj1
= 0 ;
34773 PyObject
* obj2
= 0 ;
34774 PyObject
* obj3
= 0 ;
34775 char * kwnames
[] = {
34776 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34781 if (!SWIG_IsOK(res1
)) {
34782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34784 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34785 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34786 if (!SWIG_IsOK(ecode2
)) {
34787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
34789 arg2
= static_cast< int >(val2
);
34790 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34791 if (!SWIG_IsOK(ecode3
)) {
34792 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
34794 arg3
= static_cast< int >(val3
);
34795 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34796 if (!SWIG_IsOK(ecode4
)) {
34797 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
34799 arg4
= static_cast< wxDragResult
>(val4
);
34801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34802 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
34803 wxPyEndAllowThreads(__tstate
);
34804 if (PyErr_Occurred()) SWIG_fail
;
34806 resultobj
= SWIG_From_int(static_cast< int >(result
));
34813 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34814 PyObject
*resultobj
= 0;
34815 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34818 PyObject
*swig_obj
[1] ;
34820 if (!args
) SWIG_fail
;
34821 swig_obj
[0] = args
;
34822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34823 if (!SWIG_IsOK(res1
)) {
34824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34826 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34830 wxPyEndAllowThreads(__tstate
);
34831 if (PyErr_Occurred()) SWIG_fail
;
34833 resultobj
= SWIG_Py_Void();
34840 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34841 PyObject
*resultobj
= 0;
34842 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34852 PyObject
* obj0
= 0 ;
34853 PyObject
* obj1
= 0 ;
34854 PyObject
* obj2
= 0 ;
34855 char * kwnames
[] = {
34856 (char *) "self",(char *) "x",(char *) "y", NULL
34859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34861 if (!SWIG_IsOK(res1
)) {
34862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34864 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34865 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34866 if (!SWIG_IsOK(ecode2
)) {
34867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
34869 arg2
= static_cast< int >(val2
);
34870 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34871 if (!SWIG_IsOK(ecode3
)) {
34872 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
34874 arg3
= static_cast< int >(val3
);
34876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34877 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
34878 wxPyEndAllowThreads(__tstate
);
34879 if (PyErr_Occurred()) SWIG_fail
;
34882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34890 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34891 PyObject
*resultobj
= 0;
34892 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34895 wxDragResult arg4
;
34896 wxDragResult result
;
34905 PyObject
* obj0
= 0 ;
34906 PyObject
* obj1
= 0 ;
34907 PyObject
* obj2
= 0 ;
34908 PyObject
* obj3
= 0 ;
34909 char * kwnames
[] = {
34910 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34915 if (!SWIG_IsOK(res1
)) {
34916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34918 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34919 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34920 if (!SWIG_IsOK(ecode2
)) {
34921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
34923 arg2
= static_cast< int >(val2
);
34924 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34925 if (!SWIG_IsOK(ecode3
)) {
34926 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
34928 arg3
= static_cast< int >(val3
);
34929 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34930 if (!SWIG_IsOK(ecode4
)) {
34931 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
34933 arg4
= static_cast< wxDragResult
>(val4
);
34935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34936 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
34937 wxPyEndAllowThreads(__tstate
);
34938 if (PyErr_Occurred()) SWIG_fail
;
34940 resultobj
= SWIG_From_int(static_cast< int >(result
));
34947 SWIGINTERN PyObject
*TextDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34949 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34950 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDropTarget
, SWIG_NewClientData(obj
));
34951 return SWIG_Py_Void();
34954 SWIGINTERN PyObject
*TextDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34955 return SWIG_Python_InitShadowInstance(args
);
34958 SWIGINTERN PyObject
*_wrap_new_FileDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34959 PyObject
*resultobj
= 0;
34960 wxPyFileDropTarget
*result
= 0 ;
34962 if (!SWIG_Python_UnpackTuple(args
,"new_FileDropTarget",0,0,0)) SWIG_fail
;
34964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34965 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
34966 wxPyEndAllowThreads(__tstate
);
34967 if (PyErr_Occurred()) SWIG_fail
;
34969 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_NEW
| 0 );
34976 SWIGINTERN PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34977 PyObject
*resultobj
= 0;
34978 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34979 PyObject
*arg2
= (PyObject
*) 0 ;
34980 PyObject
*arg3
= (PyObject
*) 0 ;
34983 PyObject
* obj0
= 0 ;
34984 PyObject
* obj1
= 0 ;
34985 PyObject
* obj2
= 0 ;
34986 char * kwnames
[] = {
34987 (char *) "self",(char *) "self",(char *) "_class", NULL
34990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
34992 if (!SWIG_IsOK(res1
)) {
34993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
34995 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
34999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35000 (arg1
)->_setCallbackInfo(arg2
,arg3
);
35001 wxPyEndAllowThreads(__tstate
);
35002 if (PyErr_Occurred()) SWIG_fail
;
35004 resultobj
= SWIG_Py_Void();
35011 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDropFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35012 PyObject
*resultobj
= 0;
35013 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35016 wxArrayString
*arg4
= 0 ;
35024 bool temp4
= false ;
35025 PyObject
* obj0
= 0 ;
35026 PyObject
* obj1
= 0 ;
35027 PyObject
* obj2
= 0 ;
35028 PyObject
* obj3
= 0 ;
35029 char * kwnames
[] = {
35030 (char *) "self",(char *) "x",(char *) "y",(char *) "filenames", NULL
35033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDropFiles",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35035 if (!SWIG_IsOK(res1
)) {
35036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35038 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35039 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35040 if (!SWIG_IsOK(ecode2
)) {
35041 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "2"" of type '" "int""'");
35043 arg2
= static_cast< int >(val2
);
35044 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35045 if (!SWIG_IsOK(ecode3
)) {
35046 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "3"" of type '" "int""'");
35048 arg3
= static_cast< int >(val3
);
35050 if (! PySequence_Check(obj3
)) {
35051 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
35054 arg4
= new wxArrayString
;
35056 int i
, len
=PySequence_Length(obj3
);
35057 for (i
=0; i
<len
; i
++) {
35058 PyObject
* item
= PySequence_GetItem(obj3
, i
);
35059 wxString
* s
= wxString_in_helper(item
);
35060 if (PyErr_Occurred()) SWIG_fail
;
35067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35068 result
= (bool)(arg1
)->OnDropFiles(arg2
,arg3
,(wxArrayString
const &)*arg4
);
35069 wxPyEndAllowThreads(__tstate
);
35070 if (PyErr_Occurred()) SWIG_fail
;
35073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35076 if (temp4
) delete arg4
;
35081 if (temp4
) delete arg4
;
35087 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35088 PyObject
*resultobj
= 0;
35089 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35092 wxDragResult arg4
;
35093 wxDragResult result
;
35102 PyObject
* obj0
= 0 ;
35103 PyObject
* obj1
= 0 ;
35104 PyObject
* obj2
= 0 ;
35105 PyObject
* obj3
= 0 ;
35106 char * kwnames
[] = {
35107 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
35110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35112 if (!SWIG_IsOK(res1
)) {
35113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35115 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35116 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35117 if (!SWIG_IsOK(ecode2
)) {
35118 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
35120 arg2
= static_cast< int >(val2
);
35121 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35122 if (!SWIG_IsOK(ecode3
)) {
35123 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
35125 arg3
= static_cast< int >(val3
);
35126 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35127 if (!SWIG_IsOK(ecode4
)) {
35128 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
35130 arg4
= static_cast< wxDragResult
>(val4
);
35132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35133 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
35134 wxPyEndAllowThreads(__tstate
);
35135 if (PyErr_Occurred()) SWIG_fail
;
35137 resultobj
= SWIG_From_int(static_cast< int >(result
));
35144 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35145 PyObject
*resultobj
= 0;
35146 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35149 wxDragResult arg4
;
35150 wxDragResult result
;
35159 PyObject
* obj0
= 0 ;
35160 PyObject
* obj1
= 0 ;
35161 PyObject
* obj2
= 0 ;
35162 PyObject
* obj3
= 0 ;
35163 char * kwnames
[] = {
35164 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
35167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35169 if (!SWIG_IsOK(res1
)) {
35170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35172 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35173 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35174 if (!SWIG_IsOK(ecode2
)) {
35175 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
35177 arg2
= static_cast< int >(val2
);
35178 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35179 if (!SWIG_IsOK(ecode3
)) {
35180 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
35182 arg3
= static_cast< int >(val3
);
35183 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35184 if (!SWIG_IsOK(ecode4
)) {
35185 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
35187 arg4
= static_cast< wxDragResult
>(val4
);
35189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35190 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
35191 wxPyEndAllowThreads(__tstate
);
35192 if (PyErr_Occurred()) SWIG_fail
;
35194 resultobj
= SWIG_From_int(static_cast< int >(result
));
35201 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35202 PyObject
*resultobj
= 0;
35203 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35206 PyObject
*swig_obj
[1] ;
35208 if (!args
) SWIG_fail
;
35209 swig_obj
[0] = args
;
35210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35211 if (!SWIG_IsOK(res1
)) {
35212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35214 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35218 wxPyEndAllowThreads(__tstate
);
35219 if (PyErr_Occurred()) SWIG_fail
;
35221 resultobj
= SWIG_Py_Void();
35228 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35229 PyObject
*resultobj
= 0;
35230 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35240 PyObject
* obj0
= 0 ;
35241 PyObject
* obj1
= 0 ;
35242 PyObject
* obj2
= 0 ;
35243 char * kwnames
[] = {
35244 (char *) "self",(char *) "x",(char *) "y", NULL
35247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35249 if (!SWIG_IsOK(res1
)) {
35250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35252 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35253 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35254 if (!SWIG_IsOK(ecode2
)) {
35255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
35257 arg2
= static_cast< int >(val2
);
35258 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35259 if (!SWIG_IsOK(ecode3
)) {
35260 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
35262 arg3
= static_cast< int >(val3
);
35264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35265 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
35266 wxPyEndAllowThreads(__tstate
);
35267 if (PyErr_Occurred()) SWIG_fail
;
35270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35278 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35279 PyObject
*resultobj
= 0;
35280 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35283 wxDragResult arg4
;
35284 wxDragResult result
;
35293 PyObject
* obj0
= 0 ;
35294 PyObject
* obj1
= 0 ;
35295 PyObject
* obj2
= 0 ;
35296 PyObject
* obj3
= 0 ;
35297 char * kwnames
[] = {
35298 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
35301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35303 if (!SWIG_IsOK(res1
)) {
35304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35306 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35307 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35308 if (!SWIG_IsOK(ecode2
)) {
35309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
35311 arg2
= static_cast< int >(val2
);
35312 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35313 if (!SWIG_IsOK(ecode3
)) {
35314 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
35316 arg3
= static_cast< int >(val3
);
35317 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35318 if (!SWIG_IsOK(ecode4
)) {
35319 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
35321 arg4
= static_cast< wxDragResult
>(val4
);
35323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35324 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
35325 wxPyEndAllowThreads(__tstate
);
35326 if (PyErr_Occurred()) SWIG_fail
;
35328 resultobj
= SWIG_From_int(static_cast< int >(result
));
35335 SWIGINTERN PyObject
*FileDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35337 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35338 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFileDropTarget
, SWIG_NewClientData(obj
));
35339 return SWIG_Py_Void();
35342 SWIGINTERN PyObject
*FileDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35343 return SWIG_Python_InitShadowInstance(args
);
35346 SWIGINTERN PyObject
*_wrap_new_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35347 PyObject
*resultobj
= 0;
35348 wxClipboard
*result
= 0 ;
35350 if (!SWIG_Python_UnpackTuple(args
,"new_Clipboard",0,0,0)) SWIG_fail
;
35352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35353 result
= (wxClipboard
*)new wxClipboard();
35354 wxPyEndAllowThreads(__tstate
);
35355 if (PyErr_Occurred()) SWIG_fail
;
35357 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, SWIG_POINTER_NEW
| 0 );
35364 SWIGINTERN PyObject
*_wrap_delete_Clipboard(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
, SWIG_POINTER_DISOWN
| 0 );
35374 if (!SWIG_IsOK(res1
)) {
35375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Clipboard" "', expected argument " "1"" of type '" "wxClipboard *""'");
35377 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35382 wxPyEndAllowThreads(__tstate
);
35383 if (PyErr_Occurred()) SWIG_fail
;
35385 resultobj
= SWIG_Py_Void();
35392 SWIGINTERN PyObject
*_wrap_Clipboard_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35393 PyObject
*resultobj
= 0;
35394 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35398 PyObject
*swig_obj
[1] ;
35400 if (!args
) SWIG_fail
;
35401 swig_obj
[0] = args
;
35402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35403 if (!SWIG_IsOK(res1
)) {
35404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Open" "', expected argument " "1"" of type '" "wxClipboard *""'");
35406 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35409 result
= (bool)(arg1
)->Open();
35410 wxPyEndAllowThreads(__tstate
);
35411 if (PyErr_Occurred()) SWIG_fail
;
35414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35422 SWIGINTERN PyObject
*_wrap_Clipboard_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35423 PyObject
*resultobj
= 0;
35424 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35427 PyObject
*swig_obj
[1] ;
35429 if (!args
) SWIG_fail
;
35430 swig_obj
[0] = args
;
35431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35432 if (!SWIG_IsOK(res1
)) {
35433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Close" "', expected argument " "1"" of type '" "wxClipboard *""'");
35435 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35439 wxPyEndAllowThreads(__tstate
);
35440 if (PyErr_Occurred()) SWIG_fail
;
35442 resultobj
= SWIG_Py_Void();
35449 SWIGINTERN PyObject
*_wrap_Clipboard_IsOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35450 PyObject
*resultobj
= 0;
35451 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35455 PyObject
*swig_obj
[1] ;
35457 if (!args
) SWIG_fail
;
35458 swig_obj
[0] = args
;
35459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35460 if (!SWIG_IsOK(res1
)) {
35461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsOpened" "', expected argument " "1"" of type '" "wxClipboard const *""'");
35463 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35466 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
35467 wxPyEndAllowThreads(__tstate
);
35468 if (PyErr_Occurred()) SWIG_fail
;
35471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35479 SWIGINTERN PyObject
*_wrap_Clipboard_AddData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35480 PyObject
*resultobj
= 0;
35481 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35482 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
35487 PyObject
* obj0
= 0 ;
35488 PyObject
* obj1
= 0 ;
35489 char * kwnames
[] = {
35490 (char *) "self",(char *) "data", NULL
35493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35495 if (!SWIG_IsOK(res1
)) {
35496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_AddData" "', expected argument " "1"" of type '" "wxClipboard *""'");
35498 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35499 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
35500 if (!SWIG_IsOK(res2
)) {
35501 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_AddData" "', expected argument " "2"" of type '" "wxDataObject *""'");
35504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35505 result
= (bool)(arg1
)->AddData(arg2
);
35506 wxPyEndAllowThreads(__tstate
);
35507 if (PyErr_Occurred()) SWIG_fail
;
35510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35518 SWIGINTERN PyObject
*_wrap_Clipboard_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35519 PyObject
*resultobj
= 0;
35520 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35521 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
35526 PyObject
* obj0
= 0 ;
35527 PyObject
* obj1
= 0 ;
35528 char * kwnames
[] = {
35529 (char *) "self",(char *) "data", NULL
35532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35534 if (!SWIG_IsOK(res1
)) {
35535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_SetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
35537 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35538 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
35539 if (!SWIG_IsOK(res2
)) {
35540 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_SetData" "', expected argument " "2"" of type '" "wxDataObject *""'");
35543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35544 result
= (bool)(arg1
)->SetData(arg2
);
35545 wxPyEndAllowThreads(__tstate
);
35546 if (PyErr_Occurred()) SWIG_fail
;
35549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35557 SWIGINTERN PyObject
*_wrap_Clipboard_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35558 PyObject
*resultobj
= 0;
35559 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35560 wxDataFormat
*arg2
= 0 ;
35566 PyObject
* obj0
= 0 ;
35567 PyObject
* obj1
= 0 ;
35568 char * kwnames
[] = {
35569 (char *) "self",(char *) "format", NULL
35572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35574 if (!SWIG_IsOK(res1
)) {
35575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsSupported" "', expected argument " "1"" of type '" "wxClipboard *""'");
35577 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35578 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
35579 if (!SWIG_IsOK(res2
)) {
35580 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
35583 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
35585 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
35587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35588 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
35589 wxPyEndAllowThreads(__tstate
);
35590 if (PyErr_Occurred()) SWIG_fail
;
35593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35601 SWIGINTERN PyObject
*_wrap_Clipboard_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35602 PyObject
*resultobj
= 0;
35603 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35604 wxDataObject
*arg2
= 0 ;
35610 PyObject
* obj0
= 0 ;
35611 PyObject
* obj1
= 0 ;
35612 char * kwnames
[] = {
35613 (char *) "self",(char *) "data", NULL
35616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35618 if (!SWIG_IsOK(res1
)) {
35619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_GetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
35621 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35622 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
35623 if (!SWIG_IsOK(res2
)) {
35624 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
35627 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
35629 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
35631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35632 result
= (bool)(arg1
)->GetData(*arg2
);
35633 wxPyEndAllowThreads(__tstate
);
35634 if (PyErr_Occurred()) SWIG_fail
;
35637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35645 SWIGINTERN PyObject
*_wrap_Clipboard_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35646 PyObject
*resultobj
= 0;
35647 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35650 PyObject
*swig_obj
[1] ;
35652 if (!args
) SWIG_fail
;
35653 swig_obj
[0] = args
;
35654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35655 if (!SWIG_IsOK(res1
)) {
35656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Clear" "', expected argument " "1"" of type '" "wxClipboard *""'");
35658 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35662 wxPyEndAllowThreads(__tstate
);
35663 if (PyErr_Occurred()) SWIG_fail
;
35665 resultobj
= SWIG_Py_Void();
35672 SWIGINTERN PyObject
*_wrap_Clipboard_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35673 PyObject
*resultobj
= 0;
35674 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35678 PyObject
*swig_obj
[1] ;
35680 if (!args
) SWIG_fail
;
35681 swig_obj
[0] = args
;
35682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35683 if (!SWIG_IsOK(res1
)) {
35684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Flush" "', expected argument " "1"" of type '" "wxClipboard *""'");
35686 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35689 result
= (bool)(arg1
)->Flush();
35690 wxPyEndAllowThreads(__tstate
);
35691 if (PyErr_Occurred()) SWIG_fail
;
35694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35702 SWIGINTERN PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35703 PyObject
*resultobj
= 0;
35704 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35705 bool arg2
= (bool) true ;
35710 PyObject
* obj0
= 0 ;
35711 PyObject
* obj1
= 0 ;
35712 char * kwnames
[] = {
35713 (char *) "self",(char *) "primary", NULL
35716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35718 if (!SWIG_IsOK(res1
)) {
35719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "1"" of type '" "wxClipboard *""'");
35721 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35723 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
35724 if (!SWIG_IsOK(ecode2
)) {
35725 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "2"" of type '" "bool""'");
35727 arg2
= static_cast< bool >(val2
);
35730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35731 (arg1
)->UsePrimarySelection(arg2
);
35732 wxPyEndAllowThreads(__tstate
);
35733 if (PyErr_Occurred()) SWIG_fail
;
35735 resultobj
= SWIG_Py_Void();
35742 SWIGINTERN PyObject
*_wrap_Clipboard_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35743 PyObject
*resultobj
= 0;
35744 wxClipboard
*result
= 0 ;
35746 if (!SWIG_Python_UnpackTuple(args
,"Clipboard_Get",0,0,0)) SWIG_fail
;
35748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35749 result
= (wxClipboard
*)wxClipboard::Get();
35750 wxPyEndAllowThreads(__tstate
);
35751 if (PyErr_Occurred()) SWIG_fail
;
35753 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, 0 | 0 );
35760 SWIGINTERN PyObject
*Clipboard_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35762 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35763 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboard
, SWIG_NewClientData(obj
));
35764 return SWIG_Py_Void();
35767 SWIGINTERN PyObject
*Clipboard_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35768 return SWIG_Python_InitShadowInstance(args
);
35771 SWIGINTERN PyObject
*_wrap_new_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35772 PyObject
*resultobj
= 0;
35773 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
35774 wxClipboardLocker
*result
= 0 ;
35777 PyObject
* obj0
= 0 ;
35778 char * kwnames
[] = {
35779 (char *) "clipboard", NULL
35782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) SWIG_fail
;
35784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35785 if (!SWIG_IsOK(res1
)) {
35786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboard *""'");
35788 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35792 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
35793 wxPyEndAllowThreads(__tstate
);
35794 if (PyErr_Occurred()) SWIG_fail
;
35796 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_NEW
| 0 );
35803 SWIGINTERN PyObject
*_wrap_delete_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35804 PyObject
*resultobj
= 0;
35805 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
35808 PyObject
*swig_obj
[1] ;
35810 if (!args
) SWIG_fail
;
35811 swig_obj
[0] = args
;
35812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_DISOWN
| 0 );
35813 if (!SWIG_IsOK(res1
)) {
35814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
35816 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
35818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35821 wxPyEndAllowThreads(__tstate
);
35822 if (PyErr_Occurred()) SWIG_fail
;
35824 resultobj
= SWIG_Py_Void();
35831 SWIGINTERN PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35832 PyObject
*resultobj
= 0;
35833 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
35837 PyObject
*swig_obj
[1] ;
35839 if (!args
) SWIG_fail
;
35840 swig_obj
[0] = args
;
35841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, 0 | 0 );
35842 if (!SWIG_IsOK(res1
)) {
35843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ClipboardLocker___nonzero__" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
35845 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
35847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35848 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
35849 wxPyEndAllowThreads(__tstate
);
35850 if (PyErr_Occurred()) SWIG_fail
;
35853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35861 SWIGINTERN PyObject
*ClipboardLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35863 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35864 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboardLocker
, SWIG_NewClientData(obj
));
35865 return SWIG_Py_Void();
35868 SWIGINTERN PyObject
*ClipboardLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35869 return SWIG_Python_InitShadowInstance(args
);
35872 SWIGINTERN PyObject
*_wrap_new_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35873 PyObject
*resultobj
= 0;
35874 int arg1
= (int) 0 ;
35875 int arg2
= (int) 0 ;
35876 int arg3
= (int) 0 ;
35877 int arg4
= (int) 0 ;
35878 wxVideoMode
*result
= 0 ;
35887 PyObject
* obj0
= 0 ;
35888 PyObject
* obj1
= 0 ;
35889 PyObject
* obj2
= 0 ;
35890 PyObject
* obj3
= 0 ;
35891 char * kwnames
[] = {
35892 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
35895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35897 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
35898 if (!SWIG_IsOK(ecode1
)) {
35899 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_VideoMode" "', expected argument " "1"" of type '" "int""'");
35901 arg1
= static_cast< int >(val1
);
35904 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35905 if (!SWIG_IsOK(ecode2
)) {
35906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VideoMode" "', expected argument " "2"" of type '" "int""'");
35908 arg2
= static_cast< int >(val2
);
35911 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35912 if (!SWIG_IsOK(ecode3
)) {
35913 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_VideoMode" "', expected argument " "3"" of type '" "int""'");
35915 arg3
= static_cast< int >(val3
);
35918 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35919 if (!SWIG_IsOK(ecode4
)) {
35920 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_VideoMode" "', expected argument " "4"" of type '" "int""'");
35922 arg4
= static_cast< int >(val4
);
35925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35926 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
35927 wxPyEndAllowThreads(__tstate
);
35928 if (PyErr_Occurred()) SWIG_fail
;
35930 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_NEW
| 0 );
35937 SWIGINTERN PyObject
*_wrap_delete_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35938 PyObject
*resultobj
= 0;
35939 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35942 PyObject
*swig_obj
[1] ;
35944 if (!args
) SWIG_fail
;
35945 swig_obj
[0] = args
;
35946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_DISOWN
| 0 );
35947 if (!SWIG_IsOK(res1
)) {
35948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_VideoMode" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35950 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35955 wxPyEndAllowThreads(__tstate
);
35956 if (PyErr_Occurred()) SWIG_fail
;
35958 resultobj
= SWIG_Py_Void();
35965 SWIGINTERN PyObject
*_wrap_VideoMode_Matches(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35966 PyObject
*resultobj
= 0;
35967 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35968 wxVideoMode
*arg2
= 0 ;
35974 PyObject
* obj0
= 0 ;
35975 PyObject
* obj1
= 0 ;
35976 char * kwnames
[] = {
35977 (char *) "self",(char *) "other", NULL
35980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35982 if (!SWIG_IsOK(res1
)) {
35983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_Matches" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
35985 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35986 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
35987 if (!SWIG_IsOK(res2
)) {
35988 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35991 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35993 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
35995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35996 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
35997 wxPyEndAllowThreads(__tstate
);
35998 if (PyErr_Occurred()) SWIG_fail
;
36001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36009 SWIGINTERN PyObject
*_wrap_VideoMode_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36010 PyObject
*resultobj
= 0;
36011 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36015 PyObject
*swig_obj
[1] ;
36017 if (!args
) SWIG_fail
;
36018 swig_obj
[0] = args
;
36019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36020 if (!SWIG_IsOK(res1
)) {
36021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetWidth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
36023 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36026 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
36027 wxPyEndAllowThreads(__tstate
);
36028 if (PyErr_Occurred()) SWIG_fail
;
36030 resultobj
= SWIG_From_int(static_cast< int >(result
));
36037 SWIGINTERN PyObject
*_wrap_VideoMode_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36038 PyObject
*resultobj
= 0;
36039 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36043 PyObject
*swig_obj
[1] ;
36045 if (!args
) SWIG_fail
;
36046 swig_obj
[0] = args
;
36047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36048 if (!SWIG_IsOK(res1
)) {
36049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetHeight" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
36051 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36054 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
36055 wxPyEndAllowThreads(__tstate
);
36056 if (PyErr_Occurred()) SWIG_fail
;
36058 resultobj
= SWIG_From_int(static_cast< int >(result
));
36065 SWIGINTERN PyObject
*_wrap_VideoMode_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36066 PyObject
*resultobj
= 0;
36067 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36071 PyObject
*swig_obj
[1] ;
36073 if (!args
) SWIG_fail
;
36074 swig_obj
[0] = args
;
36075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36076 if (!SWIG_IsOK(res1
)) {
36077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetDepth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
36079 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36082 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
36083 wxPyEndAllowThreads(__tstate
);
36084 if (PyErr_Occurred()) SWIG_fail
;
36086 resultobj
= SWIG_From_int(static_cast< int >(result
));
36093 SWIGINTERN PyObject
*_wrap_VideoMode_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36094 PyObject
*resultobj
= 0;
36095 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36099 PyObject
*swig_obj
[1] ;
36101 if (!args
) SWIG_fail
;
36102 swig_obj
[0] = args
;
36103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36104 if (!SWIG_IsOK(res1
)) {
36105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_IsOk" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
36107 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36110 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
36111 wxPyEndAllowThreads(__tstate
);
36112 if (PyErr_Occurred()) SWIG_fail
;
36115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36123 SWIGINTERN PyObject
*_wrap_VideoMode___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36124 PyObject
*resultobj
= 0;
36125 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36126 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
36132 PyObject
* obj0
= 0 ;
36133 PyObject
* obj1
= 0 ;
36134 char * kwnames
[] = {
36135 (char *) "self",(char *) "other", NULL
36138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36140 if (!SWIG_IsOK(res1
)) {
36141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___eq__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36143 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36144 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36145 if (!SWIG_IsOK(res2
)) {
36146 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___eq__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
36148 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36151 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
36152 wxPyEndAllowThreads(__tstate
);
36153 if (PyErr_Occurred()) SWIG_fail
;
36156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36164 SWIGINTERN PyObject
*_wrap_VideoMode___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36165 PyObject
*resultobj
= 0;
36166 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36167 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
36173 PyObject
* obj0
= 0 ;
36174 PyObject
* obj1
= 0 ;
36175 char * kwnames
[] = {
36176 (char *) "self",(char *) "other", NULL
36179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36181 if (!SWIG_IsOK(res1
)) {
36182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___ne__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36184 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36185 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36186 if (!SWIG_IsOK(res2
)) {
36187 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___ne__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
36189 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36192 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
36193 wxPyEndAllowThreads(__tstate
);
36194 if (PyErr_Occurred()) SWIG_fail
;
36197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36205 SWIGINTERN PyObject
*_wrap_VideoMode_w_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36206 PyObject
*resultobj
= 0;
36207 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36213 PyObject
*swig_obj
[2] ;
36215 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_w_set",2,2,swig_obj
)) SWIG_fail
;
36216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36217 if (!SWIG_IsOK(res1
)) {
36218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36220 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36221 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36222 if (!SWIG_IsOK(ecode2
)) {
36223 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_w_set" "', expected argument " "2"" of type '" "int""'");
36225 arg2
= static_cast< int >(val2
);
36226 if (arg1
) (arg1
)->w
= arg2
;
36228 resultobj
= SWIG_Py_Void();
36235 SWIGINTERN PyObject
*_wrap_VideoMode_w_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36236 PyObject
*resultobj
= 0;
36237 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36241 PyObject
*swig_obj
[1] ;
36243 if (!args
) SWIG_fail
;
36244 swig_obj
[0] = args
;
36245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36246 if (!SWIG_IsOK(res1
)) {
36247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36249 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36250 result
= (int) ((arg1
)->w
);
36251 resultobj
= SWIG_From_int(static_cast< int >(result
));
36258 SWIGINTERN PyObject
*_wrap_VideoMode_h_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36259 PyObject
*resultobj
= 0;
36260 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36266 PyObject
*swig_obj
[2] ;
36268 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_h_set",2,2,swig_obj
)) SWIG_fail
;
36269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36270 if (!SWIG_IsOK(res1
)) {
36271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36273 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36274 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36275 if (!SWIG_IsOK(ecode2
)) {
36276 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_h_set" "', expected argument " "2"" of type '" "int""'");
36278 arg2
= static_cast< int >(val2
);
36279 if (arg1
) (arg1
)->h
= arg2
;
36281 resultobj
= SWIG_Py_Void();
36288 SWIGINTERN PyObject
*_wrap_VideoMode_h_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36289 PyObject
*resultobj
= 0;
36290 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36294 PyObject
*swig_obj
[1] ;
36296 if (!args
) SWIG_fail
;
36297 swig_obj
[0] = args
;
36298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36299 if (!SWIG_IsOK(res1
)) {
36300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36302 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36303 result
= (int) ((arg1
)->h
);
36304 resultobj
= SWIG_From_int(static_cast< int >(result
));
36311 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36312 PyObject
*resultobj
= 0;
36313 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36319 PyObject
*swig_obj
[2] ;
36321 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_bpp_set",2,2,swig_obj
)) SWIG_fail
;
36322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36323 if (!SWIG_IsOK(res1
)) {
36324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36326 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36327 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36328 if (!SWIG_IsOK(ecode2
)) {
36329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_bpp_set" "', expected argument " "2"" of type '" "int""'");
36331 arg2
= static_cast< int >(val2
);
36332 if (arg1
) (arg1
)->bpp
= arg2
;
36334 resultobj
= SWIG_Py_Void();
36341 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36342 PyObject
*resultobj
= 0;
36343 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36347 PyObject
*swig_obj
[1] ;
36349 if (!args
) SWIG_fail
;
36350 swig_obj
[0] = args
;
36351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36352 if (!SWIG_IsOK(res1
)) {
36353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36355 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36356 result
= (int) ((arg1
)->bpp
);
36357 resultobj
= SWIG_From_int(static_cast< int >(result
));
36364 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36365 PyObject
*resultobj
= 0;
36366 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36372 PyObject
*swig_obj
[2] ;
36374 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_refresh_set",2,2,swig_obj
)) SWIG_fail
;
36375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36376 if (!SWIG_IsOK(res1
)) {
36377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36379 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36380 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36381 if (!SWIG_IsOK(ecode2
)) {
36382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_refresh_set" "', expected argument " "2"" of type '" "int""'");
36384 arg2
= static_cast< int >(val2
);
36385 if (arg1
) (arg1
)->refresh
= arg2
;
36387 resultobj
= SWIG_Py_Void();
36394 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36395 PyObject
*resultobj
= 0;
36396 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36400 PyObject
*swig_obj
[1] ;
36402 if (!args
) SWIG_fail
;
36403 swig_obj
[0] = args
;
36404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36405 if (!SWIG_IsOK(res1
)) {
36406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36408 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36409 result
= (int) ((arg1
)->refresh
);
36410 resultobj
= SWIG_From_int(static_cast< int >(result
));
36417 SWIGINTERN PyObject
*VideoMode_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36419 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36420 SWIG_TypeNewClientData(SWIGTYPE_p_wxVideoMode
, SWIG_NewClientData(obj
));
36421 return SWIG_Py_Void();
36424 SWIGINTERN PyObject
*VideoMode_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36425 return SWIG_Python_InitShadowInstance(args
);
36428 SWIGINTERN
int DefaultVideoMode_set(PyObject
*) {
36429 SWIG_Error(SWIG_AttributeError
,"Variable DefaultVideoMode is read-only.");
36434 SWIGINTERN PyObject
*DefaultVideoMode_get(void) {
36435 PyObject
*pyobj
= 0;
36437 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0 );
36442 SWIGINTERN PyObject
*_wrap_new_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36443 PyObject
*resultobj
= 0;
36444 unsigned int arg1
= (unsigned int) 0 ;
36445 wxDisplay
*result
= 0 ;
36446 unsigned int val1
;
36448 PyObject
* obj0
= 0 ;
36449 char * kwnames
[] = {
36450 (char *) "index", NULL
36453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) SWIG_fail
;
36455 ecode1
= SWIG_AsVal_unsigned_SS_int(obj0
, &val1
);
36456 if (!SWIG_IsOK(ecode1
)) {
36457 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Display" "', expected argument " "1"" of type '" "unsigned int""'");
36459 arg1
= static_cast< unsigned int >(val1
);
36462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36463 result
= (wxDisplay
*)new wxDisplay(arg1
);
36464 wxPyEndAllowThreads(__tstate
);
36465 if (PyErr_Occurred()) SWIG_fail
;
36467 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDisplay
, SWIG_POINTER_NEW
| 0 );
36474 SWIGINTERN PyObject
*_wrap_delete_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36475 PyObject
*resultobj
= 0;
36476 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36479 PyObject
*swig_obj
[1] ;
36481 if (!args
) SWIG_fail
;
36482 swig_obj
[0] = args
;
36483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, SWIG_POINTER_DISOWN
| 0 );
36484 if (!SWIG_IsOK(res1
)) {
36485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Display" "', expected argument " "1"" of type '" "wxDisplay *""'");
36487 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36492 wxPyEndAllowThreads(__tstate
);
36493 if (PyErr_Occurred()) SWIG_fail
;
36495 resultobj
= SWIG_Py_Void();
36502 SWIGINTERN PyObject
*_wrap_Display_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36503 PyObject
*resultobj
= 0;
36504 unsigned int result
;
36506 if (!SWIG_Python_UnpackTuple(args
,"Display_GetCount",0,0,0)) SWIG_fail
;
36508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36509 result
= (unsigned int)wxDisplay::GetCount();
36510 wxPyEndAllowThreads(__tstate
);
36511 if (PyErr_Occurred()) SWIG_fail
;
36513 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
36520 SWIGINTERN PyObject
*_wrap_Display_GetFromPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36521 PyObject
*resultobj
= 0;
36522 wxPoint
*arg1
= 0 ;
36525 PyObject
* obj0
= 0 ;
36526 char * kwnames
[] = {
36527 (char *) "pt", NULL
36530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) SWIG_fail
;
36533 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
36536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36537 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
36538 wxPyEndAllowThreads(__tstate
);
36539 if (PyErr_Occurred()) SWIG_fail
;
36541 resultobj
= SWIG_From_int(static_cast< int >(result
));
36548 SWIGINTERN PyObject
*_wrap_Display_GetFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36549 PyObject
*resultobj
= 0;
36550 wxWindow
*arg1
= (wxWindow
*) 0 ;
36554 PyObject
* obj0
= 0 ;
36555 char * kwnames
[] = {
36556 (char *) "window", NULL
36559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) SWIG_fail
;
36560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36561 if (!SWIG_IsOK(res1
)) {
36562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetFromWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
36564 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36567 result
= (int)wxDisplay::GetFromWindow(arg1
);
36568 wxPyEndAllowThreads(__tstate
);
36569 if (PyErr_Occurred()) SWIG_fail
;
36571 resultobj
= SWIG_From_int(static_cast< int >(result
));
36578 SWIGINTERN PyObject
*_wrap_Display_IsOk(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_IsOk" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36592 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36595 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
36596 wxPyEndAllowThreads(__tstate
);
36597 if (PyErr_Occurred()) SWIG_fail
;
36600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36608 SWIGINTERN PyObject
*_wrap_Display_GetGeometry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36609 PyObject
*resultobj
= 0;
36610 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36614 PyObject
*swig_obj
[1] ;
36616 if (!args
) SWIG_fail
;
36617 swig_obj
[0] = args
;
36618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36619 if (!SWIG_IsOK(res1
)) {
36620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetGeometry" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36622 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36625 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
36626 wxPyEndAllowThreads(__tstate
);
36627 if (PyErr_Occurred()) SWIG_fail
;
36629 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
36636 SWIGINTERN PyObject
*_wrap_Display_GetClientArea(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36637 PyObject
*resultobj
= 0;
36638 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36642 PyObject
*swig_obj
[1] ;
36644 if (!args
) SWIG_fail
;
36645 swig_obj
[0] = args
;
36646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36647 if (!SWIG_IsOK(res1
)) {
36648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetClientArea" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36650 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36653 result
= ((wxDisplay
const *)arg1
)->GetClientArea();
36654 wxPyEndAllowThreads(__tstate
);
36655 if (PyErr_Occurred()) SWIG_fail
;
36657 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
36664 SWIGINTERN PyObject
*_wrap_Display_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36665 PyObject
*resultobj
= 0;
36666 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36670 PyObject
*swig_obj
[1] ;
36672 if (!args
) SWIG_fail
;
36673 swig_obj
[0] = args
;
36674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36675 if (!SWIG_IsOK(res1
)) {
36676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetName" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36678 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36681 result
= ((wxDisplay
const *)arg1
)->GetName();
36682 wxPyEndAllowThreads(__tstate
);
36683 if (PyErr_Occurred()) SWIG_fail
;
36687 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36689 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36698 SWIGINTERN PyObject
*_wrap_Display_IsPrimary(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36699 PyObject
*resultobj
= 0;
36700 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36704 PyObject
*swig_obj
[1] ;
36706 if (!args
) SWIG_fail
;
36707 swig_obj
[0] = args
;
36708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36709 if (!SWIG_IsOK(res1
)) {
36710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsPrimary" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36712 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36715 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
36716 wxPyEndAllowThreads(__tstate
);
36717 if (PyErr_Occurred()) SWIG_fail
;
36720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36728 SWIGINTERN PyObject
*_wrap_Display_GetModes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36729 PyObject
*resultobj
= 0;
36730 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36731 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
36732 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
36733 PyObject
*result
= 0 ;
36738 PyObject
* obj0
= 0 ;
36739 PyObject
* obj1
= 0 ;
36740 char * kwnames
[] = {
36741 (char *) "self",(char *) "mode", NULL
36744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36746 if (!SWIG_IsOK(res1
)) {
36747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetModes" "', expected argument " "1"" of type '" "wxDisplay *""'");
36749 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36751 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
36752 if (!SWIG_IsOK(res2
)) {
36753 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36756 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36758 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36762 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
36763 wxPyEndAllowThreads(__tstate
);
36764 if (PyErr_Occurred()) SWIG_fail
;
36766 resultobj
= result
;
36773 SWIGINTERN PyObject
*_wrap_Display_GetCurrentMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36774 PyObject
*resultobj
= 0;
36775 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36776 wxVideoMode result
;
36779 PyObject
*swig_obj
[1] ;
36781 if (!args
) SWIG_fail
;
36782 swig_obj
[0] = args
;
36783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36784 if (!SWIG_IsOK(res1
)) {
36785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetCurrentMode" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36787 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36790 result
= wxDisplay_GetCurrentMode((wxDisplay
const *)arg1
);
36791 wxPyEndAllowThreads(__tstate
);
36792 if (PyErr_Occurred()) SWIG_fail
;
36794 resultobj
= SWIG_NewPointerObj((new wxVideoMode(static_cast< const wxVideoMode
& >(result
))), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_OWN
| 0 );
36801 SWIGINTERN PyObject
*_wrap_Display_ChangeMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36802 PyObject
*resultobj
= 0;
36803 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36804 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
36805 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
36811 PyObject
* obj0
= 0 ;
36812 PyObject
* obj1
= 0 ;
36813 char * kwnames
[] = {
36814 (char *) "self",(char *) "mode", NULL
36817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36819 if (!SWIG_IsOK(res1
)) {
36820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ChangeMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
36822 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36824 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
36825 if (!SWIG_IsOK(res2
)) {
36826 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36829 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36831 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36835 result
= (bool)wxDisplay_ChangeMode(arg1
,(wxVideoMode
const &)*arg2
);
36836 wxPyEndAllowThreads(__tstate
);
36837 if (PyErr_Occurred()) SWIG_fail
;
36840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36848 SWIGINTERN PyObject
*_wrap_Display_ResetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36849 PyObject
*resultobj
= 0;
36850 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36853 PyObject
*swig_obj
[1] ;
36855 if (!args
) SWIG_fail
;
36856 swig_obj
[0] = args
;
36857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36858 if (!SWIG_IsOK(res1
)) {
36859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ResetMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
36861 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36864 wxDisplay_ResetMode(arg1
);
36865 wxPyEndAllowThreads(__tstate
);
36866 if (PyErr_Occurred()) SWIG_fail
;
36868 resultobj
= SWIG_Py_Void();
36875 SWIGINTERN PyObject
*Display_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36877 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36878 SWIG_TypeNewClientData(SWIGTYPE_p_wxDisplay
, SWIG_NewClientData(obj
));
36879 return SWIG_Py_Void();
36882 SWIGINTERN PyObject
*Display_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36883 return SWIG_Python_InitShadowInstance(args
);
36886 SWIGINTERN PyObject
*_wrap_StandardPaths_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36887 PyObject
*resultobj
= 0;
36888 wxStandardPaths
*result
= 0 ;
36890 if (!SWIG_Python_UnpackTuple(args
,"StandardPaths_Get",0,0,0)) SWIG_fail
;
36892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36893 result
= (wxStandardPaths
*)wxStandardPaths_Get();
36894 wxPyEndAllowThreads(__tstate
);
36895 if (PyErr_Occurred()) SWIG_fail
;
36897 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36904 SWIGINTERN PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36905 PyObject
*resultobj
= 0;
36906 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36910 PyObject
*swig_obj
[1] ;
36912 if (!args
) SWIG_fail
;
36913 swig_obj
[0] = args
;
36914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36915 if (!SWIG_IsOK(res1
)) {
36916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36918 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36921 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
36922 wxPyEndAllowThreads(__tstate
);
36923 if (PyErr_Occurred()) SWIG_fail
;
36927 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36929 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36938 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36939 PyObject
*resultobj
= 0;
36940 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36944 PyObject
*swig_obj
[1] ;
36946 if (!args
) SWIG_fail
;
36947 swig_obj
[0] = args
;
36948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36949 if (!SWIG_IsOK(res1
)) {
36950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36952 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36955 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
36956 wxPyEndAllowThreads(__tstate
);
36957 if (PyErr_Occurred()) SWIG_fail
;
36961 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36963 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36972 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36973 PyObject
*resultobj
= 0;
36974 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36978 PyObject
*swig_obj
[1] ;
36980 if (!args
) SWIG_fail
;
36981 swig_obj
[0] = args
;
36982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36983 if (!SWIG_IsOK(res1
)) {
36984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36986 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36989 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
36990 wxPyEndAllowThreads(__tstate
);
36991 if (PyErr_Occurred()) SWIG_fail
;
36995 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36997 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37006 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37007 PyObject
*resultobj
= 0;
37008 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37012 PyObject
*swig_obj
[1] ;
37014 if (!args
) SWIG_fail
;
37015 swig_obj
[0] = args
;
37016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37017 if (!SWIG_IsOK(res1
)) {
37018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37020 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37023 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
37024 wxPyEndAllowThreads(__tstate
);
37025 if (PyErr_Occurred()) SWIG_fail
;
37029 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37031 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37040 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37041 PyObject
*resultobj
= 0;
37042 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37046 PyObject
*swig_obj
[1] ;
37048 if (!args
) SWIG_fail
;
37049 swig_obj
[0] = args
;
37050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37051 if (!SWIG_IsOK(res1
)) {
37052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37054 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37057 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
37058 wxPyEndAllowThreads(__tstate
);
37059 if (PyErr_Occurred()) SWIG_fail
;
37063 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37065 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37074 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37075 PyObject
*resultobj
= 0;
37076 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37080 PyObject
*swig_obj
[1] ;
37082 if (!args
) SWIG_fail
;
37083 swig_obj
[0] = args
;
37084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37085 if (!SWIG_IsOK(res1
)) {
37086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37088 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37091 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
37092 wxPyEndAllowThreads(__tstate
);
37093 if (PyErr_Occurred()) SWIG_fail
;
37097 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37099 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37108 SWIGINTERN PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37109 PyObject
*resultobj
= 0;
37110 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37114 PyObject
*swig_obj
[1] ;
37116 if (!args
) SWIG_fail
;
37117 swig_obj
[0] = args
;
37118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37119 if (!SWIG_IsOK(res1
)) {
37120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetPluginsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37122 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37125 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
37126 wxPyEndAllowThreads(__tstate
);
37127 if (PyErr_Occurred()) SWIG_fail
;
37131 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37133 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37142 SWIGINTERN PyObject
*_wrap_StandardPaths_GetResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37143 PyObject
*resultobj
= 0;
37144 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37148 PyObject
*swig_obj
[1] ;
37150 if (!args
) SWIG_fail
;
37151 swig_obj
[0] = args
;
37152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37153 if (!SWIG_IsOK(res1
)) {
37154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37156 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37159 result
= ((wxStandardPaths
const *)arg1
)->GetResourcesDir();
37160 wxPyEndAllowThreads(__tstate
);
37161 if (PyErr_Occurred()) SWIG_fail
;
37165 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37167 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37176 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalizedResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37177 PyObject
*resultobj
= 0;
37178 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37179 wxString
*arg2
= 0 ;
37180 wxStandardPaths::ResourceCat arg3
= (wxStandardPaths::ResourceCat
) wxStandardPaths::ResourceCat_None
;
37184 bool temp2
= false ;
37187 PyObject
* obj0
= 0 ;
37188 PyObject
* obj1
= 0 ;
37189 PyObject
* obj2
= 0 ;
37190 char * kwnames
[] = {
37191 (char *) "self",(char *) "lang",(char *) "category", NULL
37194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StandardPaths_GetLocalizedResourcesDir",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37196 if (!SWIG_IsOK(res1
)) {
37197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37199 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37201 arg2
= wxString_in_helper(obj1
);
37202 if (arg2
== NULL
) SWIG_fail
;
37206 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37207 if (!SWIG_IsOK(ecode3
)) {
37208 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "3"" of type '" "wxStandardPaths::ResourceCat""'");
37210 arg3
= static_cast< wxStandardPaths::ResourceCat
>(val3
);
37213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37214 result
= ((wxStandardPaths
const *)arg1
)->GetLocalizedResourcesDir((wxString
const &)*arg2
,arg3
);
37215 wxPyEndAllowThreads(__tstate
);
37216 if (PyErr_Occurred()) SWIG_fail
;
37220 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37222 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37239 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDocumentsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37240 PyObject
*resultobj
= 0;
37241 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37245 PyObject
*swig_obj
[1] ;
37247 if (!args
) SWIG_fail
;
37248 swig_obj
[0] = args
;
37249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37250 if (!SWIG_IsOK(res1
)) {
37251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDocumentsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37253 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37256 result
= ((wxStandardPaths
const *)arg1
)->GetDocumentsDir();
37257 wxPyEndAllowThreads(__tstate
);
37258 if (PyErr_Occurred()) SWIG_fail
;
37262 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37264 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37273 SWIGINTERN PyObject
*_wrap_StandardPaths_GetTempDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37274 PyObject
*resultobj
= 0;
37275 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37279 PyObject
*swig_obj
[1] ;
37281 if (!args
) SWIG_fail
;
37282 swig_obj
[0] = args
;
37283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37284 if (!SWIG_IsOK(res1
)) {
37285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetTempDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37287 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37290 result
= ((wxStandardPaths
const *)arg1
)->GetTempDir();
37291 wxPyEndAllowThreads(__tstate
);
37292 if (PyErr_Occurred()) SWIG_fail
;
37296 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37298 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37307 SWIGINTERN PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37308 PyObject
*resultobj
= 0;
37309 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37310 wxString
*arg2
= 0 ;
37313 bool temp2
= false ;
37314 PyObject
* obj0
= 0 ;
37315 PyObject
* obj1
= 0 ;
37316 char * kwnames
[] = {
37317 (char *) "self",(char *) "prefix", NULL
37320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37322 if (!SWIG_IsOK(res1
)) {
37323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_SetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths *""'");
37325 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37327 arg2
= wxString_in_helper(obj1
);
37328 if (arg2
== NULL
) SWIG_fail
;
37332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37333 wxStandardPaths_SetInstallPrefix(arg1
,(wxString
const &)*arg2
);
37334 wxPyEndAllowThreads(__tstate
);
37335 if (PyErr_Occurred()) SWIG_fail
;
37337 resultobj
= SWIG_Py_Void();
37352 SWIGINTERN PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37353 PyObject
*resultobj
= 0;
37354 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37358 PyObject
*swig_obj
[1] ;
37360 if (!args
) SWIG_fail
;
37361 swig_obj
[0] = args
;
37362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37363 if (!SWIG_IsOK(res1
)) {
37364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths *""'");
37366 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37369 result
= wxStandardPaths_GetInstallPrefix(arg1
);
37370 wxPyEndAllowThreads(__tstate
);
37371 if (PyErr_Occurred()) SWIG_fail
;
37375 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37377 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37386 SWIGINTERN PyObject
*StandardPaths_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37388 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37389 SWIG_TypeNewClientData(SWIGTYPE_p_wxStandardPaths
, SWIG_NewClientData(obj
));
37390 return SWIG_Py_Void();
37393 SWIGINTERN PyObject
*_wrap_new_PowerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37394 PyObject
*resultobj
= 0;
37396 wxPowerEvent
*result
= 0 ;
37399 PyObject
* obj0
= 0 ;
37400 char * kwnames
[] = {
37401 (char *) "evtType", NULL
37404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PowerEvent",kwnames
,&obj0
)) SWIG_fail
;
37405 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37406 if (!SWIG_IsOK(ecode1
)) {
37407 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PowerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
37409 arg1
= static_cast< wxEventType
>(val1
);
37411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37412 result
= (wxPowerEvent
*)new wxPowerEvent(arg1
);
37413 wxPyEndAllowThreads(__tstate
);
37414 if (PyErr_Occurred()) SWIG_fail
;
37416 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPowerEvent
, SWIG_POINTER_NEW
| 0 );
37423 SWIGINTERN PyObject
*_wrap_PowerEvent_Veto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37424 PyObject
*resultobj
= 0;
37425 wxPowerEvent
*arg1
= (wxPowerEvent
*) 0 ;
37428 PyObject
*swig_obj
[1] ;
37430 if (!args
) SWIG_fail
;
37431 swig_obj
[0] = args
;
37432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPowerEvent
, 0 | 0 );
37433 if (!SWIG_IsOK(res1
)) {
37434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PowerEvent_Veto" "', expected argument " "1"" of type '" "wxPowerEvent *""'");
37436 arg1
= reinterpret_cast< wxPowerEvent
* >(argp1
);
37438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37440 wxPyEndAllowThreads(__tstate
);
37441 if (PyErr_Occurred()) SWIG_fail
;
37443 resultobj
= SWIG_Py_Void();
37450 SWIGINTERN PyObject
*_wrap_PowerEvent_IsVetoed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37451 PyObject
*resultobj
= 0;
37452 wxPowerEvent
*arg1
= (wxPowerEvent
*) 0 ;
37456 PyObject
*swig_obj
[1] ;
37458 if (!args
) SWIG_fail
;
37459 swig_obj
[0] = args
;
37460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPowerEvent
, 0 | 0 );
37461 if (!SWIG_IsOK(res1
)) {
37462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PowerEvent_IsVetoed" "', expected argument " "1"" of type '" "wxPowerEvent const *""'");
37464 arg1
= reinterpret_cast< wxPowerEvent
* >(argp1
);
37466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37467 result
= (bool)((wxPowerEvent
const *)arg1
)->IsVetoed();
37468 wxPyEndAllowThreads(__tstate
);
37469 if (PyErr_Occurred()) SWIG_fail
;
37472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37480 SWIGINTERN PyObject
*PowerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37482 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37483 SWIG_TypeNewClientData(SWIGTYPE_p_wxPowerEvent
, SWIG_NewClientData(obj
));
37484 return SWIG_Py_Void();
37487 SWIGINTERN PyObject
*PowerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37488 return SWIG_Python_InitShadowInstance(args
);
37491 SWIGINTERN PyObject
*_wrap_GetPowerType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37492 PyObject
*resultobj
= 0;
37493 wxPowerType result
;
37495 if (!SWIG_Python_UnpackTuple(args
,"GetPowerType",0,0,0)) SWIG_fail
;
37497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37498 result
= (wxPowerType
)wxGetPowerType();
37499 wxPyEndAllowThreads(__tstate
);
37500 if (PyErr_Occurred()) SWIG_fail
;
37502 resultobj
= SWIG_From_int(static_cast< int >(result
));
37509 SWIGINTERN PyObject
*_wrap_GetBatteryState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37510 PyObject
*resultobj
= 0;
37511 wxBatteryState result
;
37513 if (!SWIG_Python_UnpackTuple(args
,"GetBatteryState",0,0,0)) SWIG_fail
;
37515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37516 result
= (wxBatteryState
)wxGetBatteryState();
37517 wxPyEndAllowThreads(__tstate
);
37518 if (PyErr_Occurred()) SWIG_fail
;
37520 resultobj
= SWIG_From_int(static_cast< int >(result
));
37527 SWIGINTERN PyObject
*_wrap_new_AboutDialogInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37528 PyObject
*resultobj
= 0;
37529 wxAboutDialogInfo
*result
= 0 ;
37531 if (!SWIG_Python_UnpackTuple(args
,"new_AboutDialogInfo",0,0,0)) SWIG_fail
;
37533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37534 result
= (wxAboutDialogInfo
*)new wxAboutDialogInfo();
37535 wxPyEndAllowThreads(__tstate
);
37536 if (PyErr_Occurred()) SWIG_fail
;
37538 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAboutDialogInfo
, SWIG_POINTER_NEW
| 0 );
37545 SWIGINTERN PyObject
*_wrap_delete_AboutDialogInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37546 PyObject
*resultobj
= 0;
37547 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37550 PyObject
*swig_obj
[1] ;
37552 if (!args
) SWIG_fail
;
37553 swig_obj
[0] = args
;
37554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, SWIG_POINTER_DISOWN
| 0 );
37555 if (!SWIG_IsOK(res1
)) {
37556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AboutDialogInfo" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
37558 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37563 wxPyEndAllowThreads(__tstate
);
37564 if (PyErr_Occurred()) SWIG_fail
;
37566 resultobj
= SWIG_Py_Void();
37573 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37574 PyObject
*resultobj
= 0;
37575 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37576 wxString
*arg2
= 0 ;
37579 bool temp2
= false ;
37580 PyObject
* obj0
= 0 ;
37581 PyObject
* obj1
= 0 ;
37582 char * kwnames
[] = {
37583 (char *) "self",(char *) "name", NULL
37586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37588 if (!SWIG_IsOK(res1
)) {
37589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetName" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
37591 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37593 arg2
= wxString_in_helper(obj1
);
37594 if (arg2
== NULL
) SWIG_fail
;
37598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37599 (arg1
)->SetName((wxString
const &)*arg2
);
37600 wxPyEndAllowThreads(__tstate
);
37601 if (PyErr_Occurred()) SWIG_fail
;
37603 resultobj
= SWIG_Py_Void();
37618 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37619 PyObject
*resultobj
= 0;
37620 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37624 PyObject
*swig_obj
[1] ;
37626 if (!args
) SWIG_fail
;
37627 swig_obj
[0] = args
;
37628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37629 if (!SWIG_IsOK(res1
)) {
37630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetName" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37632 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37635 result
= ((wxAboutDialogInfo
const *)arg1
)->GetName();
37636 wxPyEndAllowThreads(__tstate
);
37637 if (PyErr_Occurred()) SWIG_fail
;
37641 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37643 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37652 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37653 PyObject
*resultobj
= 0;
37654 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37655 wxString
*arg2
= 0 ;
37658 bool temp2
= false ;
37659 PyObject
* obj0
= 0 ;
37660 PyObject
* obj1
= 0 ;
37661 char * kwnames
[] = {
37662 (char *) "self",(char *) "version", NULL
37665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37667 if (!SWIG_IsOK(res1
)) {
37668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetVersion" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
37670 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37672 arg2
= wxString_in_helper(obj1
);
37673 if (arg2
== NULL
) SWIG_fail
;
37677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37678 (arg1
)->SetVersion((wxString
const &)*arg2
);
37679 wxPyEndAllowThreads(__tstate
);
37680 if (PyErr_Occurred()) SWIG_fail
;
37682 resultobj
= SWIG_Py_Void();
37697 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37698 PyObject
*resultobj
= 0;
37699 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37703 PyObject
*swig_obj
[1] ;
37705 if (!args
) SWIG_fail
;
37706 swig_obj
[0] = args
;
37707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37708 if (!SWIG_IsOK(res1
)) {
37709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasVersion" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37711 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37714 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasVersion();
37715 wxPyEndAllowThreads(__tstate
);
37716 if (PyErr_Occurred()) SWIG_fail
;
37719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37727 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37728 PyObject
*resultobj
= 0;
37729 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37733 PyObject
*swig_obj
[1] ;
37735 if (!args
) SWIG_fail
;
37736 swig_obj
[0] = args
;
37737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37738 if (!SWIG_IsOK(res1
)) {
37739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetVersion" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37741 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37744 result
= ((wxAboutDialogInfo
const *)arg1
)->GetVersion();
37745 wxPyEndAllowThreads(__tstate
);
37746 if (PyErr_Occurred()) SWIG_fail
;
37750 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37752 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37761 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37762 PyObject
*resultobj
= 0;
37763 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37764 wxString
*arg2
= 0 ;
37767 bool temp2
= false ;
37768 PyObject
* obj0
= 0 ;
37769 PyObject
* obj1
= 0 ;
37770 char * kwnames
[] = {
37771 (char *) "self",(char *) "desc", NULL
37774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetDescription",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37776 if (!SWIG_IsOK(res1
)) {
37777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetDescription" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
37779 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37781 arg2
= wxString_in_helper(obj1
);
37782 if (arg2
== NULL
) SWIG_fail
;
37786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37787 (arg1
)->SetDescription((wxString
const &)*arg2
);
37788 wxPyEndAllowThreads(__tstate
);
37789 if (PyErr_Occurred()) SWIG_fail
;
37791 resultobj
= SWIG_Py_Void();
37806 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37807 PyObject
*resultobj
= 0;
37808 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37812 PyObject
*swig_obj
[1] ;
37814 if (!args
) SWIG_fail
;
37815 swig_obj
[0] = args
;
37816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37817 if (!SWIG_IsOK(res1
)) {
37818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasDescription" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37820 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37823 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasDescription();
37824 wxPyEndAllowThreads(__tstate
);
37825 if (PyErr_Occurred()) SWIG_fail
;
37828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37836 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37837 PyObject
*resultobj
= 0;
37838 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37842 PyObject
*swig_obj
[1] ;
37844 if (!args
) SWIG_fail
;
37845 swig_obj
[0] = args
;
37846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37847 if (!SWIG_IsOK(res1
)) {
37848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetDescription" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37850 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37853 result
= ((wxAboutDialogInfo
const *)arg1
)->GetDescription();
37854 wxPyEndAllowThreads(__tstate
);
37855 if (PyErr_Occurred()) SWIG_fail
;
37859 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37861 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37870 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetCopyright(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37871 PyObject
*resultobj
= 0;
37872 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37873 wxString
*arg2
= 0 ;
37876 bool temp2
= false ;
37877 PyObject
* obj0
= 0 ;
37878 PyObject
* obj1
= 0 ;
37879 char * kwnames
[] = {
37880 (char *) "self",(char *) "copyright", NULL
37883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetCopyright",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37885 if (!SWIG_IsOK(res1
)) {
37886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetCopyright" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
37888 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37890 arg2
= wxString_in_helper(obj1
);
37891 if (arg2
== NULL
) SWIG_fail
;
37895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37896 (arg1
)->SetCopyright((wxString
const &)*arg2
);
37897 wxPyEndAllowThreads(__tstate
);
37898 if (PyErr_Occurred()) SWIG_fail
;
37900 resultobj
= SWIG_Py_Void();
37915 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasCopyright(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37916 PyObject
*resultobj
= 0;
37917 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37921 PyObject
*swig_obj
[1] ;
37923 if (!args
) SWIG_fail
;
37924 swig_obj
[0] = args
;
37925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37926 if (!SWIG_IsOK(res1
)) {
37927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasCopyright" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37929 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37932 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasCopyright();
37933 wxPyEndAllowThreads(__tstate
);
37934 if (PyErr_Occurred()) SWIG_fail
;
37937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37945 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetCopyright(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37946 PyObject
*resultobj
= 0;
37947 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37951 PyObject
*swig_obj
[1] ;
37953 if (!args
) SWIG_fail
;
37954 swig_obj
[0] = args
;
37955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37956 if (!SWIG_IsOK(res1
)) {
37957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetCopyright" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37959 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37962 result
= ((wxAboutDialogInfo
const *)arg1
)->GetCopyright();
37963 wxPyEndAllowThreads(__tstate
);
37964 if (PyErr_Occurred()) SWIG_fail
;
37968 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37970 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37979 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetLicence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37980 PyObject
*resultobj
= 0;
37981 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37982 wxString
*arg2
= 0 ;
37985 bool temp2
= false ;
37986 PyObject
* obj0
= 0 ;
37987 PyObject
* obj1
= 0 ;
37988 char * kwnames
[] = {
37989 (char *) "self",(char *) "licence", NULL
37992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetLicence",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37994 if (!SWIG_IsOK(res1
)) {
37995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetLicence" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
37997 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37999 arg2
= wxString_in_helper(obj1
);
38000 if (arg2
== NULL
) SWIG_fail
;
38004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38005 (arg1
)->SetLicence((wxString
const &)*arg2
);
38006 wxPyEndAllowThreads(__tstate
);
38007 if (PyErr_Occurred()) SWIG_fail
;
38009 resultobj
= SWIG_Py_Void();
38024 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetLicense(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38025 PyObject
*resultobj
= 0;
38026 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38027 wxString
*arg2
= 0 ;
38030 bool temp2
= false ;
38031 PyObject
* obj0
= 0 ;
38032 PyObject
* obj1
= 0 ;
38033 char * kwnames
[] = {
38034 (char *) "self",(char *) "licence", NULL
38037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetLicense",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38039 if (!SWIG_IsOK(res1
)) {
38040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetLicense" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38042 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38044 arg2
= wxString_in_helper(obj1
);
38045 if (arg2
== NULL
) SWIG_fail
;
38049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38050 (arg1
)->SetLicense((wxString
const &)*arg2
);
38051 wxPyEndAllowThreads(__tstate
);
38052 if (PyErr_Occurred()) SWIG_fail
;
38054 resultobj
= SWIG_Py_Void();
38069 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasLicence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38070 PyObject
*resultobj
= 0;
38071 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38075 PyObject
*swig_obj
[1] ;
38077 if (!args
) SWIG_fail
;
38078 swig_obj
[0] = args
;
38079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38080 if (!SWIG_IsOK(res1
)) {
38081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasLicence" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38083 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38086 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasLicence();
38087 wxPyEndAllowThreads(__tstate
);
38088 if (PyErr_Occurred()) SWIG_fail
;
38091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38099 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetLicence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38100 PyObject
*resultobj
= 0;
38101 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38105 PyObject
*swig_obj
[1] ;
38107 if (!args
) SWIG_fail
;
38108 swig_obj
[0] = args
;
38109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38110 if (!SWIG_IsOK(res1
)) {
38111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetLicence" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38113 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38116 result
= ((wxAboutDialogInfo
const *)arg1
)->GetLicence();
38117 wxPyEndAllowThreads(__tstate
);
38118 if (PyErr_Occurred()) SWIG_fail
;
38122 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38124 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38133 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38134 PyObject
*resultobj
= 0;
38135 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38141 PyObject
* obj0
= 0 ;
38142 PyObject
* obj1
= 0 ;
38143 char * kwnames
[] = {
38144 (char *) "self",(char *) "icon", NULL
38147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38149 if (!SWIG_IsOK(res1
)) {
38150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetIcon" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38152 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38153 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
38154 if (!SWIG_IsOK(res2
)) {
38155 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AboutDialogInfo_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
38158 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AboutDialogInfo_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
38160 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
38162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38163 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
38164 wxPyEndAllowThreads(__tstate
);
38165 if (PyErr_Occurred()) SWIG_fail
;
38167 resultobj
= SWIG_Py_Void();
38174 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38175 PyObject
*resultobj
= 0;
38176 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38180 PyObject
*swig_obj
[1] ;
38182 if (!args
) SWIG_fail
;
38183 swig_obj
[0] = args
;
38184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38185 if (!SWIG_IsOK(res1
)) {
38186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasIcon" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38188 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38191 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasIcon();
38192 wxPyEndAllowThreads(__tstate
);
38193 if (PyErr_Occurred()) SWIG_fail
;
38196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38204 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38205 PyObject
*resultobj
= 0;
38206 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38210 PyObject
*swig_obj
[1] ;
38212 if (!args
) SWIG_fail
;
38213 swig_obj
[0] = args
;
38214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38215 if (!SWIG_IsOK(res1
)) {
38216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetIcon" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38218 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38221 result
= ((wxAboutDialogInfo
const *)arg1
)->GetIcon();
38222 wxPyEndAllowThreads(__tstate
);
38223 if (PyErr_Occurred()) SWIG_fail
;
38225 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
38232 SWIGINTERN PyObject
*_wrap_AboutDialogInfo__SetWebSite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38233 PyObject
*resultobj
= 0;
38234 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38235 wxString
*arg2
= 0 ;
38236 wxString
const &arg3_defvalue
= wxEmptyString
;
38237 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
38240 bool temp2
= false ;
38241 bool temp3
= false ;
38242 PyObject
* obj0
= 0 ;
38243 PyObject
* obj1
= 0 ;
38244 PyObject
* obj2
= 0 ;
38245 char * kwnames
[] = {
38246 (char *) "self",(char *) "url",(char *) "desc", NULL
38249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:AboutDialogInfo__SetWebSite",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38251 if (!SWIG_IsOK(res1
)) {
38252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo__SetWebSite" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38254 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38256 arg2
= wxString_in_helper(obj1
);
38257 if (arg2
== NULL
) SWIG_fail
;
38262 arg3
= wxString_in_helper(obj2
);
38263 if (arg3
== NULL
) SWIG_fail
;
38268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38269 (arg1
)->SetWebSite((wxString
const &)*arg2
,(wxString
const &)*arg3
);
38270 wxPyEndAllowThreads(__tstate
);
38271 if (PyErr_Occurred()) SWIG_fail
;
38273 resultobj
= SWIG_Py_Void();
38296 SWIGINTERN PyObject
*_wrap_AboutDialogInfo__GetWebSiteURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38297 PyObject
*resultobj
= 0;
38298 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38302 PyObject
*swig_obj
[1] ;
38304 if (!args
) SWIG_fail
;
38305 swig_obj
[0] = args
;
38306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38307 if (!SWIG_IsOK(res1
)) {
38308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo__GetWebSiteURL" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38310 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38313 result
= ((wxAboutDialogInfo
const *)arg1
)->GetWebSiteURL();
38314 wxPyEndAllowThreads(__tstate
);
38315 if (PyErr_Occurred()) SWIG_fail
;
38319 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38321 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38330 SWIGINTERN PyObject
*_wrap_AboutDialogInfo__GetWebSiteDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38331 PyObject
*resultobj
= 0;
38332 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38336 PyObject
*swig_obj
[1] ;
38338 if (!args
) SWIG_fail
;
38339 swig_obj
[0] = args
;
38340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38341 if (!SWIG_IsOK(res1
)) {
38342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo__GetWebSiteDescription" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38344 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38347 result
= ((wxAboutDialogInfo
const *)arg1
)->GetWebSiteDescription();
38348 wxPyEndAllowThreads(__tstate
);
38349 if (PyErr_Occurred()) SWIG_fail
;
38353 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38355 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38364 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasWebSite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38365 PyObject
*resultobj
= 0;
38366 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38370 PyObject
*swig_obj
[1] ;
38372 if (!args
) SWIG_fail
;
38373 swig_obj
[0] = args
;
38374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38375 if (!SWIG_IsOK(res1
)) {
38376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasWebSite" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38378 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38381 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasWebSite();
38382 wxPyEndAllowThreads(__tstate
);
38383 if (PyErr_Occurred()) SWIG_fail
;
38386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38394 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetDevelopers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38395 PyObject
*resultobj
= 0;
38396 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38397 wxArrayString
*arg2
= 0 ;
38400 bool temp2
= false ;
38401 PyObject
* obj0
= 0 ;
38402 PyObject
* obj1
= 0 ;
38403 char * kwnames
[] = {
38404 (char *) "self",(char *) "developers", NULL
38407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetDevelopers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38409 if (!SWIG_IsOK(res1
)) {
38410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetDevelopers" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38412 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38414 if (! PySequence_Check(obj1
)) {
38415 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
38418 arg2
= new wxArrayString
;
38420 int i
, len
=PySequence_Length(obj1
);
38421 for (i
=0; i
<len
; i
++) {
38422 PyObject
* item
= PySequence_GetItem(obj1
, i
);
38423 wxString
* s
= wxString_in_helper(item
);
38424 if (PyErr_Occurred()) SWIG_fail
;
38431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38432 (arg1
)->SetDevelopers((wxArrayString
const &)*arg2
);
38433 wxPyEndAllowThreads(__tstate
);
38434 if (PyErr_Occurred()) SWIG_fail
;
38436 resultobj
= SWIG_Py_Void();
38438 if (temp2
) delete arg2
;
38443 if (temp2
) delete arg2
;
38449 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_AddDeveloper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38450 PyObject
*resultobj
= 0;
38451 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38452 wxString
*arg2
= 0 ;
38455 bool temp2
= false ;
38456 PyObject
* obj0
= 0 ;
38457 PyObject
* obj1
= 0 ;
38458 char * kwnames
[] = {
38459 (char *) "self",(char *) "developer", NULL
38462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_AddDeveloper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38464 if (!SWIG_IsOK(res1
)) {
38465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_AddDeveloper" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38467 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38469 arg2
= wxString_in_helper(obj1
);
38470 if (arg2
== NULL
) SWIG_fail
;
38474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38475 (arg1
)->AddDeveloper((wxString
const &)*arg2
);
38476 wxPyEndAllowThreads(__tstate
);
38477 if (PyErr_Occurred()) SWIG_fail
;
38479 resultobj
= SWIG_Py_Void();
38494 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasDevelopers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38495 PyObject
*resultobj
= 0;
38496 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38500 PyObject
*swig_obj
[1] ;
38502 if (!args
) SWIG_fail
;
38503 swig_obj
[0] = args
;
38504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38505 if (!SWIG_IsOK(res1
)) {
38506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasDevelopers" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38508 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38511 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasDevelopers();
38512 wxPyEndAllowThreads(__tstate
);
38513 if (PyErr_Occurred()) SWIG_fail
;
38516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38524 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetDevelopers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38525 PyObject
*resultobj
= 0;
38526 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38527 wxArrayString
*result
= 0 ;
38530 PyObject
*swig_obj
[1] ;
38532 if (!args
) SWIG_fail
;
38533 swig_obj
[0] = args
;
38534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38535 if (!SWIG_IsOK(res1
)) {
38536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetDevelopers" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38538 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38542 wxArrayString
const &_result_ref
= ((wxAboutDialogInfo
const *)arg1
)->GetDevelopers();
38543 result
= (wxArrayString
*) &_result_ref
;
38545 wxPyEndAllowThreads(__tstate
);
38546 if (PyErr_Occurred()) SWIG_fail
;
38549 resultobj
= wxArrayString2PyList_helper(*result
);
38557 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetDocWriters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38558 PyObject
*resultobj
= 0;
38559 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38560 wxArrayString
*arg2
= 0 ;
38563 bool temp2
= false ;
38564 PyObject
* obj0
= 0 ;
38565 PyObject
* obj1
= 0 ;
38566 char * kwnames
[] = {
38567 (char *) "self",(char *) "docwriters", NULL
38570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetDocWriters",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38572 if (!SWIG_IsOK(res1
)) {
38573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetDocWriters" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38575 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38577 if (! PySequence_Check(obj1
)) {
38578 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
38581 arg2
= new wxArrayString
;
38583 int i
, len
=PySequence_Length(obj1
);
38584 for (i
=0; i
<len
; i
++) {
38585 PyObject
* item
= PySequence_GetItem(obj1
, i
);
38586 wxString
* s
= wxString_in_helper(item
);
38587 if (PyErr_Occurred()) SWIG_fail
;
38594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38595 (arg1
)->SetDocWriters((wxArrayString
const &)*arg2
);
38596 wxPyEndAllowThreads(__tstate
);
38597 if (PyErr_Occurred()) SWIG_fail
;
38599 resultobj
= SWIG_Py_Void();
38601 if (temp2
) delete arg2
;
38606 if (temp2
) delete arg2
;
38612 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_AddDocWriter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38613 PyObject
*resultobj
= 0;
38614 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38615 wxString
*arg2
= 0 ;
38618 bool temp2
= false ;
38619 PyObject
* obj0
= 0 ;
38620 PyObject
* obj1
= 0 ;
38621 char * kwnames
[] = {
38622 (char *) "self",(char *) "docwriter", NULL
38625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_AddDocWriter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38627 if (!SWIG_IsOK(res1
)) {
38628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_AddDocWriter" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38630 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38632 arg2
= wxString_in_helper(obj1
);
38633 if (arg2
== NULL
) SWIG_fail
;
38637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38638 (arg1
)->AddDocWriter((wxString
const &)*arg2
);
38639 wxPyEndAllowThreads(__tstate
);
38640 if (PyErr_Occurred()) SWIG_fail
;
38642 resultobj
= SWIG_Py_Void();
38657 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasDocWriters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38658 PyObject
*resultobj
= 0;
38659 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38663 PyObject
*swig_obj
[1] ;
38665 if (!args
) SWIG_fail
;
38666 swig_obj
[0] = args
;
38667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38668 if (!SWIG_IsOK(res1
)) {
38669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasDocWriters" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38671 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38674 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasDocWriters();
38675 wxPyEndAllowThreads(__tstate
);
38676 if (PyErr_Occurred()) SWIG_fail
;
38679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38687 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetDocWriters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38688 PyObject
*resultobj
= 0;
38689 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38690 wxArrayString
*result
= 0 ;
38693 PyObject
*swig_obj
[1] ;
38695 if (!args
) SWIG_fail
;
38696 swig_obj
[0] = args
;
38697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38698 if (!SWIG_IsOK(res1
)) {
38699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetDocWriters" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38701 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38705 wxArrayString
const &_result_ref
= ((wxAboutDialogInfo
const *)arg1
)->GetDocWriters();
38706 result
= (wxArrayString
*) &_result_ref
;
38708 wxPyEndAllowThreads(__tstate
);
38709 if (PyErr_Occurred()) SWIG_fail
;
38712 resultobj
= wxArrayString2PyList_helper(*result
);
38720 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetArtists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38721 PyObject
*resultobj
= 0;
38722 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38723 wxArrayString
*arg2
= 0 ;
38726 bool temp2
= false ;
38727 PyObject
* obj0
= 0 ;
38728 PyObject
* obj1
= 0 ;
38729 char * kwnames
[] = {
38730 (char *) "self",(char *) "artists", NULL
38733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetArtists",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38735 if (!SWIG_IsOK(res1
)) {
38736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetArtists" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38738 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38740 if (! PySequence_Check(obj1
)) {
38741 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
38744 arg2
= new wxArrayString
;
38746 int i
, len
=PySequence_Length(obj1
);
38747 for (i
=0; i
<len
; i
++) {
38748 PyObject
* item
= PySequence_GetItem(obj1
, i
);
38749 wxString
* s
= wxString_in_helper(item
);
38750 if (PyErr_Occurred()) SWIG_fail
;
38757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38758 (arg1
)->SetArtists((wxArrayString
const &)*arg2
);
38759 wxPyEndAllowThreads(__tstate
);
38760 if (PyErr_Occurred()) SWIG_fail
;
38762 resultobj
= SWIG_Py_Void();
38764 if (temp2
) delete arg2
;
38769 if (temp2
) delete arg2
;
38775 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_AddArtist(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38776 PyObject
*resultobj
= 0;
38777 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38778 wxString
*arg2
= 0 ;
38781 bool temp2
= false ;
38782 PyObject
* obj0
= 0 ;
38783 PyObject
* obj1
= 0 ;
38784 char * kwnames
[] = {
38785 (char *) "self",(char *) "artist", NULL
38788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_AddArtist",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38790 if (!SWIG_IsOK(res1
)) {
38791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_AddArtist" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38793 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38795 arg2
= wxString_in_helper(obj1
);
38796 if (arg2
== NULL
) SWIG_fail
;
38800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38801 (arg1
)->AddArtist((wxString
const &)*arg2
);
38802 wxPyEndAllowThreads(__tstate
);
38803 if (PyErr_Occurred()) SWIG_fail
;
38805 resultobj
= SWIG_Py_Void();
38820 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasArtists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38821 PyObject
*resultobj
= 0;
38822 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38826 PyObject
*swig_obj
[1] ;
38828 if (!args
) SWIG_fail
;
38829 swig_obj
[0] = args
;
38830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38831 if (!SWIG_IsOK(res1
)) {
38832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasArtists" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38834 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38837 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasArtists();
38838 wxPyEndAllowThreads(__tstate
);
38839 if (PyErr_Occurred()) SWIG_fail
;
38842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38850 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetArtists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38851 PyObject
*resultobj
= 0;
38852 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38853 wxArrayString
*result
= 0 ;
38856 PyObject
*swig_obj
[1] ;
38858 if (!args
) SWIG_fail
;
38859 swig_obj
[0] = args
;
38860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38861 if (!SWIG_IsOK(res1
)) {
38862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetArtists" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38864 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38868 wxArrayString
const &_result_ref
= ((wxAboutDialogInfo
const *)arg1
)->GetArtists();
38869 result
= (wxArrayString
*) &_result_ref
;
38871 wxPyEndAllowThreads(__tstate
);
38872 if (PyErr_Occurred()) SWIG_fail
;
38875 resultobj
= wxArrayString2PyList_helper(*result
);
38883 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetTranslators(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38884 PyObject
*resultobj
= 0;
38885 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38886 wxArrayString
*arg2
= 0 ;
38889 bool temp2
= false ;
38890 PyObject
* obj0
= 0 ;
38891 PyObject
* obj1
= 0 ;
38892 char * kwnames
[] = {
38893 (char *) "self",(char *) "translators", NULL
38896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetTranslators",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38898 if (!SWIG_IsOK(res1
)) {
38899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetTranslators" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38901 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38903 if (! PySequence_Check(obj1
)) {
38904 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
38907 arg2
= new wxArrayString
;
38909 int i
, len
=PySequence_Length(obj1
);
38910 for (i
=0; i
<len
; i
++) {
38911 PyObject
* item
= PySequence_GetItem(obj1
, i
);
38912 wxString
* s
= wxString_in_helper(item
);
38913 if (PyErr_Occurred()) SWIG_fail
;
38920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38921 (arg1
)->SetTranslators((wxArrayString
const &)*arg2
);
38922 wxPyEndAllowThreads(__tstate
);
38923 if (PyErr_Occurred()) SWIG_fail
;
38925 resultobj
= SWIG_Py_Void();
38927 if (temp2
) delete arg2
;
38932 if (temp2
) delete arg2
;
38938 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_AddTranslator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38939 PyObject
*resultobj
= 0;
38940 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38941 wxString
*arg2
= 0 ;
38944 bool temp2
= false ;
38945 PyObject
* obj0
= 0 ;
38946 PyObject
* obj1
= 0 ;
38947 char * kwnames
[] = {
38948 (char *) "self",(char *) "translator", NULL
38951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_AddTranslator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38953 if (!SWIG_IsOK(res1
)) {
38954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_AddTranslator" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38956 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38958 arg2
= wxString_in_helper(obj1
);
38959 if (arg2
== NULL
) SWIG_fail
;
38963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38964 (arg1
)->AddTranslator((wxString
const &)*arg2
);
38965 wxPyEndAllowThreads(__tstate
);
38966 if (PyErr_Occurred()) SWIG_fail
;
38968 resultobj
= SWIG_Py_Void();
38983 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasTranslators(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38984 PyObject
*resultobj
= 0;
38985 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38989 PyObject
*swig_obj
[1] ;
38991 if (!args
) SWIG_fail
;
38992 swig_obj
[0] = args
;
38993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38994 if (!SWIG_IsOK(res1
)) {
38995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasTranslators" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38997 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39000 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasTranslators();
39001 wxPyEndAllowThreads(__tstate
);
39002 if (PyErr_Occurred()) SWIG_fail
;
39005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39013 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetTranslators(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39014 PyObject
*resultobj
= 0;
39015 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
39016 wxArrayString
*result
= 0 ;
39019 PyObject
*swig_obj
[1] ;
39021 if (!args
) SWIG_fail
;
39022 swig_obj
[0] = args
;
39023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
39024 if (!SWIG_IsOK(res1
)) {
39025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetTranslators" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
39027 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
39029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39031 wxArrayString
const &_result_ref
= ((wxAboutDialogInfo
const *)arg1
)->GetTranslators();
39032 result
= (wxArrayString
*) &_result_ref
;
39034 wxPyEndAllowThreads(__tstate
);
39035 if (PyErr_Occurred()) SWIG_fail
;
39038 resultobj
= wxArrayString2PyList_helper(*result
);
39046 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_IsSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39047 PyObject
*resultobj
= 0;
39048 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
39052 PyObject
*swig_obj
[1] ;
39054 if (!args
) SWIG_fail
;
39055 swig_obj
[0] = args
;
39056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
39057 if (!SWIG_IsOK(res1
)) {
39058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_IsSimple" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
39060 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
39062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39063 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->IsSimple();
39064 wxPyEndAllowThreads(__tstate
);
39065 if (PyErr_Occurred()) SWIG_fail
;
39068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39076 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetDescriptionAndCredits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39077 PyObject
*resultobj
= 0;
39078 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
39082 PyObject
*swig_obj
[1] ;
39084 if (!args
) SWIG_fail
;
39085 swig_obj
[0] = args
;
39086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
39087 if (!SWIG_IsOK(res1
)) {
39088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetDescriptionAndCredits" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
39090 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
39092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39093 result
= ((wxAboutDialogInfo
const *)arg1
)->GetDescriptionAndCredits();
39094 wxPyEndAllowThreads(__tstate
);
39095 if (PyErr_Occurred()) SWIG_fail
;
39099 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
39101 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
39110 SWIGINTERN PyObject
*AboutDialogInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39112 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39113 SWIG_TypeNewClientData(SWIGTYPE_p_wxAboutDialogInfo
, SWIG_NewClientData(obj
));
39114 return SWIG_Py_Void();
39117 SWIGINTERN PyObject
*AboutDialogInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39118 return SWIG_Python_InitShadowInstance(args
);
39121 SWIGINTERN PyObject
*_wrap_AboutBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39122 PyObject
*resultobj
= 0;
39123 wxAboutDialogInfo
*arg1
= 0 ;
39126 PyObject
* obj0
= 0 ;
39127 char * kwnames
[] = {
39128 (char *) "info", NULL
39131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AboutBox",kwnames
,&obj0
)) SWIG_fail
;
39132 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0);
39133 if (!SWIG_IsOK(res1
)) {
39134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutBox" "', expected argument " "1"" of type '" "wxAboutDialogInfo const &""'");
39137 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AboutBox" "', expected argument " "1"" of type '" "wxAboutDialogInfo const &""'");
39139 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
39141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39142 wxAboutBox((wxAboutDialogInfo
const &)*arg1
);
39143 wxPyEndAllowThreads(__tstate
);
39144 if (PyErr_Occurred()) SWIG_fail
;
39146 resultobj
= SWIG_Py_Void();
39153 static PyMethodDef SwigMethods
[] = {
39154 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39155 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39156 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39157 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39158 { (char *)"SystemSettings_GetScreenType", (PyCFunction
)_wrap_SystemSettings_GetScreenType
, METH_NOARGS
, NULL
},
39159 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39160 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
39161 { (char *)"new_SystemOptions", (PyCFunction
)_wrap_new_SystemOptions
, METH_NOARGS
, NULL
},
39162 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39163 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39164 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39165 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39166 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39167 { (char *)"SystemOptions_IsFalse", (PyCFunction
) _wrap_SystemOptions_IsFalse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39168 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
39169 { (char *)"SystemOptions_swiginit", SystemOptions_swiginit
, METH_VARARGS
, NULL
},
39170 { (char *)"NewId", (PyCFunction
)_wrap_NewId
, METH_NOARGS
, NULL
},
39171 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39172 { (char *)"GetCurrentId", (PyCFunction
)_wrap_GetCurrentId
, METH_NOARGS
, NULL
},
39173 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39174 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39175 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39176 { (char *)"GetStockHelpString", (PyCFunction
) _wrap_GetStockHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39177 { (char *)"Bell", (PyCFunction
)_wrap_Bell
, METH_NOARGS
, NULL
},
39178 { (char *)"EndBusyCursor", (PyCFunction
)_wrap_EndBusyCursor
, METH_NOARGS
, NULL
},
39179 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39180 { (char *)"IsBusy", (PyCFunction
)_wrap_IsBusy
, METH_NOARGS
, NULL
},
39181 { (char *)"Now", (PyCFunction
)_wrap_Now
, METH_NOARGS
, NULL
},
39182 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39183 { (char *)"StartTimer", (PyCFunction
)_wrap_StartTimer
, METH_NOARGS
, NULL
},
39184 { (char *)"GetOsVersion", (PyCFunction
)_wrap_GetOsVersion
, METH_NOARGS
, NULL
},
39185 { (char *)"GetOsDescription", (PyCFunction
)_wrap_GetOsDescription
, METH_NOARGS
, NULL
},
39186 { (char *)"IsPlatformLittleEndian", (PyCFunction
)_wrap_IsPlatformLittleEndian
, METH_NOARGS
, NULL
},
39187 { (char *)"IsPlatform64Bit", (PyCFunction
)_wrap_IsPlatform64Bit
, METH_NOARGS
, NULL
},
39188 { (char *)"GetFreeMemory", (PyCFunction
)_wrap_GetFreeMemory
, METH_NOARGS
, NULL
},
39189 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39190 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39191 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39192 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39193 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39194 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39195 { (char *)"GetEmailAddress", (PyCFunction
)_wrap_GetEmailAddress
, METH_NOARGS
, NULL
},
39196 { (char *)"GetHostName", (PyCFunction
)_wrap_GetHostName
, METH_NOARGS
, NULL
},
39197 { (char *)"GetFullHostName", (PyCFunction
)_wrap_GetFullHostName
, METH_NOARGS
, NULL
},
39198 { (char *)"GetUserId", (PyCFunction
)_wrap_GetUserId
, METH_NOARGS
, NULL
},
39199 { (char *)"GetUserName", (PyCFunction
)_wrap_GetUserName
, METH_NOARGS
, NULL
},
39200 { (char *)"GetHomeDir", (PyCFunction
)_wrap_GetHomeDir
, METH_NOARGS
, NULL
},
39201 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39202 { (char *)"GetProcessId", (PyCFunction
)_wrap_GetProcessId
, METH_NOARGS
, NULL
},
39203 { (char *)"Trap", (PyCFunction
)_wrap_Trap
, METH_NOARGS
, NULL
},
39204 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39205 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39206 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39207 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39208 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39209 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39210 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39211 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39212 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39213 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39214 { (char *)"ColourDisplay", (PyCFunction
)_wrap_ColourDisplay
, METH_NOARGS
, NULL
},
39215 { (char *)"DisplayDepth", (PyCFunction
)_wrap_DisplayDepth
, METH_NOARGS
, NULL
},
39216 { (char *)"GetDisplayDepth", (PyCFunction
)_wrap_GetDisplayDepth
, METH_NOARGS
, NULL
},
39217 { (char *)"DisplaySize", (PyCFunction
)_wrap_DisplaySize
, METH_NOARGS
, NULL
},
39218 { (char *)"GetDisplaySize", (PyCFunction
)_wrap_GetDisplaySize
, METH_NOARGS
, NULL
},
39219 { (char *)"DisplaySizeMM", (PyCFunction
)_wrap_DisplaySizeMM
, METH_NOARGS
, NULL
},
39220 { (char *)"GetDisplaySizeMM", (PyCFunction
)_wrap_GetDisplaySizeMM
, METH_NOARGS
, NULL
},
39221 { (char *)"ClientDisplayRect", (PyCFunction
)_wrap_ClientDisplayRect
, METH_NOARGS
, NULL
},
39222 { (char *)"GetClientDisplayRect", (PyCFunction
)_wrap_GetClientDisplayRect
, METH_NOARGS
, NULL
},
39223 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39224 { (char *)"GetXDisplay", (PyCFunction
)_wrap_GetXDisplay
, METH_NOARGS
, NULL
},
39225 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39226 { (char *)"GetMousePosition", (PyCFunction
)_wrap_GetMousePosition
, METH_NOARGS
, NULL
},
39227 { (char *)"FindWindowAtPointer", (PyCFunction
)_wrap_FindWindowAtPointer
, METH_NOARGS
, NULL
},
39228 { (char *)"GetActiveWindow", (PyCFunction
)_wrap_GetActiveWindow
, METH_NOARGS
, NULL
},
39229 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39230 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39231 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39232 { (char *)"LaunchDefaultBrowser", (PyCFunction
) _wrap_LaunchDefaultBrowser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39233 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39234 { (char *)"new_MouseState", (PyCFunction
)_wrap_new_MouseState
, METH_NOARGS
, NULL
},
39235 { (char *)"delete_MouseState", (PyCFunction
)_wrap_delete_MouseState
, METH_O
, NULL
},
39236 { (char *)"MouseState_GetX", (PyCFunction
)_wrap_MouseState_GetX
, METH_O
, NULL
},
39237 { (char *)"MouseState_GetY", (PyCFunction
)_wrap_MouseState_GetY
, METH_O
, NULL
},
39238 { (char *)"MouseState_LeftDown", (PyCFunction
)_wrap_MouseState_LeftDown
, METH_O
, NULL
},
39239 { (char *)"MouseState_MiddleDown", (PyCFunction
)_wrap_MouseState_MiddleDown
, METH_O
, NULL
},
39240 { (char *)"MouseState_RightDown", (PyCFunction
)_wrap_MouseState_RightDown
, METH_O
, NULL
},
39241 { (char *)"MouseState_ControlDown", (PyCFunction
)_wrap_MouseState_ControlDown
, METH_O
, NULL
},
39242 { (char *)"MouseState_ShiftDown", (PyCFunction
)_wrap_MouseState_ShiftDown
, METH_O
, NULL
},
39243 { (char *)"MouseState_AltDown", (PyCFunction
)_wrap_MouseState_AltDown
, METH_O
, NULL
},
39244 { (char *)"MouseState_MetaDown", (PyCFunction
)_wrap_MouseState_MetaDown
, METH_O
, NULL
},
39245 { (char *)"MouseState_CmdDown", (PyCFunction
)_wrap_MouseState_CmdDown
, METH_O
, NULL
},
39246 { (char *)"MouseState_SetX", (PyCFunction
) _wrap_MouseState_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39247 { (char *)"MouseState_SetY", (PyCFunction
) _wrap_MouseState_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39248 { (char *)"MouseState_SetLeftDown", (PyCFunction
) _wrap_MouseState_SetLeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39249 { (char *)"MouseState_SetMiddleDown", (PyCFunction
) _wrap_MouseState_SetMiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39250 { (char *)"MouseState_SetRightDown", (PyCFunction
) _wrap_MouseState_SetRightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39251 { (char *)"MouseState_SetControlDown", (PyCFunction
) _wrap_MouseState_SetControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39252 { (char *)"MouseState_SetShiftDown", (PyCFunction
) _wrap_MouseState_SetShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39253 { (char *)"MouseState_SetAltDown", (PyCFunction
) _wrap_MouseState_SetAltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39254 { (char *)"MouseState_SetMetaDown", (PyCFunction
) _wrap_MouseState_SetMetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39255 { (char *)"MouseState_swigregister", MouseState_swigregister
, METH_VARARGS
, NULL
},
39256 { (char *)"MouseState_swiginit", MouseState_swiginit
, METH_VARARGS
, NULL
},
39257 { (char *)"GetMouseState", (PyCFunction
)_wrap_GetMouseState
, METH_NOARGS
, NULL
},
39258 { (char *)"WakeUpMainThread", (PyCFunction
)_wrap_WakeUpMainThread
, METH_NOARGS
, NULL
},
39259 { (char *)"MutexGuiEnter", (PyCFunction
)_wrap_MutexGuiEnter
, METH_NOARGS
, NULL
},
39260 { (char *)"MutexGuiLeave", (PyCFunction
)_wrap_MutexGuiLeave
, METH_NOARGS
, NULL
},
39261 { (char *)"new_MutexGuiLocker", (PyCFunction
)_wrap_new_MutexGuiLocker
, METH_NOARGS
, NULL
},
39262 { (char *)"delete_MutexGuiLocker", (PyCFunction
)_wrap_delete_MutexGuiLocker
, METH_O
, NULL
},
39263 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
39264 { (char *)"MutexGuiLocker_swiginit", MutexGuiLocker_swiginit
, METH_VARARGS
, NULL
},
39265 { (char *)"Thread_IsMain", (PyCFunction
)_wrap_Thread_IsMain
, METH_NOARGS
, NULL
},
39266 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39267 { (char *)"delete_ToolTip", (PyCFunction
)_wrap_delete_ToolTip
, METH_O
, NULL
},
39268 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39269 { (char *)"ToolTip_GetTip", (PyCFunction
)_wrap_ToolTip_GetTip
, METH_O
, NULL
},
39270 { (char *)"ToolTip_GetWindow", (PyCFunction
)_wrap_ToolTip_GetWindow
, METH_O
, NULL
},
39271 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39272 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39273 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
39274 { (char *)"ToolTip_swiginit", ToolTip_swiginit
, METH_VARARGS
, NULL
},
39275 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39276 { (char *)"delete_Caret", (PyCFunction
)_wrap_delete_Caret
, METH_O
, NULL
},
39277 { (char *)"Caret_Destroy", (PyCFunction
)_wrap_Caret_Destroy
, METH_O
, NULL
},
39278 { (char *)"Caret_IsOk", (PyCFunction
)_wrap_Caret_IsOk
, METH_O
, NULL
},
39279 { (char *)"Caret_IsVisible", (PyCFunction
)_wrap_Caret_IsVisible
, METH_O
, NULL
},
39280 { (char *)"Caret_GetPosition", (PyCFunction
)_wrap_Caret_GetPosition
, METH_O
, NULL
},
39281 { (char *)"Caret_GetPositionTuple", (PyCFunction
)_wrap_Caret_GetPositionTuple
, METH_O
, NULL
},
39282 { (char *)"Caret_GetSize", (PyCFunction
)_wrap_Caret_GetSize
, METH_O
, NULL
},
39283 { (char *)"Caret_GetSizeTuple", (PyCFunction
)_wrap_Caret_GetSizeTuple
, METH_O
, NULL
},
39284 { (char *)"Caret_GetWindow", (PyCFunction
)_wrap_Caret_GetWindow
, METH_O
, NULL
},
39285 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39286 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39287 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39288 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39289 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39290 { (char *)"Caret_Hide", (PyCFunction
)_wrap_Caret_Hide
, METH_O
, NULL
},
39291 { (char *)"Caret_GetBlinkTime", (PyCFunction
)_wrap_Caret_GetBlinkTime
, METH_NOARGS
, NULL
},
39292 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39293 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
39294 { (char *)"Caret_swiginit", Caret_swiginit
, METH_VARARGS
, NULL
},
39295 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39296 { (char *)"delete_BusyCursor", (PyCFunction
)_wrap_delete_BusyCursor
, METH_O
, NULL
},
39297 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
39298 { (char *)"BusyCursor_swiginit", BusyCursor_swiginit
, METH_VARARGS
, NULL
},
39299 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39300 { (char *)"delete_WindowDisabler", (PyCFunction
)_wrap_delete_WindowDisabler
, METH_O
, NULL
},
39301 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
39302 { (char *)"WindowDisabler_swiginit", WindowDisabler_swiginit
, METH_VARARGS
, NULL
},
39303 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39304 { (char *)"delete_BusyInfo", (PyCFunction
)_wrap_delete_BusyInfo
, METH_O
, NULL
},
39305 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
39306 { (char *)"BusyInfo_swiginit", BusyInfo_swiginit
, METH_VARARGS
, NULL
},
39307 { (char *)"new_StopWatch", (PyCFunction
)_wrap_new_StopWatch
, METH_NOARGS
, NULL
},
39308 { (char *)"delete_StopWatch", (PyCFunction
)_wrap_delete_StopWatch
, METH_O
, NULL
},
39309 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39310 { (char *)"StopWatch_Pause", (PyCFunction
)_wrap_StopWatch_Pause
, METH_O
, NULL
},
39311 { (char *)"StopWatch_Resume", (PyCFunction
)_wrap_StopWatch_Resume
, METH_O
, NULL
},
39312 { (char *)"StopWatch_Time", (PyCFunction
)_wrap_StopWatch_Time
, METH_O
, NULL
},
39313 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
39314 { (char *)"StopWatch_swiginit", StopWatch_swiginit
, METH_VARARGS
, NULL
},
39315 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39316 { (char *)"delete_FileHistory", (PyCFunction
)_wrap_delete_FileHistory
, METH_O
, NULL
},
39317 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39318 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39319 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
)_wrap_FileHistory_GetMaxFiles
, METH_O
, NULL
},
39320 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39321 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39322 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39323 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39324 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
)_wrap_FileHistory_AddFilesToMenu
, METH_O
, NULL
},
39325 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39326 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39327 { (char *)"FileHistory_GetCount", (PyCFunction
)_wrap_FileHistory_GetCount
, METH_O
, NULL
},
39328 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
39329 { (char *)"FileHistory_swiginit", FileHistory_swiginit
, METH_VARARGS
, NULL
},
39330 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39331 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
)_wrap_new_PreSingleInstanceChecker
, METH_NOARGS
, NULL
},
39332 { (char *)"delete_SingleInstanceChecker", (PyCFunction
)_wrap_delete_SingleInstanceChecker
, METH_O
, NULL
},
39333 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39334 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
)_wrap_SingleInstanceChecker_IsAnotherRunning
, METH_O
, NULL
},
39335 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
39336 { (char *)"SingleInstanceChecker_swiginit", SingleInstanceChecker_swiginit
, METH_VARARGS
, NULL
},
39337 { (char *)"new_PlatformInformation", (PyCFunction
)_wrap_new_PlatformInformation
, METH_NOARGS
, NULL
},
39338 { (char *)"PlatformInformation___eq__", (PyCFunction
) _wrap_PlatformInformation___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39339 { (char *)"PlatformInformation___ne__", (PyCFunction
) _wrap_PlatformInformation___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39340 { (char *)"PlatformInformation_GetOSMajorVersion", (PyCFunction
)_wrap_PlatformInformation_GetOSMajorVersion
, METH_O
, NULL
},
39341 { (char *)"PlatformInformation_GetOSMinorVersion", (PyCFunction
)_wrap_PlatformInformation_GetOSMinorVersion
, METH_O
, NULL
},
39342 { (char *)"PlatformInformation_CheckOSVersion", (PyCFunction
) _wrap_PlatformInformation_CheckOSVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39343 { (char *)"PlatformInformation_GetToolkitMajorVersion", (PyCFunction
)_wrap_PlatformInformation_GetToolkitMajorVersion
, METH_O
, NULL
},
39344 { (char *)"PlatformInformation_GetToolkitMinorVersion", (PyCFunction
)_wrap_PlatformInformation_GetToolkitMinorVersion
, METH_O
, NULL
},
39345 { (char *)"PlatformInformation_CheckToolkitVersion", (PyCFunction
) _wrap_PlatformInformation_CheckToolkitVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39346 { (char *)"PlatformInformation_IsUsingUniversalWidgets", (PyCFunction
)_wrap_PlatformInformation_IsUsingUniversalWidgets
, METH_O
, NULL
},
39347 { (char *)"PlatformInformation_GetOperatingSystemId", (PyCFunction
)_wrap_PlatformInformation_GetOperatingSystemId
, METH_O
, NULL
},
39348 { (char *)"PlatformInformation_GetPortId", (PyCFunction
)_wrap_PlatformInformation_GetPortId
, METH_O
, NULL
},
39349 { (char *)"PlatformInformation_GetArchitecture", (PyCFunction
)_wrap_PlatformInformation_GetArchitecture
, METH_O
, NULL
},
39350 { (char *)"PlatformInformation_GetEndianness", (PyCFunction
)_wrap_PlatformInformation_GetEndianness
, METH_O
, NULL
},
39351 { (char *)"PlatformInformation_GetOperatingSystemFamilyName", (PyCFunction
)_wrap_PlatformInformation_GetOperatingSystemFamilyName
, METH_O
, NULL
},
39352 { (char *)"PlatformInformation_GetOperatingSystemIdName", (PyCFunction
)_wrap_PlatformInformation_GetOperatingSystemIdName
, METH_O
, NULL
},
39353 { (char *)"PlatformInformation_GetPortIdName", (PyCFunction
)_wrap_PlatformInformation_GetPortIdName
, METH_O
, NULL
},
39354 { (char *)"PlatformInformation_GetPortIdShortName", (PyCFunction
)_wrap_PlatformInformation_GetPortIdShortName
, METH_O
, NULL
},
39355 { (char *)"PlatformInformation_GetArchName", (PyCFunction
)_wrap_PlatformInformation_GetArchName
, METH_O
, NULL
},
39356 { (char *)"PlatformInformation_GetEndiannessName", (PyCFunction
)_wrap_PlatformInformation_GetEndiannessName
, METH_O
, NULL
},
39357 { (char *)"PlatformInformation_SetOSVersion", (PyCFunction
) _wrap_PlatformInformation_SetOSVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39358 { (char *)"PlatformInformation_SetToolkitVersion", (PyCFunction
) _wrap_PlatformInformation_SetToolkitVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39359 { (char *)"PlatformInformation_SetOperatingSystemId", (PyCFunction
) _wrap_PlatformInformation_SetOperatingSystemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39360 { (char *)"PlatformInformation_SetPortId", (PyCFunction
) _wrap_PlatformInformation_SetPortId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39361 { (char *)"PlatformInformation_SetArchitecture", (PyCFunction
) _wrap_PlatformInformation_SetArchitecture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39362 { (char *)"PlatformInformation_SetEndianness", (PyCFunction
) _wrap_PlatformInformation_SetEndianness
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39363 { (char *)"PlatformInformation_IsOk", (PyCFunction
)_wrap_PlatformInformation_IsOk
, METH_O
, NULL
},
39364 { (char *)"PlatformInformation_swigregister", PlatformInformation_swigregister
, METH_VARARGS
, NULL
},
39365 { (char *)"PlatformInformation_swiginit", PlatformInformation_swiginit
, METH_VARARGS
, NULL
},
39366 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39367 { (char *)"delete_TipProvider", (PyCFunction
)_wrap_delete_TipProvider
, METH_O
, NULL
},
39368 { (char *)"TipProvider_GetTip", (PyCFunction
)_wrap_TipProvider_GetTip
, METH_O
, NULL
},
39369 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
)_wrap_TipProvider_GetCurrentTip
, METH_O
, NULL
},
39370 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39371 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
39372 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39373 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39374 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
39375 { (char *)"PyTipProvider_swiginit", PyTipProvider_swiginit
, METH_VARARGS
, NULL
},
39376 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39377 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39378 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39379 { (char *)"delete_Timer", (PyCFunction
)_wrap_delete_Timer
, METH_O
, NULL
},
39380 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39381 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39382 { (char *)"Timer_GetOwner", (PyCFunction
)_wrap_Timer_GetOwner
, METH_O
, NULL
},
39383 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39384 { (char *)"Timer_Stop", (PyCFunction
)_wrap_Timer_Stop
, METH_O
, NULL
},
39385 { (char *)"Timer_Notify", (PyCFunction
)_wrap_Timer_Notify
, METH_O
, NULL
},
39386 { (char *)"Timer_IsRunning", (PyCFunction
)_wrap_Timer_IsRunning
, METH_O
, NULL
},
39387 { (char *)"Timer_GetInterval", (PyCFunction
)_wrap_Timer_GetInterval
, METH_O
, NULL
},
39388 { (char *)"Timer_GetId", (PyCFunction
)_wrap_Timer_GetId
, METH_O
, NULL
},
39389 { (char *)"Timer_IsOneShot", (PyCFunction
)_wrap_Timer_IsOneShot
, METH_O
, NULL
},
39390 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
39391 { (char *)"Timer_swiginit", Timer_swiginit
, METH_VARARGS
, NULL
},
39392 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39393 { (char *)"TimerEvent_GetInterval", (PyCFunction
)_wrap_TimerEvent_GetInterval
, METH_O
, NULL
},
39394 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
39395 { (char *)"TimerEvent_swiginit", TimerEvent_swiginit
, METH_VARARGS
, NULL
},
39396 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
39397 { (char *)"delete_TimerRunner", (PyCFunction
)_wrap_delete_TimerRunner
, METH_O
, NULL
},
39398 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39399 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
39400 { (char *)"TimerRunner_swiginit", TimerRunner_swiginit
, METH_VARARGS
, NULL
},
39401 { (char *)"new_Log", (PyCFunction
)_wrap_new_Log
, METH_NOARGS
, NULL
},
39402 { (char *)"delete_Log", (PyCFunction
)_wrap_delete_Log
, METH_O
, NULL
},
39403 { (char *)"Log_IsEnabled", (PyCFunction
)_wrap_Log_IsEnabled
, METH_NOARGS
, NULL
},
39404 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39405 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39406 { (char *)"Log_Flush", (PyCFunction
)_wrap_Log_Flush
, METH_O
, NULL
},
39407 { (char *)"Log_FlushActive", (PyCFunction
)_wrap_Log_FlushActive
, METH_NOARGS
, NULL
},
39408 { (char *)"Log_GetActiveTarget", (PyCFunction
)_wrap_Log_GetActiveTarget
, METH_NOARGS
, NULL
},
39409 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39410 { (char *)"Log_Suspend", (PyCFunction
)_wrap_Log_Suspend
, METH_NOARGS
, NULL
},
39411 { (char *)"Log_Resume", (PyCFunction
)_wrap_Log_Resume
, METH_NOARGS
, NULL
},
39412 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39413 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39414 { (char *)"Log_DontCreateOnDemand", (PyCFunction
)_wrap_Log_DontCreateOnDemand
, METH_NOARGS
, NULL
},
39415 { (char *)"Log_SetRepetitionCounting", (PyCFunction
) _wrap_Log_SetRepetitionCounting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39416 { (char *)"Log_GetRepetitionCounting", (PyCFunction
)_wrap_Log_GetRepetitionCounting
, METH_NOARGS
, NULL
},
39417 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39418 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39419 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39420 { (char *)"Log_ClearTraceMasks", (PyCFunction
)_wrap_Log_ClearTraceMasks
, METH_NOARGS
, NULL
},
39421 { (char *)"Log_GetTraceMasks", (PyCFunction
)_wrap_Log_GetTraceMasks
, METH_NOARGS
, NULL
},
39422 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39423 { (char *)"Log_GetVerbose", (PyCFunction
)_wrap_Log_GetVerbose
, METH_NOARGS
, NULL
},
39424 { (char *)"Log_GetTraceMask", (PyCFunction
)_wrap_Log_GetTraceMask
, METH_NOARGS
, NULL
},
39425 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39426 { (char *)"Log_GetLogLevel", (PyCFunction
)_wrap_Log_GetLogLevel
, METH_NOARGS
, NULL
},
39427 { (char *)"Log_GetTimestamp", (PyCFunction
)_wrap_Log_GetTimestamp
, METH_NOARGS
, NULL
},
39428 { (char *)"Log_TimeStamp", (PyCFunction
)_wrap_Log_TimeStamp
, METH_NOARGS
, NULL
},
39429 { (char *)"Log_Destroy", (PyCFunction
)_wrap_Log_Destroy
, METH_O
, NULL
},
39430 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
39431 { (char *)"Log_swiginit", Log_swiginit
, METH_VARARGS
, NULL
},
39432 { (char *)"new_LogStderr", (PyCFunction
)_wrap_new_LogStderr
, METH_NOARGS
, NULL
},
39433 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
39434 { (char *)"LogStderr_swiginit", LogStderr_swiginit
, METH_VARARGS
, NULL
},
39435 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39436 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
39437 { (char *)"LogTextCtrl_swiginit", LogTextCtrl_swiginit
, METH_VARARGS
, NULL
},
39438 { (char *)"new_LogGui", (PyCFunction
)_wrap_new_LogGui
, METH_NOARGS
, NULL
},
39439 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
39440 { (char *)"LogGui_swiginit", LogGui_swiginit
, METH_VARARGS
, NULL
},
39441 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39442 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39443 { (char *)"LogWindow_GetFrame", (PyCFunction
)_wrap_LogWindow_GetFrame
, METH_O
, NULL
},
39444 { (char *)"LogWindow_GetOldLog", (PyCFunction
)_wrap_LogWindow_GetOldLog
, METH_O
, NULL
},
39445 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
)_wrap_LogWindow_IsPassingMessages
, METH_O
, NULL
},
39446 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39447 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
39448 { (char *)"LogWindow_swiginit", LogWindow_swiginit
, METH_VARARGS
, NULL
},
39449 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39450 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39451 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39452 { (char *)"LogChain_IsPassingMessages", (PyCFunction
)_wrap_LogChain_IsPassingMessages
, METH_O
, NULL
},
39453 { (char *)"LogChain_GetOldLog", (PyCFunction
)_wrap_LogChain_GetOldLog
, METH_O
, NULL
},
39454 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
39455 { (char *)"LogChain_swiginit", LogChain_swiginit
, METH_VARARGS
, NULL
},
39456 { (char *)"new_LogBuffer", (PyCFunction
)_wrap_new_LogBuffer
, METH_NOARGS
, NULL
},
39457 { (char *)"LogBuffer_GetBuffer", (PyCFunction
)_wrap_LogBuffer_GetBuffer
, METH_O
, NULL
},
39458 { (char *)"LogBuffer_swigregister", LogBuffer_swigregister
, METH_VARARGS
, NULL
},
39459 { (char *)"LogBuffer_swiginit", LogBuffer_swiginit
, METH_VARARGS
, NULL
},
39460 { (char *)"SysErrorCode", (PyCFunction
)_wrap_SysErrorCode
, METH_NOARGS
, NULL
},
39461 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39462 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39463 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39464 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39465 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39466 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39467 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39468 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39469 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39470 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39471 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39472 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39473 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
39474 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39475 { (char *)"new_LogNull", (PyCFunction
)_wrap_new_LogNull
, METH_NOARGS
, NULL
},
39476 { (char *)"delete_LogNull", (PyCFunction
)_wrap_delete_LogNull
, METH_O
, NULL
},
39477 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
39478 { (char *)"LogNull_swiginit", LogNull_swiginit
, METH_VARARGS
, NULL
},
39479 { (char *)"new_PyLog", (PyCFunction
)_wrap_new_PyLog
, METH_NOARGS
, NULL
},
39480 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39481 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
39482 { (char *)"PyLog_swiginit", PyLog_swiginit
, METH_VARARGS
, NULL
},
39483 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39484 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39485 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39486 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39487 { (char *)"delete_Process", (PyCFunction
)_wrap_delete_Process
, METH_O
, NULL
},
39488 { (char *)"Process_GetPid", (PyCFunction
)_wrap_Process_GetPid
, METH_O
, NULL
},
39489 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39490 { (char *)"Process_OnTerminate", (PyCFunction
) _wrap_Process_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39491 { (char *)"Process_Redirect", (PyCFunction
)_wrap_Process_Redirect
, METH_O
, NULL
},
39492 { (char *)"Process_IsRedirected", (PyCFunction
)_wrap_Process_IsRedirected
, METH_O
, NULL
},
39493 { (char *)"Process_Detach", (PyCFunction
)_wrap_Process_Detach
, METH_O
, NULL
},
39494 { (char *)"Process_GetInputStream", (PyCFunction
)_wrap_Process_GetInputStream
, METH_O
, NULL
},
39495 { (char *)"Process_GetErrorStream", (PyCFunction
)_wrap_Process_GetErrorStream
, METH_O
, NULL
},
39496 { (char *)"Process_GetOutputStream", (PyCFunction
)_wrap_Process_GetOutputStream
, METH_O
, NULL
},
39497 { (char *)"Process_CloseOutput", (PyCFunction
)_wrap_Process_CloseOutput
, METH_O
, NULL
},
39498 { (char *)"Process_IsInputOpened", (PyCFunction
)_wrap_Process_IsInputOpened
, METH_O
, NULL
},
39499 { (char *)"Process_IsInputAvailable", (PyCFunction
)_wrap_Process_IsInputAvailable
, METH_O
, NULL
},
39500 { (char *)"Process_IsErrorAvailable", (PyCFunction
)_wrap_Process_IsErrorAvailable
, METH_O
, NULL
},
39501 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
39502 { (char *)"Process_swiginit", Process_swiginit
, METH_VARARGS
, NULL
},
39503 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39504 { (char *)"ProcessEvent_GetPid", (PyCFunction
)_wrap_ProcessEvent_GetPid
, METH_O
, NULL
},
39505 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
)_wrap_ProcessEvent_GetExitCode
, METH_O
, NULL
},
39506 { (char *)"ProcessEvent_m_pid_set", _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
, NULL
},
39507 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
)_wrap_ProcessEvent_m_pid_get
, METH_O
, NULL
},
39508 { (char *)"ProcessEvent_m_exitcode_set", _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
, NULL
},
39509 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
)_wrap_ProcessEvent_m_exitcode_get
, METH_O
, NULL
},
39510 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
39511 { (char *)"ProcessEvent_swiginit", ProcessEvent_swiginit
, METH_VARARGS
, NULL
},
39512 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39513 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39514 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39515 { (char *)"delete_Joystick", (PyCFunction
)_wrap_delete_Joystick
, METH_O
, NULL
},
39516 { (char *)"Joystick_GetPosition", (PyCFunction
)_wrap_Joystick_GetPosition
, METH_O
, NULL
},
39517 { (char *)"Joystick_GetZPosition", (PyCFunction
)_wrap_Joystick_GetZPosition
, METH_O
, NULL
},
39518 { (char *)"Joystick_GetButtonState", (PyCFunction
)_wrap_Joystick_GetButtonState
, METH_O
, NULL
},
39519 { (char *)"Joystick_GetPOVPosition", (PyCFunction
)_wrap_Joystick_GetPOVPosition
, METH_O
, NULL
},
39520 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
)_wrap_Joystick_GetPOVCTSPosition
, METH_O
, NULL
},
39521 { (char *)"Joystick_GetRudderPosition", (PyCFunction
)_wrap_Joystick_GetRudderPosition
, METH_O
, NULL
},
39522 { (char *)"Joystick_GetUPosition", (PyCFunction
)_wrap_Joystick_GetUPosition
, METH_O
, NULL
},
39523 { (char *)"Joystick_GetVPosition", (PyCFunction
)_wrap_Joystick_GetVPosition
, METH_O
, NULL
},
39524 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
)_wrap_Joystick_GetMovementThreshold
, METH_O
, NULL
},
39525 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39526 { (char *)"Joystick_IsOk", (PyCFunction
)_wrap_Joystick_IsOk
, METH_O
, NULL
},
39527 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
)_wrap_Joystick_GetNumberJoysticks
, METH_O
, NULL
},
39528 { (char *)"Joystick_GetManufacturerId", (PyCFunction
)_wrap_Joystick_GetManufacturerId
, METH_O
, NULL
},
39529 { (char *)"Joystick_GetProductId", (PyCFunction
)_wrap_Joystick_GetProductId
, METH_O
, NULL
},
39530 { (char *)"Joystick_GetProductName", (PyCFunction
)_wrap_Joystick_GetProductName
, METH_O
, NULL
},
39531 { (char *)"Joystick_GetXMin", (PyCFunction
)_wrap_Joystick_GetXMin
, METH_O
, NULL
},
39532 { (char *)"Joystick_GetYMin", (PyCFunction
)_wrap_Joystick_GetYMin
, METH_O
, NULL
},
39533 { (char *)"Joystick_GetZMin", (PyCFunction
)_wrap_Joystick_GetZMin
, METH_O
, NULL
},
39534 { (char *)"Joystick_GetXMax", (PyCFunction
)_wrap_Joystick_GetXMax
, METH_O
, NULL
},
39535 { (char *)"Joystick_GetYMax", (PyCFunction
)_wrap_Joystick_GetYMax
, METH_O
, NULL
},
39536 { (char *)"Joystick_GetZMax", (PyCFunction
)_wrap_Joystick_GetZMax
, METH_O
, NULL
},
39537 { (char *)"Joystick_GetNumberButtons", (PyCFunction
)_wrap_Joystick_GetNumberButtons
, METH_O
, NULL
},
39538 { (char *)"Joystick_GetNumberAxes", (PyCFunction
)_wrap_Joystick_GetNumberAxes
, METH_O
, NULL
},
39539 { (char *)"Joystick_GetMaxButtons", (PyCFunction
)_wrap_Joystick_GetMaxButtons
, METH_O
, NULL
},
39540 { (char *)"Joystick_GetMaxAxes", (PyCFunction
)_wrap_Joystick_GetMaxAxes
, METH_O
, NULL
},
39541 { (char *)"Joystick_GetPollingMin", (PyCFunction
)_wrap_Joystick_GetPollingMin
, METH_O
, NULL
},
39542 { (char *)"Joystick_GetPollingMax", (PyCFunction
)_wrap_Joystick_GetPollingMax
, METH_O
, NULL
},
39543 { (char *)"Joystick_GetRudderMin", (PyCFunction
)_wrap_Joystick_GetRudderMin
, METH_O
, NULL
},
39544 { (char *)"Joystick_GetRudderMax", (PyCFunction
)_wrap_Joystick_GetRudderMax
, METH_O
, NULL
},
39545 { (char *)"Joystick_GetUMin", (PyCFunction
)_wrap_Joystick_GetUMin
, METH_O
, NULL
},
39546 { (char *)"Joystick_GetUMax", (PyCFunction
)_wrap_Joystick_GetUMax
, METH_O
, NULL
},
39547 { (char *)"Joystick_GetVMin", (PyCFunction
)_wrap_Joystick_GetVMin
, METH_O
, NULL
},
39548 { (char *)"Joystick_GetVMax", (PyCFunction
)_wrap_Joystick_GetVMax
, METH_O
, NULL
},
39549 { (char *)"Joystick_HasRudder", (PyCFunction
)_wrap_Joystick_HasRudder
, METH_O
, NULL
},
39550 { (char *)"Joystick_HasZ", (PyCFunction
)_wrap_Joystick_HasZ
, METH_O
, NULL
},
39551 { (char *)"Joystick_HasU", (PyCFunction
)_wrap_Joystick_HasU
, METH_O
, NULL
},
39552 { (char *)"Joystick_HasV", (PyCFunction
)_wrap_Joystick_HasV
, METH_O
, NULL
},
39553 { (char *)"Joystick_HasPOV", (PyCFunction
)_wrap_Joystick_HasPOV
, METH_O
, NULL
},
39554 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
)_wrap_Joystick_HasPOV4Dir
, METH_O
, NULL
},
39555 { (char *)"Joystick_HasPOVCTS", (PyCFunction
)_wrap_Joystick_HasPOVCTS
, METH_O
, NULL
},
39556 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39557 { (char *)"Joystick_ReleaseCapture", (PyCFunction
)_wrap_Joystick_ReleaseCapture
, METH_O
, NULL
},
39558 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
39559 { (char *)"Joystick_swiginit", Joystick_swiginit
, METH_VARARGS
, NULL
},
39560 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39561 { (char *)"JoystickEvent_GetPosition", (PyCFunction
)_wrap_JoystickEvent_GetPosition
, METH_O
, NULL
},
39562 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
)_wrap_JoystickEvent_GetZPosition
, METH_O
, NULL
},
39563 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
)_wrap_JoystickEvent_GetButtonState
, METH_O
, NULL
},
39564 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
)_wrap_JoystickEvent_GetButtonChange
, METH_O
, NULL
},
39565 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
)_wrap_JoystickEvent_GetJoystick
, METH_O
, NULL
},
39566 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39567 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39568 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39569 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39570 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39571 { (char *)"JoystickEvent_IsButton", (PyCFunction
)_wrap_JoystickEvent_IsButton
, METH_O
, NULL
},
39572 { (char *)"JoystickEvent_IsMove", (PyCFunction
)_wrap_JoystickEvent_IsMove
, METH_O
, NULL
},
39573 { (char *)"JoystickEvent_IsZMove", (PyCFunction
)_wrap_JoystickEvent_IsZMove
, METH_O
, NULL
},
39574 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39575 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39576 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39577 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
39578 { (char *)"JoystickEvent_swiginit", JoystickEvent_swiginit
, METH_VARARGS
, NULL
},
39579 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39580 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39581 { (char *)"delete_Sound", (PyCFunction
)_wrap_delete_Sound
, METH_O
, NULL
},
39582 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39583 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39584 { (char *)"Sound_IsOk", (PyCFunction
)_wrap_Sound_IsOk
, METH_O
, NULL
},
39585 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39586 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39587 { (char *)"Sound_Stop", (PyCFunction
)_wrap_Sound_Stop
, METH_NOARGS
, NULL
},
39588 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
39589 { (char *)"Sound_swiginit", Sound_swiginit
, METH_VARARGS
, NULL
},
39590 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39591 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39592 { (char *)"new_NullFileTypeInfo", (PyCFunction
)_wrap_new_NullFileTypeInfo
, METH_NOARGS
, NULL
},
39593 { (char *)"FileTypeInfo_IsValid", (PyCFunction
)_wrap_FileTypeInfo_IsValid
, METH_O
, NULL
},
39594 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39595 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39596 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
)_wrap_FileTypeInfo_GetMimeType
, METH_O
, NULL
},
39597 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
)_wrap_FileTypeInfo_GetOpenCommand
, METH_O
, NULL
},
39598 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
)_wrap_FileTypeInfo_GetPrintCommand
, METH_O
, NULL
},
39599 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
)_wrap_FileTypeInfo_GetShortDesc
, METH_O
, NULL
},
39600 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
)_wrap_FileTypeInfo_GetDescription
, METH_O
, NULL
},
39601 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
)_wrap_FileTypeInfo_GetExtensions
, METH_O
, NULL
},
39602 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
)_wrap_FileTypeInfo_GetExtensionsCount
, METH_O
, NULL
},
39603 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
)_wrap_FileTypeInfo_GetIconFile
, METH_O
, NULL
},
39604 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
)_wrap_FileTypeInfo_GetIconIndex
, METH_O
, NULL
},
39605 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
39606 { (char *)"FileTypeInfo_swiginit", FileTypeInfo_swiginit
, METH_VARARGS
, NULL
},
39607 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39608 { (char *)"delete_FileType", (PyCFunction
)_wrap_delete_FileType
, METH_O
, NULL
},
39609 { (char *)"FileType_GetMimeType", (PyCFunction
)_wrap_FileType_GetMimeType
, METH_O
, NULL
},
39610 { (char *)"FileType_GetMimeTypes", (PyCFunction
)_wrap_FileType_GetMimeTypes
, METH_O
, NULL
},
39611 { (char *)"FileType_GetExtensions", (PyCFunction
)_wrap_FileType_GetExtensions
, METH_O
, NULL
},
39612 { (char *)"FileType_GetIcon", (PyCFunction
)_wrap_FileType_GetIcon
, METH_O
, NULL
},
39613 { (char *)"FileType_GetIconInfo", (PyCFunction
)_wrap_FileType_GetIconInfo
, METH_O
, NULL
},
39614 { (char *)"FileType_GetDescription", (PyCFunction
)_wrap_FileType_GetDescription
, METH_O
, NULL
},
39615 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39616 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39617 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39618 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39619 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39620 { (char *)"FileType_Unassociate", (PyCFunction
)_wrap_FileType_Unassociate
, METH_O
, NULL
},
39621 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39622 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
39623 { (char *)"FileType_swiginit", FileType_swiginit
, METH_VARARGS
, NULL
},
39624 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39625 { (char *)"new_MimeTypesManager", (PyCFunction
)_wrap_new_MimeTypesManager
, METH_NOARGS
, NULL
},
39626 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39627 { (char *)"MimeTypesManager_ClearData", (PyCFunction
)_wrap_MimeTypesManager_ClearData
, METH_O
, NULL
},
39628 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39629 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39630 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39631 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39632 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
)_wrap_MimeTypesManager_EnumAllFileTypes
, METH_O
, NULL
},
39633 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39634 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39635 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39636 { (char *)"delete_MimeTypesManager", (PyCFunction
)_wrap_delete_MimeTypesManager
, METH_O
, NULL
},
39637 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
39638 { (char *)"MimeTypesManager_swiginit", MimeTypesManager_swiginit
, METH_VARARGS
, NULL
},
39639 { (char *)"new_ArtProvider", (PyCFunction
)_wrap_new_ArtProvider
, METH_NOARGS
, NULL
},
39640 { (char *)"delete_ArtProvider", (PyCFunction
)_wrap_delete_ArtProvider
, METH_O
, NULL
},
39641 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39642 { (char *)"ArtProvider_Push", (PyCFunction
) _wrap_ArtProvider_Push
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39643 { (char *)"ArtProvider_Insert", (PyCFunction
) _wrap_ArtProvider_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39644 { (char *)"ArtProvider_Pop", (PyCFunction
)_wrap_ArtProvider_Pop
, METH_NOARGS
, NULL
},
39645 { (char *)"ArtProvider_Delete", (PyCFunction
) _wrap_ArtProvider_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39646 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39647 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39648 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39649 { (char *)"ArtProvider_Destroy", (PyCFunction
)_wrap_ArtProvider_Destroy
, METH_O
, NULL
},
39650 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
39651 { (char *)"ArtProvider_swiginit", ArtProvider_swiginit
, METH_VARARGS
, NULL
},
39652 { (char *)"delete_ConfigBase", (PyCFunction
)_wrap_delete_ConfigBase
, METH_O
, NULL
},
39653 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39654 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39655 { (char *)"ConfigBase_Create", (PyCFunction
)_wrap_ConfigBase_Create
, METH_NOARGS
, NULL
},
39656 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
)_wrap_ConfigBase_DontCreateOnDemand
, METH_NOARGS
, NULL
},
39657 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39658 { (char *)"ConfigBase_GetPath", (PyCFunction
)_wrap_ConfigBase_GetPath
, METH_O
, NULL
},
39659 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
)_wrap_ConfigBase_GetFirstGroup
, METH_O
, NULL
},
39660 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39661 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
)_wrap_ConfigBase_GetFirstEntry
, METH_O
, NULL
},
39662 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39663 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39664 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39665 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39666 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39667 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39668 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39669 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39670 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39671 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39672 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39673 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39674 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39675 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39676 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39677 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39678 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39679 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39680 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39681 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39682 { (char *)"ConfigBase_DeleteAll", (PyCFunction
)_wrap_ConfigBase_DeleteAll
, METH_O
, NULL
},
39683 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39684 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
)_wrap_ConfigBase_IsExpandingEnvVars
, METH_O
, NULL
},
39685 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39686 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
)_wrap_ConfigBase_IsRecordingDefaults
, METH_O
, NULL
},
39687 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39688 { (char *)"ConfigBase_GetAppName", (PyCFunction
)_wrap_ConfigBase_GetAppName
, METH_O
, NULL
},
39689 { (char *)"ConfigBase_GetVendorName", (PyCFunction
)_wrap_ConfigBase_GetVendorName
, METH_O
, NULL
},
39690 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39691 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39692 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39693 { (char *)"ConfigBase_GetStyle", (PyCFunction
)_wrap_ConfigBase_GetStyle
, METH_O
, NULL
},
39694 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
39695 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39696 { (char *)"delete_Config", (PyCFunction
)_wrap_delete_Config
, METH_O
, NULL
},
39697 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
39698 { (char *)"Config_swiginit", Config_swiginit
, METH_VARARGS
, NULL
},
39699 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39700 { (char *)"delete_FileConfig", (PyCFunction
)_wrap_delete_FileConfig
, METH_O
, NULL
},
39701 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
39702 { (char *)"FileConfig_swiginit", FileConfig_swiginit
, METH_VARARGS
, NULL
},
39703 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39704 { (char *)"delete_ConfigPathChanger", (PyCFunction
)_wrap_delete_ConfigPathChanger
, METH_O
, NULL
},
39705 { (char *)"ConfigPathChanger_Name", (PyCFunction
)_wrap_ConfigPathChanger_Name
, METH_O
, NULL
},
39706 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
39707 { (char *)"ConfigPathChanger_swiginit", ConfigPathChanger_swiginit
, METH_VARARGS
, NULL
},
39708 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39709 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39710 { (char *)"DateTime_GetCountry", (PyCFunction
)_wrap_DateTime_GetCountry
, METH_NOARGS
, NULL
},
39711 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39712 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39713 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39714 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39715 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39716 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39717 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39718 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39719 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39720 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39721 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
)_wrap_DateTime_GetAmPmStrings
, METH_NOARGS
, NULL
},
39722 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39723 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39724 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39725 { (char *)"DateTime_Now", (PyCFunction
)_wrap_DateTime_Now
, METH_NOARGS
, NULL
},
39726 { (char *)"DateTime_UNow", (PyCFunction
)_wrap_DateTime_UNow
, METH_NOARGS
, NULL
},
39727 { (char *)"DateTime_Today", (PyCFunction
)_wrap_DateTime_Today
, METH_NOARGS
, NULL
},
39728 { (char *)"new_DateTime", (PyCFunction
)_wrap_new_DateTime
, METH_NOARGS
, NULL
},
39729 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39730 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39731 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39732 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39733 { (char *)"new_DateTimeFromDateTime", (PyCFunction
) _wrap_new_DateTimeFromDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39734 { (char *)"delete_DateTime", (PyCFunction
)_wrap_delete_DateTime
, METH_O
, NULL
},
39735 { (char *)"DateTime_SetToCurrent", (PyCFunction
)_wrap_DateTime_SetToCurrent
, METH_O
, NULL
},
39736 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39737 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39738 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39739 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39740 { (char *)"DateTime_ResetTime", (PyCFunction
)_wrap_DateTime_ResetTime
, METH_O
, NULL
},
39741 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39742 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39743 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39744 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39745 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39746 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39747 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39748 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39749 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39750 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39751 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39752 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39753 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39754 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39755 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39756 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39757 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39758 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39759 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39760 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39761 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39762 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39763 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39764 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetJulianDayNumber
, METH_O
, NULL
},
39765 { (char *)"DateTime_GetJDN", (PyCFunction
)_wrap_DateTime_GetJDN
, METH_O
, NULL
},
39766 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetModifiedJulianDayNumber
, METH_O
, NULL
},
39767 { (char *)"DateTime_GetMJD", (PyCFunction
)_wrap_DateTime_GetMJD
, METH_O
, NULL
},
39768 { (char *)"DateTime_GetRataDie", (PyCFunction
)_wrap_DateTime_GetRataDie
, METH_O
, NULL
},
39769 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39770 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39771 { (char *)"DateTime_FromTimezone", (PyCFunction
) _wrap_DateTime_FromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39772 { (char *)"DateTime_MakeFromTimezone", (PyCFunction
) _wrap_DateTime_MakeFromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39773 { (char *)"DateTime_ToUTC", (PyCFunction
) _wrap_DateTime_ToUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39774 { (char *)"DateTime_MakeUTC", (PyCFunction
) _wrap_DateTime_MakeUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39775 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39776 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39777 { (char *)"DateTime_FromUTC", (PyCFunction
) _wrap_DateTime_FromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39778 { (char *)"DateTime_MakeFromUTC", (PyCFunction
) _wrap_DateTime_MakeFromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39779 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39780 { (char *)"DateTime_IsValid", (PyCFunction
)_wrap_DateTime_IsValid
, METH_O
, NULL
},
39781 { (char *)"DateTime_GetTicks", (PyCFunction
)_wrap_DateTime_GetTicks
, METH_O
, NULL
},
39782 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39783 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39784 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39785 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39786 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39787 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39788 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39789 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39790 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39791 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39792 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39793 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39794 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39795 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39796 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39797 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39798 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39799 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39800 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39801 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39802 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39803 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39804 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39805 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39806 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39807 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
39808 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
39809 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
39810 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
39811 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39812 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39813 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39814 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39815 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39816 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39817 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39818 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39819 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39820 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39821 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39822 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39823 { (char *)"DateTime_FormatDate", (PyCFunction
)_wrap_DateTime_FormatDate
, METH_O
, NULL
},
39824 { (char *)"DateTime_FormatTime", (PyCFunction
)_wrap_DateTime_FormatTime
, METH_O
, NULL
},
39825 { (char *)"DateTime_FormatISODate", (PyCFunction
)_wrap_DateTime_FormatISODate
, METH_O
, NULL
},
39826 { (char *)"DateTime_FormatISOTime", (PyCFunction
)_wrap_DateTime_FormatISOTime
, METH_O
, NULL
},
39827 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
39828 { (char *)"DateTime_swiginit", DateTime_swiginit
, METH_VARARGS
, NULL
},
39829 { (char *)"TimeSpan_Milliseconds", (PyCFunction
) _wrap_TimeSpan_Milliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39830 { (char *)"TimeSpan_Millisecond", (PyCFunction
)_wrap_TimeSpan_Millisecond
, METH_NOARGS
, NULL
},
39831 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39832 { (char *)"TimeSpan_Second", (PyCFunction
)_wrap_TimeSpan_Second
, METH_NOARGS
, NULL
},
39833 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39834 { (char *)"TimeSpan_Minute", (PyCFunction
)_wrap_TimeSpan_Minute
, METH_NOARGS
, NULL
},
39835 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39836 { (char *)"TimeSpan_Hour", (PyCFunction
)_wrap_TimeSpan_Hour
, METH_NOARGS
, NULL
},
39837 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39838 { (char *)"TimeSpan_Day", (PyCFunction
)_wrap_TimeSpan_Day
, METH_NOARGS
, NULL
},
39839 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39840 { (char *)"TimeSpan_Week", (PyCFunction
)_wrap_TimeSpan_Week
, METH_NOARGS
, NULL
},
39841 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39842 { (char *)"delete_TimeSpan", (PyCFunction
)_wrap_delete_TimeSpan
, METH_O
, NULL
},
39843 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39844 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39845 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39846 { (char *)"TimeSpan_Neg", (PyCFunction
)_wrap_TimeSpan_Neg
, METH_O
, NULL
},
39847 { (char *)"TimeSpan_Abs", (PyCFunction
)_wrap_TimeSpan_Abs
, METH_O
, NULL
},
39848 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39849 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39850 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39851 { (char *)"TimeSpan___neg__", (PyCFunction
)_wrap_TimeSpan___neg__
, METH_O
, NULL
},
39852 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39853 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39854 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39855 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39856 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39857 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39858 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39859 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39860 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39861 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39862 { (char *)"TimeSpan_IsNull", (PyCFunction
)_wrap_TimeSpan_IsNull
, METH_O
, NULL
},
39863 { (char *)"TimeSpan_IsPositive", (PyCFunction
)_wrap_TimeSpan_IsPositive
, METH_O
, NULL
},
39864 { (char *)"TimeSpan_IsNegative", (PyCFunction
)_wrap_TimeSpan_IsNegative
, METH_O
, NULL
},
39865 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39866 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39867 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39868 { (char *)"TimeSpan_GetWeeks", (PyCFunction
)_wrap_TimeSpan_GetWeeks
, METH_O
, NULL
},
39869 { (char *)"TimeSpan_GetDays", (PyCFunction
)_wrap_TimeSpan_GetDays
, METH_O
, NULL
},
39870 { (char *)"TimeSpan_GetHours", (PyCFunction
)_wrap_TimeSpan_GetHours
, METH_O
, NULL
},
39871 { (char *)"TimeSpan_GetMinutes", (PyCFunction
)_wrap_TimeSpan_GetMinutes
, METH_O
, NULL
},
39872 { (char *)"TimeSpan_GetSeconds", (PyCFunction
)_wrap_TimeSpan_GetSeconds
, METH_O
, NULL
},
39873 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
)_wrap_TimeSpan_GetMilliseconds
, METH_O
, NULL
},
39874 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39875 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
39876 { (char *)"TimeSpan_swiginit", TimeSpan_swiginit
, METH_VARARGS
, NULL
},
39877 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39878 { (char *)"delete_DateSpan", (PyCFunction
)_wrap_delete_DateSpan
, METH_O
, NULL
},
39879 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39880 { (char *)"DateSpan_Day", (PyCFunction
)_wrap_DateSpan_Day
, METH_NOARGS
, NULL
},
39881 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39882 { (char *)"DateSpan_Week", (PyCFunction
)_wrap_DateSpan_Week
, METH_NOARGS
, NULL
},
39883 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39884 { (char *)"DateSpan_Month", (PyCFunction
)_wrap_DateSpan_Month
, METH_NOARGS
, NULL
},
39885 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39886 { (char *)"DateSpan_Year", (PyCFunction
)_wrap_DateSpan_Year
, METH_NOARGS
, NULL
},
39887 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39888 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39889 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39890 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39891 { (char *)"DateSpan_GetYears", (PyCFunction
)_wrap_DateSpan_GetYears
, METH_O
, NULL
},
39892 { (char *)"DateSpan_GetMonths", (PyCFunction
)_wrap_DateSpan_GetMonths
, METH_O
, NULL
},
39893 { (char *)"DateSpan_GetWeeks", (PyCFunction
)_wrap_DateSpan_GetWeeks
, METH_O
, NULL
},
39894 { (char *)"DateSpan_GetDays", (PyCFunction
)_wrap_DateSpan_GetDays
, METH_O
, NULL
},
39895 { (char *)"DateSpan_GetTotalDays", (PyCFunction
)_wrap_DateSpan_GetTotalDays
, METH_O
, NULL
},
39896 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39897 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39898 { (char *)"DateSpan_Neg", (PyCFunction
)_wrap_DateSpan_Neg
, METH_O
, NULL
},
39899 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39900 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39901 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39902 { (char *)"DateSpan___neg__", (PyCFunction
)_wrap_DateSpan___neg__
, METH_O
, NULL
},
39903 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39904 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39905 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39906 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39907 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39908 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39909 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39910 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
39911 { (char *)"DateSpan_swiginit", DateSpan_swiginit
, METH_VARARGS
, NULL
},
39912 { (char *)"GetLocalTime", (PyCFunction
)_wrap_GetLocalTime
, METH_NOARGS
, NULL
},
39913 { (char *)"GetUTCTime", (PyCFunction
)_wrap_GetUTCTime
, METH_NOARGS
, NULL
},
39914 { (char *)"GetCurrentTime", (PyCFunction
)_wrap_GetCurrentTime
, METH_NOARGS
, NULL
},
39915 { (char *)"GetLocalTimeMillis", (PyCFunction
)_wrap_GetLocalTimeMillis
, METH_NOARGS
, NULL
},
39916 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39917 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39918 { (char *)"delete_DataFormat", (PyCFunction
)_wrap_delete_DataFormat
, METH_O
, NULL
},
39919 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
39920 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
39921 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39922 { (char *)"DataFormat_GetType", (PyCFunction
)_wrap_DataFormat_GetType
, METH_O
, NULL
},
39923 { (char *)"DataFormat_GetId", (PyCFunction
)_wrap_DataFormat_GetId
, METH_O
, NULL
},
39924 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39925 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
39926 { (char *)"DataFormat_swiginit", DataFormat_swiginit
, METH_VARARGS
, NULL
},
39927 { (char *)"delete_DataObject", (PyCFunction
)_wrap_delete_DataObject
, METH_O
, NULL
},
39928 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39929 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39930 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39931 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39932 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39933 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39934 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39935 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
39936 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39937 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
)_wrap_DataObjectSimple_GetFormat
, METH_O
, NULL
},
39938 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39939 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
)_wrap_DataObjectSimple_GetDataSize
, METH_O
, NULL
},
39940 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
)_wrap_DataObjectSimple_GetDataHere
, METH_O
, NULL
},
39941 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39942 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
39943 { (char *)"DataObjectSimple_swiginit", DataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
39944 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39945 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39946 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
39947 { (char *)"PyDataObjectSimple_swiginit", PyDataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
39948 { (char *)"new_DataObjectComposite", (PyCFunction
)_wrap_new_DataObjectComposite
, METH_NOARGS
, NULL
},
39949 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39950 { (char *)"DataObjectComposite_GetReceivedFormat", (PyCFunction
)_wrap_DataObjectComposite_GetReceivedFormat
, METH_O
, NULL
},
39951 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
39952 { (char *)"DataObjectComposite_swiginit", DataObjectComposite_swiginit
, METH_VARARGS
, NULL
},
39953 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39954 { (char *)"TextDataObject_GetTextLength", (PyCFunction
)_wrap_TextDataObject_GetTextLength
, METH_O
, NULL
},
39955 { (char *)"TextDataObject_GetText", (PyCFunction
)_wrap_TextDataObject_GetText
, METH_O
, NULL
},
39956 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39957 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
39958 { (char *)"TextDataObject_swiginit", TextDataObject_swiginit
, METH_VARARGS
, NULL
},
39959 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39960 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39961 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
39962 { (char *)"PyTextDataObject_swiginit", PyTextDataObject_swiginit
, METH_VARARGS
, NULL
},
39963 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39964 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
)_wrap_BitmapDataObject_GetBitmap
, METH_O
, NULL
},
39965 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39966 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
39967 { (char *)"BitmapDataObject_swiginit", BitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
39968 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39969 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39970 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
39971 { (char *)"PyBitmapDataObject_swiginit", PyBitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
39972 { (char *)"new_FileDataObject", (PyCFunction
)_wrap_new_FileDataObject
, METH_NOARGS
, NULL
},
39973 { (char *)"FileDataObject_GetFilenames", (PyCFunction
)_wrap_FileDataObject_GetFilenames
, METH_O
, NULL
},
39974 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39975 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
39976 { (char *)"FileDataObject_swiginit", FileDataObject_swiginit
, METH_VARARGS
, NULL
},
39977 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
39978 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39979 { (char *)"CustomDataObject_GetSize", (PyCFunction
)_wrap_CustomDataObject_GetSize
, METH_O
, NULL
},
39980 { (char *)"CustomDataObject_GetData", (PyCFunction
)_wrap_CustomDataObject_GetData
, METH_O
, NULL
},
39981 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
39982 { (char *)"CustomDataObject_swiginit", CustomDataObject_swiginit
, METH_VARARGS
, NULL
},
39983 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39984 { (char *)"URLDataObject_GetURL", (PyCFunction
)_wrap_URLDataObject_GetURL
, METH_O
, NULL
},
39985 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39986 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
39987 { (char *)"URLDataObject_swiginit", URLDataObject_swiginit
, METH_VARARGS
, NULL
},
39988 { (char *)"new_MetafileDataObject", (PyCFunction
)_wrap_new_MetafileDataObject
, METH_NOARGS
, NULL
},
39989 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39990 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
)_wrap_MetafileDataObject_GetMetafile
, METH_O
, NULL
},
39991 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
39992 { (char *)"MetafileDataObject_swiginit", MetafileDataObject_swiginit
, METH_VARARGS
, NULL
},
39993 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39994 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39995 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39996 { (char *)"delete_DropSource", (PyCFunction
)_wrap_delete_DropSource
, METH_O
, NULL
},
39997 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39998 { (char *)"DropSource_GetDataObject", (PyCFunction
)_wrap_DropSource_GetDataObject
, METH_O
, NULL
},
39999 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40000 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40001 { (char *)"DropSource_GiveFeedback", (PyCFunction
) _wrap_DropSource_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40002 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
40003 { (char *)"DropSource_swiginit", DropSource_swiginit
, METH_VARARGS
, NULL
},
40004 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40005 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40006 { (char *)"delete_DropTarget", (PyCFunction
)_wrap_delete_DropTarget
, METH_O
, NULL
},
40007 { (char *)"DropTarget_GetDataObject", (PyCFunction
)_wrap_DropTarget_GetDataObject
, METH_O
, NULL
},
40008 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40009 { (char *)"DropTarget_OnEnter", (PyCFunction
) _wrap_DropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40010 { (char *)"DropTarget_OnDragOver", (PyCFunction
) _wrap_DropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40011 { (char *)"DropTarget_OnLeave", (PyCFunction
)_wrap_DropTarget_OnLeave
, METH_O
, NULL
},
40012 { (char *)"DropTarget_OnDrop", (PyCFunction
) _wrap_DropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40013 { (char *)"DropTarget_GetData", (PyCFunction
)_wrap_DropTarget_GetData
, METH_O
, NULL
},
40014 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40015 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
)_wrap_DropTarget_GetDefaultAction
, METH_O
, NULL
},
40016 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
40017 { (char *)"DropTarget_swiginit", DropTarget_swiginit
, METH_VARARGS
, NULL
},
40018 { (char *)"new_TextDropTarget", (PyCFunction
)_wrap_new_TextDropTarget
, METH_NOARGS
, NULL
},
40019 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40020 { (char *)"TextDropTarget_OnDropText", (PyCFunction
) _wrap_TextDropTarget_OnDropText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40021 { (char *)"TextDropTarget_OnEnter", (PyCFunction
) _wrap_TextDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40022 { (char *)"TextDropTarget_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40023 { (char *)"TextDropTarget_OnLeave", (PyCFunction
)_wrap_TextDropTarget_OnLeave
, METH_O
, NULL
},
40024 { (char *)"TextDropTarget_OnDrop", (PyCFunction
) _wrap_TextDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40025 { (char *)"TextDropTarget_OnData", (PyCFunction
) _wrap_TextDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40026 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
40027 { (char *)"TextDropTarget_swiginit", TextDropTarget_swiginit
, METH_VARARGS
, NULL
},
40028 { (char *)"new_FileDropTarget", (PyCFunction
)_wrap_new_FileDropTarget
, METH_NOARGS
, NULL
},
40029 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40030 { (char *)"FileDropTarget_OnDropFiles", (PyCFunction
) _wrap_FileDropTarget_OnDropFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40031 { (char *)"FileDropTarget_OnEnter", (PyCFunction
) _wrap_FileDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40032 { (char *)"FileDropTarget_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40033 { (char *)"FileDropTarget_OnLeave", (PyCFunction
)_wrap_FileDropTarget_OnLeave
, METH_O
, NULL
},
40034 { (char *)"FileDropTarget_OnDrop", (PyCFunction
) _wrap_FileDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40035 { (char *)"FileDropTarget_OnData", (PyCFunction
) _wrap_FileDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40036 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
40037 { (char *)"FileDropTarget_swiginit", FileDropTarget_swiginit
, METH_VARARGS
, NULL
},
40038 { (char *)"new_Clipboard", (PyCFunction
)_wrap_new_Clipboard
, METH_NOARGS
, NULL
},
40039 { (char *)"delete_Clipboard", (PyCFunction
)_wrap_delete_Clipboard
, METH_O
, NULL
},
40040 { (char *)"Clipboard_Open", (PyCFunction
)_wrap_Clipboard_Open
, METH_O
, NULL
},
40041 { (char *)"Clipboard_Close", (PyCFunction
)_wrap_Clipboard_Close
, METH_O
, NULL
},
40042 { (char *)"Clipboard_IsOpened", (PyCFunction
)_wrap_Clipboard_IsOpened
, METH_O
, NULL
},
40043 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40044 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40045 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40046 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40047 { (char *)"Clipboard_Clear", (PyCFunction
)_wrap_Clipboard_Clear
, METH_O
, NULL
},
40048 { (char *)"Clipboard_Flush", (PyCFunction
)_wrap_Clipboard_Flush
, METH_O
, NULL
},
40049 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40050 { (char *)"Clipboard_Get", (PyCFunction
)_wrap_Clipboard_Get
, METH_NOARGS
, NULL
},
40051 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
40052 { (char *)"Clipboard_swiginit", Clipboard_swiginit
, METH_VARARGS
, NULL
},
40053 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40054 { (char *)"delete_ClipboardLocker", (PyCFunction
)_wrap_delete_ClipboardLocker
, METH_O
, NULL
},
40055 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
)_wrap_ClipboardLocker___nonzero__
, METH_O
, NULL
},
40056 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
40057 { (char *)"ClipboardLocker_swiginit", ClipboardLocker_swiginit
, METH_VARARGS
, NULL
},
40058 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40059 { (char *)"delete_VideoMode", (PyCFunction
)_wrap_delete_VideoMode
, METH_O
, NULL
},
40060 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40061 { (char *)"VideoMode_GetWidth", (PyCFunction
)_wrap_VideoMode_GetWidth
, METH_O
, NULL
},
40062 { (char *)"VideoMode_GetHeight", (PyCFunction
)_wrap_VideoMode_GetHeight
, METH_O
, NULL
},
40063 { (char *)"VideoMode_GetDepth", (PyCFunction
)_wrap_VideoMode_GetDepth
, METH_O
, NULL
},
40064 { (char *)"VideoMode_IsOk", (PyCFunction
)_wrap_VideoMode_IsOk
, METH_O
, NULL
},
40065 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40066 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40067 { (char *)"VideoMode_w_set", _wrap_VideoMode_w_set
, METH_VARARGS
, NULL
},
40068 { (char *)"VideoMode_w_get", (PyCFunction
)_wrap_VideoMode_w_get
, METH_O
, NULL
},
40069 { (char *)"VideoMode_h_set", _wrap_VideoMode_h_set
, METH_VARARGS
, NULL
},
40070 { (char *)"VideoMode_h_get", (PyCFunction
)_wrap_VideoMode_h_get
, METH_O
, NULL
},
40071 { (char *)"VideoMode_bpp_set", _wrap_VideoMode_bpp_set
, METH_VARARGS
, NULL
},
40072 { (char *)"VideoMode_bpp_get", (PyCFunction
)_wrap_VideoMode_bpp_get
, METH_O
, NULL
},
40073 { (char *)"VideoMode_refresh_set", _wrap_VideoMode_refresh_set
, METH_VARARGS
, NULL
},
40074 { (char *)"VideoMode_refresh_get", (PyCFunction
)_wrap_VideoMode_refresh_get
, METH_O
, NULL
},
40075 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
40076 { (char *)"VideoMode_swiginit", VideoMode_swiginit
, METH_VARARGS
, NULL
},
40077 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40078 { (char *)"delete_Display", (PyCFunction
)_wrap_delete_Display
, METH_O
, NULL
},
40079 { (char *)"Display_GetCount", (PyCFunction
)_wrap_Display_GetCount
, METH_NOARGS
, NULL
},
40080 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40081 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40082 { (char *)"Display_IsOk", (PyCFunction
)_wrap_Display_IsOk
, METH_O
, NULL
},
40083 { (char *)"Display_GetGeometry", (PyCFunction
)_wrap_Display_GetGeometry
, METH_O
, NULL
},
40084 { (char *)"Display_GetClientArea", (PyCFunction
)_wrap_Display_GetClientArea
, METH_O
, NULL
},
40085 { (char *)"Display_GetName", (PyCFunction
)_wrap_Display_GetName
, METH_O
, NULL
},
40086 { (char *)"Display_IsPrimary", (PyCFunction
)_wrap_Display_IsPrimary
, METH_O
, NULL
},
40087 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40088 { (char *)"Display_GetCurrentMode", (PyCFunction
)_wrap_Display_GetCurrentMode
, METH_O
, NULL
},
40089 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40090 { (char *)"Display_ResetMode", (PyCFunction
)_wrap_Display_ResetMode
, METH_O
, NULL
},
40091 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
40092 { (char *)"Display_swiginit", Display_swiginit
, METH_VARARGS
, NULL
},
40093 { (char *)"StandardPaths_Get", (PyCFunction
)_wrap_StandardPaths_Get
, METH_NOARGS
, NULL
},
40094 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
)_wrap_StandardPaths_GetConfigDir
, METH_O
, NULL
},
40095 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
)_wrap_StandardPaths_GetUserConfigDir
, METH_O
, NULL
},
40096 { (char *)"StandardPaths_GetDataDir", (PyCFunction
)_wrap_StandardPaths_GetDataDir
, METH_O
, NULL
},
40097 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetLocalDataDir
, METH_O
, NULL
},
40098 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserDataDir
, METH_O
, NULL
},
40099 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserLocalDataDir
, METH_O
, NULL
},
40100 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
)_wrap_StandardPaths_GetPluginsDir
, METH_O
, NULL
},
40101 { (char *)"StandardPaths_GetResourcesDir", (PyCFunction
)_wrap_StandardPaths_GetResourcesDir
, METH_O
, NULL
},
40102 { (char *)"StandardPaths_GetLocalizedResourcesDir", (PyCFunction
) _wrap_StandardPaths_GetLocalizedResourcesDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40103 { (char *)"StandardPaths_GetDocumentsDir", (PyCFunction
)_wrap_StandardPaths_GetDocumentsDir
, METH_O
, NULL
},
40104 { (char *)"StandardPaths_GetTempDir", (PyCFunction
)_wrap_StandardPaths_GetTempDir
, METH_O
, NULL
},
40105 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40106 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
)_wrap_StandardPaths_GetInstallPrefix
, METH_O
, NULL
},
40107 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
40108 { (char *)"new_PowerEvent", (PyCFunction
) _wrap_new_PowerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40109 { (char *)"PowerEvent_Veto", (PyCFunction
)_wrap_PowerEvent_Veto
, METH_O
, NULL
},
40110 { (char *)"PowerEvent_IsVetoed", (PyCFunction
)_wrap_PowerEvent_IsVetoed
, METH_O
, NULL
},
40111 { (char *)"PowerEvent_swigregister", PowerEvent_swigregister
, METH_VARARGS
, NULL
},
40112 { (char *)"PowerEvent_swiginit", PowerEvent_swiginit
, METH_VARARGS
, NULL
},
40113 { (char *)"GetPowerType", (PyCFunction
)_wrap_GetPowerType
, METH_NOARGS
, NULL
},
40114 { (char *)"GetBatteryState", (PyCFunction
)_wrap_GetBatteryState
, METH_NOARGS
, NULL
},
40115 { (char *)"new_AboutDialogInfo", (PyCFunction
)_wrap_new_AboutDialogInfo
, METH_NOARGS
, NULL
},
40116 { (char *)"delete_AboutDialogInfo", (PyCFunction
)_wrap_delete_AboutDialogInfo
, METH_O
, NULL
},
40117 { (char *)"AboutDialogInfo_SetName", (PyCFunction
) _wrap_AboutDialogInfo_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40118 { (char *)"AboutDialogInfo_GetName", (PyCFunction
)_wrap_AboutDialogInfo_GetName
, METH_O
, NULL
},
40119 { (char *)"AboutDialogInfo_SetVersion", (PyCFunction
) _wrap_AboutDialogInfo_SetVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40120 { (char *)"AboutDialogInfo_HasVersion", (PyCFunction
)_wrap_AboutDialogInfo_HasVersion
, METH_O
, NULL
},
40121 { (char *)"AboutDialogInfo_GetVersion", (PyCFunction
)_wrap_AboutDialogInfo_GetVersion
, METH_O
, NULL
},
40122 { (char *)"AboutDialogInfo_SetDescription", (PyCFunction
) _wrap_AboutDialogInfo_SetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40123 { (char *)"AboutDialogInfo_HasDescription", (PyCFunction
)_wrap_AboutDialogInfo_HasDescription
, METH_O
, NULL
},
40124 { (char *)"AboutDialogInfo_GetDescription", (PyCFunction
)_wrap_AboutDialogInfo_GetDescription
, METH_O
, NULL
},
40125 { (char *)"AboutDialogInfo_SetCopyright", (PyCFunction
) _wrap_AboutDialogInfo_SetCopyright
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40126 { (char *)"AboutDialogInfo_HasCopyright", (PyCFunction
)_wrap_AboutDialogInfo_HasCopyright
, METH_O
, NULL
},
40127 { (char *)"AboutDialogInfo_GetCopyright", (PyCFunction
)_wrap_AboutDialogInfo_GetCopyright
, METH_O
, NULL
},
40128 { (char *)"AboutDialogInfo_SetLicence", (PyCFunction
) _wrap_AboutDialogInfo_SetLicence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40129 { (char *)"AboutDialogInfo_SetLicense", (PyCFunction
) _wrap_AboutDialogInfo_SetLicense
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40130 { (char *)"AboutDialogInfo_HasLicence", (PyCFunction
)_wrap_AboutDialogInfo_HasLicence
, METH_O
, NULL
},
40131 { (char *)"AboutDialogInfo_GetLicence", (PyCFunction
)_wrap_AboutDialogInfo_GetLicence
, METH_O
, NULL
},
40132 { (char *)"AboutDialogInfo_SetIcon", (PyCFunction
) _wrap_AboutDialogInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40133 { (char *)"AboutDialogInfo_HasIcon", (PyCFunction
)_wrap_AboutDialogInfo_HasIcon
, METH_O
, NULL
},
40134 { (char *)"AboutDialogInfo_GetIcon", (PyCFunction
)_wrap_AboutDialogInfo_GetIcon
, METH_O
, NULL
},
40135 { (char *)"AboutDialogInfo__SetWebSite", (PyCFunction
) _wrap_AboutDialogInfo__SetWebSite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40136 { (char *)"AboutDialogInfo__GetWebSiteURL", (PyCFunction
)_wrap_AboutDialogInfo__GetWebSiteURL
, METH_O
, NULL
},
40137 { (char *)"AboutDialogInfo__GetWebSiteDescription", (PyCFunction
)_wrap_AboutDialogInfo__GetWebSiteDescription
, METH_O
, NULL
},
40138 { (char *)"AboutDialogInfo_HasWebSite", (PyCFunction
)_wrap_AboutDialogInfo_HasWebSite
, METH_O
, NULL
},
40139 { (char *)"AboutDialogInfo_SetDevelopers", (PyCFunction
) _wrap_AboutDialogInfo_SetDevelopers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40140 { (char *)"AboutDialogInfo_AddDeveloper", (PyCFunction
) _wrap_AboutDialogInfo_AddDeveloper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40141 { (char *)"AboutDialogInfo_HasDevelopers", (PyCFunction
)_wrap_AboutDialogInfo_HasDevelopers
, METH_O
, NULL
},
40142 { (char *)"AboutDialogInfo_GetDevelopers", (PyCFunction
)_wrap_AboutDialogInfo_GetDevelopers
, METH_O
, NULL
},
40143 { (char *)"AboutDialogInfo_SetDocWriters", (PyCFunction
) _wrap_AboutDialogInfo_SetDocWriters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40144 { (char *)"AboutDialogInfo_AddDocWriter", (PyCFunction
) _wrap_AboutDialogInfo_AddDocWriter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40145 { (char *)"AboutDialogInfo_HasDocWriters", (PyCFunction
)_wrap_AboutDialogInfo_HasDocWriters
, METH_O
, NULL
},
40146 { (char *)"AboutDialogInfo_GetDocWriters", (PyCFunction
)_wrap_AboutDialogInfo_GetDocWriters
, METH_O
, NULL
},
40147 { (char *)"AboutDialogInfo_SetArtists", (PyCFunction
) _wrap_AboutDialogInfo_SetArtists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40148 { (char *)"AboutDialogInfo_AddArtist", (PyCFunction
) _wrap_AboutDialogInfo_AddArtist
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40149 { (char *)"AboutDialogInfo_HasArtists", (PyCFunction
)_wrap_AboutDialogInfo_HasArtists
, METH_O
, NULL
},
40150 { (char *)"AboutDialogInfo_GetArtists", (PyCFunction
)_wrap_AboutDialogInfo_GetArtists
, METH_O
, NULL
},
40151 { (char *)"AboutDialogInfo_SetTranslators", (PyCFunction
) _wrap_AboutDialogInfo_SetTranslators
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40152 { (char *)"AboutDialogInfo_AddTranslator", (PyCFunction
) _wrap_AboutDialogInfo_AddTranslator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40153 { (char *)"AboutDialogInfo_HasTranslators", (PyCFunction
)_wrap_AboutDialogInfo_HasTranslators
, METH_O
, NULL
},
40154 { (char *)"AboutDialogInfo_GetTranslators", (PyCFunction
)_wrap_AboutDialogInfo_GetTranslators
, METH_O
, NULL
},
40155 { (char *)"AboutDialogInfo_IsSimple", (PyCFunction
)_wrap_AboutDialogInfo_IsSimple
, METH_O
, NULL
},
40156 { (char *)"AboutDialogInfo_GetDescriptionAndCredits", (PyCFunction
)_wrap_AboutDialogInfo_GetDescriptionAndCredits
, METH_O
, NULL
},
40157 { (char *)"AboutDialogInfo_swigregister", AboutDialogInfo_swigregister
, METH_VARARGS
, NULL
},
40158 { (char *)"AboutDialogInfo_swiginit", AboutDialogInfo_swiginit
, METH_VARARGS
, NULL
},
40159 { (char *)"AboutBox", (PyCFunction
) _wrap_AboutBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40160 { NULL
, NULL
, 0, NULL
}
40164 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
40166 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
40167 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40169 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
40170 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
40172 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
40173 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
40175 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
40176 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
40178 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
40179 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
40181 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
40182 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
40184 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
40185 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
40187 static void *_p_wxPowerEventTo_p_wxEvent(void *x
) {
40188 return (void *)((wxEvent
*) ((wxPowerEvent
*) x
));
40190 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
40191 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
40193 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
40194 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
40196 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
40197 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40199 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
40200 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
40202 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
40203 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
40205 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
40206 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
40208 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
40209 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
40211 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
40212 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40214 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
40215 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40217 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
40218 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
40220 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
40221 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
40223 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
40224 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
40226 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
40227 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
40229 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
40230 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
40232 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
40233 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
40235 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
40236 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
40238 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
40239 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
40241 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
40242 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
40244 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
40245 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40247 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
40248 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40250 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
40251 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40253 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
40254 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40256 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
40257 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40259 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
40260 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
40262 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
40263 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
40265 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
40266 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40268 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
40269 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
40271 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
40272 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
40274 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
40275 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
40277 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
40278 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40280 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
40281 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40283 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
40284 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40286 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
40287 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
40289 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
40290 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
40292 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
40293 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
40295 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
40296 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
40298 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
40299 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
40301 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
40302 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
40304 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
40305 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
40307 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
40308 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
40310 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
40311 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
40313 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
40314 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
40316 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
40317 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
40319 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
40320 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
40322 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
40323 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
40325 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
40326 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
40328 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
40329 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
40331 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
40332 return (void *)((wxDataObject
*) ((wxURLDataObject
*) x
));
40334 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
40335 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
40337 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
40338 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
40340 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
40341 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
40343 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
40344 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
40346 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
40347 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
40349 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
40350 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
40352 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
40353 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
40355 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
40356 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
40358 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
40359 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
40361 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
40362 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
40364 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
40365 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
40367 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
40368 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40370 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
40371 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
40373 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
40374 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
40376 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
40377 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
40379 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
40380 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
40382 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
40383 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
40385 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
40386 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
40388 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
40389 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
40391 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
40392 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
40394 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
40395 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
40397 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
40398 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
40400 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
40401 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
40403 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
40404 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
40406 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
40407 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
40409 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
40410 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40412 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
40413 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
40415 static void *_p_wxSizerTo_p_wxObject(void *x
) {
40416 return (void *)((wxObject
*) ((wxSizer
*) x
));
40418 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
40419 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40421 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
40422 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
40424 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
40425 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40427 static void *_p_wxEventTo_p_wxObject(void *x
) {
40428 return (void *)((wxObject
*) ((wxEvent
*) x
));
40430 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
40431 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40433 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
40434 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
40436 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
40437 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
40439 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
40440 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
40442 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
40443 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
40445 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
40446 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
40448 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
40449 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40451 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
40452 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40454 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
40455 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40457 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
40458 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40460 static void *_p_wxControlTo_p_wxObject(void *x
) {
40461 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
40463 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
40464 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
40466 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
40467 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
40469 static void *_p_wxPowerEventTo_p_wxObject(void *x
) {
40470 return (void *)((wxObject
*) (wxEvent
*) ((wxPowerEvent
*) x
));
40472 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
40473 return (void *)((wxObject
*) ((wxFSFile
*) x
));
40475 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
40476 return (void *)((wxObject
*) ((wxClipboard
*) x
));
40478 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
40479 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
40481 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
40482 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
40484 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
40485 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40487 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
40488 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
40490 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
40491 return (void *)((wxObject
*) ((wxToolTip
*) x
));
40493 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
40494 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
40496 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
40497 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
40499 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
40500 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
40502 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
40503 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40505 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
40506 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40508 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
40509 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
40511 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
40512 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
40514 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
40515 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
40517 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
40518 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
40520 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
40521 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
40523 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
40524 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
40526 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
40527 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
40529 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
40530 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
40532 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
40533 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
40535 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
40536 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
40538 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
40539 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40541 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
40542 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
40544 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
40545 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
40547 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
40548 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
40550 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
40551 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
40553 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
40554 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
40556 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
40557 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
40559 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
40560 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
40562 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
40563 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
40565 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
40566 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
40568 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
40569 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
40571 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
40572 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
40574 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
40575 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
40577 static void *_p_wxImageTo_p_wxObject(void *x
) {
40578 return (void *)((wxObject
*) ((wxImage
*) x
));
40580 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
40581 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
40583 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
40584 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
40586 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
40587 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
40589 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
40590 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40592 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
40593 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40595 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
40596 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
40598 static void *_p_wxWindowTo_p_wxObject(void *x
) {
40599 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
40601 static void *_p_wxMenuTo_p_wxObject(void *x
) {
40602 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
40604 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
40605 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
40607 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
40608 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
40610 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
40611 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
40613 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
40614 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40616 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
40617 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
40619 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
40620 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
40622 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
40623 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
40625 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
40626 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
40628 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
40629 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
40631 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
40632 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
40634 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
40635 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40637 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
40638 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
40640 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
40641 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
40643 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
40644 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
40646 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
40647 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40649 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
40650 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
40652 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
40653 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40655 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
40656 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
40658 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
40659 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
40661 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
40662 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
40664 static void *_p_wxLogBufferTo_p_wxLog(void *x
) {
40665 return (void *)((wxLog
*) ((wxLogBuffer
*) x
));
40667 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
40668 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
40670 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
40671 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
40673 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
40674 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
40676 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
40677 return (void *)((wxLog
*) ((wxLogChain
*) x
));
40679 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
40680 return (void *)((wxLog
*) ((wxLogGui
*) x
));
40682 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
40683 return (void *)((wxLog
*) ((wxPyLog
*) x
));
40685 static void *_p_wxControlTo_p_wxWindow(void *x
) {
40686 return (void *)((wxWindow
*) ((wxControl
*) x
));
40688 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
40689 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
40691 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
40692 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
40694 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
40695 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
40697 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
40698 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
40700 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
40701 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};
40702 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
40703 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
40704 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
40705 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, (void*)0, 0};
40706 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
40707 static swig_type_info _swigt__p_wxAboutDialogInfo
= {"_p_wxAboutDialogInfo", "wxAboutDialogInfo *", 0, 0, (void*)0, 0};
40708 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
40709 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
40710 static swig_type_info _swigt__p_wxBitmapDataObject
= {"_p_wxBitmapDataObject", "wxBitmapDataObject *", 0, 0, (void*)0, 0};
40711 static swig_type_info _swigt__p_wxBusyCursor
= {"_p_wxBusyCursor", "wxBusyCursor *", 0, 0, (void*)0, 0};
40712 static swig_type_info _swigt__p_wxBusyInfo
= {"_p_wxBusyInfo", "wxBusyInfo *", 0, 0, (void*)0, 0};
40713 static swig_type_info _swigt__p_wxCaret
= {"_p_wxCaret", "wxCaret *", 0, 0, (void*)0, 0};
40714 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
40715 static swig_type_info _swigt__p_wxClipboard
= {"_p_wxClipboard", "wxClipboard *", 0, 0, (void*)0, 0};
40716 static swig_type_info _swigt__p_wxClipboardLocker
= {"_p_wxClipboardLocker", "wxClipboardLocker *", 0, 0, (void*)0, 0};
40717 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
40718 static swig_type_info _swigt__p_wxConfig
= {"_p_wxConfig", "wxConfig *", 0, 0, (void*)0, 0};
40719 static swig_type_info _swigt__p_wxConfigBase
= {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0};
40720 static swig_type_info _swigt__p_wxConfigPathChanger
= {"_p_wxConfigPathChanger", "wxConfigPathChanger *", 0, 0, (void*)0, 0};
40721 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
40722 static swig_type_info _swigt__p_wxCustomDataObject
= {"_p_wxCustomDataObject", "wxCustomDataObject *", 0, 0, (void*)0, 0};
40723 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
40724 static swig_type_info _swigt__p_wxDataFormat
= {"_p_wxDataFormat", "wxDataFormat *", 0, 0, (void*)0, 0};
40725 static swig_type_info _swigt__p_wxDataObject
= {"_p_wxDataObject", "wxDataObject *", 0, 0, (void*)0, 0};
40726 static swig_type_info _swigt__p_wxDataObjectComposite
= {"_p_wxDataObjectComposite", "wxDataObjectComposite *", 0, 0, (void*)0, 0};
40727 static swig_type_info _swigt__p_wxDataObjectSimple
= {"_p_wxDataObjectSimple", "wxDataObjectSimple *", 0, 0, (void*)0, 0};
40728 static swig_type_info _swigt__p_wxDateSpan
= {"_p_wxDateSpan", "wxDateSpan *", 0, 0, (void*)0, 0};
40729 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
40730 static swig_type_info _swigt__p_wxDateTime__TimeZone
= {"_p_wxDateTime__TimeZone", "wxDateTime::TimeZone *", 0, 0, (void*)0, 0};
40731 static swig_type_info _swigt__p_wxDisplay
= {"_p_wxDisplay", "wxDisplay *", 0, 0, (void*)0, 0};
40732 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
40733 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
40734 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
40735 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
40736 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
40737 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
40738 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
40739 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
40740 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
40741 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
40742 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
40743 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
40744 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
40745 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
40746 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
40747 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
40748 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
40749 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
40750 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
40751 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
40752 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
40753 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
40754 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
40755 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
40756 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
40757 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
40758 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
40759 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
40760 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
40761 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
40762 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
40763 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
40764 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
40765 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
40766 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
40767 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
40768 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
40769 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
40770 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
40771 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
40772 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
40773 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
40774 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
40775 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
40776 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
40777 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
40778 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
40779 static swig_type_info _swigt__p_wxFileConfig
= {"_p_wxFileConfig", "wxFileConfig *", 0, 0, (void*)0, 0};
40780 static swig_type_info _swigt__p_wxFileDataObject
= {"_p_wxFileDataObject", "wxFileDataObject *", 0, 0, (void*)0, 0};
40781 static swig_type_info _swigt__p_wxFileHistory
= {"_p_wxFileHistory", "wxFileHistory *", 0, 0, (void*)0, 0};
40782 static swig_type_info _swigt__p_wxFileType
= {"_p_wxFileType", "wxFileType *", 0, 0, (void*)0, 0};
40783 static swig_type_info _swigt__p_wxFileTypeInfo
= {"_p_wxFileTypeInfo", "wxFileTypeInfo *", 0, 0, (void*)0, 0};
40784 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
40785 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
40786 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
40787 static swig_type_info _swigt__p_wxJoystick
= {"_p_wxJoystick", "wxJoystick *", 0, 0, (void*)0, 0};
40788 static swig_type_info _swigt__p_wxJoystickEvent
= {"_p_wxJoystickEvent", "wxJoystickEvent *", 0, 0, (void*)0, 0};
40789 static swig_type_info _swigt__p_wxKillError
= {"_p_wxKillError", "enum wxKillError *|wxKillError *", 0, 0, (void*)0, 0};
40790 static swig_type_info _swigt__p_wxLog
= {"_p_wxLog", "wxLog *", 0, 0, (void*)0, 0};
40791 static swig_type_info _swigt__p_wxLogBuffer
= {"_p_wxLogBuffer", "wxLogBuffer *", 0, 0, (void*)0, 0};
40792 static swig_type_info _swigt__p_wxLogChain
= {"_p_wxLogChain", "wxLogChain *", 0, 0, (void*)0, 0};
40793 static swig_type_info _swigt__p_wxLogGui
= {"_p_wxLogGui", "wxLogGui *", 0, 0, (void*)0, 0};
40794 static swig_type_info _swigt__p_wxLogNull
= {"_p_wxLogNull", "wxLogNull *", 0, 0, (void*)0, 0};
40795 static swig_type_info _swigt__p_wxLogStderr
= {"_p_wxLogStderr", "wxLogStderr *", 0, 0, (void*)0, 0};
40796 static swig_type_info _swigt__p_wxLogTextCtrl
= {"_p_wxLogTextCtrl", "wxLogTextCtrl *", 0, 0, (void*)0, 0};
40797 static swig_type_info _swigt__p_wxLogWindow
= {"_p_wxLogWindow", "wxLogWindow *", 0, 0, (void*)0, 0};
40798 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
40799 static swig_type_info _swigt__p_wxMetafile
= {"_p_wxMetafile", "wxMetafile *", 0, 0, (void*)0, 0};
40800 static swig_type_info _swigt__p_wxMetafileDataObject
= {"_p_wxMetafileDataObject", "wxMetafileDataObject *", 0, 0, (void*)0, 0};
40801 static swig_type_info _swigt__p_wxMimeTypesManager
= {"_p_wxMimeTypesManager", "wxMimeTypesManager *", 0, 0, (void*)0, 0};
40802 static swig_type_info _swigt__p_wxMouseState
= {"_p_wxMouseState", "wxMouseState *", 0, 0, (void*)0, 0};
40803 static swig_type_info _swigt__p_wxMutexGuiLocker
= {"_p_wxMutexGuiLocker", "wxMutexGuiLocker *", 0, 0, (void*)0, 0};
40804 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
40805 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
40806 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
40807 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
40808 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
40809 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
40810 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
40811 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
40812 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
40813 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
40814 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
40815 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
40816 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
40817 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
40818 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
40819 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
40820 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
40821 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
40822 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
40823 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
40824 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
40825 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
40826 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
40827 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
40828 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
40829 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
40830 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
40831 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
40832 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
40833 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
40834 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
40835 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
40836 static swig_type_info _swigt__p_wxOutputStream
= {"_p_wxOutputStream", "wxOutputStream *", 0, 0, (void*)0, 0};
40837 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
40838 static swig_type_info _swigt__p_wxPlatformInfo
= {"_p_wxPlatformInfo", "wxPlatformInfo *", 0, 0, (void*)0, 0};
40839 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
40840 static swig_type_info _swigt__p_wxPowerEvent
= {"_p_wxPowerEvent", "wxPowerEvent *", 0, 0, (void*)0, 0};
40841 static swig_type_info _swigt__p_wxProcessEvent
= {"_p_wxProcessEvent", "wxProcessEvent *", 0, 0, (void*)0, 0};
40842 static swig_type_info _swigt__p_wxPyArtProvider
= {"_p_wxPyArtProvider", "wxPyArtProvider *", 0, 0, (void*)0, 0};
40843 static swig_type_info _swigt__p_wxPyBitmapDataObject
= {"_p_wxPyBitmapDataObject", "wxPyBitmapDataObject *", 0, 0, (void*)0, 0};
40844 static swig_type_info _swigt__p_wxPyDataObjectSimple
= {"_p_wxPyDataObjectSimple", "wxPyDataObjectSimple *", 0, 0, (void*)0, 0};
40845 static swig_type_info _swigt__p_wxPyDropSource
= {"_p_wxPyDropSource", "wxPyDropSource *", 0, 0, (void*)0, 0};
40846 static swig_type_info _swigt__p_wxPyDropTarget
= {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, (void*)0, 0};
40847 static swig_type_info _swigt__p_wxPyFileDropTarget
= {"_p_wxPyFileDropTarget", "wxPyFileDropTarget *", 0, 0, (void*)0, 0};
40848 static swig_type_info _swigt__p_wxPyLog
= {"_p_wxPyLog", "wxPyLog *", 0, 0, (void*)0, 0};
40849 static swig_type_info _swigt__p_wxPyProcess
= {"_p_wxPyProcess", "wxPyProcess *", 0, 0, (void*)0, 0};
40850 static swig_type_info _swigt__p_wxPyTextDataObject
= {"_p_wxPyTextDataObject", "wxPyTextDataObject *", 0, 0, (void*)0, 0};
40851 static swig_type_info _swigt__p_wxPyTextDropTarget
= {"_p_wxPyTextDropTarget", "wxPyTextDropTarget *", 0, 0, (void*)0, 0};
40852 static swig_type_info _swigt__p_wxPyTimer
= {"_p_wxPyTimer", "wxPyTimer *", 0, 0, (void*)0, 0};
40853 static swig_type_info _swigt__p_wxPyTipProvider
= {"_p_wxPyTipProvider", "wxPyTipProvider *", 0, 0, (void*)0, 0};
40854 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
40855 static swig_type_info _swigt__p_wxSingleInstanceChecker
= {"_p_wxSingleInstanceChecker", "wxSingleInstanceChecker *", 0, 0, (void*)0, 0};
40856 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
40857 static swig_type_info _swigt__p_wxSound
= {"_p_wxSound", "wxSound *", 0, 0, (void*)0, 0};
40858 static swig_type_info _swigt__p_wxStandardPaths
= {"_p_wxStandardPaths", "wxStandardPaths *", 0, 0, (void*)0, 0};
40859 static swig_type_info _swigt__p_wxStopWatch
= {"_p_wxStopWatch", "wxStopWatch *", 0, 0, (void*)0, 0};
40860 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
40861 static swig_type_info _swigt__p_wxSystemOptions
= {"_p_wxSystemOptions", "wxSystemOptions *", 0, 0, (void*)0, 0};
40862 static swig_type_info _swigt__p_wxSystemSettings
= {"_p_wxSystemSettings", "wxSystemSettings *", 0, 0, (void*)0, 0};
40863 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
40864 static swig_type_info _swigt__p_wxTextDataObject
= {"_p_wxTextDataObject", "wxTextDataObject *", 0, 0, (void*)0, 0};
40865 static swig_type_info _swigt__p_wxTimeSpan
= {"_p_wxTimeSpan", "wxTimeSpan *", 0, 0, (void*)0, 0};
40866 static swig_type_info _swigt__p_wxTimer
= {"_p_wxTimer", "wxTimer *", 0, 0, (void*)0, 0};
40867 static swig_type_info _swigt__p_wxTimerEvent
= {"_p_wxTimerEvent", "wxTimerEvent *", 0, 0, (void*)0, 0};
40868 static swig_type_info _swigt__p_wxTimerRunner
= {"_p_wxTimerRunner", "wxTimerRunner *", 0, 0, (void*)0, 0};
40869 static swig_type_info _swigt__p_wxTipProvider
= {"_p_wxTipProvider", "wxTipProvider *", 0, 0, (void*)0, 0};
40870 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", "wxToolTip *", 0, 0, (void*)0, 0};
40871 static swig_type_info _swigt__p_wxURLDataObject
= {"_p_wxURLDataObject", "wxURLDataObject *", 0, 0, (void*)0, 0};
40872 static swig_type_info _swigt__p_wxVideoMode
= {"_p_wxVideoMode", "wxVideoMode *", 0, 0, (void*)0, 0};
40873 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
40874 static swig_type_info _swigt__p_wxWindowDisabler
= {"_p_wxWindowDisabler", "wxWindowDisabler *", 0, 0, (void*)0, 0};
40876 static swig_type_info
*swig_type_initial
[] = {
40878 &_swigt__p_form_ops_t
,
40880 &_swigt__p_unsigned_char
,
40881 &_swigt__p_unsigned_int
,
40882 &_swigt__p_unsigned_long
,
40884 &_swigt__p_wxANIHandler
,
40885 &_swigt__p_wxAboutDialogInfo
,
40886 &_swigt__p_wxAcceleratorTable
,
40887 &_swigt__p_wxActivateEvent
,
40888 &_swigt__p_wxArrayString
,
40889 &_swigt__p_wxBMPHandler
,
40890 &_swigt__p_wxBitmap
,
40891 &_swigt__p_wxBitmapDataObject
,
40892 &_swigt__p_wxBoxSizer
,
40893 &_swigt__p_wxBusyCursor
,
40894 &_swigt__p_wxBusyInfo
,
40895 &_swigt__p_wxCURHandler
,
40896 &_swigt__p_wxCaret
,
40898 &_swigt__p_wxChildFocusEvent
,
40899 &_swigt__p_wxClipboard
,
40900 &_swigt__p_wxClipboardLocker
,
40901 &_swigt__p_wxClipboardTextEvent
,
40902 &_swigt__p_wxCloseEvent
,
40903 &_swigt__p_wxColour
,
40904 &_swigt__p_wxCommandEvent
,
40905 &_swigt__p_wxConfig
,
40906 &_swigt__p_wxConfigBase
,
40907 &_swigt__p_wxConfigPathChanger
,
40908 &_swigt__p_wxContextMenuEvent
,
40909 &_swigt__p_wxControl
,
40910 &_swigt__p_wxControlWithItems
,
40911 &_swigt__p_wxCursor
,
40912 &_swigt__p_wxCustomDataObject
,
40914 &_swigt__p_wxDataFormat
,
40915 &_swigt__p_wxDataObject
,
40916 &_swigt__p_wxDataObjectComposite
,
40917 &_swigt__p_wxDataObjectSimple
,
40918 &_swigt__p_wxDateEvent
,
40919 &_swigt__p_wxDateSpan
,
40920 &_swigt__p_wxDateTime
,
40921 &_swigt__p_wxDateTime__TimeZone
,
40922 &_swigt__p_wxDisplay
,
40923 &_swigt__p_wxDisplayChangedEvent
,
40924 &_swigt__p_wxDropFilesEvent
,
40925 &_swigt__p_wxDuplexMode
,
40926 &_swigt__p_wxEraseEvent
,
40927 &_swigt__p_wxEvent
,
40928 &_swigt__p_wxEvtHandler
,
40929 &_swigt__p_wxFSFile
,
40930 &_swigt__p_wxFileConfig
,
40931 &_swigt__p_wxFileDataObject
,
40932 &_swigt__p_wxFileHistory
,
40933 &_swigt__p_wxFileSystem
,
40934 &_swigt__p_wxFileType
,
40935 &_swigt__p_wxFileTypeInfo
,
40936 &_swigt__p_wxFlexGridSizer
,
40937 &_swigt__p_wxFocusEvent
,
40939 &_swigt__p_wxFrame
,
40940 &_swigt__p_wxGBSizerItem
,
40941 &_swigt__p_wxGIFHandler
,
40942 &_swigt__p_wxGridBagSizer
,
40943 &_swigt__p_wxGridSizer
,
40944 &_swigt__p_wxICOHandler
,
40946 &_swigt__p_wxIconizeEvent
,
40947 &_swigt__p_wxIdleEvent
,
40948 &_swigt__p_wxImage
,
40949 &_swigt__p_wxImageHandler
,
40950 &_swigt__p_wxIndividualLayoutConstraint
,
40951 &_swigt__p_wxInitDialogEvent
,
40952 &_swigt__p_wxJPEGHandler
,
40953 &_swigt__p_wxJoystick
,
40954 &_swigt__p_wxJoystickEvent
,
40955 &_swigt__p_wxKeyEvent
,
40956 &_swigt__p_wxKillError
,
40957 &_swigt__p_wxLayoutConstraints
,
40959 &_swigt__p_wxLogBuffer
,
40960 &_swigt__p_wxLogChain
,
40961 &_swigt__p_wxLogGui
,
40962 &_swigt__p_wxLogNull
,
40963 &_swigt__p_wxLogStderr
,
40964 &_swigt__p_wxLogTextCtrl
,
40965 &_swigt__p_wxLogWindow
,
40966 &_swigt__p_wxMaximizeEvent
,
40968 &_swigt__p_wxMenuBar
,
40969 &_swigt__p_wxMenuEvent
,
40970 &_swigt__p_wxMenuItem
,
40971 &_swigt__p_wxMetafile
,
40972 &_swigt__p_wxMetafileDataObject
,
40973 &_swigt__p_wxMimeTypesManager
,
40974 &_swigt__p_wxMouseCaptureChangedEvent
,
40975 &_swigt__p_wxMouseCaptureLostEvent
,
40976 &_swigt__p_wxMouseEvent
,
40977 &_swigt__p_wxMouseState
,
40978 &_swigt__p_wxMoveEvent
,
40979 &_swigt__p_wxMutexGuiLocker
,
40980 &_swigt__p_wxNavigationKeyEvent
,
40981 &_swigt__p_wxNcPaintEvent
,
40982 &_swigt__p_wxNotifyEvent
,
40983 &_swigt__p_wxObject
,
40984 &_swigt__p_wxOutputStream
,
40985 &_swigt__p_wxPCXHandler
,
40986 &_swigt__p_wxPNGHandler
,
40987 &_swigt__p_wxPNMHandler
,
40988 &_swigt__p_wxPaintEvent
,
40989 &_swigt__p_wxPaletteChangedEvent
,
40990 &_swigt__p_wxPaperSize
,
40991 &_swigt__p_wxPlatformInfo
,
40992 &_swigt__p_wxPoint
,
40993 &_swigt__p_wxPowerEvent
,
40994 &_swigt__p_wxProcessEvent
,
40995 &_swigt__p_wxPyApp
,
40996 &_swigt__p_wxPyArtProvider
,
40997 &_swigt__p_wxPyBitmapDataObject
,
40998 &_swigt__p_wxPyCommandEvent
,
40999 &_swigt__p_wxPyDataObjectSimple
,
41000 &_swigt__p_wxPyDropSource
,
41001 &_swigt__p_wxPyDropTarget
,
41002 &_swigt__p_wxPyEvent
,
41003 &_swigt__p_wxPyFileDropTarget
,
41004 &_swigt__p_wxPyImageHandler
,
41005 &_swigt__p_wxPyLog
,
41006 &_swigt__p_wxPyProcess
,
41007 &_swigt__p_wxPySizer
,
41008 &_swigt__p_wxPyTextDataObject
,
41009 &_swigt__p_wxPyTextDropTarget
,
41010 &_swigt__p_wxPyTimer
,
41011 &_swigt__p_wxPyTipProvider
,
41012 &_swigt__p_wxPyValidator
,
41013 &_swigt__p_wxQueryNewPaletteEvent
,
41015 &_swigt__p_wxScrollEvent
,
41016 &_swigt__p_wxScrollWinEvent
,
41017 &_swigt__p_wxSetCursorEvent
,
41018 &_swigt__p_wxShowEvent
,
41019 &_swigt__p_wxSingleInstanceChecker
,
41021 &_swigt__p_wxSizeEvent
,
41022 &_swigt__p_wxSizer
,
41023 &_swigt__p_wxSizerItem
,
41024 &_swigt__p_wxSound
,
41025 &_swigt__p_wxStandardPaths
,
41026 &_swigt__p_wxStaticBoxSizer
,
41027 &_swigt__p_wxStdDialogButtonSizer
,
41028 &_swigt__p_wxStopWatch
,
41029 &_swigt__p_wxString
,
41030 &_swigt__p_wxSysColourChangedEvent
,
41031 &_swigt__p_wxSystemOptions
,
41032 &_swigt__p_wxSystemSettings
,
41033 &_swigt__p_wxTGAHandler
,
41034 &_swigt__p_wxTIFFHandler
,
41035 &_swigt__p_wxTextCtrl
,
41036 &_swigt__p_wxTextDataObject
,
41037 &_swigt__p_wxTimeSpan
,
41038 &_swigt__p_wxTimer
,
41039 &_swigt__p_wxTimerEvent
,
41040 &_swigt__p_wxTimerRunner
,
41041 &_swigt__p_wxTipProvider
,
41042 &_swigt__p_wxToolTip
,
41043 &_swigt__p_wxURLDataObject
,
41044 &_swigt__p_wxUpdateUIEvent
,
41045 &_swigt__p_wxValidator
,
41046 &_swigt__p_wxVideoMode
,
41047 &_swigt__p_wxWindow
,
41048 &_swigt__p_wxWindowCreateEvent
,
41049 &_swigt__p_wxWindowDestroyEvent
,
41050 &_swigt__p_wxWindowDisabler
,
41051 &_swigt__p_wxXPMHandler
,
41054 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
41055 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
41056 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
41057 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
41058 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
41059 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
41060 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
41061 static swig_cast_info _swigc__p_wxAboutDialogInfo
[] = { {&_swigt__p_wxAboutDialogInfo
, 0, 0, 0},{0, 0, 0, 0}};
41062 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
41063 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
41064 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}};
41065 static swig_cast_info _swigc__p_wxBusyCursor
[] = { {&_swigt__p_wxBusyCursor
, 0, 0, 0},{0, 0, 0, 0}};
41066 static swig_cast_info _swigc__p_wxBusyInfo
[] = { {&_swigt__p_wxBusyInfo
, 0, 0, 0},{0, 0, 0, 0}};
41067 static swig_cast_info _swigc__p_wxCaret
[] = { {&_swigt__p_wxCaret
, 0, 0, 0},{0, 0, 0, 0}};
41068 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
41069 static swig_cast_info _swigc__p_wxClipboard
[] = { {&_swigt__p_wxClipboard
, 0, 0, 0},{0, 0, 0, 0}};
41070 static swig_cast_info _swigc__p_wxClipboardLocker
[] = { {&_swigt__p_wxClipboardLocker
, 0, 0, 0},{0, 0, 0, 0}};
41071 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
41072 static swig_cast_info _swigc__p_wxConfig
[] = { {&_swigt__p_wxConfig
, 0, 0, 0},{0, 0, 0, 0}};
41073 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}};
41074 static swig_cast_info _swigc__p_wxConfigPathChanger
[] = { {&_swigt__p_wxConfigPathChanger
, 0, 0, 0},{0, 0, 0, 0}};
41075 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
41076 static swig_cast_info _swigc__p_wxCustomDataObject
[] = { {&_swigt__p_wxCustomDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41077 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
41078 static swig_cast_info _swigc__p_wxDataFormat
[] = { {&_swigt__p_wxDataFormat
, 0, 0, 0},{0, 0, 0, 0}};
41079 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}};
41080 static swig_cast_info _swigc__p_wxDataObjectComposite
[] = { {&_swigt__p_wxDataObjectComposite
, 0, 0, 0},{0, 0, 0, 0}};
41081 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}};
41082 static swig_cast_info _swigc__p_wxDateSpan
[] = { {&_swigt__p_wxDateSpan
, 0, 0, 0},{0, 0, 0, 0}};
41083 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
41084 static swig_cast_info _swigc__p_wxDateTime__TimeZone
[] = { {&_swigt__p_wxDateTime__TimeZone
, 0, 0, 0},{0, 0, 0, 0}};
41085 static swig_cast_info _swigc__p_wxDisplay
[] = { {&_swigt__p_wxDisplay
, 0, 0, 0},{0, 0, 0, 0}};
41086 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
41087 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
41088 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
41089 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41090 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41091 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41092 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
41093 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
41094 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
41095 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41096 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41097 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
41098 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
41099 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41100 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
41101 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41102 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41103 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41104 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41105 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
41106 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41107 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
41108 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
41109 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
41110 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
41111 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41112 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41113 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41114 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41115 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
41116 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
41117 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
41118 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
41119 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
41120 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
41121 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41122 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41123 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41124 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
41125 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}};
41126 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
41127 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
41128 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
41129 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
41130 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
41131 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
41132 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}};
41133 static swig_cast_info _swigc__p_wxFileConfig
[] = { {&_swigt__p_wxFileConfig
, 0, 0, 0},{0, 0, 0, 0}};
41134 static swig_cast_info _swigc__p_wxFileDataObject
[] = { {&_swigt__p_wxFileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41135 static swig_cast_info _swigc__p_wxFileHistory
[] = { {&_swigt__p_wxFileHistory
, 0, 0, 0},{0, 0, 0, 0}};
41136 static swig_cast_info _swigc__p_wxFileType
[] = { {&_swigt__p_wxFileType
, 0, 0, 0},{0, 0, 0, 0}};
41137 static swig_cast_info _swigc__p_wxFileTypeInfo
[] = { {&_swigt__p_wxFileTypeInfo
, 0, 0, 0},{0, 0, 0, 0}};
41138 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
41139 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
41140 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
41141 static swig_cast_info _swigc__p_wxJoystick
[] = { {&_swigt__p_wxJoystick
, 0, 0, 0},{0, 0, 0, 0}};
41142 static swig_cast_info _swigc__p_wxJoystickEvent
[] = { {&_swigt__p_wxJoystickEvent
, 0, 0, 0},{0, 0, 0, 0}};
41143 static swig_cast_info _swigc__p_wxKillError
[] = { {&_swigt__p_wxKillError
, 0, 0, 0},{0, 0, 0, 0}};
41144 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}};
41145 static swig_cast_info _swigc__p_wxLogBuffer
[] = { {&_swigt__p_wxLogBuffer
, 0, 0, 0},{0, 0, 0, 0}};
41146 static swig_cast_info _swigc__p_wxLogChain
[] = { {&_swigt__p_wxLogChain
, 0, 0, 0},{0, 0, 0, 0}};
41147 static swig_cast_info _swigc__p_wxLogGui
[] = { {&_swigt__p_wxLogGui
, 0, 0, 0},{0, 0, 0, 0}};
41148 static swig_cast_info _swigc__p_wxLogNull
[] = { {&_swigt__p_wxLogNull
, 0, 0, 0},{0, 0, 0, 0}};
41149 static swig_cast_info _swigc__p_wxLogStderr
[] = { {&_swigt__p_wxLogStderr
, 0, 0, 0},{0, 0, 0, 0}};
41150 static swig_cast_info _swigc__p_wxLogTextCtrl
[] = { {&_swigt__p_wxLogTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
41151 static swig_cast_info _swigc__p_wxLogWindow
[] = { {&_swigt__p_wxLogWindow
, 0, 0, 0},{0, 0, 0, 0}};
41152 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
41153 static swig_cast_info _swigc__p_wxMetafile
[] = { {&_swigt__p_wxMetafile
, 0, 0, 0},{0, 0, 0, 0}};
41154 static swig_cast_info _swigc__p_wxMetafileDataObject
[] = { {&_swigt__p_wxMetafileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41155 static swig_cast_info _swigc__p_wxMimeTypesManager
[] = { {&_swigt__p_wxMimeTypesManager
, 0, 0, 0},{0, 0, 0, 0}};
41156 static swig_cast_info _swigc__p_wxMouseState
[] = { {&_swigt__p_wxMouseState
, 0, 0, 0},{0, 0, 0, 0}};
41157 static swig_cast_info _swigc__p_wxMutexGuiLocker
[] = { {&_swigt__p_wxMutexGuiLocker
, 0, 0, 0},{0, 0, 0, 0}};
41158 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
41159 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
41160 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
41161 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
41162 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41163 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41164 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41165 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
41166 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
41167 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
41168 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
41169 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
41170 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
41171 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
41172 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
41173 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
41174 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
41175 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
41176 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
41177 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
41178 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
41179 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
41180 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
41181 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
41182 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
41183 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
41184 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
41185 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
41186 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
41187 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
41188 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
41189 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}};
41190 static swig_cast_info _swigc__p_wxOutputStream
[] = { {&_swigt__p_wxOutputStream
, 0, 0, 0},{0, 0, 0, 0}};
41191 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
41192 static swig_cast_info _swigc__p_wxPlatformInfo
[] = { {&_swigt__p_wxPlatformInfo
, 0, 0, 0},{0, 0, 0, 0}};
41193 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
41194 static swig_cast_info _swigc__p_wxPowerEvent
[] = { {&_swigt__p_wxPowerEvent
, 0, 0, 0},{0, 0, 0, 0}};
41195 static swig_cast_info _swigc__p_wxProcessEvent
[] = { {&_swigt__p_wxProcessEvent
, 0, 0, 0},{0, 0, 0, 0}};
41196 static swig_cast_info _swigc__p_wxPyArtProvider
[] = { {&_swigt__p_wxPyArtProvider
, 0, 0, 0},{0, 0, 0, 0}};
41197 static swig_cast_info _swigc__p_wxPyBitmapDataObject
[] = { {&_swigt__p_wxPyBitmapDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41198 static swig_cast_info _swigc__p_wxPyDataObjectSimple
[] = { {&_swigt__p_wxPyDataObjectSimple
, 0, 0, 0},{0, 0, 0, 0}};
41199 static swig_cast_info _swigc__p_wxPyDropSource
[] = { {&_swigt__p_wxPyDropSource
, 0, 0, 0},{0, 0, 0, 0}};
41200 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}};
41201 static swig_cast_info _swigc__p_wxPyFileDropTarget
[] = { {&_swigt__p_wxPyFileDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
41202 static swig_cast_info _swigc__p_wxPyLog
[] = { {&_swigt__p_wxPyLog
, 0, 0, 0},{0, 0, 0, 0}};
41203 static swig_cast_info _swigc__p_wxPyProcess
[] = { {&_swigt__p_wxPyProcess
, 0, 0, 0},{0, 0, 0, 0}};
41204 static swig_cast_info _swigc__p_wxPyTextDataObject
[] = { {&_swigt__p_wxPyTextDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41205 static swig_cast_info _swigc__p_wxPyTextDropTarget
[] = { {&_swigt__p_wxPyTextDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
41206 static swig_cast_info _swigc__p_wxPyTimer
[] = { {&_swigt__p_wxPyTimer
, 0, 0, 0},{0, 0, 0, 0}};
41207 static swig_cast_info _swigc__p_wxPyTipProvider
[] = { {&_swigt__p_wxPyTipProvider
, 0, 0, 0},{0, 0, 0, 0}};
41208 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
41209 static swig_cast_info _swigc__p_wxSingleInstanceChecker
[] = { {&_swigt__p_wxSingleInstanceChecker
, 0, 0, 0},{0, 0, 0, 0}};
41210 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
41211 static swig_cast_info _swigc__p_wxSound
[] = { {&_swigt__p_wxSound
, 0, 0, 0},{0, 0, 0, 0}};
41212 static swig_cast_info _swigc__p_wxStandardPaths
[] = { {&_swigt__p_wxStandardPaths
, 0, 0, 0},{0, 0, 0, 0}};
41213 static swig_cast_info _swigc__p_wxStopWatch
[] = { {&_swigt__p_wxStopWatch
, 0, 0, 0},{0, 0, 0, 0}};
41214 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
41215 static swig_cast_info _swigc__p_wxSystemOptions
[] = { {&_swigt__p_wxSystemOptions
, 0, 0, 0},{0, 0, 0, 0}};
41216 static swig_cast_info _swigc__p_wxSystemSettings
[] = { {&_swigt__p_wxSystemSettings
, 0, 0, 0},{0, 0, 0, 0}};
41217 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
41218 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}};
41219 static swig_cast_info _swigc__p_wxTimeSpan
[] = { {&_swigt__p_wxTimeSpan
, 0, 0, 0},{0, 0, 0, 0}};
41220 static swig_cast_info _swigc__p_wxTimer
[] = { {&_swigt__p_wxTimer
, 0, 0, 0},{0, 0, 0, 0}};
41221 static swig_cast_info _swigc__p_wxTimerEvent
[] = { {&_swigt__p_wxTimerEvent
, 0, 0, 0},{0, 0, 0, 0}};
41222 static swig_cast_info _swigc__p_wxTimerRunner
[] = { {&_swigt__p_wxTimerRunner
, 0, 0, 0},{0, 0, 0, 0}};
41223 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}};
41224 static swig_cast_info _swigc__p_wxToolTip
[] = { {&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
41225 static swig_cast_info _swigc__p_wxURLDataObject
[] = { {&_swigt__p_wxURLDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41226 static swig_cast_info _swigc__p_wxVideoMode
[] = { {&_swigt__p_wxVideoMode
, 0, 0, 0},{0, 0, 0, 0}};
41227 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}};
41228 static swig_cast_info _swigc__p_wxWindowDisabler
[] = { {&_swigt__p_wxWindowDisabler
, 0, 0, 0},{0, 0, 0, 0}};
41230 static swig_cast_info
*swig_cast_initial
[] = {
41232 _swigc__p_form_ops_t
,
41234 _swigc__p_unsigned_char
,
41235 _swigc__p_unsigned_int
,
41236 _swigc__p_unsigned_long
,
41238 _swigc__p_wxANIHandler
,
41239 _swigc__p_wxAboutDialogInfo
,
41240 _swigc__p_wxAcceleratorTable
,
41241 _swigc__p_wxActivateEvent
,
41242 _swigc__p_wxArrayString
,
41243 _swigc__p_wxBMPHandler
,
41244 _swigc__p_wxBitmap
,
41245 _swigc__p_wxBitmapDataObject
,
41246 _swigc__p_wxBoxSizer
,
41247 _swigc__p_wxBusyCursor
,
41248 _swigc__p_wxBusyInfo
,
41249 _swigc__p_wxCURHandler
,
41252 _swigc__p_wxChildFocusEvent
,
41253 _swigc__p_wxClipboard
,
41254 _swigc__p_wxClipboardLocker
,
41255 _swigc__p_wxClipboardTextEvent
,
41256 _swigc__p_wxCloseEvent
,
41257 _swigc__p_wxColour
,
41258 _swigc__p_wxCommandEvent
,
41259 _swigc__p_wxConfig
,
41260 _swigc__p_wxConfigBase
,
41261 _swigc__p_wxConfigPathChanger
,
41262 _swigc__p_wxContextMenuEvent
,
41263 _swigc__p_wxControl
,
41264 _swigc__p_wxControlWithItems
,
41265 _swigc__p_wxCursor
,
41266 _swigc__p_wxCustomDataObject
,
41268 _swigc__p_wxDataFormat
,
41269 _swigc__p_wxDataObject
,
41270 _swigc__p_wxDataObjectComposite
,
41271 _swigc__p_wxDataObjectSimple
,
41272 _swigc__p_wxDateEvent
,
41273 _swigc__p_wxDateSpan
,
41274 _swigc__p_wxDateTime
,
41275 _swigc__p_wxDateTime__TimeZone
,
41276 _swigc__p_wxDisplay
,
41277 _swigc__p_wxDisplayChangedEvent
,
41278 _swigc__p_wxDropFilesEvent
,
41279 _swigc__p_wxDuplexMode
,
41280 _swigc__p_wxEraseEvent
,
41282 _swigc__p_wxEvtHandler
,
41283 _swigc__p_wxFSFile
,
41284 _swigc__p_wxFileConfig
,
41285 _swigc__p_wxFileDataObject
,
41286 _swigc__p_wxFileHistory
,
41287 _swigc__p_wxFileSystem
,
41288 _swigc__p_wxFileType
,
41289 _swigc__p_wxFileTypeInfo
,
41290 _swigc__p_wxFlexGridSizer
,
41291 _swigc__p_wxFocusEvent
,
41294 _swigc__p_wxGBSizerItem
,
41295 _swigc__p_wxGIFHandler
,
41296 _swigc__p_wxGridBagSizer
,
41297 _swigc__p_wxGridSizer
,
41298 _swigc__p_wxICOHandler
,
41300 _swigc__p_wxIconizeEvent
,
41301 _swigc__p_wxIdleEvent
,
41303 _swigc__p_wxImageHandler
,
41304 _swigc__p_wxIndividualLayoutConstraint
,
41305 _swigc__p_wxInitDialogEvent
,
41306 _swigc__p_wxJPEGHandler
,
41307 _swigc__p_wxJoystick
,
41308 _swigc__p_wxJoystickEvent
,
41309 _swigc__p_wxKeyEvent
,
41310 _swigc__p_wxKillError
,
41311 _swigc__p_wxLayoutConstraints
,
41313 _swigc__p_wxLogBuffer
,
41314 _swigc__p_wxLogChain
,
41315 _swigc__p_wxLogGui
,
41316 _swigc__p_wxLogNull
,
41317 _swigc__p_wxLogStderr
,
41318 _swigc__p_wxLogTextCtrl
,
41319 _swigc__p_wxLogWindow
,
41320 _swigc__p_wxMaximizeEvent
,
41322 _swigc__p_wxMenuBar
,
41323 _swigc__p_wxMenuEvent
,
41324 _swigc__p_wxMenuItem
,
41325 _swigc__p_wxMetafile
,
41326 _swigc__p_wxMetafileDataObject
,
41327 _swigc__p_wxMimeTypesManager
,
41328 _swigc__p_wxMouseCaptureChangedEvent
,
41329 _swigc__p_wxMouseCaptureLostEvent
,
41330 _swigc__p_wxMouseEvent
,
41331 _swigc__p_wxMouseState
,
41332 _swigc__p_wxMoveEvent
,
41333 _swigc__p_wxMutexGuiLocker
,
41334 _swigc__p_wxNavigationKeyEvent
,
41335 _swigc__p_wxNcPaintEvent
,
41336 _swigc__p_wxNotifyEvent
,
41337 _swigc__p_wxObject
,
41338 _swigc__p_wxOutputStream
,
41339 _swigc__p_wxPCXHandler
,
41340 _swigc__p_wxPNGHandler
,
41341 _swigc__p_wxPNMHandler
,
41342 _swigc__p_wxPaintEvent
,
41343 _swigc__p_wxPaletteChangedEvent
,
41344 _swigc__p_wxPaperSize
,
41345 _swigc__p_wxPlatformInfo
,
41347 _swigc__p_wxPowerEvent
,
41348 _swigc__p_wxProcessEvent
,
41350 _swigc__p_wxPyArtProvider
,
41351 _swigc__p_wxPyBitmapDataObject
,
41352 _swigc__p_wxPyCommandEvent
,
41353 _swigc__p_wxPyDataObjectSimple
,
41354 _swigc__p_wxPyDropSource
,
41355 _swigc__p_wxPyDropTarget
,
41356 _swigc__p_wxPyEvent
,
41357 _swigc__p_wxPyFileDropTarget
,
41358 _swigc__p_wxPyImageHandler
,
41360 _swigc__p_wxPyProcess
,
41361 _swigc__p_wxPySizer
,
41362 _swigc__p_wxPyTextDataObject
,
41363 _swigc__p_wxPyTextDropTarget
,
41364 _swigc__p_wxPyTimer
,
41365 _swigc__p_wxPyTipProvider
,
41366 _swigc__p_wxPyValidator
,
41367 _swigc__p_wxQueryNewPaletteEvent
,
41369 _swigc__p_wxScrollEvent
,
41370 _swigc__p_wxScrollWinEvent
,
41371 _swigc__p_wxSetCursorEvent
,
41372 _swigc__p_wxShowEvent
,
41373 _swigc__p_wxSingleInstanceChecker
,
41375 _swigc__p_wxSizeEvent
,
41377 _swigc__p_wxSizerItem
,
41379 _swigc__p_wxStandardPaths
,
41380 _swigc__p_wxStaticBoxSizer
,
41381 _swigc__p_wxStdDialogButtonSizer
,
41382 _swigc__p_wxStopWatch
,
41383 _swigc__p_wxString
,
41384 _swigc__p_wxSysColourChangedEvent
,
41385 _swigc__p_wxSystemOptions
,
41386 _swigc__p_wxSystemSettings
,
41387 _swigc__p_wxTGAHandler
,
41388 _swigc__p_wxTIFFHandler
,
41389 _swigc__p_wxTextCtrl
,
41390 _swigc__p_wxTextDataObject
,
41391 _swigc__p_wxTimeSpan
,
41393 _swigc__p_wxTimerEvent
,
41394 _swigc__p_wxTimerRunner
,
41395 _swigc__p_wxTipProvider
,
41396 _swigc__p_wxToolTip
,
41397 _swigc__p_wxURLDataObject
,
41398 _swigc__p_wxUpdateUIEvent
,
41399 _swigc__p_wxValidator
,
41400 _swigc__p_wxVideoMode
,
41401 _swigc__p_wxWindow
,
41402 _swigc__p_wxWindowCreateEvent
,
41403 _swigc__p_wxWindowDestroyEvent
,
41404 _swigc__p_wxWindowDisabler
,
41405 _swigc__p_wxXPMHandler
,
41409 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
41411 static swig_const_info swig_const_table
[] = {
41412 {0, 0, 0, 0.0, 0, 0}};
41417 /* -----------------------------------------------------------------------------
41418 * Type initialization:
41419 * This problem is tough by the requirement that no dynamic
41420 * memory is used. Also, since swig_type_info structures store pointers to
41421 * swig_cast_info structures and swig_cast_info structures store pointers back
41422 * to swig_type_info structures, we need some lookup code at initialization.
41423 * The idea is that swig generates all the structures that are needed.
41424 * The runtime then collects these partially filled structures.
41425 * The SWIG_InitializeModule function takes these initial arrays out of
41426 * swig_module, and does all the lookup, filling in the swig_module.types
41427 * array with the correct data and linking the correct swig_cast_info
41428 * structures together.
41430 * The generated swig_type_info structures are assigned staticly to an initial
41431 * array. We just loop though that array, and handle each type individually.
41432 * First we lookup if this type has been already loaded, and if so, use the
41433 * loaded structure instead of the generated one. Then we have to fill in the
41434 * cast linked list. The cast data is initially stored in something like a
41435 * two-dimensional array. Each row corresponds to a type (there are the same
41436 * number of rows as there are in the swig_type_initial array). Each entry in
41437 * a column is one of the swig_cast_info structures for that type.
41438 * The cast_initial array is actually an array of arrays, because each row has
41439 * a variable number of columns. So to actually build the cast linked list,
41440 * we find the array of casts associated with the type, and loop through it
41441 * adding the casts to the list. The one last trick we need to do is making
41442 * sure the type pointer in the swig_cast_info struct is correct.
41444 * First off, we lookup the cast->type name to see if it is already loaded.
41445 * There are three cases to handle:
41446 * 1) If the cast->type has already been loaded AND the type we are adding
41447 * casting info to has not been loaded (it is in this module), THEN we
41448 * replace the cast->type pointer with the type pointer that has already
41450 * 2) If BOTH types (the one we are adding casting info to, and the
41451 * cast->type) are loaded, THEN the cast info has already been loaded by
41452 * the previous module so we just ignore it.
41453 * 3) Finally, if cast->type has not already been loaded, then we add that
41454 * swig_cast_info to the linked list (because the cast->type) pointer will
41456 * ----------------------------------------------------------------------------- */
41466 #define SWIGRUNTIME_DEBUG
41470 SWIG_InitializeModule(void *clientdata
) {
41472 swig_module_info
*module_head
;
41473 static int init_run
= 0;
41475 clientdata
= clientdata
;
41477 if (init_run
) return;
41480 /* Initialize the swig_module */
41481 swig_module
.type_initial
= swig_type_initial
;
41482 swig_module
.cast_initial
= swig_cast_initial
;
41484 /* Try and load any already created modules */
41485 module_head
= SWIG_GetModule(clientdata
);
41487 swig_module
.next
= module_head
->next
;
41488 module_head
->next
= &swig_module
;
41490 /* This is the first module loaded */
41491 swig_module
.next
= &swig_module
;
41492 SWIG_SetModule(clientdata
, &swig_module
);
41495 /* Now work on filling in swig_module.types */
41496 #ifdef SWIGRUNTIME_DEBUG
41497 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
41499 for (i
= 0; i
< swig_module
.size
; ++i
) {
41500 swig_type_info
*type
= 0;
41501 swig_type_info
*ret
;
41502 swig_cast_info
*cast
;
41504 #ifdef SWIGRUNTIME_DEBUG
41505 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41508 /* if there is another module already loaded */
41509 if (swig_module
.next
!= &swig_module
) {
41510 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
41513 /* Overwrite clientdata field */
41514 #ifdef SWIGRUNTIME_DEBUG
41515 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
41517 if (swig_module
.type_initial
[i
]->clientdata
) {
41518 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
41519 #ifdef SWIGRUNTIME_DEBUG
41520 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
41524 type
= swig_module
.type_initial
[i
];
41527 /* Insert casting types */
41528 cast
= swig_module
.cast_initial
[i
];
41529 while (cast
->type
) {
41530 /* Don't need to add information already in the list */
41532 #ifdef SWIGRUNTIME_DEBUG
41533 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
41535 if (swig_module
.next
!= &swig_module
) {
41536 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
41537 #ifdef SWIGRUNTIME_DEBUG
41538 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
41542 if (type
== swig_module
.type_initial
[i
]) {
41543 #ifdef SWIGRUNTIME_DEBUG
41544 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
41549 /* Check for casting already in the list */
41550 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
41551 #ifdef SWIGRUNTIME_DEBUG
41552 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
41554 if (!ocast
) ret
= 0;
41559 #ifdef SWIGRUNTIME_DEBUG
41560 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
41563 type
->cast
->prev
= cast
;
41564 cast
->next
= type
->cast
;
41570 /* Set entry in modules->types array equal to the type */
41571 swig_module
.types
[i
] = type
;
41573 swig_module
.types
[i
] = 0;
41575 #ifdef SWIGRUNTIME_DEBUG
41576 printf("**** SWIG_InitializeModule: Cast List ******\n");
41577 for (i
= 0; i
< swig_module
.size
; ++i
) {
41579 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
41580 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41581 while (cast
->type
) {
41582 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
41586 printf("---- Total casts: %d\n",j
);
41588 printf("**** SWIG_InitializeModule: Cast List ******\n");
41592 /* This function will propagate the clientdata field of type to
41593 * any new swig_type_info structures that have been added into the list
41594 * of equivalent types. It is like calling
41595 * SWIG_TypeClientData(type, clientdata) a second time.
41598 SWIG_PropagateClientData(void) {
41600 swig_cast_info
*equiv
;
41601 static int init_run
= 0;
41603 if (init_run
) return;
41606 for (i
= 0; i
< swig_module
.size
; i
++) {
41607 if (swig_module
.types
[i
]->clientdata
) {
41608 equiv
= swig_module
.types
[i
]->cast
;
41610 if (!equiv
->converter
) {
41611 if (equiv
->type
&& !equiv
->type
->clientdata
)
41612 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
41614 equiv
= equiv
->next
;
41634 /* Python-specific SWIG API */
41635 #define SWIG_newvarlink() SWIG_Python_newvarlink()
41636 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
41637 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
41639 /* -----------------------------------------------------------------------------
41640 * global variable support code.
41641 * ----------------------------------------------------------------------------- */
41643 typedef struct swig_globalvar
{
41644 char *name
; /* Name of global variable */
41645 PyObject
*(*get_attr
)(void); /* Return the current value */
41646 int (*set_attr
)(PyObject
*); /* Set the value */
41647 struct swig_globalvar
*next
;
41650 typedef struct swig_varlinkobject
{
41652 swig_globalvar
*vars
;
41653 } swig_varlinkobject
;
41655 SWIGINTERN PyObject
*
41656 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
41657 return PyString_FromString("<Swig global variables>");
41660 SWIGINTERN PyObject
*
41661 swig_varlink_str(swig_varlinkobject
*v
) {
41662 PyObject
*str
= PyString_FromString("(");
41663 swig_globalvar
*var
;
41664 for (var
= v
->vars
; var
; var
=var
->next
) {
41665 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
41666 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
41668 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
41673 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
41674 PyObject
*str
= swig_varlink_str(v
);
41675 fprintf(fp
,"Swig global variables ");
41676 fprintf(fp
,"%s\n", PyString_AsString(str
));
41682 swig_varlink_dealloc(swig_varlinkobject
*v
) {
41683 swig_globalvar
*var
= v
->vars
;
41685 swig_globalvar
*n
= var
->next
;
41692 SWIGINTERN PyObject
*
41693 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
41694 PyObject
*res
= NULL
;
41695 swig_globalvar
*var
= v
->vars
;
41697 if (strcmp(var
->name
,n
) == 0) {
41698 res
= (*var
->get_attr
)();
41703 if (res
== NULL
&& !PyErr_Occurred()) {
41704 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41710 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
41712 swig_globalvar
*var
= v
->vars
;
41714 if (strcmp(var
->name
,n
) == 0) {
41715 res
= (*var
->set_attr
)(p
);
41720 if (res
== 1 && !PyErr_Occurred()) {
41721 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41726 SWIGINTERN PyTypeObject
*
41727 swig_varlink_type(void) {
41728 static char varlink__doc__
[] = "Swig var link object";
41729 static PyTypeObject varlink_type
;
41730 static int type_init
= 0;
41732 const PyTypeObject tmp
41734 PyObject_HEAD_INIT(NULL
)
41735 0, /* Number of items in variable part (ob_size) */
41736 (char *)"swigvarlink", /* Type name (tp_name) */
41737 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
41738 0, /* Itemsize (tp_itemsize) */
41739 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
41740 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
41741 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
41742 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
41743 0, /* tp_compare */
41744 (reprfunc
) swig_varlink_repr
, /* tp_repr */
41745 0, /* tp_as_number */
41746 0, /* tp_as_sequence */
41747 0, /* tp_as_mapping */
41750 (reprfunc
)swig_varlink_str
, /* tp_str */
41751 0, /* tp_getattro */
41752 0, /* tp_setattro */
41753 0, /* tp_as_buffer */
41755 varlink__doc__
, /* tp_doc */
41756 0, /* tp_traverse */
41758 0, /* tp_richcompare */
41759 0, /* tp_weaklistoffset */
41760 #if PY_VERSION_HEX >= 0x02020000
41761 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
41763 #if PY_VERSION_HEX >= 0x02030000
41766 #ifdef COUNT_ALLOCS
41767 0,0,0,0 /* tp_alloc -> tp_next */
41770 varlink_type
= tmp
;
41771 varlink_type
.ob_type
= &PyType_Type
;
41774 return &varlink_type
;
41777 /* Create a variable linking object for use later */
41778 SWIGINTERN PyObject
*
41779 SWIG_Python_newvarlink(void) {
41780 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
41784 return ((PyObject
*) result
);
41788 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
41789 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
41790 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
41792 size_t size
= strlen(name
)+1;
41793 gv
->name
= (char *)malloc(size
);
41795 strncpy(gv
->name
,name
,size
);
41796 gv
->get_attr
= get_attr
;
41797 gv
->set_attr
= set_attr
;
41798 gv
->next
= v
->vars
;
41804 SWIGINTERN PyObject
*
41806 static PyObject
*_SWIG_globals
= 0;
41807 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
41808 return _SWIG_globals
;
41811 /* -----------------------------------------------------------------------------
41812 * constants/methods manipulation
41813 * ----------------------------------------------------------------------------- */
41815 /* Install Constants */
41817 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
41820 for (i
= 0; constants
[i
].type
; ++i
) {
41821 switch(constants
[i
].type
) {
41822 case SWIG_PY_POINTER
:
41823 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
41825 case SWIG_PY_BINARY
:
41826 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
41833 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
41839 /* -----------------------------------------------------------------------------*/
41840 /* Fix SwigMethods to carry the callback ptrs when needed */
41841 /* -----------------------------------------------------------------------------*/
41844 SWIG_Python_FixMethods(PyMethodDef
*methods
,
41845 swig_const_info
*const_table
,
41846 swig_type_info
**types
,
41847 swig_type_info
**types_initial
) {
41849 for (i
= 0; methods
[i
].ml_name
; ++i
) {
41850 const char *c
= methods
[i
].ml_doc
;
41851 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
41853 swig_const_info
*ci
= 0;
41854 const char *name
= c
+ 10;
41855 for (j
= 0; const_table
[j
].type
; ++j
) {
41856 if (strncmp(const_table
[j
].name
, name
,
41857 strlen(const_table
[j
].name
)) == 0) {
41858 ci
= &(const_table
[j
]);
41863 size_t shift
= (ci
->ptype
) - types
;
41864 swig_type_info
*ty
= types_initial
[shift
];
41865 size_t ldoc
= (c
- methods
[i
].ml_doc
);
41866 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
41867 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
41870 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
41872 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
41874 strncpy(buff
, "swig_ptr: ", 10);
41876 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
41877 methods
[i
].ml_doc
= ndoc
;
41889 /* -----------------------------------------------------------------------------*
41890 * Partial Init method
41891 * -----------------------------------------------------------------------------*/
41896 SWIGEXPORT
void SWIG_init(void) {
41899 /* Fix SwigMethods to carry the callback ptrs when needed */
41900 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
41902 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
41903 d
= PyModule_GetDict(m
);
41905 SWIG_InitializeModule(0);
41906 SWIG_InstallConstants(d
,swig_const_table
);
41909 SWIG_Python_SetConstant(d
, "SYS_OEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_OEM_FIXED_FONT
)));
41910 SWIG_Python_SetConstant(d
, "SYS_ANSI_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_FIXED_FONT
)));
41911 SWIG_Python_SetConstant(d
, "SYS_ANSI_VAR_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_VAR_FONT
)));
41912 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FONT
)));
41913 SWIG_Python_SetConstant(d
, "SYS_DEVICE_DEFAULT_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEVICE_DEFAULT_FONT
)));
41914 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_PALETTE",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_PALETTE
)));
41915 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FIXED_FONT
)));
41916 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_GUI_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_GUI_FONT
)));
41917 SWIG_Python_SetConstant(d
, "SYS_ICONTITLE_FONT",SWIG_From_int(static_cast< int >(wxSYS_ICONTITLE_FONT
)));
41918 SWIG_Python_SetConstant(d
, "SYS_COLOUR_SCROLLBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_SCROLLBAR
)));
41919 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BACKGROUND",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BACKGROUND
)));
41920 SWIG_Python_SetConstant(d
, "SYS_COLOUR_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_DESKTOP
)));
41921 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVECAPTION
)));
41922 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTION
)));
41923 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENU",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENU
)));
41924 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOW
)));
41925 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWFRAME",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWFRAME
)));
41926 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUTEXT
)));
41927 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWTEXT
)));
41928 SWIG_Python_SetConstant(d
, "SYS_COLOUR_CAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_CAPTIONTEXT
)));
41929 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVEBORDER
)));
41930 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVEBORDER
)));
41931 SWIG_Python_SetConstant(d
, "SYS_COLOUR_APPWORKSPACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_APPWORKSPACE
)));
41932 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHT
)));
41933 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHTTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
41934 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNFACE
)));
41935 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DFACE
)));
41936 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNSHADOW
)));
41937 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DSHADOW
)));
41938 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRAYTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRAYTEXT
)));
41939 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNTEXT
)));
41940 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
41941 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHIGHLIGHT
)));
41942 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHILIGHT
)));
41943 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHIGHLIGHT
)));
41944 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHILIGHT
)));
41945 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DDKSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DDKSHADOW
)));
41946 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DLIGHT
)));
41947 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOTEXT
)));
41948 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOBK",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOBK
)));
41949 SWIG_Python_SetConstant(d
, "SYS_COLOUR_LISTBOX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_LISTBOX
)));
41950 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HOTLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HOTLIGHT
)));
41951 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
41952 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTINACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
41953 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUHILIGHT
)));
41954 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUBAR
)));
41955 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MAX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MAX
)));
41956 SWIG_Python_SetConstant(d
, "SYS_MOUSE_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_MOUSE_BUTTONS
)));
41957 SWIG_Python_SetConstant(d
, "SYS_BORDER_X",SWIG_From_int(static_cast< int >(wxSYS_BORDER_X
)));
41958 SWIG_Python_SetConstant(d
, "SYS_BORDER_Y",SWIG_From_int(static_cast< int >(wxSYS_BORDER_Y
)));
41959 SWIG_Python_SetConstant(d
, "SYS_CURSOR_X",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_X
)));
41960 SWIG_Python_SetConstant(d
, "SYS_CURSOR_Y",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_Y
)));
41961 SWIG_Python_SetConstant(d
, "SYS_DCLICK_X",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_X
)));
41962 SWIG_Python_SetConstant(d
, "SYS_DCLICK_Y",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_Y
)));
41963 SWIG_Python_SetConstant(d
, "SYS_DRAG_X",SWIG_From_int(static_cast< int >(wxSYS_DRAG_X
)));
41964 SWIG_Python_SetConstant(d
, "SYS_DRAG_Y",SWIG_From_int(static_cast< int >(wxSYS_DRAG_Y
)));
41965 SWIG_Python_SetConstant(d
, "SYS_EDGE_X",SWIG_From_int(static_cast< int >(wxSYS_EDGE_X
)));
41966 SWIG_Python_SetConstant(d
, "SYS_EDGE_Y",SWIG_From_int(static_cast< int >(wxSYS_EDGE_Y
)));
41967 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_X
)));
41968 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_Y
)));
41969 SWIG_Python_SetConstant(d
, "SYS_HTHUMB_X",SWIG_From_int(static_cast< int >(wxSYS_HTHUMB_X
)));
41970 SWIG_Python_SetConstant(d
, "SYS_ICON_X",SWIG_From_int(static_cast< int >(wxSYS_ICON_X
)));
41971 SWIG_Python_SetConstant(d
, "SYS_ICON_Y",SWIG_From_int(static_cast< int >(wxSYS_ICON_Y
)));
41972 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_X",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_X
)));
41973 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_Y",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_Y
)));
41974 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_X",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_X
)));
41975 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_Y",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_Y
)));
41976 SWIG_Python_SetConstant(d
, "SYS_SCREEN_X",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_X
)));
41977 SWIG_Python_SetConstant(d
, "SYS_SCREEN_Y",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_Y
)));
41978 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_X",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_X
)));
41979 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_Y",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_Y
)));
41980 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_X",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_X
)));
41981 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_Y",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_Y
)));
41982 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_Y
)));
41983 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_X
)));
41984 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_X
)));
41985 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_Y
)));
41986 SWIG_Python_SetConstant(d
, "SYS_VTHUMB_Y",SWIG_From_int(static_cast< int >(wxSYS_VTHUMB_Y
)));
41987 SWIG_Python_SetConstant(d
, "SYS_CAPTION_Y",SWIG_From_int(static_cast< int >(wxSYS_CAPTION_Y
)));
41988 SWIG_Python_SetConstant(d
, "SYS_MENU_Y",SWIG_From_int(static_cast< int >(wxSYS_MENU_Y
)));
41989 SWIG_Python_SetConstant(d
, "SYS_NETWORK_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_NETWORK_PRESENT
)));
41990 SWIG_Python_SetConstant(d
, "SYS_PENWINDOWS_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_PENWINDOWS_PRESENT
)));
41991 SWIG_Python_SetConstant(d
, "SYS_SHOW_SOUNDS",SWIG_From_int(static_cast< int >(wxSYS_SHOW_SOUNDS
)));
41992 SWIG_Python_SetConstant(d
, "SYS_SWAP_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_SWAP_BUTTONS
)));
41993 SWIG_Python_SetConstant(d
, "SYS_CAN_DRAW_FRAME_DECORATIONS",SWIG_From_int(static_cast< int >(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
41994 SWIG_Python_SetConstant(d
, "SYS_CAN_ICONIZE_FRAME",SWIG_From_int(static_cast< int >(wxSYS_CAN_ICONIZE_FRAME
)));
41995 SWIG_Python_SetConstant(d
, "SYS_TABLET_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_TABLET_PRESENT
)));
41996 SWIG_Python_SetConstant(d
, "SYS_SCREEN_NONE",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_NONE
)));
41997 SWIG_Python_SetConstant(d
, "SYS_SCREEN_TINY",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_TINY
)));
41998 SWIG_Python_SetConstant(d
, "SYS_SCREEN_PDA",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_PDA
)));
41999 SWIG_Python_SetConstant(d
, "SYS_SCREEN_SMALL",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_SMALL
)));
42000 SWIG_Python_SetConstant(d
, "SYS_SCREEN_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_DESKTOP
)));
42001 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
42002 SWIG_addvarlink(SWIG_globals(),(char*)"WINDOW_DEFAULT_VARIANT",WINDOW_DEFAULT_VARIANT_get
, WINDOW_DEFAULT_VARIANT_set
);
42003 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
42004 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
42005 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
42006 SWIG_Python_SetConstant(d
, "STOCK_NOFLAGS",SWIG_From_int(static_cast< int >(wxSTOCK_NOFLAGS
)));
42007 SWIG_Python_SetConstant(d
, "STOCK_WITH_MNEMONIC",SWIG_From_int(static_cast< int >(wxSTOCK_WITH_MNEMONIC
)));
42008 SWIG_Python_SetConstant(d
, "STOCK_WITH_ACCELERATOR",SWIG_From_int(static_cast< int >(wxSTOCK_WITH_ACCELERATOR
)));
42009 SWIG_Python_SetConstant(d
, "STOCK_MENU",SWIG_From_int(static_cast< int >(wxSTOCK_MENU
)));
42010 SWIG_Python_SetConstant(d
, "SHUTDOWN_POWEROFF",SWIG_From_int(static_cast< int >(wxSHUTDOWN_POWEROFF
)));
42011 SWIG_Python_SetConstant(d
, "SHUTDOWN_REBOOT",SWIG_From_int(static_cast< int >(wxSHUTDOWN_REBOOT
)));
42012 SWIG_Python_SetConstant(d
, "OS_UNKNOWN",SWIG_From_int(static_cast< int >(wxOS_UNKNOWN
)));
42013 SWIG_Python_SetConstant(d
, "OS_MAC_OS",SWIG_From_int(static_cast< int >(wxOS_MAC_OS
)));
42014 SWIG_Python_SetConstant(d
, "OS_MAC_OSX_DARWIN",SWIG_From_int(static_cast< int >(wxOS_MAC_OSX_DARWIN
)));
42015 SWIG_Python_SetConstant(d
, "OS_MAC",SWIG_From_int(static_cast< int >(wxOS_MAC
)));
42016 SWIG_Python_SetConstant(d
, "OS_WINDOWS_9X",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_9X
)));
42017 SWIG_Python_SetConstant(d
, "OS_WINDOWS_NT",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_NT
)));
42018 SWIG_Python_SetConstant(d
, "OS_WINDOWS_MICRO",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_MICRO
)));
42019 SWIG_Python_SetConstant(d
, "OS_WINDOWS_CE",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_CE
)));
42020 SWIG_Python_SetConstant(d
, "OS_WINDOWS",SWIG_From_int(static_cast< int >(wxOS_WINDOWS
)));
42021 SWIG_Python_SetConstant(d
, "OS_UNIX_LINUX",SWIG_From_int(static_cast< int >(wxOS_UNIX_LINUX
)));
42022 SWIG_Python_SetConstant(d
, "OS_UNIX_FREEBSD",SWIG_From_int(static_cast< int >(wxOS_UNIX_FREEBSD
)));
42023 SWIG_Python_SetConstant(d
, "OS_UNIX_OPENBSD",SWIG_From_int(static_cast< int >(wxOS_UNIX_OPENBSD
)));
42024 SWIG_Python_SetConstant(d
, "OS_UNIX_NETBSD",SWIG_From_int(static_cast< int >(wxOS_UNIX_NETBSD
)));
42025 SWIG_Python_SetConstant(d
, "OS_UNIX_SOLARIS",SWIG_From_int(static_cast< int >(wxOS_UNIX_SOLARIS
)));
42026 SWIG_Python_SetConstant(d
, "OS_UNIX_AIX",SWIG_From_int(static_cast< int >(wxOS_UNIX_AIX
)));
42027 SWIG_Python_SetConstant(d
, "OS_UNIX_HPUX",SWIG_From_int(static_cast< int >(wxOS_UNIX_HPUX
)));
42028 SWIG_Python_SetConstant(d
, "OS_UNIX",SWIG_From_int(static_cast< int >(wxOS_UNIX
)));
42029 SWIG_Python_SetConstant(d
, "OS_DOS",SWIG_From_int(static_cast< int >(wxOS_DOS
)));
42030 SWIG_Python_SetConstant(d
, "OS_OS2",SWIG_From_int(static_cast< int >(wxOS_OS2
)));
42031 SWIG_Python_SetConstant(d
, "PORT_UNKNOWN",SWIG_From_int(static_cast< int >(wxPORT_UNKNOWN
)));
42032 SWIG_Python_SetConstant(d
, "PORT_BASE",SWIG_From_int(static_cast< int >(wxPORT_BASE
)));
42033 SWIG_Python_SetConstant(d
, "PORT_MSW",SWIG_From_int(static_cast< int >(wxPORT_MSW
)));
42034 SWIG_Python_SetConstant(d
, "PORT_MOTIF",SWIG_From_int(static_cast< int >(wxPORT_MOTIF
)));
42035 SWIG_Python_SetConstant(d
, "PORT_GTK",SWIG_From_int(static_cast< int >(wxPORT_GTK
)));
42036 SWIG_Python_SetConstant(d
, "PORT_MGL",SWIG_From_int(static_cast< int >(wxPORT_MGL
)));
42037 SWIG_Python_SetConstant(d
, "PORT_X11",SWIG_From_int(static_cast< int >(wxPORT_X11
)));
42038 SWIG_Python_SetConstant(d
, "PORT_PM",SWIG_From_int(static_cast< int >(wxPORT_PM
)));
42039 SWIG_Python_SetConstant(d
, "PORT_OS2",SWIG_From_int(static_cast< int >(wxPORT_OS2
)));
42040 SWIG_Python_SetConstant(d
, "PORT_MAC",SWIG_From_int(static_cast< int >(wxPORT_MAC
)));
42041 SWIG_Python_SetConstant(d
, "PORT_COCOA",SWIG_From_int(static_cast< int >(wxPORT_COCOA
)));
42042 SWIG_Python_SetConstant(d
, "PORT_WINCE",SWIG_From_int(static_cast< int >(wxPORT_WINCE
)));
42043 SWIG_Python_SetConstant(d
, "PORT_PALMOS",SWIG_From_int(static_cast< int >(wxPORT_PALMOS
)));
42044 SWIG_Python_SetConstant(d
, "PORT_DFB",SWIG_From_int(static_cast< int >(wxPORT_DFB
)));
42045 SWIG_Python_SetConstant(d
, "ARCH_INVALID",SWIG_From_int(static_cast< int >(wxARCH_INVALID
)));
42046 SWIG_Python_SetConstant(d
, "ARCH_32",SWIG_From_int(static_cast< int >(wxARCH_32
)));
42047 SWIG_Python_SetConstant(d
, "ARCH_64",SWIG_From_int(static_cast< int >(wxARCH_64
)));
42048 SWIG_Python_SetConstant(d
, "ARCH_MAX",SWIG_From_int(static_cast< int >(wxARCH_MAX
)));
42049 SWIG_Python_SetConstant(d
, "ENDIAN_INVALID",SWIG_From_int(static_cast< int >(wxENDIAN_INVALID
)));
42050 SWIG_Python_SetConstant(d
, "ENDIAN_BIG",SWIG_From_int(static_cast< int >(wxENDIAN_BIG
)));
42051 SWIG_Python_SetConstant(d
, "ENDIAN_LITTLE",SWIG_From_int(static_cast< int >(wxENDIAN_LITTLE
)));
42052 SWIG_Python_SetConstant(d
, "ENDIAN_PDP",SWIG_From_int(static_cast< int >(wxENDIAN_PDP
)));
42053 SWIG_Python_SetConstant(d
, "ENDIAN_MAX",SWIG_From_int(static_cast< int >(wxENDIAN_MAX
)));
42054 SWIG_Python_SetConstant(d
, "TIMER_CONTINUOUS",SWIG_From_int(static_cast< int >(wxTIMER_CONTINUOUS
)));
42055 SWIG_Python_SetConstant(d
, "TIMER_ONE_SHOT",SWIG_From_int(static_cast< int >(wxTIMER_ONE_SHOT
)));
42056 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
42058 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
42060 SWIG_Python_SetConstant(d
, "LOG_FatalError",SWIG_From_int(static_cast< int >(wxLOG_FatalError
)));
42061 SWIG_Python_SetConstant(d
, "LOG_Error",SWIG_From_int(static_cast< int >(wxLOG_Error
)));
42062 SWIG_Python_SetConstant(d
, "LOG_Warning",SWIG_From_int(static_cast< int >(wxLOG_Warning
)));
42063 SWIG_Python_SetConstant(d
, "LOG_Message",SWIG_From_int(static_cast< int >(wxLOG_Message
)));
42064 SWIG_Python_SetConstant(d
, "LOG_Status",SWIG_From_int(static_cast< int >(wxLOG_Status
)));
42065 SWIG_Python_SetConstant(d
, "LOG_Info",SWIG_From_int(static_cast< int >(wxLOG_Info
)));
42066 SWIG_Python_SetConstant(d
, "LOG_Debug",SWIG_From_int(static_cast< int >(wxLOG_Debug
)));
42067 SWIG_Python_SetConstant(d
, "LOG_Trace",SWIG_From_int(static_cast< int >(wxLOG_Trace
)));
42068 SWIG_Python_SetConstant(d
, "LOG_Progress",SWIG_From_int(static_cast< int >(wxLOG_Progress
)));
42069 SWIG_Python_SetConstant(d
, "LOG_User",SWIG_From_int(static_cast< int >(wxLOG_User
)));
42070 SWIG_Python_SetConstant(d
, "LOG_Max",SWIG_From_int(static_cast< int >(wxLOG_Max
)));
42071 SWIG_Python_SetConstant(d
, "TRACE_MemAlloc",SWIG_FromCharPtr("memalloc"));
42072 SWIG_Python_SetConstant(d
, "TRACE_Messages",SWIG_FromCharPtr("messages"));
42073 SWIG_Python_SetConstant(d
, "TRACE_ResAlloc",SWIG_FromCharPtr("resalloc"));
42074 SWIG_Python_SetConstant(d
, "TRACE_RefCount",SWIG_FromCharPtr("refcount"));
42075 SWIG_Python_SetConstant(d
, "TRACE_OleCalls",SWIG_FromCharPtr("ole"));
42076 SWIG_Python_SetConstant(d
, "TraceMemAlloc",SWIG_From_int(static_cast< int >(0x0001)));
42077 SWIG_Python_SetConstant(d
, "TraceMessages",SWIG_From_int(static_cast< int >(0x0002)));
42078 SWIG_Python_SetConstant(d
, "TraceResAlloc",SWIG_From_int(static_cast< int >(0x0004)));
42079 SWIG_Python_SetConstant(d
, "TraceRefCount",SWIG_From_int(static_cast< int >(0x0008)));
42080 SWIG_Python_SetConstant(d
, "TraceOleCalls",SWIG_From_int(static_cast< int >(0x0100)));
42081 SWIG_Python_SetConstant(d
, "PROCESS_DEFAULT",SWIG_From_int(static_cast< int >(wxPROCESS_DEFAULT
)));
42082 SWIG_Python_SetConstant(d
, "PROCESS_REDIRECT",SWIG_From_int(static_cast< int >(wxPROCESS_REDIRECT
)));
42083 SWIG_Python_SetConstant(d
, "KILL_OK",SWIG_From_int(static_cast< int >(wxKILL_OK
)));
42084 SWIG_Python_SetConstant(d
, "KILL_BAD_SIGNAL",SWIG_From_int(static_cast< int >(wxKILL_BAD_SIGNAL
)));
42085 SWIG_Python_SetConstant(d
, "KILL_ACCESS_DENIED",SWIG_From_int(static_cast< int >(wxKILL_ACCESS_DENIED
)));
42086 SWIG_Python_SetConstant(d
, "KILL_NO_PROCESS",SWIG_From_int(static_cast< int >(wxKILL_NO_PROCESS
)));
42087 SWIG_Python_SetConstant(d
, "KILL_ERROR",SWIG_From_int(static_cast< int >(wxKILL_ERROR
)));
42088 SWIG_Python_SetConstant(d
, "KILL_NOCHILDREN",SWIG_From_int(static_cast< int >(wxKILL_NOCHILDREN
)));
42089 SWIG_Python_SetConstant(d
, "KILL_CHILDREN",SWIG_From_int(static_cast< int >(wxKILL_CHILDREN
)));
42090 SWIG_Python_SetConstant(d
, "SIGNONE",SWIG_From_int(static_cast< int >(wxSIGNONE
)));
42091 SWIG_Python_SetConstant(d
, "SIGHUP",SWIG_From_int(static_cast< int >(wxSIGHUP
)));
42092 SWIG_Python_SetConstant(d
, "SIGINT",SWIG_From_int(static_cast< int >(wxSIGINT
)));
42093 SWIG_Python_SetConstant(d
, "SIGQUIT",SWIG_From_int(static_cast< int >(wxSIGQUIT
)));
42094 SWIG_Python_SetConstant(d
, "SIGILL",SWIG_From_int(static_cast< int >(wxSIGILL
)));
42095 SWIG_Python_SetConstant(d
, "SIGTRAP",SWIG_From_int(static_cast< int >(wxSIGTRAP
)));
42096 SWIG_Python_SetConstant(d
, "SIGABRT",SWIG_From_int(static_cast< int >(wxSIGABRT
)));
42097 SWIG_Python_SetConstant(d
, "SIGIOT",SWIG_From_int(static_cast< int >(wxSIGIOT
)));
42098 SWIG_Python_SetConstant(d
, "SIGEMT",SWIG_From_int(static_cast< int >(wxSIGEMT
)));
42099 SWIG_Python_SetConstant(d
, "SIGFPE",SWIG_From_int(static_cast< int >(wxSIGFPE
)));
42100 SWIG_Python_SetConstant(d
, "SIGKILL",SWIG_From_int(static_cast< int >(wxSIGKILL
)));
42101 SWIG_Python_SetConstant(d
, "SIGBUS",SWIG_From_int(static_cast< int >(wxSIGBUS
)));
42102 SWIG_Python_SetConstant(d
, "SIGSEGV",SWIG_From_int(static_cast< int >(wxSIGSEGV
)));
42103 SWIG_Python_SetConstant(d
, "SIGSYS",SWIG_From_int(static_cast< int >(wxSIGSYS
)));
42104 SWIG_Python_SetConstant(d
, "SIGPIPE",SWIG_From_int(static_cast< int >(wxSIGPIPE
)));
42105 SWIG_Python_SetConstant(d
, "SIGALRM",SWIG_From_int(static_cast< int >(wxSIGALRM
)));
42106 SWIG_Python_SetConstant(d
, "SIGTERM",SWIG_From_int(static_cast< int >(wxSIGTERM
)));
42107 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
42108 SWIG_Python_SetConstant(d
, "EXEC_ASYNC",SWIG_From_int(static_cast< int >(wxEXEC_ASYNC
)));
42109 SWIG_Python_SetConstant(d
, "EXEC_SYNC",SWIG_From_int(static_cast< int >(wxEXEC_SYNC
)));
42110 SWIG_Python_SetConstant(d
, "EXEC_NOHIDE",SWIG_From_int(static_cast< int >(wxEXEC_NOHIDE
)));
42111 SWIG_Python_SetConstant(d
, "EXEC_MAKE_GROUP_LEADER",SWIG_From_int(static_cast< int >(wxEXEC_MAKE_GROUP_LEADER
)));
42112 SWIG_Python_SetConstant(d
, "EXEC_NODISABLE",SWIG_From_int(static_cast< int >(wxEXEC_NODISABLE
)));
42114 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
42116 SWIG_Python_SetConstant(d
, "JOYSTICK1",SWIG_From_int(static_cast< int >(wxJOYSTICK1
)));
42117 SWIG_Python_SetConstant(d
, "JOYSTICK2",SWIG_From_int(static_cast< int >(wxJOYSTICK2
)));
42118 SWIG_Python_SetConstant(d
, "JOY_BUTTON_ANY",SWIG_From_int(static_cast< int >(wxJOY_BUTTON_ANY
)));
42119 SWIG_Python_SetConstant(d
, "JOY_BUTTON1",SWIG_From_int(static_cast< int >(wxJOY_BUTTON1
)));
42120 SWIG_Python_SetConstant(d
, "JOY_BUTTON2",SWIG_From_int(static_cast< int >(wxJOY_BUTTON2
)));
42121 SWIG_Python_SetConstant(d
, "JOY_BUTTON3",SWIG_From_int(static_cast< int >(wxJOY_BUTTON3
)));
42122 SWIG_Python_SetConstant(d
, "JOY_BUTTON4",SWIG_From_int(static_cast< int >(wxJOY_BUTTON4
)));
42123 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
42124 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
42125 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
42126 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
42127 SWIG_Python_SetConstant(d
, "SOUND_SYNC",SWIG_From_int(static_cast< int >(wxSOUND_SYNC
)));
42128 SWIG_Python_SetConstant(d
, "SOUND_ASYNC",SWIG_From_int(static_cast< int >(wxSOUND_ASYNC
)));
42129 SWIG_Python_SetConstant(d
, "SOUND_LOOP",SWIG_From_int(static_cast< int >(wxSOUND_LOOP
)));
42130 SWIG_Python_SetConstant(d
, "MAILCAP_STANDARD",SWIG_From_int(static_cast< int >(wxMAILCAP_STANDARD
)));
42131 SWIG_Python_SetConstant(d
, "MAILCAP_NETSCAPE",SWIG_From_int(static_cast< int >(wxMAILCAP_NETSCAPE
)));
42132 SWIG_Python_SetConstant(d
, "MAILCAP_KDE",SWIG_From_int(static_cast< int >(wxMAILCAP_KDE
)));
42133 SWIG_Python_SetConstant(d
, "MAILCAP_GNOME",SWIG_From_int(static_cast< int >(wxMAILCAP_GNOME
)));
42134 SWIG_Python_SetConstant(d
, "MAILCAP_ALL",SWIG_From_int(static_cast< int >(wxMAILCAP_ALL
)));
42135 SWIG_addvarlink(SWIG_globals(),(char*)"TheMimeTypesManager",TheMimeTypesManager_get
, TheMimeTypesManager_set
);
42136 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TOOLBAR",ART_TOOLBAR_get
, ART_TOOLBAR_set
);
42137 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MENU",ART_MENU_get
, ART_MENU_set
);
42138 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FRAME_ICON",ART_FRAME_ICON_get
, ART_FRAME_ICON_set
);
42139 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CMN_DIALOG",ART_CMN_DIALOG_get
, ART_CMN_DIALOG_set
);
42140 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BROWSER",ART_HELP_BROWSER_get
, ART_HELP_BROWSER_set
);
42141 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MESSAGE_BOX",ART_MESSAGE_BOX_get
, ART_MESSAGE_BOX_set
);
42142 SWIG_addvarlink(SWIG_globals(),(char*)"ART_BUTTON",ART_BUTTON_get
, ART_BUTTON_set
);
42143 SWIG_addvarlink(SWIG_globals(),(char*)"ART_OTHER",ART_OTHER_get
, ART_OTHER_set
);
42144 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ADD_BOOKMARK",ART_ADD_BOOKMARK_get
, ART_ADD_BOOKMARK_set
);
42145 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DEL_BOOKMARK",ART_DEL_BOOKMARK_get
, ART_DEL_BOOKMARK_set
);
42146 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SIDE_PANEL",ART_HELP_SIDE_PANEL_get
, ART_HELP_SIDE_PANEL_set
);
42147 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SETTINGS",ART_HELP_SETTINGS_get
, ART_HELP_SETTINGS_set
);
42148 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BOOK",ART_HELP_BOOK_get
, ART_HELP_BOOK_set
);
42149 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_FOLDER",ART_HELP_FOLDER_get
, ART_HELP_FOLDER_set
);
42150 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_PAGE",ART_HELP_PAGE_get
, ART_HELP_PAGE_set
);
42151 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_BACK",ART_GO_BACK_get
, ART_GO_BACK_set
);
42152 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_FORWARD",ART_GO_FORWARD_get
, ART_GO_FORWARD_set
);
42153 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_UP",ART_GO_UP_get
, ART_GO_UP_set
);
42154 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DOWN",ART_GO_DOWN_get
, ART_GO_DOWN_set
);
42155 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_TO_PARENT",ART_GO_TO_PARENT_get
, ART_GO_TO_PARENT_set
);
42156 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_HOME",ART_GO_HOME_get
, ART_GO_HOME_set
);
42157 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_OPEN",ART_FILE_OPEN_get
, ART_FILE_OPEN_set
);
42158 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE",ART_FILE_SAVE_get
, ART_FILE_SAVE_set
);
42159 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE_AS",ART_FILE_SAVE_AS_get
, ART_FILE_SAVE_AS_set
);
42160 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PRINT",ART_PRINT_get
, ART_PRINT_set
);
42161 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP",ART_HELP_get
, ART_HELP_set
);
42162 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TIP",ART_TIP_get
, ART_TIP_set
);
42163 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REPORT_VIEW",ART_REPORT_VIEW_get
, ART_REPORT_VIEW_set
);
42164 SWIG_addvarlink(SWIG_globals(),(char*)"ART_LIST_VIEW",ART_LIST_VIEW_get
, ART_LIST_VIEW_set
);
42165 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW_DIR",ART_NEW_DIR_get
, ART_NEW_DIR_set
);
42166 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HARDDISK",ART_HARDDISK_get
, ART_HARDDISK_set
);
42167 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FLOPPY",ART_FLOPPY_get
, ART_FLOPPY_set
);
42168 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CDROM",ART_CDROM_get
, ART_CDROM_set
);
42169 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REMOVABLE",ART_REMOVABLE_get
, ART_REMOVABLE_set
);
42170 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER",ART_FOLDER_get
, ART_FOLDER_set
);
42171 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER_OPEN",ART_FOLDER_OPEN_get
, ART_FOLDER_OPEN_set
);
42172 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DIR_UP",ART_GO_DIR_UP_get
, ART_GO_DIR_UP_set
);
42173 SWIG_addvarlink(SWIG_globals(),(char*)"ART_EXECUTABLE_FILE",ART_EXECUTABLE_FILE_get
, ART_EXECUTABLE_FILE_set
);
42174 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NORMAL_FILE",ART_NORMAL_FILE_get
, ART_NORMAL_FILE_set
);
42175 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TICK_MARK",ART_TICK_MARK_get
, ART_TICK_MARK_set
);
42176 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CROSS_MARK",ART_CROSS_MARK_get
, ART_CROSS_MARK_set
);
42177 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ERROR",ART_ERROR_get
, ART_ERROR_set
);
42178 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUESTION",ART_QUESTION_get
, ART_QUESTION_set
);
42179 SWIG_addvarlink(SWIG_globals(),(char*)"ART_WARNING",ART_WARNING_get
, ART_WARNING_set
);
42180 SWIG_addvarlink(SWIG_globals(),(char*)"ART_INFORMATION",ART_INFORMATION_get
, ART_INFORMATION_set
);
42181 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MISSING_IMAGE",ART_MISSING_IMAGE_get
, ART_MISSING_IMAGE_set
);
42182 SWIG_addvarlink(SWIG_globals(),(char*)"ART_COPY",ART_COPY_get
, ART_COPY_set
);
42183 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CUT",ART_CUT_get
, ART_CUT_set
);
42184 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PASTE",ART_PASTE_get
, ART_PASTE_set
);
42185 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DELETE",ART_DELETE_get
, ART_DELETE_set
);
42186 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW",ART_NEW_get
, ART_NEW_set
);
42187 SWIG_addvarlink(SWIG_globals(),(char*)"ART_UNDO",ART_UNDO_get
, ART_UNDO_set
);
42188 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REDO",ART_REDO_get
, ART_REDO_set
);
42189 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUIT",ART_QUIT_get
, ART_QUIT_set
);
42190 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND",ART_FIND_get
, ART_FIND_set
);
42191 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND_AND_REPLACE",ART_FIND_AND_REPLACE_get
, ART_FIND_AND_REPLACE_set
);
42193 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
42195 SWIG_Python_SetConstant(d
, "CONFIG_USE_LOCAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_LOCAL_FILE
)));
42196 SWIG_Python_SetConstant(d
, "CONFIG_USE_GLOBAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_GLOBAL_FILE
)));
42197 SWIG_Python_SetConstant(d
, "CONFIG_USE_RELATIVE_PATH",SWIG_From_int(static_cast< int >(wxCONFIG_USE_RELATIVE_PATH
)));
42198 SWIG_Python_SetConstant(d
, "CONFIG_USE_NO_ESCAPE_CHARACTERS",SWIG_From_int(static_cast< int >(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
42199 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Unknown",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Unknown
)));
42200 SWIG_Python_SetConstant(d
, "ConfigBase_Type_String",SWIG_From_int(static_cast< int >(wxConfigBase::Type_String
)));
42201 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Boolean",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Boolean
)));
42202 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Integer",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Integer
)));
42203 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Float",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Float
)));
42204 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTimeFormat",DefaultDateTimeFormat_get
, DefaultDateTimeFormat_set
);
42205 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultTimeSpanFormat",DefaultTimeSpanFormat_get
, DefaultTimeSpanFormat_set
);
42206 SWIG_Python_SetConstant(d
, "DateTime_Local",SWIG_From_int(static_cast< int >(wxDateTime::Local
)));
42207 SWIG_Python_SetConstant(d
, "DateTime_GMT_12",SWIG_From_int(static_cast< int >(wxDateTime::GMT_12
)));
42208 SWIG_Python_SetConstant(d
, "DateTime_GMT_11",SWIG_From_int(static_cast< int >(wxDateTime::GMT_11
)));
42209 SWIG_Python_SetConstant(d
, "DateTime_GMT_10",SWIG_From_int(static_cast< int >(wxDateTime::GMT_10
)));
42210 SWIG_Python_SetConstant(d
, "DateTime_GMT_9",SWIG_From_int(static_cast< int >(wxDateTime::GMT_9
)));
42211 SWIG_Python_SetConstant(d
, "DateTime_GMT_8",SWIG_From_int(static_cast< int >(wxDateTime::GMT_8
)));
42212 SWIG_Python_SetConstant(d
, "DateTime_GMT_7",SWIG_From_int(static_cast< int >(wxDateTime::GMT_7
)));
42213 SWIG_Python_SetConstant(d
, "DateTime_GMT_6",SWIG_From_int(static_cast< int >(wxDateTime::GMT_6
)));
42214 SWIG_Python_SetConstant(d
, "DateTime_GMT_5",SWIG_From_int(static_cast< int >(wxDateTime::GMT_5
)));
42215 SWIG_Python_SetConstant(d
, "DateTime_GMT_4",SWIG_From_int(static_cast< int >(wxDateTime::GMT_4
)));
42216 SWIG_Python_SetConstant(d
, "DateTime_GMT_3",SWIG_From_int(static_cast< int >(wxDateTime::GMT_3
)));
42217 SWIG_Python_SetConstant(d
, "DateTime_GMT_2",SWIG_From_int(static_cast< int >(wxDateTime::GMT_2
)));
42218 SWIG_Python_SetConstant(d
, "DateTime_GMT_1",SWIG_From_int(static_cast< int >(wxDateTime::GMT_1
)));
42219 SWIG_Python_SetConstant(d
, "DateTime_GMT0",SWIG_From_int(static_cast< int >(wxDateTime::GMT0
)));
42220 SWIG_Python_SetConstant(d
, "DateTime_GMT1",SWIG_From_int(static_cast< int >(wxDateTime::GMT1
)));
42221 SWIG_Python_SetConstant(d
, "DateTime_GMT2",SWIG_From_int(static_cast< int >(wxDateTime::GMT2
)));
42222 SWIG_Python_SetConstant(d
, "DateTime_GMT3",SWIG_From_int(static_cast< int >(wxDateTime::GMT3
)));
42223 SWIG_Python_SetConstant(d
, "DateTime_GMT4",SWIG_From_int(static_cast< int >(wxDateTime::GMT4
)));
42224 SWIG_Python_SetConstant(d
, "DateTime_GMT5",SWIG_From_int(static_cast< int >(wxDateTime::GMT5
)));
42225 SWIG_Python_SetConstant(d
, "DateTime_GMT6",SWIG_From_int(static_cast< int >(wxDateTime::GMT6
)));
42226 SWIG_Python_SetConstant(d
, "DateTime_GMT7",SWIG_From_int(static_cast< int >(wxDateTime::GMT7
)));
42227 SWIG_Python_SetConstant(d
, "DateTime_GMT8",SWIG_From_int(static_cast< int >(wxDateTime::GMT8
)));
42228 SWIG_Python_SetConstant(d
, "DateTime_GMT9",SWIG_From_int(static_cast< int >(wxDateTime::GMT9
)));
42229 SWIG_Python_SetConstant(d
, "DateTime_GMT10",SWIG_From_int(static_cast< int >(wxDateTime::GMT10
)));
42230 SWIG_Python_SetConstant(d
, "DateTime_GMT11",SWIG_From_int(static_cast< int >(wxDateTime::GMT11
)));
42231 SWIG_Python_SetConstant(d
, "DateTime_GMT12",SWIG_From_int(static_cast< int >(wxDateTime::GMT12
)));
42232 SWIG_Python_SetConstant(d
, "DateTime_GMT13",SWIG_From_int(static_cast< int >(wxDateTime::GMT13
)));
42233 SWIG_Python_SetConstant(d
, "DateTime_WET",SWIG_From_int(static_cast< int >(wxDateTime::WET
)));
42234 SWIG_Python_SetConstant(d
, "DateTime_WEST",SWIG_From_int(static_cast< int >(wxDateTime::WEST
)));
42235 SWIG_Python_SetConstant(d
, "DateTime_CET",SWIG_From_int(static_cast< int >(wxDateTime::CET
)));
42236 SWIG_Python_SetConstant(d
, "DateTime_CEST",SWIG_From_int(static_cast< int >(wxDateTime::CEST
)));
42237 SWIG_Python_SetConstant(d
, "DateTime_EET",SWIG_From_int(static_cast< int >(wxDateTime::EET
)));
42238 SWIG_Python_SetConstant(d
, "DateTime_EEST",SWIG_From_int(static_cast< int >(wxDateTime::EEST
)));
42239 SWIG_Python_SetConstant(d
, "DateTime_MSK",SWIG_From_int(static_cast< int >(wxDateTime::MSK
)));
42240 SWIG_Python_SetConstant(d
, "DateTime_MSD",SWIG_From_int(static_cast< int >(wxDateTime::MSD
)));
42241 SWIG_Python_SetConstant(d
, "DateTime_AST",SWIG_From_int(static_cast< int >(wxDateTime::AST
)));
42242 SWIG_Python_SetConstant(d
, "DateTime_ADT",SWIG_From_int(static_cast< int >(wxDateTime::ADT
)));
42243 SWIG_Python_SetConstant(d
, "DateTime_EST",SWIG_From_int(static_cast< int >(wxDateTime::EST
)));
42244 SWIG_Python_SetConstant(d
, "DateTime_EDT",SWIG_From_int(static_cast< int >(wxDateTime::EDT
)));
42245 SWIG_Python_SetConstant(d
, "DateTime_CST",SWIG_From_int(static_cast< int >(wxDateTime::CST
)));
42246 SWIG_Python_SetConstant(d
, "DateTime_CDT",SWIG_From_int(static_cast< int >(wxDateTime::CDT
)));
42247 SWIG_Python_SetConstant(d
, "DateTime_MST",SWIG_From_int(static_cast< int >(wxDateTime::MST
)));
42248 SWIG_Python_SetConstant(d
, "DateTime_MDT",SWIG_From_int(static_cast< int >(wxDateTime::MDT
)));
42249 SWIG_Python_SetConstant(d
, "DateTime_PST",SWIG_From_int(static_cast< int >(wxDateTime::PST
)));
42250 SWIG_Python_SetConstant(d
, "DateTime_PDT",SWIG_From_int(static_cast< int >(wxDateTime::PDT
)));
42251 SWIG_Python_SetConstant(d
, "DateTime_HST",SWIG_From_int(static_cast< int >(wxDateTime::HST
)));
42252 SWIG_Python_SetConstant(d
, "DateTime_AKST",SWIG_From_int(static_cast< int >(wxDateTime::AKST
)));
42253 SWIG_Python_SetConstant(d
, "DateTime_AKDT",SWIG_From_int(static_cast< int >(wxDateTime::AKDT
)));
42254 SWIG_Python_SetConstant(d
, "DateTime_A_WST",SWIG_From_int(static_cast< int >(wxDateTime::A_WST
)));
42255 SWIG_Python_SetConstant(d
, "DateTime_A_CST",SWIG_From_int(static_cast< int >(wxDateTime::A_CST
)));
42256 SWIG_Python_SetConstant(d
, "DateTime_A_EST",SWIG_From_int(static_cast< int >(wxDateTime::A_EST
)));
42257 SWIG_Python_SetConstant(d
, "DateTime_A_ESST",SWIG_From_int(static_cast< int >(wxDateTime::A_ESST
)));
42258 SWIG_Python_SetConstant(d
, "DateTime_NZST",SWIG_From_int(static_cast< int >(wxDateTime::NZST
)));
42259 SWIG_Python_SetConstant(d
, "DateTime_NZDT",SWIG_From_int(static_cast< int >(wxDateTime::NZDT
)));
42260 SWIG_Python_SetConstant(d
, "DateTime_UTC",SWIG_From_int(static_cast< int >(wxDateTime::UTC
)));
42261 SWIG_Python_SetConstant(d
, "DateTime_Gregorian",SWIG_From_int(static_cast< int >(wxDateTime::Gregorian
)));
42262 SWIG_Python_SetConstant(d
, "DateTime_Julian",SWIG_From_int(static_cast< int >(wxDateTime::Julian
)));
42263 SWIG_Python_SetConstant(d
, "DateTime_Gr_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Unknown
)));
42264 SWIG_Python_SetConstant(d
, "DateTime_Gr_Standard",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Standard
)));
42265 SWIG_Python_SetConstant(d
, "DateTime_Gr_Alaska",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Alaska
)));
42266 SWIG_Python_SetConstant(d
, "DateTime_Gr_Albania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Albania
)));
42267 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria
)));
42268 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Brixen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Brixen
)));
42269 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Salzburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Salzburg
)));
42270 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Tyrol",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Tyrol
)));
42271 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Carinthia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Carinthia
)));
42272 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Styria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Styria
)));
42273 SWIG_Python_SetConstant(d
, "DateTime_Gr_Belgium",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Belgium
)));
42274 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria
)));
42275 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_1
)));
42276 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_2
)));
42277 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_3
)));
42278 SWIG_Python_SetConstant(d
, "DateTime_Gr_Canada",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Canada
)));
42279 SWIG_Python_SetConstant(d
, "DateTime_Gr_China",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China
)));
42280 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_1
)));
42281 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_2
)));
42282 SWIG_Python_SetConstant(d
, "DateTime_Gr_Czechoslovakia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Czechoslovakia
)));
42283 SWIG_Python_SetConstant(d
, "DateTime_Gr_Denmark",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Denmark
)));
42284 SWIG_Python_SetConstant(d
, "DateTime_Gr_Egypt",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Egypt
)));
42285 SWIG_Python_SetConstant(d
, "DateTime_Gr_Estonia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Estonia
)));
42286 SWIG_Python_SetConstant(d
, "DateTime_Gr_Finland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Finland
)));
42287 SWIG_Python_SetConstant(d
, "DateTime_Gr_France",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France
)));
42288 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Alsace",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Alsace
)));
42289 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Lorraine",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Lorraine
)));
42290 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Strasbourg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Strasbourg
)));
42291 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany
)));
42292 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Catholic
)));
42293 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Prussia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Prussia
)));
42294 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Protestant
)));
42295 SWIG_Python_SetConstant(d
, "DateTime_Gr_GreatBritain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_GreatBritain
)));
42296 SWIG_Python_SetConstant(d
, "DateTime_Gr_Greece",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Greece
)));
42297 SWIG_Python_SetConstant(d
, "DateTime_Gr_Hungary",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Hungary
)));
42298 SWIG_Python_SetConstant(d
, "DateTime_Gr_Ireland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Ireland
)));
42299 SWIG_Python_SetConstant(d
, "DateTime_Gr_Italy",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Italy
)));
42300 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan
)));
42301 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_1
)));
42302 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_2
)));
42303 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_3
)));
42304 SWIG_Python_SetConstant(d
, "DateTime_Gr_Latvia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Latvia
)));
42305 SWIG_Python_SetConstant(d
, "DateTime_Gr_Lithuania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Lithuania
)));
42306 SWIG_Python_SetConstant(d
, "DateTime_Gr_Luxemburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Luxemburg
)));
42307 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands
)));
42308 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Groningen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Groningen
)));
42309 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Gelderland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Gelderland
)));
42310 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Utrecht",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Utrecht
)));
42311 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Friesland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Friesland
)));
42312 SWIG_Python_SetConstant(d
, "DateTime_Gr_Norway",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Norway
)));
42313 SWIG_Python_SetConstant(d
, "DateTime_Gr_Poland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Poland
)));
42314 SWIG_Python_SetConstant(d
, "DateTime_Gr_Portugal",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Portugal
)));
42315 SWIG_Python_SetConstant(d
, "DateTime_Gr_Romania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Romania
)));
42316 SWIG_Python_SetConstant(d
, "DateTime_Gr_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Russia
)));
42317 SWIG_Python_SetConstant(d
, "DateTime_Gr_Scotland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Scotland
)));
42318 SWIG_Python_SetConstant(d
, "DateTime_Gr_Spain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Spain
)));
42319 SWIG_Python_SetConstant(d
, "DateTime_Gr_Sweden",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Sweden
)));
42320 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland
)));
42321 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Catholic
)));
42322 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Protestant
)));
42323 SWIG_Python_SetConstant(d
, "DateTime_Gr_Turkey",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Turkey
)));
42324 SWIG_Python_SetConstant(d
, "DateTime_Gr_USA",SWIG_From_int(static_cast< int >(wxDateTime::Gr_USA
)));
42325 SWIG_Python_SetConstant(d
, "DateTime_Gr_Wales",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Wales
)));
42326 SWIG_Python_SetConstant(d
, "DateTime_Gr_Yugoslavia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Yugoslavia
)));
42327 SWIG_Python_SetConstant(d
, "DateTime_Country_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Country_Unknown
)));
42328 SWIG_Python_SetConstant(d
, "DateTime_Country_Default",SWIG_From_int(static_cast< int >(wxDateTime::Country_Default
)));
42329 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_Start",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_Start
)));
42330 SWIG_Python_SetConstant(d
, "DateTime_Country_EEC",SWIG_From_int(static_cast< int >(wxDateTime::Country_EEC
)));
42331 SWIG_Python_SetConstant(d
, "DateTime_France",SWIG_From_int(static_cast< int >(wxDateTime::France
)));
42332 SWIG_Python_SetConstant(d
, "DateTime_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Germany
)));
42333 SWIG_Python_SetConstant(d
, "DateTime_UK",SWIG_From_int(static_cast< int >(wxDateTime::UK
)));
42334 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_End",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_End
)));
42335 SWIG_Python_SetConstant(d
, "DateTime_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Russia
)));
42336 SWIG_Python_SetConstant(d
, "DateTime_USA",SWIG_From_int(static_cast< int >(wxDateTime::USA
)));
42337 SWIG_Python_SetConstant(d
, "DateTime_Jan",SWIG_From_int(static_cast< int >(wxDateTime::Jan
)));
42338 SWIG_Python_SetConstant(d
, "DateTime_Feb",SWIG_From_int(static_cast< int >(wxDateTime::Feb
)));
42339 SWIG_Python_SetConstant(d
, "DateTime_Mar",SWIG_From_int(static_cast< int >(wxDateTime::Mar
)));
42340 SWIG_Python_SetConstant(d
, "DateTime_Apr",SWIG_From_int(static_cast< int >(wxDateTime::Apr
)));
42341 SWIG_Python_SetConstant(d
, "DateTime_May",SWIG_From_int(static_cast< int >(wxDateTime::May
)));
42342 SWIG_Python_SetConstant(d
, "DateTime_Jun",SWIG_From_int(static_cast< int >(wxDateTime::Jun
)));
42343 SWIG_Python_SetConstant(d
, "DateTime_Jul",SWIG_From_int(static_cast< int >(wxDateTime::Jul
)));
42344 SWIG_Python_SetConstant(d
, "DateTime_Aug",SWIG_From_int(static_cast< int >(wxDateTime::Aug
)));
42345 SWIG_Python_SetConstant(d
, "DateTime_Sep",SWIG_From_int(static_cast< int >(wxDateTime::Sep
)));
42346 SWIG_Python_SetConstant(d
, "DateTime_Oct",SWIG_From_int(static_cast< int >(wxDateTime::Oct
)));
42347 SWIG_Python_SetConstant(d
, "DateTime_Nov",SWIG_From_int(static_cast< int >(wxDateTime::Nov
)));
42348 SWIG_Python_SetConstant(d
, "DateTime_Dec",SWIG_From_int(static_cast< int >(wxDateTime::Dec
)));
42349 SWIG_Python_SetConstant(d
, "DateTime_Inv_Month",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Month
)));
42350 SWIG_Python_SetConstant(d
, "DateTime_Sun",SWIG_From_int(static_cast< int >(wxDateTime::Sun
)));
42351 SWIG_Python_SetConstant(d
, "DateTime_Mon",SWIG_From_int(static_cast< int >(wxDateTime::Mon
)));
42352 SWIG_Python_SetConstant(d
, "DateTime_Tue",SWIG_From_int(static_cast< int >(wxDateTime::Tue
)));
42353 SWIG_Python_SetConstant(d
, "DateTime_Wed",SWIG_From_int(static_cast< int >(wxDateTime::Wed
)));
42354 SWIG_Python_SetConstant(d
, "DateTime_Thu",SWIG_From_int(static_cast< int >(wxDateTime::Thu
)));
42355 SWIG_Python_SetConstant(d
, "DateTime_Fri",SWIG_From_int(static_cast< int >(wxDateTime::Fri
)));
42356 SWIG_Python_SetConstant(d
, "DateTime_Sat",SWIG_From_int(static_cast< int >(wxDateTime::Sat
)));
42357 SWIG_Python_SetConstant(d
, "DateTime_Inv_WeekDay",SWIG_From_int(static_cast< int >(wxDateTime::Inv_WeekDay
)));
42358 SWIG_Python_SetConstant(d
, "DateTime_Inv_Year",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Year
)));
42359 SWIG_Python_SetConstant(d
, "DateTime_Name_Full",SWIG_From_int(static_cast< int >(wxDateTime::Name_Full
)));
42360 SWIG_Python_SetConstant(d
, "DateTime_Name_Abbr",SWIG_From_int(static_cast< int >(wxDateTime::Name_Abbr
)));
42361 SWIG_Python_SetConstant(d
, "DateTime_Default_First",SWIG_From_int(static_cast< int >(wxDateTime::Default_First
)));
42362 SWIG_Python_SetConstant(d
, "DateTime_Monday_First",SWIG_From_int(static_cast< int >(wxDateTime::Monday_First
)));
42363 SWIG_Python_SetConstant(d
, "DateTime_Sunday_First",SWIG_From_int(static_cast< int >(wxDateTime::Sunday_First
)));
42364 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTime",DefaultDateTime_get
, DefaultDateTime_set
);
42365 SWIG_Python_SetConstant(d
, "DF_INVALID",SWIG_From_int(static_cast< int >(wxDF_INVALID
)));
42366 SWIG_Python_SetConstant(d
, "DF_TEXT",SWIG_From_int(static_cast< int >(wxDF_TEXT
)));
42367 SWIG_Python_SetConstant(d
, "DF_BITMAP",SWIG_From_int(static_cast< int >(wxDF_BITMAP
)));
42368 SWIG_Python_SetConstant(d
, "DF_METAFILE",SWIG_From_int(static_cast< int >(wxDF_METAFILE
)));
42369 SWIG_Python_SetConstant(d
, "DF_SYLK",SWIG_From_int(static_cast< int >(wxDF_SYLK
)));
42370 SWIG_Python_SetConstant(d
, "DF_DIF",SWIG_From_int(static_cast< int >(wxDF_DIF
)));
42371 SWIG_Python_SetConstant(d
, "DF_TIFF",SWIG_From_int(static_cast< int >(wxDF_TIFF
)));
42372 SWIG_Python_SetConstant(d
, "DF_OEMTEXT",SWIG_From_int(static_cast< int >(wxDF_OEMTEXT
)));
42373 SWIG_Python_SetConstant(d
, "DF_DIB",SWIG_From_int(static_cast< int >(wxDF_DIB
)));
42374 SWIG_Python_SetConstant(d
, "DF_PALETTE",SWIG_From_int(static_cast< int >(wxDF_PALETTE
)));
42375 SWIG_Python_SetConstant(d
, "DF_PENDATA",SWIG_From_int(static_cast< int >(wxDF_PENDATA
)));
42376 SWIG_Python_SetConstant(d
, "DF_RIFF",SWIG_From_int(static_cast< int >(wxDF_RIFF
)));
42377 SWIG_Python_SetConstant(d
, "DF_WAVE",SWIG_From_int(static_cast< int >(wxDF_WAVE
)));
42378 SWIG_Python_SetConstant(d
, "DF_UNICODETEXT",SWIG_From_int(static_cast< int >(wxDF_UNICODETEXT
)));
42379 SWIG_Python_SetConstant(d
, "DF_ENHMETAFILE",SWIG_From_int(static_cast< int >(wxDF_ENHMETAFILE
)));
42380 SWIG_Python_SetConstant(d
, "DF_FILENAME",SWIG_From_int(static_cast< int >(wxDF_FILENAME
)));
42381 SWIG_Python_SetConstant(d
, "DF_LOCALE",SWIG_From_int(static_cast< int >(wxDF_LOCALE
)));
42382 SWIG_Python_SetConstant(d
, "DF_PRIVATE",SWIG_From_int(static_cast< int >(wxDF_PRIVATE
)));
42383 SWIG_Python_SetConstant(d
, "DF_HTML",SWIG_From_int(static_cast< int >(wxDF_HTML
)));
42384 SWIG_Python_SetConstant(d
, "DF_MAX",SWIG_From_int(static_cast< int >(wxDF_MAX
)));
42385 SWIG_addvarlink(SWIG_globals(),(char*)"FormatInvalid",FormatInvalid_get
, FormatInvalid_set
);
42386 SWIG_Python_SetConstant(d
, "DataObject_Get",SWIG_From_int(static_cast< int >(wxDataObject::Get
)));
42387 SWIG_Python_SetConstant(d
, "DataObject_Set",SWIG_From_int(static_cast< int >(wxDataObject::Set
)));
42388 SWIG_Python_SetConstant(d
, "DataObject_Both",SWIG_From_int(static_cast< int >(wxDataObject::Both
)));
42389 SWIG_Python_SetConstant(d
, "Drag_CopyOnly",SWIG_From_int(static_cast< int >(wxDrag_CopyOnly
)));
42390 SWIG_Python_SetConstant(d
, "Drag_AllowMove",SWIG_From_int(static_cast< int >(wxDrag_AllowMove
)));
42391 SWIG_Python_SetConstant(d
, "Drag_DefaultMove",SWIG_From_int(static_cast< int >(wxDrag_DefaultMove
)));
42392 SWIG_Python_SetConstant(d
, "DragError",SWIG_From_int(static_cast< int >(wxDragError
)));
42393 SWIG_Python_SetConstant(d
, "DragNone",SWIG_From_int(static_cast< int >(wxDragNone
)));
42394 SWIG_Python_SetConstant(d
, "DragCopy",SWIG_From_int(static_cast< int >(wxDragCopy
)));
42395 SWIG_Python_SetConstant(d
, "DragMove",SWIG_From_int(static_cast< int >(wxDragMove
)));
42396 SWIG_Python_SetConstant(d
, "DragLink",SWIG_From_int(static_cast< int >(wxDragLink
)));
42397 SWIG_Python_SetConstant(d
, "DragCancel",SWIG_From_int(static_cast< int >(wxDragCancel
)));
42399 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
42400 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
42401 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
42402 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
42404 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultVideoMode",DefaultVideoMode_get
, DefaultVideoMode_set
);
42405 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_None",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_None
)));
42406 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Messages",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Messages
)));
42407 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Max",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Max
)));
42408 SWIG_Python_SetConstant(d
, "POWER_SOCKET",SWIG_From_int(static_cast< int >(wxPOWER_SOCKET
)));
42409 SWIG_Python_SetConstant(d
, "POWER_BATTERY",SWIG_From_int(static_cast< int >(wxPOWER_BATTERY
)));
42410 SWIG_Python_SetConstant(d
, "POWER_UNKNOWN",SWIG_From_int(static_cast< int >(wxPOWER_UNKNOWN
)));
42411 SWIG_Python_SetConstant(d
, "BATTERY_NORMAL_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_NORMAL_STATE
)));
42412 SWIG_Python_SetConstant(d
, "BATTERY_LOW_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_LOW_STATE
)));
42413 SWIG_Python_SetConstant(d
, "BATTERY_CRITICAL_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_CRITICAL_STATE
)));
42414 SWIG_Python_SetConstant(d
, "BATTERY_SHUTDOWN_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_SHUTDOWN_STATE
)));
42415 SWIG_Python_SetConstant(d
, "BATTERY_UNKNOWN_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_UNKNOWN_STATE
)));
42416 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPENDING", PyInt_FromLong(wxEVT_POWER_SUSPENDING
));
42417 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPENDED", PyInt_FromLong(wxEVT_POWER_SUSPENDED
));
42418 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPEND_CANCEL", PyInt_FromLong(wxEVT_POWER_SUSPEND_CANCEL
));
42419 PyDict_SetItemString(d
, "wxEVT_POWER_RESUME", PyInt_FromLong(wxEVT_POWER_RESUME
));